Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Getfldstate() function
Message
From
29/01/1999 11:20:19
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
The Getfldstate() function
Miscellaneous
Thread ID:
00181846
Message ID:
00181846
Views:
43
I am trying to determine when a field is changed. The code I am using is below. At runtime the controlsource = customer.contact. When the program executes line 3 I get an "function argument, type, or count is invalid" error. The parameter that is passed to the getfldstate() function is a fieldname. Obviously I am doing something wrong, but I don't know what.

Any ideas anyone?

Jim


PRIVATE lcfldstate, lcfiedname
lcfieldname = this.controlsource
lcfldstate = GETFLDSTATE(lcfieldname)
IF lcfldstate <> 1
Thisform.textbuttons1.cmdedit.click
ENDIF
Thanks

Jim
Next
Reply
Map
View

Click here to load this message in the networking platform