SQLScholar
Programmer
Hey all,
I am using a program external of access, to query an access DB via ODBC/SQL.
I am now having a strange problem. I have a long peice of code with lots of union queries and suchlike to make a formatted report.
I am getting to the point now where it seems that if i add another chunk of union query i get an error of "not a valid alias name".
Well i removed code untill i got it to work - then found that if i added any more, it seems to error. Even if i copy one of the other chunks a second time it errors and that runs fine.
Just put in the chunk that seems to make it error - works fine.
Any one got any ideas. I can post code if you wish, but its alot!
TIA
Dan
----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
I am using a program external of access, to query an access DB via ODBC/SQL.
I am now having a strange problem. I have a long peice of code with lots of union queries and suchlike to make a formatted report.
I am getting to the point now where it seems that if i add another chunk of union query i get an error of "not a valid alias name".
Well i removed code untill i got it to work - then found that if i added any more, it seems to error. Even if i copy one of the other chunks a second time it errors and that runs fine.
Just put in the chunk that seems to make it error - works fine.
Any one got any ideas. I can post code if you wish, but its alot!
TIA
Dan
----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!