Hi,
Im new to ADP's, I having trouble passing dates to a stored procedure.
I have a TextBox on a form with no date formats set on it, it has the mask set to date ( 00/00/0000 ).
The procedure has (dbo.transactions.date BETWEEN @startdate AND @enddate) as I criteria.
The subform that runs of the procedure has got its input parameter set to
@startdate = Forms!ordersearch!Text6, @enddate = Forms!ordersearch!Text8
When I refresh the subform it just sits there doing nothing.
It does have other criteria in the procedure, but it works fine with just those selected, but when I add the date criterias it goes all wrong !!
Any ideas anyone ?
Cheers
Ben
Im new to ADP's, I having trouble passing dates to a stored procedure.
I have a TextBox on a form with no date formats set on it, it has the mask set to date ( 00/00/0000 ).
The procedure has (dbo.transactions.date BETWEEN @startdate AND @enddate) as I criteria.
The subform that runs of the procedure has got its input parameter set to
@startdate = Forms!ordersearch!Text6, @enddate = Forms!ordersearch!Text8
When I refresh the subform it just sits there doing nothing.
It does have other criteria in the procedure, but it works fine with just those selected, but when I add the date criterias it goes all wrong !!
Any ideas anyone ?
Cheers
Ben