Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transforming string representation
Message
De
04/10/2001 10:22:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00564145
Message ID:
00564151
Vues:
16
>Hi everybody,
>
>I have a form, where the user can make selection criteria. On this form I have a button, which says: "Show criteria".
>If I have this kind of criterion, for example, PRICE<=5000000, I'm thinking about presenting it as PRICE<=$5,000,000. My question is: how can I perform such string modifications? As you understand, I return each criterion as a string lcCrit, so it might be "between(price, 100,1000000)" for another example.
>
>Thanks in advance.

I suppose you have several controls to capture the criteria, just use the values in those to construct a new string with the formatted value, in the same way you build the string to execute the SQL.

Just an idea.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform