>Hello,
>
>Why this not work ?
>
>declare @todaydate datetime
>set @todaydate = (select getdate())
>
>Tia
In VFP
DECLARE Command creates a one- or two-dimensional array.
To declare variable use
Local command
Public command
Private commandor simple
todaydate = DATETIME()
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst