Results 1 to 8 of 8
  1. #1
    Jerry8989 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    27

    Question automatic row insert

    I would like to know if this is possible without using any code.



    I have a form tied to table1. Within this form I have a button that opens another form which is tied to table2. Within the relationships I have id from table1 going to id for table2. My question is when I press the button on the form can I have it automatically add a row in table2 with the id from table1 that is currently tied to the form?

    Say table1 has person info and table2 is the notes on this person
    When I press the notes button for personid = 99 I want there to be a new
    row added to table2 with id set equal to 99 without writing any insert statements or vba code.

    Thank You

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is this a test?

  3. #3
    Jerry8989 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    27
    What do you mean? It's a small work project

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What is the aversion to using code?

  5. #5
    Jerry8989 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    27
    Boss is a an oracle forms guy and thinks that is how it should work. I'm used to using VBA to do most things because I like to control how the app works. At previous job it was ok not here. LOL

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If it were a SubForm you could do it without code but as a separate form I guess you will need to have your boss show you how that is accomplished in Access.

  7. #7
    Jerry8989 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    27
    Rural,
    That was my next plan was to ask him how he does it in oracle just to get an idea of how it's done.

    Thank you

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It could be using a built in feature of Oracle that does not exist in Access. Good luck.

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

Similar Threads

  1. Automatic Date insertion
    By wbeau in forum Access
    Replies: 0
    Last Post: 03-10-2009, 12:51 PM
  2. Automatic field check and population
    By danidin in forum Forms
    Replies: 0
    Last Post: 01-03-2009, 12:45 PM
  3. Automatic Syncronization
    By Katada in forum Programming
    Replies: 0
    Last Post: 04-25-2006, 03:36 AM
  4. Automatic Filtering when Opening form
    By Karyn-2000 in forum Forms
    Replies: 1
    Last Post: 12-03-2005, 09:29 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