Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
{} Syntax
Message
From
15/12/1998 12:19:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
{} Syntax
Miscellaneous
Thread ID:
00167755
Message ID:
00167755
Views:
55
In the process of moving from version to version I have developed some bad habits that I VFP6 is now trying to correct. I have been using variables to collect filter strings which I then apply to tables. I have been using the following code syntax:

lcFilter = ..... + '.OR. {' + DTOC(ldX) + '}'
SELECT FooBar
SET FILTER TO &lcFilter

This has worked fine in VFP3 & 5 but now I get an ambiguous data error with a referance something along the lines of {mm,dd,yyyy (d:?)}. Please don't hold me to the above error being exact I am working from memory.

I tried to look up {} in help, the programmers guide, and the language referance but failed to find it.

Can anyone give me a quick primmer on the correct usage of this syntax.

Thanks


Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Next
Reply
Map
View

Click here to load this message in the networking platform