Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent the addition of a blank record
Message
From
20/04/2004 07:34:26
 
 
To
19/04/2004 16:24:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00896266
Message ID:
00896420
Views:
8
Hi Claude.

I am trying to modify an existing form so that blank records are not added.

You mean so that blank records are not saved ? If so, code like this in called from your save method:


lcFldState = GETFLDSTATE( -1, Thisform.cPrimaryTable )
IF ! ISNULL( lcFldState )
IF EMPTY( CHRTRAN( NVL( lcFldState, '' ), '3', '' ) )
***
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform