belovedcej
Programmer
There is a query that has been in use for over a year, runs fine.
Recently, I made a copy of the db to make some edits. I added a single field from a table already there, gave it a criteria, saved and ran it. Got the message "ambiguous outer joins." Of course, I can't open the SQL view to edit it directly because of the same message.
So I went back to the DB in implementation and ran it - sure enough, it works. I tried to open the SQL view, but it said "ambiguous outer joins."
This happened once before, very recently. I tried making all joins outer, since sometimes Access is pickier than TSQL. No go. Eventually, I simply recreated the query exactly as it was and saved it and deleted the old. It worked fine with no nasty messages.
I'm going to do the same thing here - but my question is, has anyone encountered this? Why would it change when it hasn't been touched? Is it a corruption problem? How can I prevent this from occuring again? (There are only 3 tables. Table 1 has outer joins to table 2. Table 3 has inner joins to Table 2.)
Recently, I made a copy of the db to make some edits. I added a single field from a table already there, gave it a criteria, saved and ran it. Got the message "ambiguous outer joins." Of course, I can't open the SQL view to edit it directly because of the same message.
So I went back to the DB in implementation and ran it - sure enough, it works. I tried to open the SQL view, but it said "ambiguous outer joins."
This happened once before, very recently. I tried making all joins outer, since sometimes Access is pickier than TSQL. No go. Eventually, I simply recreated the query exactly as it was and saved it and deleted the old. It worked fine with no nasty messages.
I'm going to do the same thing here - but my question is, has anyone encountered this? Why would it change when it hasn't been touched? Is it a corruption problem? How can I prevent this from occuring again? (There are only 3 tables. Table 1 has outer joins to table 2. Table 3 has inner joins to Table 2.)