Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to store value in memo fields?

Status
Not open for further replies.

mican

Programmer
Nov 6, 2003
19
PH
hi everyone,

I am a beginner in memo fields. I know how to create the field in a table but I don't know how to store and retrieve values (programatically).

Is it just the same with character fields like this; Replace Employee.name With "Juan Dela Cruz" ? and this;
Thisform.Text1.Value = Employee.name ?
 
That's it exactly.

Pretend the field is called Notes.

REPLACE tablename.notes with [Hello World]

To retrieve the value.

lcNotes = tablename.notes

Jim Osieczonek
Delta Business Group, LLC
 
mican,
Is it just the same with character fields like this; Replace Employee.name With "Juan Dela Cruz" ? and this;
Thisform.Text1.Value = Employee.name ?
yes, but you use EditBox control instead of a TextBox because Textboxes can only a small number of characters (254 characters only if am not mistaken).

you may also want to look at FILETOSTR() and STRTOFILE() functions that are very useful in relation to Memo fields.

kilroy [trooper]
philippines

"Illegitimis non carborundum!"
 
I see...

Thank you so much to all your supports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top