Imdabaum
01-10-2007, 03:22 PM
:help I read up in the MS site, but didn't find any help. Still working with real estate, but one of the representatives wanted me to add a feature where he can create a report based on certain properties that he marks.
I created a table to keep track of which properties were being tracked and by whom. Built a query to pull properties watched by specific agents. I combined the 2 queries into a new query and set that as the data source for the report. The query runs fine if I just run it from the design view or open it from the DB window.
When I open the report from the dialog box, however, it always prompts me to Enter a Parameter Value.
SELECT qryWorkOrders.ID, qryWorkOrders.OurClient, qryWorkOrders.PropertyTitle, qryWorkOrders.PropertyNumber,
qryWorkOrders.ProjectType, qryWorkOrders.Description, qryWorkOrders.WorkOrder, qryWorkOrders.RER,
qryWorkOrders.CurrentPhase, qryWorkOrders.PhaseName, qryWorkOrders.CompletionDate, qryWorkOrders.ContactDesc,
qryWorkOrders.ContactName, qryWorkOrders.RERName, qryWorkOrders.Active, qryWorkOrders.ReportType, qryWorkOrders.ProcessID, qryWorkOrders.Comments
FROM qryWorkOrders, qryGetWatchList
WHERE (((qryWorkOrders.ID)=[qryGetWatchList].[propertyid]))
WITH OWNERACCESS OPTION;
tblPropertyTracker
propertyid
RERP
qryGetWatchList
SELECT tblPropertyTracker.propertyid, tblPropertyTracker.RERP
FROM tblPropertyTracker
WHERE (((tblPropertyTracker.RERP)=[Forms]![DialogCustomReport]![criRER]));
Any ideas how to fix this? MS says that it is a problem with one of the fields not being recognized, but I don't see why my field wouldn't be recognized.
Any help fixing the parameter prompt is appreciated.:help
I created a table to keep track of which properties were being tracked and by whom. Built a query to pull properties watched by specific agents. I combined the 2 queries into a new query and set that as the data source for the report. The query runs fine if I just run it from the design view or open it from the DB window.
When I open the report from the dialog box, however, it always prompts me to Enter a Parameter Value.
SELECT qryWorkOrders.ID, qryWorkOrders.OurClient, qryWorkOrders.PropertyTitle, qryWorkOrders.PropertyNumber,
qryWorkOrders.ProjectType, qryWorkOrders.Description, qryWorkOrders.WorkOrder, qryWorkOrders.RER,
qryWorkOrders.CurrentPhase, qryWorkOrders.PhaseName, qryWorkOrders.CompletionDate, qryWorkOrders.ContactDesc,
qryWorkOrders.ContactName, qryWorkOrders.RERName, qryWorkOrders.Active, qryWorkOrders.ReportType, qryWorkOrders.ProcessID, qryWorkOrders.Comments
FROM qryWorkOrders, qryGetWatchList
WHERE (((qryWorkOrders.ID)=[qryGetWatchList].[propertyid]))
WITH OWNERACCESS OPTION;
tblPropertyTracker
propertyid
RERP
qryGetWatchList
SELECT tblPropertyTracker.propertyid, tblPropertyTracker.RERP
FROM tblPropertyTracker
WHERE (((tblPropertyTracker.RERP)=[Forms]![DialogCustomReport]![criRER]));
Any ideas how to fix this? MS says that it is a problem with one of the fields not being recognized, but I don't see why my field wouldn't be recognized.
Any help fixing the parameter prompt is appreciated.:help