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