Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which is best for Desktop Apps VFP?.NET
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00860600
Message ID:
00872945
Views:
72
Jon,

>If one is using SP's for all data access, does that essentially mean you could have at least 3 procs for each table (e.g. insert/update/delete)?

Yep. It's really no big deal though. It would actually be select/update/delete though ... an insert can be handled by the update SP (if you pass it a non-zero, non-null PK, it does an update, otherwise it does an insert). We have a little VFP utility prg that automatically generates the three SP's to copy/paste to Query Analyzer or wherever.

Now, keep in mind that this is a .NET application I'm writing, but I'd do it the same way for a VFP app too. Have you read "Client/Server Apps with VFP and SQL Server" by Gary DeWitt, Chuck Urwiler, Mike Levy & Leslie Koorhan? If not, you should.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform