General information
Category:
Coding, syntax & commands
Gregory,
My problem is not the memo fields but the fact that if I issues a
1) Sactter Namd Myobj, all fields get into MyObj
2) If I then issue a Scatter Fields Myfield6,MyField7, only 2 fields end up in the object.
(i.e. Wait Window MyObj.Myfield1 generates an error
Previously , in FPW, I I issued two commands:
Scatter Memvar
Scatter Fields MyField6,MyField7 Memvar
There was no problem with Wait Window m.MyField1
I'm wondering is there a workaround for this using Scatter Name
Regards,
Gerard
__________________________________________________
>>Hi.
>>I'm currenlty rewriting an App from 2.6 to VFP.I doing so, I'm retaining as much of old code as possible but 'Objectifying' it.
>>
>>I have used a lot of Scatter Memo memvar and am now replacing these commands with Scatter Nmae ObjName. I've run into the following problem:
>>
>>Using Scatter Memo
>>If I have a file with say 5 fields (MyField1/2/3/4/5) and two commands in a program, say ,
>>Scatter Memo memvar
>>Scatter Fields MyField1,MtField2,Myfield3
>>(This leaves contents of MyField4 and MyField5 intact
>>
>>However , in VFP, if I do :
>>Scatter Name MyObj
>>Scatter Fields MyField1,MyField2,MyFields3,
>>then .. MyField4 and MyField5 are invalid.
>>
>>(For this particular project I want to continue using Scatter, rather than Views)
>>
>>Does anybody know a way arounf this and retaining the Scatter Myobj command?
>>
>>Regards,
>>
>>Gerard
>
>Gerard,
>
>scatter memo name MyObj
>
>takes the memo fields as well (if I understand correctly what you're after)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only