Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does GetFldState() return 2 for memo fields
Message
From
16/01/2008 17:26:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01282378
Message ID:
01282430
Views:
6
>Hi all
>
>My form has an editbox in a grid for a memo field (varchar on the backend). Just pressing enter in this editbox and GETFLDSTATE() returns a 2.
>
>Why does the buffer get dirty by just pressing enter? This is not so for character fields.
>
>I have checked the values in the remote view and as returned by OLDVAL() they are both the same.
>
>Please advise.

ENTER will add a new line. The "correct" key to go from one field to the next is TAB / Shift-TAB.
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