Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for not empty user's input
Message
From
13/11/2006 07:22:06
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
13/11/2006 06:27:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01169089
Message ID:
01169112
Views:
9
Also im my oppinion Empty(" ") shouldn't return .t. since is not empty, it has spaces inside, but that is another talk. ;)


>Personally I only have good habits. :-))
>
>>Yes but is an habit I had, and never saw a need to change it.
>>>Why the alltrim? Alltrim an empty string=empty string.
>>>
>>>>Empty(Alltrim(Textbox.value))
>>>>combo box can be diferent, you can also use Empty(combobox.Value) or if you allow them to write to the combobox and want to check if they write anything, you can use Empty(Alltrim(combobox.text))
>>>>
>>>>>Hi,
>>>>>
>>>>>I was wondering how do you check if a user input field is blank in vfp. The reason for this is because i want the code to wait until both user input fields(textbox and combobox) are filled by user and then excute.
>>>>>
>>>>>Thanx for the help
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform