Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Memo Fields programatically
Message
De
14/07/2004 10:50:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Edit Memo Fields programatically
Divers
Thread ID:
00924229
Message ID:
00924229
Vues:
38
Hi All, I have a memo field in my report dbf. report dbf has list of all reports and then memo has different parameters for that report which i access at run time while running reports. this is just a desgin. its not done yet. but i want to do it this way since i like the idea of vfp system table uses just one memo field for different criteria than seperate field for everything.
so for example lets say memo has following values.

cPrg = 'RunReport1.prg'
cFrx = 'RunReport1.frx'
lEnterDates = .T.
lSummary = .F.
lCaption = 'Customer List'

i read help file and now i know how to read any one particular line of this memo field and then convert it to string thorugh Mline and Atline functions. but my problems is when i want to update any particular line or add a new line. I mean I want to make lSummary to .T. at run time. or add one new line in that memo field run time.

i couldnt find any function to update memo field. i dont know its correct but seems like i can convert whole memo to text file and then text to string , now update the string and then convert it back to text. and then finally convert text file to memo. do i have to do all this and is it reliable ? i mean does memo gets corrupted in middle sometimes?

I would appreciate lot all your help. Thanks in advance...

Mark
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform