Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT vs Remote View?
Message
From
20/05/1999 00:34:44
 
 
To
19/05/1999 20:58:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00220662
Message ID:
00220699
Views:
24
>I've been using remote views primarily. I can use SQL Pass-thru and I do for executing stored procedures on MS-SQL Server. So what's the advantage of a remote view that SELECT * FROM TABLE over an SPT that does the same command?
>
>Is updating tables using SPT faster than updating using remote views?
>
>How does optimistic/pessimistic buffering affect performance in updating large #'s of records?
>
>Is there a set of guidelines to follow in determining which approach to take per scenario?

I'll let you in on a secret... Remote Views are just a wrapper around SPT, and actually USE SPT to get the data. If you run GENDBC of your database, and looked at the code which created the Remote Views, that is basically what is happening when you use a remote view... A connection is opened, the SQL Is passed to the back end... then, abunch of CursorSetProps are run against the cursor to make it updateable, if that is how you set it up.

I would recomend Remote Views for your standard data maintenenacne forms, and SPT for queries, lookups, validations, stuff where you will need to build or specify the where on the fly.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform