Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using quotation marks
Message
 
 
À
29/03/2005 21:04:04
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00999835
Message ID:
00999837
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>How do I include quotation marks (" ") in the code below, so that the value of mGroupNumber is stored as "X09" instead of just X09 for example. (mGroupNumber is declared as a Character).
mStuffIntoGroupNumber = [update License set GroupNum = "] + ;
  alltrim(mGroupNumber) + [" where recno() = ] + ALLTRIM(STR(mRecordNumber))
Or even simpler with TextMerge
TEXT TO mStuffIntoGroupNumber TEXTMERGE NOSHOW PRETEXT 7
update License set GroupNum = "<<alltrim(mGroupNumber)>>  where recno() = <<mRecordNumber>>
ENDTEXT
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform