Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getfldstate() problem
Message
From
28/01/2002 12:29:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/01/2002 11:17:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00611600
Message ID:
00611688
Views:
27
>>I got a problem now, when i use getfldstate('myfieldname'), sometime it was worked well, but sometime , the system says that 'Funcation argument value, type or count is invalid', the field name myfieldname is always be the same, the question : this message happened between while. Can't anybody give some help?
>>
>> thanks!
>
>This happens for new records. In this case, this function will return .NULL.
>
>The following functions may help you overcome the problem: isnull(), nvl().
>
>HTH, Hilmar.

Correction:

GetFldState() will not return .NULL. Some other functions might return .NULL. for new records; I had problems especially with OldVal().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform