Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCATTER not working properly
Message
 
À
15/05/2001 09:42:16
Ken Zak
Hagerty Classic Insurance
Traverse City, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00507233
Message ID:
00507335
Vues:
8
Hi Ken,

Thanks for helping me, but you made me realize something.

Now I am in deep DO DO. I DO want to SCATTER to memory variables and not to objects. Of course all memory variables (m.fields) get confused between the two tables when I bounce back and forth between the two forms because the fieldnames are the same in the two tables.

And I SCATTER the first table when the first form Inits and SCATTER the second table when the second form Inits. So they clobber each other with each other's data when I bounce between the two forms. And I am only looking at the data, not adding, not editing.

What I should do to keep the two tables/two forms from getting scrambled/jumbled? I could change the fieldnames in the tables so that they aren't identical, but I was hoping to be able to keep the fieldnames the descriptive names that they are. Hmmmmmm...

I don't do a GATHER until one presses the Save button on a form after they go into Add or Edit mode. I figured the second SCATTER in the second form would replace the memory varibles that were still there from the first SCATTER in the first form. And vice versa, but it doesn't seem to work that way. Am I missing something? Besides brains. LOL. The saga continues.
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform