Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using view parameters with a pageframe
Message
De
06/05/1999 10:05:27
 
 
À
06/05/1999 09:38:17
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00215514
Message ID:
00215699
Vues:
23
>Well, I understand the need for pages if a record contains to much data to fit on one page. Is all the data in the same record?

Each page uses the same view, but with dfferent parameters passed to it, so the recordset for each page is different. ex: the first page is based on the results from the query with the "patient" parameter passed to the view. The secon page uses the same view, but with the parameter of "general" passed to it.(actually as you have seen there are 3 parameters for each page).




>Well... I don't understand your design... but, when moving from page to page, why are you requerying? It sounds to me like all the data is in the same record.
>
>I don't think you want to do it the above way... what you want to do is specify the view paramaters to the framework, then just requery when you need to. Or, in your page activate you can just assign the values to the vp's:
>
>vp_NotesType = 'general'
>vp_LastNote = DTOC(Date())
>vp_ReadStatus = 'N'
>Thisform.Requery()
>
>Also, I thing you should call the form's requery... this will handel locking the screen before and refreshing the screen after the requery.
>
Thanks Bob, this works fine. I just got back from Kevin's class and I am still learning where to put everything. By the way, I am now officially am member of "The Knights that say McNeish". :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform