arnel,mr.gasman:
I can't find my a2007 installer, this ver is a2010.
Not sure June7, sometimes I can open a DB without any issue, but most times I get that error, even when trying to open with shift key.I have no problem opening in 2010. What could be in it so 2007 would not open?
YesCan you save a record on a form and/or close the form from a module -outside- the form itself?
No rush Majp, merely for observation/education.Unfortunately it will be a while. I am on travel now.
I'd agree, but if someone has given you a form class to to just that, I'd be more than happy to use it.?Yes
Save example:
Form_Formname.Dirty=False
Close example:
Docmd.Close acForm,"Formname"
You should not need to get into creating custom Classes solely to take actions on a form from a module. Just create public subs that take a frm as Form type parameter and then do things to the form.
I respect your positions and respectfully disagree. #1 I never deploy code that I don't personally understand, and could explain and troubleshoot if something goes wrong. #2 I know he likes classes and the more advanced stuff, and I greatly respect his skill, second to none--but that is HUUUUGE overkill in this instance, and I personally feel that deploying such a thing to someone less experienced is not doing them any favors. I guess we are different - I hate the idea of having any black box routine in my toolset, it seems dangerous to deploy something I cannot truly own. But mostly because it's an extreme form of overkill just for a few common and routine form commands...I'd agree, but if someone has given you a form class to to just that, I'd be more than happy to use it.?
I have started using @MajP 's FAYT classes. I do not need to know how they work, just that they do work, and work very well.
What I would call 'black box' routines.?
If arnelgp has created a Form class for the o/p that they can just use, then that is going to save them a lot ot time, as it will just work.?
I must admit, this is one of those times, that just handing out a fish works.![]()