Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing datasession or SET('DATABASE') to other form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00187750
Message ID:
00188011
Vues:
31
>I find it odd that my old Search form, called from that same form with private data session, could use AFIELDS() to get all the fields, LOCATE to move the pointer, and GOTO savedrecord if it didn't find a record, all without worrying about SET DATABASE. Furthermore, the calling form could use FOUND() and CONTINUE to search for the next record. It was only when I needed dbGetProp in the search form that I had problems. Oh, well. Thanks, everybody.

This makes sense because all the activities you're talking about operate on the table, not the database file. You can have the table selected without having it's database set to the current one.

Cheers,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform