V
vikash.verma
Hi All,
I have a created a form and after that i want to pass the VALUE of Combo box and "Date Picker" to a MACRO.This macro has to perform 3 Action.Eg "OpenQuery" ,"OpenQuery" and "OpenReport".I call the query which has Select statement along with the following query.
DelMast.DriverID=Driver.DriverID AND DelMast.CustomerID=DelDetl.CustomerID AND DelMast.StartDate=DelDetl.StartDate And Driver.Description=Forms!Form_DriverActivityReport!Driver_Control.ValueAnd DelMast.StartDate=Forms!Form_DriverActivityReport!StartDate_Control.Value
But i am not able to pass the value into the query.What can be the reason behind it.
In fact the 2nd Query needs the data from the FORM
I am not understanding.If i run the MACRO seperately i get the Output by passing the Values by the Parameter Box, but it does not take the value present inside the Form.
Any help i am stuck...........
Thanks and Regard
Vikash
I have a created a form and after that i want to pass the VALUE of Combo box and "Date Picker" to a MACRO.This macro has to perform 3 Action.Eg "OpenQuery" ,"OpenQuery" and "OpenReport".I call the query which has Select statement along with the following query.
DelMast.DriverID=Driver.DriverID AND DelMast.CustomerID=DelDetl.CustomerID AND DelMast.StartDate=DelDetl.StartDate And Driver.Description=Forms!Form_DriverActivityReport!Driver_Control.ValueAnd DelMast.StartDate=Forms!Form_DriverActivityReport!StartDate_Control.Value
But i am not able to pass the value into the query.What can be the reason behind it.
In fact the 2nd Query needs the data from the FORM
I am not understanding.If i run the MACRO seperately i get the Output by passing the Values by the Parameter Box, but it does not take the value present inside the Form.
Any help i am stuck...........
Thanks and Regard
Vikash