Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy question
Message
From
20/06/1996 13:07:59
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00002620
Message ID:
00002623
Views:
41
>Hi.
>How does one go about storing a value from a
>memory variable into a field of a table? I
>understand how to store memory from an array into
>a specific field, but could find a command to
>store a memory variable to a table...
>TIA,

The best method is to name your memory variables the same as your table/field names except with the m. in front:
EX: IF THE FIELD NAME IS: part_num
THE MEMORY VARIABLE NAME IS: m.part_num

Using this convention you can do two different things.
1. APPEND BLANK & GATHER MEMVAR
OR 2. INSERT INTO tablename FROM MEMVAR
Michael P. Haake
FoxPro Programmer
"Doing the best I can!"
** Retired Air Force **
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform