• Importing data (2000)

    • This topic has 14 replies, 3 voices, and was last updated 21 years ago.
    Author
    Topic
    #403248

    I would like to fill some fields on a form in one database with the data in fields from another database. For example, I have the first and last names in one database and I would like to fill the fields in another database with those names. How should I go about doing this?
    Thanks for helping

    Viewing 1 reply thread
    Author
    Replies
    • #809482

      Click File | Get Extrenal Data | Import…

      • #809486

        Thanks, but how do i get the fields in the form populated with the data from the imported query

        • #809510

          You will need to import or link a table from the other database (File | Get External Data | Import… or File | Get External Data | Link Tables…)
          Set the record source of the form to the name of the imported/linked table or of a query based on it. You can then set the control source of text boxes etc. on the form to the names of fields from the record source.

          • #809512

            The form already had a record source from the original table. The records I want to import are in addition to other records already in the database. Any other advice?
            Thanks

            • #809514

              You might be able to use DLookup, but you haven’t explained how the records in the existing record source relate to the records in the imported/linked table.

            • #809557

              Thanks
              I am trying to import Last Name, First Name and ID No. from one existing database into another existing database that already includes a number of records.

            • #809638

              So you want to append records to a table.
              – Create a query based on the imported/linked table.
              – Add the fields you need to the query grid.
              – Select Query | Append Query…
              – Select the existing table you want to add the records to, then click OK.
              – Specify ‘Append To’ for each field (Access may have suggested a field name already)
              – Select Query | Run and confirm that you want to add records.

            • #809639

              So you want to append records to a table.
              – Create a query based on the imported/linked table.
              – Add the fields you need to the query grid.
              – Select Query | Append Query…
              – Select the existing table you want to add the records to, then click OK.
              – Specify ‘Append To’ for each field (Access may have suggested a field name already)
              – Select Query | Run and confirm that you want to add records.

            • #809558

              Thanks
              I am trying to import Last Name, First Name and ID No. from one existing database into another existing database that already includes a number of records.

            • #809515

              You might be able to use DLookup, but you haven’t explained how the records in the existing record source relate to the records in the imported/linked table.

          • #809513

            The form already had a record source from the original table. The records I want to import are in addition to other records already in the database. Any other advice?
            Thanks

        • #809511

          You will need to import or link a table from the other database (File | Get External Data | Import… or File | Get External Data | Link Tables…)
          Set the record source of the form to the name of the imported/linked table or of a query based on it. You can then set the control source of text boxes etc. on the form to the names of fields from the record source.

      • #809487

        Thanks, but how do i get the fields in the form populated with the data from the imported query

    • #809483

      Click File | Get Extrenal Data | Import…

    Viewing 1 reply thread
    Reply To: Importing data (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: