Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use SQLPrepare with remote views
Message
From
30/07/2003 08:41:11
 
 
To
30/07/2003 02:19:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00814409
Message ID:
00814866
Views:
11
Thank you again. These are very useful information.


>>Thank you for the feedback Aleksey.
>>
>>Again, I have additional questions on your feeback.
>>
>>1. Does this mean that I don't need to call the SQLPREPARE() function?
>>
>>>You should set "Prepared" property for the view:
>>>DBSETPROP("viewname","VIEW","Prepared",.T.)
>>>
>
>Actually, cursorsetprop("Prepared", .t., 0) should work too if it is set when CREATE SQL VIEW command is executed, but it doesn't affect USE command.
>
>Back to the question. You don't have to call SQLPREPARE, it is called internally when USE command for the view is executed. After that the command stays prepared and ready to use by REQUERY, no additional calls to DBSETPROP or CURSORSETPROP needed.
>
>
>>2. When parameters change, how do I "prepare" the backend result? Do I issue another DBSETPROP() or CURSORSETPROP() before REQUERY()?
>>
>
>See above.
>
>Thanks,
>Aleksey.
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform