I'm not using any variables on the form - dbedits only; no recalcs.
Thanks for the suggestions.
If the quotes aren't s'posed to be there, why does R:Docs show 'em?
I'm gonna have a beer.
Doug
[EMAIL PROTECTED] wrote:
I believe that John Engwer is correct. Remove the quotes. I have also had it drive me to drink when using the 'Getproperty Textvalue' command on a variable checkbox. Be careful if you define the variable in variables section of the form, as any time you perform a recalc or update/saverow it will recalculate the variable and change it back to the default. I have learned to define the variables in the 'On after start EEP' of the form.Another one that got me was using the Getproperty to get the new value of a DBchebox when changed by a user. I used it to validate if a user is alowed to change the value by comparing to another variable. If the user was not allowed to do this I user the Property to change it back. The problem is that it will re-loop through your EEP when you user the property command. I ended up using nested 'If...Then...staments to stop this. Probably worthless information to most people, but if it can save one programer from frustration... then it was worth writing about.Here is code from a working form: (I always call my Component ID (Fieldname_CID) and the variables (vFieldname) so I can remember the name.Getproperty Serv_BTN_CID Textvalue vServ_BTNProperty Serv_BTN_CID Textvalue programmer.vServe_BTNIf you use 'True' or 'False' in the command do not enclose it in quotes.Property Serv_BTN_CID ENABLED TRUE
