A
Afrosheen via AccessMonster.com
Thanks for reading my post.
I have two forms one is the main menu form which has a subform attached
called frmbkbox. What it does is when Saturday comes around it pops up and
says make a back up. What I want to do is after the back up is done then hide
the pop up box {frmbkbox.}
In order to do the back up you have to click on a button which brings up
another form called frmfilemaint. You can click on another button which will
actually do the back up. The only thing is that when I close the frmfilemaint
box the frmbkbox is still showing on the main menu.
I've tried setting code on the current but it doesn't work. Here is my code:
Dim bolPrintA As Integer
10 bolPrintA = Nz(DLookup("[fcopy]", "tblconfig"))
20 If bolPrintA = True And Weekday(Now()) = 7 Then
30 Me!frmBKBox.Visible = False
40 Else
50 Me!frmBKBox.Visible = True
60 End If
Thanks for the help. I hope I gave enough information.
I have two forms one is the main menu form which has a subform attached
called frmbkbox. What it does is when Saturday comes around it pops up and
says make a back up. What I want to do is after the back up is done then hide
the pop up box {frmbkbox.}
In order to do the back up you have to click on a button which brings up
another form called frmfilemaint. You can click on another button which will
actually do the back up. The only thing is that when I close the frmfilemaint
box the frmbkbox is still showing on the main menu.
I've tried setting code on the current but it doesn't work. Here is my code:
Dim bolPrintA As Integer
10 bolPrintA = Nz(DLookup("[fcopy]", "tblconfig"))
20 If bolPrintA = True And Weekday(Now()) = 7 Then
30 Me!frmBKBox.Visible = False
40 Else
50 Me!frmBKBox.Visible = True
60 End If
Thanks for the help. I hope I gave enough information.