Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / June 2004

Tip: Looking for answers? Try searching our database.

SQL Statment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dib - 28 Jun 2004 16:28 GMT
Hi,
I have an MS Access 2000 query that I need to convert into  a SQL Statment
for Access project and SQL Server backend.

One of the queries have an IIF(RecType="A",Name,COntactName).  this is not
working how do I get this to work?

then how do I set the criteria to Forms!frmCust!txtCustID

Thanks
Dib
Kevin3NF - 28 Jun 2004 17:19 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.