Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Navigation
Message
 
 
À
09/12/2000 11:54:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00451170
Message ID:
00451186
Vues:
31
>Hi.
>
>I have a form with three tables in the dataenvironment. The form is primarily for editing the first of these three tables
>(cursor1). However, when I use my navigation buttons (picbtns2), it appears that the third table is selected instead
>of the first one. I have tried everything that I know, and am confused as to why this is happening. I have another
>form that works just fine. BTW, this particular table of financial transaction has a one to many relationship with
>the master table. I don't think that matters, but I mention it anyway.
>
>Thanks in advance.
>
>Fred E. Beaulieu
Fred,
Have a look at the code in the txtbtns.navigate method, [txtbtns is the parent of picbtns2] method and you will see a line something like
SELECT (THIS.nWorkArea)
this is where your problem is.
so in the gotfocus event of your picbtns2 you need something like
select("mycursor1")
this.nworkarea = select()
dodefault()
HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform