Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ISBLANK and SELECT SQL
Message
From
18/06/2003 13:13:13
 
 
To
18/06/2003 12:36:08
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00801174
Message ID:
00801281
Views:
10
Cindy, your code doesn't work for me in either VFP7 or VFP8 on WinXP. I get the error 'Object Cur1 not found'

Alan

>>Example
>>
>>SELECT;
>> ISBLANK(Cur1.cField);
>> FROM aTable AS Cur1
>>
>>this produces error 'Object Cur1 not found'
>>
>>If I do
>>
>>SELECT;
>> ISBLANK(aTable.cField);
>> FROM aTable
>>
>>all is fine.
>>
>>The problem occurs with ISBLANK(), EMPTY for example is fine.
>
>Hi Agnes,
>
>I get no errors with
>CREATE CURSOR aTable (cField C(1))
>INSERT INTO aTable VALUES ("1")
>INSERT INTO aTable VALUES ("")
>INSERT INTO aTable VALUES ("3")
>SELECT;
> ISBLANK(Cur1.cField);
> FROM aTable AS Cur1
>SELECT;
> ISBLANK(aTable.cField);
> FROM aTable
>
>You might be interested in http://fox.wikis.com/wc.dll?Wiki~IsNullIsBlankEmpty
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform