Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Navigation
Message
From
09/12/2000 13:35:19
 
 
To
09/12/2000 11:54:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00451170
Message ID:
00451186
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform