-
1
- #1
drosenkranz
Programmer
Hello There,
I guess I'm just one of those "thick headed" VB guys but I'm having some trouble grasping the up and down sides of using local views vs. using the table and row/table buffering.
Since an SQL Select statement executed in code creates a "read-only" cursor, it isn't any use to me to create cursors on the fly to use in a data entry/edit form. I have used a parameterized version of the view with some success. I change the variable and issue a Requery and I still have an updateable cursor-
This works but why not just use the table and row/table buffereing with a filter rather than the local view?
I haven't rolled out any large scale multi-user apps yet but I have a feeling that is where I'm going to "get my education" in VFP performance design. I feel like a deer standing in the headlights of an oncoming truck! I can hear it coming and I can see it coming- but I just don't know how to get out of the way!
Can anyone give me the basic design/performance guidelines (choosing between tables and local views) before that truck hits me?
A simple philosophical overview on performance would help a great deal.
Thank you again for all your help.
The 2nd mouse gets the cheese.
I guess I'm just one of those "thick headed" VB guys but I'm having some trouble grasping the up and down sides of using local views vs. using the table and row/table buffering.
Since an SQL Select statement executed in code creates a "read-only" cursor, it isn't any use to me to create cursors on the fly to use in a data entry/edit form. I have used a parameterized version of the view with some success. I change the variable and issue a Requery and I still have an updateable cursor-
This works but why not just use the table and row/table buffereing with a filter rather than the local view?
I haven't rolled out any large scale multi-user apps yet but I have a feeling that is where I'm going to "get my education" in VFP performance design. I feel like a deer standing in the headlights of an oncoming truck! I can hear it coming and I can see it coming- but I just don't know how to get out of the way!
Can anyone give me the basic design/performance guidelines (choosing between tables and local views) before that truck hits me?
A simple philosophical overview on performance would help a great deal.
Thank you again for all your help.
The 2nd mouse gets the cheese.