Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views
Message
 
To
26/03/1998 12:20:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Views
Miscellaneous
Thread ID:
00087338
Message ID:
00087559
Views:
35
>I have a form which displays a view from 2 inner joined tables and I am trying to use the VCR buttons from the samples directory to cycle through the records. However, this doesn't work since this class uses the skip command on a table. Is there a way to cycle through a views records?

Tom, did you set the main alias of the form at any time before you replaced it with a view? The VFP samples are Wizard-made code which has a LOT of strange stuff inside and is difficult to modify.

Try adding a couple of buttons and setting the click methods to
Select MyView
SKIP
thisform.Refresh

Select MyView
SKIP -1
thisform.Refresh
If this works, then you can refine the code to cope with eof() and bof() etc.

HTH
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform