B
Bob Howard
Within a query, I created a column based on a fairly complex calculation
referencing a number of fields in the database and a number of fields in the
form that uses the query (this query is behind a ListBox on that form).
I've given the "created" column a name (let's call it XYZ). The result is
fine in that the content of that column in the ListBox is correct.
I now want to reference the contents of that column in a second "calculated"
column (further to the right, and beyond what appears in the ListBox). This
second column contains a couple of IIf 's and will return one of several
values ... depending on the value of XYZ in that row.
But when I run the query, the second column cannot "find" the first one ...
I always get a little panel asking me to enter a value for the XYZ column
(once per row in the recordsource).
How can I fix this (if I can). I would rather not repeat the entire
calculation (from XYZ) within the second column as that would make future
maintenance of the application more subject to error.
Thanks in advance...
bob
referencing a number of fields in the database and a number of fields in the
form that uses the query (this query is behind a ListBox on that form).
I've given the "created" column a name (let's call it XYZ). The result is
fine in that the content of that column in the ListBox is correct.
I now want to reference the contents of that column in a second "calculated"
column (further to the right, and beyond what appears in the ListBox). This
second column contains a couple of IIf 's and will return one of several
values ... depending on the value of XYZ in that row.
But when I run the query, the second column cannot "find" the first one ...
I always get a little panel asking me to enter a value for the XYZ column
(once per row in the recordsource).
How can I fix this (if I can). I would rather not repeat the entire
calculation (from XYZ) within the second column as that would make future
maintenance of the application more subject to error.
Thanks in advance...
bob