Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote veiw and sql pass through
Message
De
22/03/2001 14:37:15
 
 
À
22/03/2001 12:04:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00487675
Message ID:
00487746
Vues:
8
>am I wrong or can fetching only be set on remote views, and not for sql pass through statments.
>
>2 things I want to do
>1) set fetching on sql pass through so I don't need to use remote views.
>2) have the record set that is returned from the data source return a new field called recno or some unique identifier that would be consistant for any query I do againts a specific table ( for quick search functions )
>
>any ideas?
>- jer

I believe that can only be set for remote views (defined with the view or set via CURSORSETPROP).

If your SPT statement is returning a large result set, you may want to define the selection a little more narrowly (if that is possible).

I'm not sure what you are trying to do with #2 there. What type of key do you have for the table(s)? There is no RECNO() equivelant in SQL, although any cursor you have created via SPT in VFP will have record numbers.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform