Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF character length?
Message
From
03/06/2002 08:36:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/06/2002 08:32:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00663995
Message ID:
00664006
Views:
22
>To make it simpler:
>SELECT IIF(empty(dtcompl),"''","'" + DTOC(dtcompl) + "'") from mevmast where citat LIKE 'BA83311%'
>
>results in '0
>
>SELECT IIF(empty(dtdisp),"''","'" + DTOC(dtdisp) + "'") from mevmast where citat LIKE 'BA83311%'
>
>results in '10/26/90'
>
>Both fields are of the date type, length 8, and contain a date value. What could cause this?

Why don't you directly say :

SELECT dtcompl from mevmast where citat LIKE 'BA83311%'

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform