>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