Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Key in apostrophe
Message
De
16/09/2004 17:52:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
15/09/2004 20:53:55
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00942689
Message ID:
00943133
Vues:
20
>Hilmar,
>Will try it out.
>However, if we use the other options, the problem will also arise where users input "[" into the string..
>Yau

The three kinds of quotation marks are for constants. For variables, you don't need any quotation marks.
UserString = alltrim(ThisForm.TxtUserOption1.Value)
SQLCommand = ... + UserString + ...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform