>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.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: 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.