Post Reply 
Access Note using string variable
01-01-2018, 09:02 AM
Post: #6
RE: Access Note using string variable
(12-29-2017 09:10 PM)toml_12953 Wrote:  
(12-29-2017 06:21 PM)Stevetuc Wrote:  Ive checked again and the problem seems to be due to the input statement I am using in my main program


INPUT(m1,"Enter Filename","Filename","",0,"my.txt");

If the above is run and the default filename is accepted with OK, then Notes works fine. However if you click on the textbox, so that the string appears on the edit line, then even if you just ok without an edit, it throws "Invalid input"

Try adding the input type in the INPUT command. Without it, you have to enter the string in quotes.

INPUT({{m1,[2]}},"Enter Filename","Filename","",0,"my.txt");

Thanks, that works well.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Access Note using string variable - Stevetuc - 01-01-2018 09:02 AM

User(s) browsing this thread: 1 Guest(s)