Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter and Memo fields under VFP 3.0b
Message
From
02/07/1998 09:20:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/07/1998 07:13:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113298
Message ID:
00113747
Views:
23
>Having some difficulty with the scatter command under VFP 3.0b. I'm trying to setup memory variables for all the fields in a perticular table, noticed in the book it states that you have to issue a memo option on the scatter command to include memo fields which by default are included in a scatter command. My command is 'scatter memvar memo' but when I try to access the memo field fox tells me that the variable doesn't exist ?

Depends on what you mean with "access the memo field". Maybe you have some problem with scoping the variables - if you scatter them in one procedure/method, and gather in another, make sure they are equally visible.

>Another question about scatter is if your navigating through records on a form do you issue a scatter for each skip or does the record pointer automatically update the memory variables and if the record pointer updates the memory variables does multiple scatters per skip cause any harm.... just an argument I had with a coworker the other day!

No, no automatic update. You have to update them by issuing another Scatter. Automatic updates would make things pretty pointless - you'd get just another copy of the current record, and couldn't use it for anything they are usually used for.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform