Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using view parameters with a pageframe
Message
From
06/05/1999 14:26:58
 
 
To
06/05/1999 10:05:27
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00215514
Message ID:
00215810
Views:
26
>>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).
>

Hmm... sounds like a bad database design. I would probably use three views, and only requery where the common item in all three pages changed. This may be a bit simpler and would speed up the form alot. So you might have...

You can join the views directly in the filter or use parameters. I think when you requery a bizobj all views are requeried.

>>
>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". :)

Oh... the days when any programmer goes around saying McNeish... AWFULL!

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform