Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Navigator
Message
De
30/01/2001 10:54:01
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00469698
Message ID:
00470076
Vues:
41
Not to be rude, but this didn't help. I still need to know WHERE this should go. I did the SET STEP ON and followed it, the math and work area is correct, but it is the matter is WHERE this goes...

>Hope this will help.
>
>>>>>>>>>>>>>>>>>Previous messages below
>WHERE would that go? In the ClickEvents of all of the buttons (to ensure it is working)? I was hoping not having to repeat the coding (copy/paste it all over) or use it as a function? I have a parent table (person) and the child table (auth) is in the grid, with the relationship active.
>
>>>>>>>>>>>>>>>>>>Previous messages below
>>SELECT auth
>>COUNT FOR person.id = auth.id TO ct
>>SELECT person
>>IF ct > 0
>>ThisForm.Commandgroup2.Command2.ENABLED = .T. (via, the Edit button)
>>ThisForm.Commandgroup2.Command3.ENABLED = .T. (via, the Delete button)
>>ELSE
>>ThisForm.Commandgroup2.Command2.ENABLED = .F.
>>ThisForm.Commandgroup2.Command3.ENABLED = .F.
>>ENDIF
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform