Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form dataenvironment and cursorsetprop
Message
From
18/06/1998 11:55:38
Dave Emerson
Dc Emerson Consult8Ng, Inc
Destin, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00109094
Message ID:
00109537
Views:
20
>>I have a form in which I use the load event to open tables and set orders and relations. The form also uses the dataenvironment with autoopen/closetables properties set to .F. In the load event I also use cursorsetprop to set buffering.
>>
>>I see in the debugger that despite the fact that I explicitly set buffering the form.dataenvironment.bufferoverride value is that which was initially set in the dataenvironment. Doesn't cursorsetprop change the dataenvironment cursor properties?
>>
>>If not, I have a lot of rethinking to do regarding form dataenvironment and the load event.
>>
>>TIA,
>>
>>Dave "Continuing to struggle" Emerson
>Dave,
>
>Non cursorsetprop does not change the property, changing the prioperty changes the property, IOW, THISFORM.DataEnvironment.Cusror1.BufferModeOverRide = 5

Thanks Jim. I guess I will have to revise some of my load events.

Dave
Previous
Reply
Map
View

Click here to load this message in the networking platform