Results 1 to 6 of 6
  1. #1
    littleheart_Sony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    8

    How to Link the Form with Table

    Could some one help me in building the Forms and also to link up to a Table.



    I have created a database, which has input data of clients.

    Also i have created a Form with Clients1. As soon as i enter the Document number in form, it should display the related details to this documents in form.

    Thanks in Advance.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Set the form's RecordSource property. Set each control's ControlSource property. Those are very basic Access functionality.

    If you want to build a search functionality into the form, for one method review: http://www.datapigtechnologies.com/f...tomfilter.html

    You will need code behind the New Record button to move to a new record row. If you want to use macros, let the macro wizard build code for you. If the wizard is enabled, it should activate when you create button on form. It appears the macro wizard is not enabled in your db. Can enable by clicking the dropdown arrow with the line above it that is located on the Control section of the ribbon Design tab and then clicking "Use Control Wizards".

    https://support.office.com/en-US/Art...rs=en-US&ad=US
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    littleheart_Sony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    8
    how to match two tables

    could some one help me to match the two tables.

    One table name is with masterdoc and NameDoc in these tables titledocid is common need to match

    below is the attached access file for your reference
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Try:

    Query1
    SELECT masterdoc.*, Right([titledocid],3) AS NewDocID FROM masterdoc;

    Query2
    SELECT NameDoc.*, Query1.* FROM NameDoc LEFT JOIN Query1 ON NameDoc.titledocid = Query1.NewDocID;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    littleheart_Sony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    8
    thanks for the help, i tried it but it is not giving me the exact result, could u please provide me a access file with this formula for reference. it will be very helpful to me

    thanks in advance

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    What good what it do to provide file? Those are just queries. If the queries don't give you want you want then giving you a file won't help.

    What result do you want? You are going to have to be very specific. I did the best I could by analyzing the tables you provided. The queries I suggested made sense from what I could comprehend of the data structure.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 06-11-2014, 11:38 AM
  2. Converting dBase forum to Access forum
    By amerifax in forum Forms
    Replies: 5
    Last Post: 07-03-2012, 01:12 AM
  3. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  4. Replies: 2
    Last Post: 08-01-2011, 11:35 PM
  5. Update single record via forum, not entire table?
    By 10 Gauge in forum Programming
    Replies: 2
    Last Post: 02-11-2011, 09:14 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