HiddenChampion 0 Posted February 12, 2011 Report Share Posted February 12, 2011 This is what I am trying to do: I have 3 files: file1.cvs, file2.cvs and file3.cvs.I want to choose from ubot which one to open with a variable. I tried it with text box and list box but it didn't work.I wanted it this way: If I type 2 into the text box then it should open the file2.cvs My variable looked like this: file{1}.cvs ({1} being my text box info) What did I do wrong? Quote Link to post Share on other sites
JohnB 255 Posted February 12, 2011 Report Share Posted February 12, 2011 Well I will need more information, but for starters, did you set up an if/then statement with an evaluate command? If #my variable = 1 THEN create table from file (C:\file1.csv) etc. Keep in mind you can't open a csv file in UBot to physically view it so you need to either read from it, set it to a table, add it to a list, etc. I hope that helps. John Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.