I am using the following sql querry:
"SELECT Funds.Date, Funds.Trak FROM Funds WHERE (((Funds.Date) Between [Beggining Date?] And [Ending Date?]) AND ((Funds.Account)="IRA") ORDER BY Funds.Date;"
[Beggining Date] and [Ending Date] are supplied by the user when the querry is run. I would like to specify defaults:
[Beginning Date] = 1/1/2002
[Ending Date] = Now()
Can this be done in the sql statement? Or is there another method?
Thanks,
Bill
"SELECT Funds.Date, Funds.Trak FROM Funds WHERE (((Funds.Date) Between [Beggining Date?] And [Ending Date?]) AND ((Funds.Account)="IRA") ORDER BY Funds.Date;"
[Beggining Date] and [Ending Date] are supplied by the user when the querry is run. I would like to specify defaults:
[Beginning Date] = 1/1/2002
[Ending Date] = Now()
Can this be done in the sql statement? Or is there another method?
Thanks,
Bill