For some reason the text from the associated table's field description auto-populated the datasheet caption property on one of my forms instead of the status bar text property. I want programmatically update the status bar text with this value. I am not sure how to reference the datasheet caption in design mode and run the following code:
Suggestions?
Code:
Dim ctl As Control
For Each ctl In [Forms]![frmInventory].Controls
Select Case ctl.ControlType
Case acCommandButton, acCheckBox, acTextBox, acListBox, acComboBox, acToggleButton
ctl.StatusBarText = ctl.Properties("DataSheetCaption")
End Select
Next
Anybody have any idea how the datasheet caption got the description info instead of the status bar text? Could it be because the form was created by copying and pasting from another form? (I did not initially design the form. I am just trying to fancy it up)