General information
Category:
Coding, syntax & commands
>1. I thought SCATTER created memory variables from fieldnames, but yet they don't seem to save on a GATHER unless I declare the variables as PUBLIC. I thought SCATTER took care of that for me? Huh?
Sounds like a scope problem. When are you performing the SCATTER? If the variables are created in one method, they won't be visible in other methods unless you make them PUBLIC.
Have you considered using SCATTER NAME instead? E.g.,
SCATTER NAME ThisForm.oRecord
This makes the scattered values accessible from anywhere in the form.
HTH,
-Will
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