Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing comma
Message
From
08/10/2008 03:22:14
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
08/10/2008 03:17:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01353560
Message ID:
01353562
Views:
13
>hi all,
>
>i get error message missing comma(,)
>
>
>SELECT *, IIF(edate BETWEEN DATE() AND GOMONTH(DATE(),+1),1,0) AS limit,; 
> GOMONTH(DATE(),+1) - edate As Daysleft FROM Master WHERE edate >=DATE()
>
>thanks

Wrong syntax for BETWEEN, You nned to use a BETWEEN() function in IIF, not the SQL operator.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform