I have a form with command buttons that pull up other forms in the database. My problem is, i need to Disable a command button on the form thats being open from the command button.
it worked before i added the acDialog command.
this is what i had before
docmd.openform "someform"
forms![formname]![command1].enabled = false
Now since I added the acdialog command in the open form statement i get an error stating it cannot find the form name.
does the acdialog command change the form name?? if so does anyone know what i should put in my second command?
Thanks in advance
DVannoy
A+,Network+,CNA
dvannoy@onyxes.com
it worked before i added the acDialog command.
this is what i had before
docmd.openform "someform"
forms![formname]![command1].enabled = false
Now since I added the acdialog command in the open form statement i get an error stating it cannot find the form name.
does the acdialog command change the form name?? if so does anyone know what i should put in my second command?
Thanks in advance
DVannoy
A+,Network+,CNA
dvannoy@onyxes.com