Results 1 to 2 of 2
  1. #1
    preveo is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2014
    Posts
    10

    Automatic record creation

    I have two tables; Customers and contracts.

    I would like access to automatically create a record in the contracts table when I change the status in one of the Customer Fields from prospective to Customer.
    The two tables are linked using the Customer ID field.

    Is this possible?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Anything is possible with enough code. What you want will require VBA code in some event. The real trick is figuring out which event to use. Maybe the AfterUpdate of control bound to 'the field'. The code could run an INSERT sql action.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 07-18-2013, 01:52 PM
  2. Subform not always allowing new record creation
    By Canadiangal in forum Forms
    Replies: 1
    Last Post: 03-28-2013, 11:00 PM
  3. Replies: 17
    Last Post: 03-09-2013, 09:54 PM
  4. Replies: 19
    Last Post: 12-21-2012, 06:57 AM
  5. Creation of New Record when Tab Last Field
    By Lupson2011 in forum Access
    Replies: 2
    Last Post: 09-07-2011, 08:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums