Results 1 to 3 of 3
  1. #1
    Mill21 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    4

    Using macros in a Form


    Hi I have a database and I have a data input form and on the data input form I have some combo boxes that get data from another table and store the results in my main table.
    I have set to limit data to items in the list so I I need to add data that’s not in the list I am unable to carry on inputting the data, I have set up a macro so when I try and add data that’s not in the list it opens a form to add data to the list, and store it in the relevent table, all this works ok.

    So now my question
    1 When the form opens how I get it to open in a new record position and not at the first record.

    2 Then when I have entered the new data into the form and closed the form how do I get the data to refresh in the table. As it is now I enter the new data into the form that then enters the new data into the table but then I have to close the data input form and reopen it again to be able to select the new data in the table

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Mill21 View Post
    When the form opens how I get it to open in a new record position and not at the first record.
    the main or the popup to add recs?

  3. #3
    Mill21 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    4
    Hi ajetrumpet,
    in answer to your question my original idea was to open the add record form in the new record position, but on second thought it might be good if my main data input form stated in the new record position as well.

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

Similar Threads

  1. Replies: 1
    Last Post: 01-28-2011, 06:58 AM
  2. Macros
    By Capri Pruitt in forum Access
    Replies: 1
    Last Post: 09-13-2010, 10:36 PM
  3. vba vs macros
    By RedGoneWILD in forum Access
    Replies: 4
    Last Post: 08-06-2010, 12:48 AM
  4. VBA vs Macros
    By Evgeny in forum Programming
    Replies: 3
    Last Post: 05-11-2010, 02:15 PM
  5. VBA or Macros
    By mastromb in forum Forms
    Replies: 6
    Last Post: 01-03-2010, 04:46 PM

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