Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Views and Seek
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00205937
Message ID:
00205978
Views:
18


Otherwise, you will have to manually (i.e., not allow the DE to open them for you) open the view and create them yourself. If you put a view in the DE, the DE will open the view with buffering. At such point, you can not create an index on a buffered table or view. So, you are going to save effort by just doing this yourself.

Not so. I put my views in the DE with buffermode set to 3 and NoDataOnLoad=.T. Then, in the .Init of the form, I create the indices I need, set buffer mode to 5 and then REQUERY() the view to bring the data in. I found bringing in the data after creating the indices is faster than the other way round.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform