Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Views
Message
 
À
26/03/1998 12:20:10
Tom Hammer
Pennwell Publishing
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Views
Divers
Thread ID:
00087338
Message ID:
00087559
Vues:
36
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform