Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Txtbuttons Class in WIZSTYLE.VCX
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00017704
Message ID:
00017749
Views:
65
>When I use the TxtBtns class from WIZSTYLE.VC* in a form with master table info and a child grid, and I try to add a record to both, I get the following error:
>Line: Thisform.Refresh() (in TxtBtns)
>Error: 5
>Record is out of range
>Method: Navrefresh
>Line: 91
>
>Can somebody tell me if there is a bug in this class provided by Microsoft or am I doing something wrong?
>This class works fine in single table situation and the works fine for (in the grid situation) adding to parent or child only.

Sukanya: You will get this error when you GO TO n where there are less than n records in the table. It looks like you have the wrong table selected when you try to refresh. Check the code - particularly code you have added - to see if you have changed the active table. If you are adding records to both parent and child, you might try saving the parent then continuing with adding/editing/saving the child records.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform