B
Biggles
Hello all, I have a little question
I have some public constructs in a module, that I want to manipulate via a
form, mainly to keep users out of my VBA. When I open the form, I have:
Private Sub Form_Open(Cancel As Integer)
v_begdate = basISSUE_TRACK_BKUP!Begdate
v_begyear = basISSUE_TRACK_BKUP!begyear
v_enddate = basISSUE_TRACK_BKUP!enddate
v_audcom = basISSUE_TRACK_BKUP!audcomm
End Sub
And when I edit the data in the form, in my after update for each of the
fields above:
Private Sub v_audcom_AfterUpdate()
basISSUE_TRACK_BKUP!audcomm = v_audcom
End Sub
Private Sub v_begdate_AfterUpdate()
basISSUE_TRACK_BKUP!Begdate = v_begdate
End Sub
Private Sub v_begyear_AfterUpdate()
basISSUE_TRACK_BKUP!begyear = v_begyear
End Sub
Private Sub v_enddate_AfterUpdate()
basISSUE_TRACK_BKUP!enddate = v_enddate
End Sub
And my public constructs in the basISSUE_TRACK_BKUP module:
Public Const Begdate = #1/4/2008#
Public Const begyear = #1/4/2008#
Public Const enddate = #1/31/2008#
Public Const audcomm = 0 (boolean)
Can this be done?
I have some public constructs in a module, that I want to manipulate via a
form, mainly to keep users out of my VBA. When I open the form, I have:
Private Sub Form_Open(Cancel As Integer)
v_begdate = basISSUE_TRACK_BKUP!Begdate
v_begyear = basISSUE_TRACK_BKUP!begyear
v_enddate = basISSUE_TRACK_BKUP!enddate
v_audcom = basISSUE_TRACK_BKUP!audcomm
End Sub
And when I edit the data in the form, in my after update for each of the
fields above:
Private Sub v_audcom_AfterUpdate()
basISSUE_TRACK_BKUP!audcomm = v_audcom
End Sub
Private Sub v_begdate_AfterUpdate()
basISSUE_TRACK_BKUP!Begdate = v_begdate
End Sub
Private Sub v_begyear_AfterUpdate()
basISSUE_TRACK_BKUP!begyear = v_begyear
End Sub
Private Sub v_enddate_AfterUpdate()
basISSUE_TRACK_BKUP!enddate = v_enddate
End Sub
And my public constructs in the basISSUE_TRACK_BKUP module:
Public Const Begdate = #1/4/2008#
Public Const begyear = #1/4/2008#
Public Const enddate = #1/31/2008#
Public Const audcomm = 0 (boolean)
Can this be done?