Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AUSED() and GETFLDSTATE(-1)
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
AUSED() and GETFLDSTATE(-1)
Miscellaneous
Thread ID:
00099810
Message ID:
00099810
Views:
49
Hello all;
We're in the process of trying to develop a new class that would free up some real estate on the form. We want to get rid of the the Edit, Save, Cancel command buttons.

Our idea is is to create an any_change class that will return true or false depending on the results from the getfldstate(-1) character string.
Our problem is how can we know how many records we need to check?
If there is a one to one relationship then there are no problems. We can simply use the current record pointer. But in the case of the one to many relationship we are hitting a brick wall. We don't want to start passing a parameter (ie keyfield for each table involved(that's what aused() is for) and then seek and do while.

Any ideas would be greatly appreciated
Next
Reply
Map
View

Click here to load this message in the networking platform