Hi everyone.
I have a database I built in Access 2007 (using the older mdb file format). Everything works well. In a bunch of forms I have dropdown boxes that are populated using sql statements in their row source property, such as:
SELECT pID, Package FROM (SELECT [pID], IIf([IsCurrent]=No,'(OLD) ' & [PackageName],[PackageName]) AS Package, [IsCurrent] FROM tblPackage) AS x ORDER BY IsCurrent, Package;
When I open the file in Access 2003, for some reason Access 2003 replaces some of my parentheses above with brackets, like this:
SELECT pID, Package FROM [SELECT [pID], IIf([IsCurrent]=No,'(OLD) ' & [PackageName],[PackageName]) AS Package, [IsCurrent] FROM tblPackage] AS x ORDER BY IsCurrent, Package;
It then can't figure out the SQL statement because the syntax is incorrect.
Has anyone run into this problem before? It has me really stumped. Why would Access 2003 decide on its own to substitute brackets for parentheses?
Thanks,
Duluter
I have a database I built in Access 2007 (using the older mdb file format). Everything works well. In a bunch of forms I have dropdown boxes that are populated using sql statements in their row source property, such as:
SELECT pID, Package FROM (SELECT [pID], IIf([IsCurrent]=No,'(OLD) ' & [PackageName],[PackageName]) AS Package, [IsCurrent] FROM tblPackage) AS x ORDER BY IsCurrent, Package;
When I open the file in Access 2003, for some reason Access 2003 replaces some of my parentheses above with brackets, like this:
SELECT pID, Package FROM [SELECT [pID], IIf([IsCurrent]=No,'(OLD) ' & [PackageName],[PackageName]) AS Package, [IsCurrent] FROM tblPackage] AS x ORDER BY IsCurrent, Package;
It then can't figure out the SQL statement because the syntax is incorrect.
Has anyone run into this problem before? It has me really stumped. Why would Access 2003 decide on its own to substitute brackets for parentheses?
Thanks,
Duluter