Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing datasession or SET('DATABASE') to other form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00187750
Message ID:
00188011
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform