Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLconnect options ???
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQLconnect options ???
Miscellaneous
Thread ID:
00957580
Message ID:
00957580
Views:
49
AS you all know when you are creating a View you have some options like

DBSetProp('EXCHGTAB', 'View', 'UpdateType', 1)
DBSetProp('EXCHGTAB', 'View', 'WhereType', 3)
DBSetProp('EXCHGTAB', 'View', 'FetchMemo', .T.)
DBSetProp('EXCHGTAB', 'View', 'SendUpdates', .F.)
DBSetProp('EXCHGTAB', 'View', 'UseMemoSize', 255)
DBSetProp('EXCHGTAB', 'View', 'FetchSize', 30)
DBSetProp('EXCHGTAB', 'View', 'MaxRecords', -1)
DBSetProp('EXCHGTAB', 'View', 'Tables', 'dbo.exchgtab')
DBSetProp('EXCHGTAB', 'View', 'Prepared', .F.)
DBSetProp('EXCHGTAB', 'View', 'CompareMemo', .T.)
DBSetProp('EXCHGTAB', 'View', 'FetchAsNeeded', .T.)
DBSetProp('EXCHGTAB', 'View', 'ParameterList', "pcust,'C'")
DBSetProp('EXCHGTAB', 'View', 'Comment', "")
DBSetProp('EXCHGTAB', 'View', 'BatchUpdateCount', 1)
DBSetProp('EXCHGTAB', 'View', 'ShareConnection', .T.)

is there a way to have this options set for a cursor created mith the SQLEXEC() command.


I need the
DBSetProp('EXCHGTAB', 'View', 'FetchSize', 30) &
DBSetProp('EXCHGTAB', 'View', 'FetchAsNeeded', .T.)

for a number of cursors.

thanks.
B.D.H.
Next
Reply
Map
View

Click here to load this message in the networking platform