Sniper-BoOyA-
Registered User.
- Local time
- Yesterday, 22:20
- Joined
- Jun 15, 2010
- Messages
- 204
Good Morning,
 
Ive got a (sub)form with a graph based on the following query :
 
	
	
	
		
 
The form works great. But if i want to make a report with this graph, using the same query. I get an error saying :
 
"The microsoft jet database engine does not recognize [Please enter the ProctorID you woud like to make the graph from] as a valid field name or expression"
 
Any ideas?
 Ive got a (sub)form with a graph based on the following query :
		Code:
	
	
	SELECT IIf(IsNull([schaalnr]),[topwtrgeh],(([massaschlmonnat]-[massa3])/([massa3]-[massaschl]))*100) AS watergehproct, IIf(IsNull([schaalnr]),[topdrgdichth],((([massacillmonnat]-[massaopv])*100000)/([inhpv]*(100+[watergehproct])))) AS drgdichtheidproct, tblproctor.proctorID
FROM (tblopvklei INNER JOIN tblproctor ON tblopvklei.opvnr = tblproctor.opvnr) INNER JOIN tblproctwtrgeh ON tblproctor.proctorID = tblproctwtrgeh.proctorID
WHERE (((tblproctor.proctorID)=[Please enter the ProctorID you woud like to make the graph from]))
ORDER BY tblproctor.proctorID;The form works great. But if i want to make a report with this graph, using the same query. I get an error saying :
"The microsoft jet database engine does not recognize [Please enter the ProctorID you woud like to make the graph from] as a valid field name or expression"
Any ideas?
