Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
{} Syntax
Message
De
15/12/1998 12:19:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
{} Syntax
Divers
Thread ID:
00167755
Message ID:
00167755
Vues:
59
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 )
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform