When creating the .mde is it possible through code to disable a form and keep that same form enabled in the .mdb?
Thanks!
When creating the .mde is it possible through code to disable a form and keep that same form enabled in the .mdb?
Thanks!
What do you mean by 'disable'. If no code calls to open the form, what is the issue?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Sorry about that. The form is opened hidden in the open event of a menu. It is for an auto-backup. I only need it to run from the .mdb so I don't need it to open in the .mde.
Thanks
Can't really 'disable' the form. You can include a condition in the code:
If Not CurrentDb.Name Like "*.mde" Then
'code to run backup
...
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Thank You, I'll give it a shot.
June7,
Perfect! Just what I needed.
Thank You