Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AUSED() and GETFLDSTATE(-1)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
AUSED() and GETFLDSTATE(-1)
Divers
Thread ID:
00099810
Message ID:
00099810
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform