Results 1 to 5 of 5
  1. #1
    relliott is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2009
    Posts
    4

    Opening Form to a record with same ID value in field. (FIND on open)

    Ok, so here it goes, my first post.



    I am a newbie to the forum and Access but have plugging my way through. I have been creating pretty complex forms (IMO) and need some help with Opening a new form from the Main form that is linked to the ID.

    So the Main form consists of CustomerID and then a Subform with the Name then another subform with more information. In order to add more Customer names, I have a Create New Party button. In addition I have a create new document button in order to add type of reciept, date, and that sort of thing.

    My question is that when I click on the New Document button, how can I link it to the specifac record(The New document form has the customer ID at the top as it is filled in when a New Customer Record(CustomerID) is created from the main form. ). My friend said something about passing a variable to a stored procedure(I am using sql server. ) but I believe it is easier then that.

    The record in the New Document folder is already created, I just need to know, essentially how to(Find) the record when the New Document Form opens.

    I hope I was'nt too confusing. thanks for the help in advance. I hope to get to know the forums better in the coming weeks.


    -Ryan

  2. #2
    relliott is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2009
    Posts
    4
    After even more research I found the answer. For anyone wondering this is my source. It all worked after I manipulated some of the code. It gave me the right idea though. I knew I was getting my filter code wrong!

    http://www.access-programmers.co.uk/...ad.php?t=80660

  3. #3
    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
    So you have the information you need and this thread is ready for you to use the Solved thread tool right?

  4. #4
    relliott is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2009
    Posts
    4
    Right.. do I have to do that or is that I moderator function? Sorry.. I don't see it anywhere.

  5. #5
    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
    The link in my signature shows you how to do it and it is not limited to Mods.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-16-2009, 08:47 AM
  2. Replies: 4
    Last Post: 03-24-2009, 09:07 PM
  3. Replies: 0
    Last Post: 10-16-2008, 02:39 PM
  4. In a field on a Form, on click open another form
    By jackieagra in forum Programming
    Replies: 1
    Last Post: 03-20-2008, 09:44 AM
  5. How to Find a Record
    By lschlitt in forum Programming
    Replies: 2
    Last Post: 09-09-2006, 06:24 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