Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add line
Message
De
03/07/2003 08:57:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00806456
Message ID:
00806504
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>Regarding your answer below
>Suppose It was a strig or a memo instead of a txt
>
>Thanks
>
>Set Textmerge to mytext.txt additive noshow
>Set Textmerge on
>\I need to replace <<ff1>>
>\because of the <<ff2>>
>Set Textmerge to
>Set Textmerge off
>Cetin

Sorry but I don't understand. Which part was a string or memo (myText.txt or ff1, ff2).
Say ff1 and/or ff2 was a memo same as in previous code.

If you mean memo field instead of a textfile named myText.txt :
Set Textmerge to memvar myVar noshow
Set Textmerge on
\I need to replace <<ff1>>
\because of the <<ff2>>
Set Textmerge to
Set Textmerge off

replace myMemoField with myMemoField + myVar
Or :
select mytable
replace myMemoField ;
  with myMemoField + chr(13) + 'I need to replace '+tablename.ff1+chr(13)+;
 'because of the '+tablename.ff2
Or:
update myTable ;
set myMemoField = myMemoField + ;
  chr(13) + 'I need to replace '+tablename.ff1+chr(13)+;
  'because of the '+tablename.ff2 ;
  where myTable.PKID = PKIDValue
Or:
select myTable
m.myMemoField = myTable.myMemoField + ;
  chr(13) + 'I need to replace '+tablename.ff1+chr(13)+;
  'because of the '+tablename.ff2
gather fields myMemoField memvar memo
Or:
...
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform