Advertisement

05.19.2008 at 05:28PM PDT, ID: 23415600
[x]
Attachment Details

allowAdditions False means no controls

Asked by dastrw in Microsoft Access Database, Access Forms

Tags: VBA for Access, NA, NA

I have a new Access2003 application that I am delivering to customers.  One of the forms is bound to a table that starts out with no records.

Not all users are able to insert new records into this table so I would like to have the form start up with allowAdditions set to False.  However, if I do this then all of the controls are missing.

Is there an easy around this?  I have looked at similar questions, but noone seems to be able to answer this.  The things that I have thought up, all of which are a lot of work for a seemingly simple request are:

1) Stick a bogus record in the table and hope it doesn't confuse anyone ... but it will.
2) Stick my current form as a subform into an unbound main form that contains all the controls.  But then the subform is still completely blank when nothing is there, and it means I have to use all of that annoying subform syntax to get at my controls.
3) Create two forms, one bound and one unbound, on two separate tab pages.  Then depending on whether or not there is a record in the table show one page and hide the other.
4) Get Bill Gates to rewrite Access2003.

Any better ideas?Start Free Trial
[+][-]05.19.2008 at 05:34PM PDT, ID: 21602656

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 05:54PM PDT, ID: 21602748

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 06:40PM PDT, ID: 21602973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 06:48PM PDT, ID: 21603004

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Access Forms
Tags: VBA for Access, NA, NA
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.19.2008 at 06:50PM PDT, ID: 21603010

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 10:05PM PDT, ID: 21603594

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628