G
Guest
Hi friends,
I have a subform in DS view. I have two bound combo boxes on this subform.
First cboCrops is bound to CropID with row source from tblCrops. Second
combo, cboPlantingDetails and its row source is a query and bound to
PlantingDetailsID and lists all planting details (which is made up of records
from different tables)
What I would like to do is select a crop from the cboCrops and limit the
records in the query behind cboPlantingDetails to the chosen and assigned
crop.
I have looked up the http://www.mvps.org/access/forms/frm0028.htm and took
the second option of assigning the criteria variable to cboCrops and
requeried cboPlantingDetails from cboCrops AfterUpdate Event
(Me.cboPlantingDetails.Requery).
Here is the criteria string in CropID column of the query behind the
cboPlantingDetails.
[Forms]![frmOrders]![frmOrderDetails]![cboCrops]
But the dropdown on cboPlantingDetails is empty.
Can anyone help me out on this. I really need it.
Thanks alot in advance.
I have a subform in DS view. I have two bound combo boxes on this subform.
First cboCrops is bound to CropID with row source from tblCrops. Second
combo, cboPlantingDetails and its row source is a query and bound to
PlantingDetailsID and lists all planting details (which is made up of records
from different tables)
What I would like to do is select a crop from the cboCrops and limit the
records in the query behind cboPlantingDetails to the chosen and assigned
crop.
I have looked up the http://www.mvps.org/access/forms/frm0028.htm and took
the second option of assigning the criteria variable to cboCrops and
requeried cboPlantingDetails from cboCrops AfterUpdate Event
(Me.cboPlantingDetails.Requery).
Here is the criteria string in CropID column of the query behind the
cboPlantingDetails.
[Forms]![frmOrders]![frmOrderDetails]![cboCrops]
But the dropdown on cboPlantingDetails is empty.
Can anyone help me out on this. I really need it.
Thanks alot in advance.