Hi everyone,
I've a A2003 adp & mssql2k base application Where I want to use List box with control source parameter sp . My form is bound but forms controls are unbound. now i describe what i've follow to achieve the task
forms record source:: Select * from HDC_ChallanT
listbox record source:: DailyChallan
when i open this form it prompts access default form then I set forms input-parameter :@pdate datetime =forms!HDC_Chal lanDetailf!txtC hallandate
now it prompts "Bad parameter @pdate"
would any one suggest me what ive to do to success this project .Any suggestion would be highly appreciated.
I've a A2003 adp & mssql2k base application Where I want to use List box with control source parameter sp . My form is bound but forms controls are unbound. now i describe what i've follow to achieve the task
forms record source:: Select * from HDC_ChallanT
listbox record source:: DailyChallan
Code:
CREATE Procedure dbo.DailyChallan @Pdate datetime AS Select Challanno,depositor,HDc_EconomicT.Economic+'-'+HDc_EconomicT.Engdesc,Amount from HDC_ChallanT, HDC_EconomicT Where HDC_challanT.Economic=Hdc_EconomicT.EcoiD AND HDC_ChallanT. ChallanDate=@Pdate GO
now it prompts "Bad parameter @pdate"
would any one suggest me what ive to do to success this project .Any suggestion would be highly appreciated.
Comment