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 )