D
Damon Heron
I use OpenArgs to add a date to a form from another (WorkOrder)form and all
works well. However, I want to disable this when I open the form from a
second (menu)form. Here is my form load event that won't show the existing
date from the underlying table...
Private Sub Form_Load()
If IsNull(Me.OpenArgs) Then
'called from menu
Me!txtBottledDate.ControlSource = "BottledDate"
Else
'called from WorkOrder - shows the date I passed
Me!txtBottledDate = Me.OpenArgs
End If
End Sub
In the first instance, how do I get it to show the table's date? (it shows
a blank txtbox)
Thanks for any assistence.
works well. However, I want to disable this when I open the form from a
second (menu)form. Here is my form load event that won't show the existing
date from the underlying table...
Private Sub Form_Load()
If IsNull(Me.OpenArgs) Then
'called from menu
Me!txtBottledDate.ControlSource = "BottledDate"
Else
'called from WorkOrder - shows the date I passed
Me!txtBottledDate = Me.OpenArgs
End If
End Sub
In the first instance, how do I get it to show the table's date? (it shows
a blank txtbox)
Thanks for any assistence.