I have a xl2cs file that converts an excel to a csdb.
It works fine if I double click it and use the "Create button".
It also works fine if I double click in the pff that calls it.
It was working fine also when calling the pff from a batch program using the execsystem function.
But then the execsystem does not work anymore, and the system shows an error message saying that "it could not create a new data file" (attached figure).
What does that mean?
excel to csdb could not create a new data file
excel to csdb could not create a new data file
- Attachments
-
- Newfile.JPG (31.24 KiB) Viewed 2488 times
Best
Ari
Ari
Re: excel to csdb could not create a new data file
My guess is you have a locked file. Try closing everything and restarting your computer to be sure.
I would recommend using execpff instead of execsystem:
I would recommend using execpff instead of execsystem:
execpff("../References/Assignments.pff", wait);
errmsg("Converted Excel assignments file");
errmsg("Converted Excel assignments file");
Re: excel to csdb could not create a new data file
Sorry, I´m already using execpff.
You guessed right, the problem is that the file I´m trying to generate is associated with a dictionary in the same program.
I´ve tried to close this dictionary before doing the execpff, then it seems to be working fine.
You guessed right, the problem is that the file I´m trying to generate is associated with a dictionary in the same program.
I´ve tried to close this dictionary before doing the execpff, then it seems to be working fine.
Best
Ari
Ari