I’ve recently started using access 2010 and am busy updating my A2K databases. Just started getting to grips with the beast (table level calculated fields are great). However, these new embedded macros seem to have a mind of their own.
I’ve used the wizard to create a delete record button with an embedded macro and it looks good as it takes care of all possible scenarios.
Now, I’ve been trying to encapsulate the 3 or so if then statements of the macro (exluding the error handling of course) in an if msgbox(…….)=vbYes (or rather = 6) but no matter what I try I can’t seem to move the end if to wrap the other If then statements.
Any ideas?
I’ve used the wizard to create a delete record button with an embedded macro and it looks good as it takes care of all possible scenarios.
Now, I’ve been trying to encapsulate the 3 or so if then statements of the macro (exluding the error handling of course) in an if msgbox(…….)=vbYes (or rather = 6) but no matter what I try I can’t seem to move the end if to wrap the other If then statements.
Any ideas?