Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL View from view designer
Message
From
09/06/1998 00:43:34
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00101710
Message ID:
00106180
Views:
37
Hey Steve,

>Kendall - I want to "refine" what I was saying earlier, and confirm that your approach is indeed appropriate in some circumstances.
>

Ya' got my attention...

>After some careful thought and some experimentation, I've realized that the principle is to have only a single *updateable* table represented in a view. The "user friendly" stuff is, indeed, sometimes unavoidable, or at least preferable to the alternatives. This information would of course be in non-updateable columns of the cursor.
>

Yes, this is the approach I am using.

>Where I suspected (and have confirmed) that this kind of info makes life easier is when you're doing a gridless one-to-many form. You may want to present a list of the child records in a listbox, and use the listbox for navigation between the child records. In this case, you want to take advantage of the listbox's behavior of moving the record pointer in a cursor being used as the RowSource for the listbox. The information in the listbox must often include "user friendly" translations of values in the underlying table, and pulling this info in via joins is the way to go.
>

I hadn't thought of this idea with the listbox, but it's now neatly tucked away in my archives.*s* Thanks.


>OTOH, I can't see much to be gained in updating two or more tables via a single view, and in fact think this is going to lead (sooner or later) to more trouble than it's worth.
>

Understood. This is a 'rule' I do follow.

Thanks for writing back Steve, you're a gentleman and a scholar.

tc,
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Reply
Map
View

Click here to load this message in the networking platform