Thanks Sergey. I thought the fields had to be listed out (haven't used that syntax in a while).
>It should be
>
>Insert into mytable from NAME loRecord
>
>
>>Using Naomi's example, if you want to use INSERT INTO, the syntax is:
>>
>>SCATTER NAME loRecord Memo
>>loRecord.field2 = m.newpk
>>Insert into mytable from loRecord (field1, field2,...) VALUES (loRecord.field1, loRecord.field2,...)
>>
>>However, as she mentioned, if you have a lot of fields that you don't want to list out, you can instead append a new blank record and just gather the memvars or the object properties (using NAME)
>>
>>
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"