Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql column query

Status
Not open for further replies.

access101

Programmer
Sep 4, 2010
68
0
0
US
im trying to convert code from access to Visual studio dataset query but its not recognizing my LIKE statement

SELECT Staff.Deactivate, Staff.Employee, IIf([Position] Like "*O*","Opener") AS [Open], Staff.Rate1, Staff.Rate2, Staff.Salary, Staff.Availability
FROM Staff
WHERE (((Staff.Deactivate)=False));
 
What is a "Visual studio dataset query" anyway? And are you saying you have moved from Jet to SQL Server?
 
Maybe replace the Immediate If function with a SQL Server compliant Case statement.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
If that's the issue then this thread was posted in the wrong forum. I don't see any VB6 programming question here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top