Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getfldstate when a table is empty
Message
From
18/03/2000 18:25:32
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Getfldstate when a table is empty
Miscellaneous
Thread ID:
00347501
Message ID:
00347501
Views:
38
Hi all,

I´ve put this command in my combo.Refresh().

this.Enabled = ("3" $ GETFLDSTATE(-1, "payments") OR "4" $ GETFLDSTATE(-1, "payments"))



But if the table is empty, an error message fires.When I add a new record to my table, nothing happens and I can continue adding records.
How can avoid this ? Should I use ISNULL() command ?
Could you tell me what is the problem with this?
Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform