IIF statements need to be converted to SQL Server CASE logic, and to pass a
form value into your stored procedure, look at the Input Parameters property
in the data tab.
Something along the lines of:
@CustID = Forms!frmCust!txtCustID
HTH,

Signature
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
> Hi,
> I have an MS Access 2000 query that I need to convert into a SQL Statment
[quoted text clipped - 7 lines]
> Thanks
> Dib
Dib - 28 Jun 2004 17:33 GMT
Thanks for the info
Dib
> IIF statements need to be converted to SQL Server CASE logic, and to pass a
> form value into your stored procedure, look at the Input Parameters property
[quoted text clipped - 16 lines]
> > Thanks
> > Dib