I am using a combo box to select a value (eg region number), which in turn updates another combo box with relevant annual sale using following code:
Private Sub txtRegion_AfterUpdate()
Me!txtAnnSale.Requery
Me!txtAnnSale = Me.txtAnnSale.Column(0, 0)
End Sub
txtAnnSale is an unbound control listing sale figures from an underlying query for specific region after being updated in terms of the region.
The issue is that the unbound field (txtAnnSale) correctly lists all sale values in currency format but the value shown in the field (when combo box is not clicked down)has almost no formatting. I have checked table and query and annual sales is shown as currency.
Could someone help me in getting the format of combo box right?
I hope I am clear enough but if not please let me know and I can email a sample.
Cheers
Private Sub txtRegion_AfterUpdate()
Me!txtAnnSale.Requery
Me!txtAnnSale = Me.txtAnnSale.Column(0, 0)
End Sub
txtAnnSale is an unbound control listing sale figures from an underlying query for specific region after being updated in terms of the region.
The issue is that the unbound field (txtAnnSale) correctly lists all sale values in currency format but the value shown in the field (when combo box is not clicked down)has almost no formatting. I have checked table and query and annual sales is shown as currency.
Could someone help me in getting the format of combo box right?
I hope I am clear enough but if not please let me know and I can email a sample.
Cheers