not Allowing Additions on subforms 
Author Message
 not Allowing Additions on subforms

I have a form with a subform in it, linked by an ID number,
and I don't want the user to be able to go to a new record
in the subform.  There should be only one record per
subform.

I already disabled all navigation buttons on the subform,
so the only way that a user could still go to a new record
is by pressing pagedown. I can't switch Allow Additions to
NO, because I want there to be a new blank record in the
subform when a new record is created in the main form. Do
you see the problem here?

If I set the Allow Additions property to NO on the main
form, the subforms work properly, but then a new form
cannot be created on the main form, which is not
acceptable.

Any solutions would be greatly appreciated.

-Tim



Sun, 26 Dec 2004 00:08:12 GMT  
 not Allowing Additions on subforms
Try setting the Cycle Record property for the subform to Current Record.

Quote:
> I have a form with a subform in it, linked by an ID number,
> and I don't want the user to be able to go to a new record
> in the subform.  There should be only one record per
> subform.

> I already disabled all navigation buttons on the subform,
> so the only way that a user could still go to a new record
> is by pressing pagedown. I can't switch Allow Additions to
> NO, because I want there to be a new blank record in the
> subform when a new record is created in the main form. Do
> you see the problem here?

> If I set the Allow Additions property to NO on the main
> form, the subforms work properly, but then a new form
> cannot be created on the main form, which is not
> acceptable.

> Any solutions would be greatly appreciated.

> -Tim



Sun, 26 Dec 2004 01:13:17 GMT  
 not Allowing Additions on subforms
The Cycle Record fixes the problem for tabbing, but not for
page down and page up, unfortunately. Any other ideas?

Quote:
>-----Original Message-----
>Try setting the Cycle Record property for the subform to
Current Record.


>> I have a form with a subform in it, linked by an ID
number,
>> and I don't want the user to be able to go to a new
record
>> in the subform.  There should be only one record per
>> subform.

>> I already disabled all navigation buttons on the
subform,
>> so the only way that a user could still go to a new
record
>> is by pressing pagedown. I can't switch Allow Additions
to
>> NO, because I want there to be a new blank record in the
>> subform when a new record is created in the main form.
Do
>> you see the problem here?

>> If I set the Allow Additions property to NO on the main
>> form, the subforms work properly, but then a new form
>> cannot be created on the main form, which is not
>> acceptable.

>> Any solutions would be greatly appreciated.

>> -Tim

>.



Sun, 26 Dec 2004 23:30:52 GMT  
 not Allowing Additions on subforms
No, I don't have a specific suggestion on this. There have been other
postings about how you can "capture" a key action such as PageUp etc., but
I've not tried one yet. Do search for KeyPress event.


Quote:
> The Cycle Record fixes the problem for tabbing, but not for
> page down and page up, unfortunately. Any other ideas?

> >-----Original Message-----
> >Try setting the Cycle Record property for the subform to
> Current Record.


> >> I have a form with a subform in it, linked by an ID
> number,
> >> and I don't want the user to be able to go to a new
> record
> >> in the subform.  There should be only one record per
> >> subform.

> >> I already disabled all navigation buttons on the
> subform,
> >> so the only way that a user could still go to a new
> record
> >> is by pressing pagedown. I can't switch Allow Additions
> to
> >> NO, because I want there to be a new blank record in the
> >> subform when a new record is created in the main form.
> Do
> >> you see the problem here?

> >> If I set the Allow Additions property to NO on the main
> >> form, the subforms work properly, but then a new form
> >> cannot be created on the main form, which is not
> >> acceptable.

> >> Any solutions would be greatly appreciated.

> >> -Tim

> >.



Mon, 27 Dec 2004 09:05:39 GMT  
 not Allowing Additions on subforms
http://www.mvps.org/access/forms/frm0016.htm

--
Brendan Reynolds (MVP)

Access 2000/2002 sample app at
http://brenreyn.brinkster.net
----------------------------

Quote:
> No, I don't have a specific suggestion on this. There have been other
> postings about how you can "capture" a key action such as PageUp etc., but
> I've not tried one yet. Do search for KeyPress event.



> > The Cycle Record fixes the problem for tabbing, but not for
> > page down and page up, unfortunately. Any other ideas?

> > >-----Original Message-----
> > >Try setting the Cycle Record property for the subform to
> > Current Record.


> > >> I have a form with a subform in it, linked by an ID
> > number,
> > >> and I don't want the user to be able to go to a new
> > record
> > >> in the subform.  There should be only one record per
> > >> subform.

> > >> I already disabled all navigation buttons on the
> > subform,
> > >> so the only way that a user could still go to a new
> > record
> > >> is by pressing pagedown. I can't switch Allow Additions
> > to
> > >> NO, because I want there to be a new blank record in the
> > >> subform when a new record is created in the main form.
> > Do
> > >> you see the problem here?

> > >> If I set the Allow Additions property to NO on the main
> > >> form, the subforms work properly, but then a new form
> > >> cannot be created on the main form, which is not
> > >> acceptable.

> > >> Any solutions would be greatly appreciated.

> > >> -Tim

> > >.



Mon, 27 Dec 2004 17:47:09 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. My forms will not allow additions and my tables get a + column

2. Do not allow addition

3. sub Form does not allow additions

4. Subform Not allowing addition of record

5. Linked SQL tables not allowing additions in Access forms

6. sub Form does not allow additions

7. subform resets Allow Edits, Deletions and Additions to No

8. change Allow Additions to No on Subform

9. how do you allow additions in a sub form

10. Allow additions


 
Powered by phpBB® Forum Software © phpBB Group