PC Review


Reply
Thread Tools Rate Thread

allow additions confuses user

 
 
fishqqq@hotmail.com
Guest
Posts: n/a
 
      3rd Jun 2011
I have a continuous form that is set to allow additions because i need
the user to be able to add new records.
The problem is I need the user to add the new record by using a
command button. By having the form set to allow additions Access
automatically adds another record (unsaved) to the bottom of the list
which might lead the user to jump to that record and begin entering
data, instead of creating a new record with the command button (which
updates some fields behind the scenes).

If i set the Allow Additions to NO then my macro isn't able to create
another record and update the fields as it should.

Is there a way to remove this empty record at the bottom of the list
and still allow the macro to create a new record as it is instructed
to do?

thanks
Steve
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      4th Jun 2011
On Fri, 3 Jun 2011 14:43:31 -0700 (PDT), "(E-Mail Removed)"
<(E-Mail Removed)> wrote:

>I have a continuous form that is set to allow additions because i need
>the user to be able to add new records.
>The problem is I need the user to add the new record by using a
>command button. By having the form set to allow additions Access
>automatically adds another record (unsaved) to the bottom of the list
>which might lead the user to jump to that record and begin entering
>data, instead of creating a new record with the command button (which
>updates some fields behind the scenes).
>
>If i set the Allow Additions to NO then my macro isn't able to create
>another record and update the fields as it should.
>
>Is there a way to remove this empty record at the bottom of the list
>and still allow the macro to create a new record as it is instructed
>to do?
>
>thanks
>Steve


Why not instead do your "behind the scenes" updating/record creation in the
Form's BeforeInsert event (which fires when the user types the first keystroke
in any new-record field)?
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also http://www.utteraccess.com
 
Reply With Quote
 
fishqqq@hotmail.com
Guest
Posts: n/a
 
      5th Jun 2011
On Jun 3, 7:20*pm, John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
wrote:
> On Fri, 3 Jun 2011 14:43:31 -0700 (PDT), "fish...@hotmail.com"
>
>
>
> <fish...@hotmail.com> wrote:
> >I have a continuous form that is set to allow additions because i need
> >the user to be able to add new records.
> >The problem is I need the user to add the new record by using a
> >command button. By having the form set to allow additions Access
> >automatically adds another record (unsaved) to the bottom of the list
> >which might lead the user to jump to that record and begin entering
> >data, instead of creating a new record with the command button (which
> >updates some fields behind the scenes).

>
> >If i set the Allow Additions to NO then my macro isn't able to create
> >another record and update the fields as it should.

>
> >Is there a way to remove this empty record at the bottom of the list
> >and still allow the macro to create a new record as it is instructed
> >to do?

>
> >thanks
> >Steve

>
> Why not instead do your "behind the scenes" updating/record creation in the
> Form's BeforeInsert event (which fires when the user types the first keystroke
> in any new-record field)?
> --
>
> * * * * * * *John W. Vinson [MVP]
> *Microsoft's replacements for these newsgroups:
> *http://social.msdn.microsoft.com/For...-US/accessdev/
> *http://social.answers.microsoft.com/.../en-US/addbuz/
> *and see alsohttp://www.utteraccess.com


Is there now a way to open a form and have the macro set the "allow
additions" propert to YES then continue with the other activities in
the macro?
that seems to be easier to get my head around.

thanks,
Steve
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual PC Additions Additions Johann Microsoft Access 7 5th Feb 2010 12:23 AM
User cannot see new additions to GAL =?Utf-8?B?VmFsbGVyaV9Db2xsaW5z?= Microsoft Outlook Discussion 2 28th Sep 2005 11:10 PM
Tracking changes/additions for another user =?Utf-8?B?Q2F0IFdpbnNsb3c=?= Microsoft Access Form Coding 2 22nd Mar 2004 04:31 AM
XP confuses user settings on logon Gary Townshend Windows XP Basics 5 19th Jan 2004 04:43 PM
mass new user additions ryan Microsoft Windows 2000 New Users 0 16th Oct 2003 03:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 AM.