developingprogrammer
asked on
me.visible = false in Private Sub Form_Activate() does not hide form
hey guys, how come me.visible = false in Private Sub Form_Activate() does not hide form?
Private Sub Form_Activate()
'DoCmd.OpenForm "Workflow", acNormal
'CreateNewGenericFormInstance1
Me.Visible = False
End Sub
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks guys, i'm opening a hidden form when the database starts and this hidden form opens the real startup form. problem is, i don't know how to hide this hidden form upon startup haha.
well i mean i could make the form hidden from the real startup form but then it's not so self maintaining in the sense if i were to choose another startup form then i will have to manually move the code to the new startup form.
how do i:
1) open hidden form once DB starts up - done
2) use hidden form to open start up form - done
3) hide hidden from once it runs its code - don't know how to do!
well i mean i could make the form hidden from the real startup form but then it's not so self maintaining in the sense if i were to choose another startup form then i will have to manually move the code to the new startup form.
how do i:
1) open hidden form once DB starts up - done
2) use hidden form to open start up form - done
3) hide hidden from once it runs its code - don't know how to do!
ASKER
hopefully i can avoid using the autoexec macro.
is there a way that i can avoid autoexec's macro and instead use a autoexec VBA? when i say macro i mean those that i select from Access' user interface. i rather learn how to become a hardcore programmer!! = ))
is there a way that i can avoid autoexec's macro and instead use a autoexec VBA? when i say macro i mean those that i select from Access' user interface. i rather learn how to become a hardcore programmer!! = ))
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Yup sounds great!! I will do just that = )
Is there any way to run VBA code on startup without using the autoexec access macro?
Is there any way to run VBA code on startup without using the autoexec access macro?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Ok guys I'll follow your recommendation and use autoexec macro as the exception!! = ))
Open in new window