Curious Question For Pat Hartman

Aug 13, 2005

Ms. Hartman,

You have may it very clear on a number of post, that I've read, that checking for required fields and duplicate fields, should be done in the forms BeforeUpdate event and last week, when you helped to try and achieve this on one of my forms, posted back and stated, "I never remove the close box or make forms modal unless they absolutely work."

Here's my question. If I disabled the forms max, min and close and then put my own Close cmdButton on the form and in this cmdButtons OnClick event I did my validations before I allowed the form to go to Close, wouldn't this at least be an OK way of doing it since I'm not allowing any of the forms "closing" events to fire? With BeforeUpdate I'm having to validate and if it doesn't pass, then stop the form from closing and cancel the forms events.

I'm only asking this cause I know your experience level is way above mine and of course I'm using my own close button, and the way you answered me made me think this was not a good way to do it, so I thought I would ask if it is a bad way of doing it and why. I just want to make sure that I'm not creating problems for myself.

Hope this makes sense,
Shane

View Replies


ADVERTISEMENT

Pat Hartman Can You Help

Sep 30, 2005

How do I link or import access to visio. I can't find visio in the list. Please Help. Thanks Pat I know tha you are so smart.

View 3 Replies View Related

Combo Box... I'm Curious

Jul 28, 2006

When you add a combo box to a form you get the wizard... all is dandy. After the wizard is completer you can see the things the wizard has done to get the requested features from the combo box.

For instance if you say I want the values from these fields from this table then you can see the SQL in the properties that have been generated by the wizard. Also if you choose the "Find a record on my form..." option then you can see the VBA code that the wizard creates.

There is one thing I can't figure out... When you choose to "Hide the key column" in the wizard what property or setting does the wizard alter to get this effect?

I could just use the wizard but it bugs me when I don't know how something is working.

View 1 Replies View Related

Database Example-Pat Hartman Non Normal Form

Dec 1, 2005

Hey folks!

A favor to ask: Pat Hartman posted an example db shortly before this site was attacked that dealt with setting up a form in a non-normal fashion to enter/display data that was in normalized tables. Did anyone download and keep a copy?

I downloaded it and was going to study it to try to build something similar for a lab application, but I lost my copy and can't get it back. A search here did not pull the post up, so I'm assuming the attack got the post, which was in the example DB section.

If anyone still has a copy, or if you see this Pat, would you mind posting the file again? I'd really like to study this one.

Thank you in advance.

View 1 Replies View Related

Curious On Rich's Recordcount Advise

Nov 4, 2005

Rich helped Latex88 a little further down and the advise given was:

"=Count(*) in the control source of a textbox in the subform footer will do it, no vba is needed"

I tried this out out on a few of my subforms and it worked on all but one. The recordsource of the one that it does not work on is based on a query. When I changed the recordsource to a table then the recordcount works.

Curious as to why and is there a work around?

Thanks a head of time,
Shane

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved