R
redtux
Hi I am very confused by this issue - here is the SQL
SELECT lk_stages.stage, lk_stages.stage & " -" & [stage_cat] & " - " &
[stage_desc] AS [desc]
FROM lk_stages INNER JOIN tb_progress ON lk_stages.stage = tb_progress.Stage
WHERE
(((tb_progress.complaint_id)=[forms]![fm_client_tracking]![complaint_id]) AND
((Left([lk_stages]![stage],1))=Left([tb_progress]![stage],1)))
GROUP BY lk_stages.stage, lk_stages.stage & " -" & [stage_cat] & " - " &
[stage_desc];
This works if I run from a query(and form is open) - but if I try to run it
from the form I get a prompt for
)=[forms]![fm_client_tracking]![complaint_id] (which is the form)
Any ideas/explanations for this appreciated
SELECT lk_stages.stage, lk_stages.stage & " -" & [stage_cat] & " - " &
[stage_desc] AS [desc]
FROM lk_stages INNER JOIN tb_progress ON lk_stages.stage = tb_progress.Stage
WHERE
(((tb_progress.complaint_id)=[forms]![fm_client_tracking]![complaint_id]) AND
((Left([lk_stages]![stage],1))=Left([tb_progress]![stage],1)))
GROUP BY lk_stages.stage, lk_stages.stage & " -" & [stage_cat] & " - " &
[stage_desc];
This works if I run from a query(and form is open) - but if I try to run it
from the form I get a prompt for
)=[forms]![fm_client_tracking]![complaint_id] (which is the form)
Any ideas/explanations for this appreciated