form run report

eugz

Registered User.
Local time
Today, 03:36
Joined
Aug 31, 2004
Messages
128
Hi All.
I created simple form with combobox to select device and button that run report. Report Record source is:
Code:
SELECT Request_id, Date, Device, Request, Amount 
FROM qRequest 
WHERE (Device=Forms!fSetRequestRpt!cboDevice) 
ORDER BY Date;
When I select device in combobox and click button to run report my report is empty. What is my wrong?
Thanks.
 
"SELECT Request_id, Date, Device, Request, Amount
FROM qRequest
WHERE (Device='" & Forms!fSetRequestRpt.cboDevice & "')
ORDER BY Date;"
 
Date is a reserved word in Access and should not be used as a field name
 

Users who are viewing this thread

Back
Top Bottom