Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CURSORSETPROP and No Table is Open error
Message
De
15/01/1997 21:02:18
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00017439
Message ID:
00017489
Vues:
69
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform