Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCATTER not working properly
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SCATTER not working properly
Miscellaneous
Thread ID:
00507233
Message ID:
00507233
Views:
56
Let me preface this question, by saying that I am required to use SCATTER/GATHER for this application by my employer, buffering is not an option (but it sure would make life easier).

I have two tables, table1 and table2. The two tables have identical fieldnames, except for the ID field.

I also have two forms, form1 and form2. I have a command button on each form that allows me to bounce back and forth between form1 and form2.

When I run form1, In the form Init I have
SELECT table1
SCATTER MEMVAR MEMO NAME table1
THISFORM.Refresh

Then I press the command button to go to form2, In the form Init I have
SELECT table2
SCATTER MEMVAR MEMO NAME table2
THISFORM.Refresh

How come when I bounce back and forth between forms, the target form shows data from the form I just left and vice versa? It's almost as if the SCATTER is in the wrong place or not understanding NAME table1 or NAME table2. I will keep working on it, but I am kinda missing it. Thanks for a clue.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Next
Reply
Map
View

Click here to load this message in the networking platform