A
Amy Blankenship
Hi, all;
I started out with a query something like:
SELECT PageID, otherFields FROM Page INNER JOIN Question ON Page.QuestionID
= Question.QuestionID
I built my form, and it worked great. Then, I added another table left
joined to Page on PageID.
Now, when anything in my code refers to Me.PageID, I get the error that
Access can't find the field or control PageID.
So I tried aliasing PageID in the query that is on the right of the join.
That gives me an error that the field "myAlias" does not exist in Page.
Yes, I checked, and I didn't alias the wrong one.
I then tried removing PageID from the query results, but I get an error that
the joined field does not exist in the recordset.
After that, I tried renaming the PageID control to Page_PageID like a wizard
would have done if it had built the form from the same data source. I get
the error that it can't find field or control Page_PageID.
I am at my wit's end on what to do here. I don't want to start the form
from scratch, since there is a lot of code that I've built behind it.
Any ideas?
Thanks;
Amy
I started out with a query something like:
SELECT PageID, otherFields FROM Page INNER JOIN Question ON Page.QuestionID
= Question.QuestionID
I built my form, and it worked great. Then, I added another table left
joined to Page on PageID.
Now, when anything in my code refers to Me.PageID, I get the error that
Access can't find the field or control PageID.
So I tried aliasing PageID in the query that is on the right of the join.
That gives me an error that the field "myAlias" does not exist in Page.
Yes, I checked, and I didn't alias the wrong one.
I then tried removing PageID from the query results, but I get an error that
the joined field does not exist in the recordset.
After that, I tried renaming the PageID control to Page_PageID like a wizard
would have done if it had built the form from the same data source. I get
the error that it can't find field or control Page_PageID.
I am at my wit's end on what to do here. I don't want to start the form
from scratch, since there is a lot of code that I've built behind it.
Any ideas?
Thanks;
Amy