Results 1 to 7 of 7

Thread: Import Data from word into Access Database

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    7

    Import Data from word into Access Database

    Hi There,
    I am just wondering if anybody has any guidance on how to go about importing the data from a word document into Access Tables (VB6 front end). Is there any good links on this anywhere or would it be better to look at excel or text files only or something else?

    Any advice would be appreciated,


    Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Import Data from word into Access Database

    Would you be doing the import into a single memo field in Access?

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Import Data from word into Access Database

    Are you just wanting to save the text, the formatting too, or the entire file itself?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    7

    Re: Import Data from word into Access Database

    Hi there,
    Thank you for the reply. It is to import the data only (and maybe the document path) into all the fields of a record in a table. Actually, the information would need to be fed into multiple tables (all the fields in the records of each table), does that make sense?

    Any advice would be greatlu appreciated,

    Thanks

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Import Data from word into Access Database

    I word document is nothing but one big, formatted text file.

    So, if the information you want is in paragraph form, then that paragraph would have to be parsed out into individual blocks of text that could be inserted into individual table fields.

    I'm not sure how you would do that, so I would need to see an example of the contents of a typical word file that needs to be broken up into pieces that can be saved into Db fields.

    Can you post one?

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Import Data from word into Access Database

    How would you determine what content goes into which fields/tables? Are you using bookmarks or ?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    7

    Re: Import Data from word into Access Database

    Hi there,
    I've attached the headings of the type of information that needs to be imported below. It is only a few headings at the moment, I'm thinking of just keeping it as an Excel file, its just that I thought it might be limiting. Do you happen to know any good code links for importing from Excel?

    Thank you for your help
    Attached Files Attached Files

Posting Permissions

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



Click Here to Expand Forum to Full Width