Hi All,
I am Currently in the process of designing an asset database for work. One of the features i am trying to design is a tracking feature whereby a history of the location of an asset is recorded and displayed in a form.
i have been using the column history function in access 2007. the way i have it set up is so that when a button is pressed the history is displayed in a text box.
i used the following code:
Private Sub PB_LocationHistory_BatteryTools_Click()
'Is Null Command
TXB_LocationHistory_BatteryTools.Value = Application.ColumnHistory("Assets", "Location", "ID=" & ID & "")
End Sub
when i press the button i get a runtime error 424
the strange thing is, i have used this exact code in another form on my database and it works fine...
please help
if anyone can suggest a better way to do this please do!
Thanks,
Teady
I am Currently in the process of designing an asset database for work. One of the features i am trying to design is a tracking feature whereby a history of the location of an asset is recorded and displayed in a form.
i have been using the column history function in access 2007. the way i have it set up is so that when a button is pressed the history is displayed in a text box.
i used the following code:
Private Sub PB_LocationHistory_BatteryTools_Click()
'Is Null Command
TXB_LocationHistory_BatteryTools.Value = Application.ColumnHistory("Assets", "Location", "ID=" & ID & "")
End Sub
when i press the button i get a runtime error 424
the strange thing is, i have used this exact code in another form on my database and it works fine...
please help

if anyone can suggest a better way to do this please do!
Thanks,
Teady