I am curious, is there a way to:
A) Run cmd Prompt scripts on a form (with the command Prompt window not displaying) but instead....
B) Echo the results into a text box?
I am curious, is there a way to:
A) Run cmd Prompt scripts on a form (with the command Prompt window not displaying) but instead....
B) Echo the results into a text box?
Access is a GUI.
command lines went out in the 90s.
No offense but as a Linux server admin I disagree respectively of course. I am aware that a Form presents a Graphical Interface, but I am in need of this information regardless.
What you are looking for is not supported in MS-Access.
Shell "cmd /c > echo [txtbox]"
Well, of course you can shell out from Access, nothing new there; you want to update a text box on an open form from outside of MS-Access. Totally different animal, and can't be done from a third party application. It may be remotely possible to do it from another MS-Access database.
What I did was used Batch as string then the print option to create the batch file with the commands I want which then "Echo" to name.txt then the text box echos the results in the text file, once the DB is closed the text files are deleted.