• Text Import Wizard (Access 97 SR2)

    Author
    Topic
    #367700

    Is there a way to specify the length of a text field on import? I have a specifications file defined to preserve field names and types, but I end up with the default text field length of 255 characters for all of the text fields. Any suggestions would be appreciated.

    Viewing 1 reply thread
    Author
    Replies
    • #574084

      Are you using delimeters such as a comma or tab to separate the vaules of the imported data?

    • #574085

      If it is a delimited file, the only way is to define the table before the import and import the file in the predefined table.

      • #574087

        I do have the table predefined. What I would like to do is preserve the text field definitions that already exist. Again, any help would be appreciated.

        • #574097

          Are you saying that importing in a existing table, overwrite the field definitions ?

          • #574106

            Yes. I’m using the Test Import Wizard, with field names and field types defined as a spec. When I get through the various screens on the wizard, I respond yes in response to the prompt, “OK to overwrite existing table?”. The text fields are all re-set to 255 characters. I am just looking to repopulate an existing table with a new CSV file.

            • #574110

              Before Importing, empty you table (Open table, type CTRL-A and Delete)
              In the import Wizard, when you are asked “Where you would like to store data ?” , use In an Existing Table and select the table in the combo box.
              This will preserve the setting of you table.
              .

            • #574112

              Thanks for your patience. Your suggestion works fine.

    Viewing 1 reply thread
    Reply To: Text Import Wizard (Access 97 SR2)

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

    Your information: