Results 1 to 5 of 5
  1. #1
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581

    Link to a form


    I need to link a form to another form. I was trying to link them using a particular field. It turns out that I need to two fields to be present to get the correct form. Is there a way to make a macro to look for two fields instead of only one?

  2. #2
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    I'm not sure I understand. Perhaps you should explain in simple English not using data base terms what you are attempting to accomplish. Examples would be beneficial.

  3. #3
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581
    I'm making an inventory database. When I issue equipment with a serial number, there is no problem because a particular equipment item is being issued and returned. I also have equipment that needs to be issued and returned without a serial number. That item has only one entry in the equipment table. That same item is issued to whomever with no problem. In order to return the item, I have a macro linked to the item. Since it is issued to several people, I get many of the same equipment and I need to scroll through them all to find the one issued to that person. I was wondering if I can link that macro not only to the item, but also to the person it was issued to. That way, I get the exact one that needs to be returned.

  4. #4
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581
    Disregard on this. I'm blaming this brain fart on the holidays. I was trying to locate a record using the foreign keys.

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I did the same a long time ago.
    Now I use "_PK" as a suffix on the PK name field name and "_FK" as a suffix on foreign key fields. Much easier to tell PK fields from FK fields.

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

Similar Threads

  1. Replies: 3
    Last Post: 11-16-2016, 09:24 AM
  2. Replies: 9
    Last Post: 09-18-2014, 10:16 AM
  3. Replies: 1
    Last Post: 05-26-2014, 10:31 AM
  4. Replies: 7
    Last Post: 08-28-2013, 02:30 AM
  5. Replies: 6
    Last Post: 07-21-2010, 05:25 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