Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using quotation marks
Message
 
 
To
29/03/2005 21:04:04
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00999835
Message ID:
00999837
Views:
13
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform