Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not a character expression
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Not a character expression
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01466967
Message ID:
01466967
Views:
143
Hi everybody,

Do you know why would I get the error 'Not a character expression' on this line of code
erase file (addbs(oAppObj.cProgDataDir) + 'batchprt.dbf')
the oAppObj.cProgDataDir contains a valid path.

Thanks in advance.

UPDATE. Figured this out. It was the incorrect syntax (should be ERASE (fileName)). The error message was not helpful.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform