Background:

I'm using a DAO and on my form I also have a couple Masked Edit Boxes. (postal code, phone number credit card number, CC expiry date and a business phone number; yeah... its for a customer table...

Currently I have the code in a seperate sub routine which is called at the end if the form_Activate routine.

When my Apply_Mask sub is fired, the application of the masks also causes the DAO to think that is going into edit mode. The tricky thing about this is that I also have a Data Class because on three forms, all the buttons are the exact same and I'm going for top marks in my final programming project for my college graduating semister... but back to the problem...

Question:

How can I get the masks to apply to the Mask Edit Boxes and not have the DAO think that is in edit mode?

Please let me know as soon as possible because my projecxt is due this friday morning and I still have a lot to do...

Thanks,

Brad Bassingthwaite