I am trying to have the user select an Excel file (GETFILE) which my code then tries to do an IMPORT FROM to load the file into a new table. I get a "File does not exist" on the IMPORT FROM line. Any ideas?
Here are the two lines of code
File_import = GETFILE("Excel *.xls:XLS","","Import",0,"Select the file to import")
and
IMPORT FROM Filename_import TYPE XL8
(I have also tried several other lines ex:IMPORT FROM File_import DATABASE Database_name NAME Table_import TYPE XL8
Thanks for any help here.
Here are the two lines of code
File_import = GETFILE("Excel *.xls:XLS","","Import",0,"Select the file to import")
and
IMPORT FROM Filename_import TYPE XL8
(I have also tried several other lines ex:IMPORT FROM File_import DATABASE Database_name NAME Table_import TYPE XL8
Thanks for any help here.