Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURSORSETPROP and No Table is Open error
Message
From
15/01/1997 21:02:18
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00017439
Message ID:
00017489
Views:
65
>If I have the following code in the LostFocus event of a text box, and I type numbers in the text box and press tab, the code does exactly what I want. However, if I pass the value of p_claimno from a diffent form, I get an error on the CURSORSETPROP: No Table is Open. I've tried puting the code in the Init event of the form, and also leaving it in the LostFocus event of the textbox, but I can't get it to work. What am I doing wrong?
>
>p_claimno = VAL(thisform.txtClaimNumber.Value)
>SET MULTILOCKS ON
>=CURSORSETPROP("Buffering", 4, 'TTD_Payments')
>=CURSORSETPROP("Buffering", 4, 'TPD_Payments')

Is there any reason that you can't set the buffer property in the dataenvironment? If you can set it there, you won't need to add this code, and hopefully get rid of the error!

John
John Adams

John T. Adams
Software Consulting Services
Previous
Reply
Map
View

Click here to load this message in the networking platform