Did you copy the correct script? The is no definition for report_name variable. Anywy if you run this script in the debugger and debug step by step in a matter of seconds you will easily find where the problem is. : I have a problem with the syntax of this command. : In the example below the 2nd FilereadLine works but the : 1st doesn't. It errors with file not found message. Please : help, : Jane : dim limits_file, string : Dim reportset_name, string : Dim report_dir, string : dim quote, string : Dim tmpstr, string : set quote, "\"" : set report_dir, "T:\\" : set report_name, "Cmp Fa JJ.XLS" : set reportset_name, "Cmp Fa - BCU" : ConcatEx quote, report_dir, reportset_name, ".limits", quote, : limits_file : FilereadLine limits_file, 1, tmpstr : FilereadLine "T:\\Cmp Fa - BCU.limits", 1, tmpstr
|