Results 1 to 2 of 2

Thread: More Access/VB Code

  1. #1
    Member
    Join Date
    Aug 2003
    Location
    South England
    Posts
    89
    Thanks
    0
    Thanked
    0 times in 0 posts

    More Access/VB Code

    Right I have another Access problem.

    I have 2 forms, Customer + Service1.

    Customer holds

    Customer ID = autonumber
    Forename
    Surname
    Company Name
    Company reference
    Email
    Address
    Address 2
    Service = list box with 3 items

    Now I have added some VB to a button, which says if service = "soandso" then docmd.openform "soandso"

    I want it so that when it opens the form from Customer it will only show the information that is listed under Customer. So if service holds carparts, and I want to add a part for one customer, when I click the button, it will automatically log it under this customerID number and when I view it its only listed as a part for this customer.

    How is this to be done?

    Thanks

    Will

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Near Glasgow
    Posts
    164
    Thanks
    0
    Thanked
    0 times in 0 posts
    Sub form with linked fields is one way or just have it as a pop up form whose data is filtered on the Customer number.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •