Results 1 to 7 of 7
  1. #1
    OPOWELL is offline Novice
    Windows XP Access 2003
    Join Date
    May 2011
    Posts
    4

    Batch export problem

    Hi, hope you can help.

    I need to export a html file for each indiviual record in my Access table. There are about 13,000 records, and I want the file to be named the same as the primary key for each record - eg SK4525.html, SK4526.html, etc.

    The reason I want to do this is so I can hyperlink to a record from another application, using this unique ID. This is possibly not the best way of doing this, but thats what the users want!

    Can you do this with a macro or an access page?



    I couldnt find a way of manipulating a hyperlink to open access at a particular record, like you can with excel.....

    Many thanks,

    Owen

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by OPOWELL View Post

    I need to export a html file for each indiviual record in my Access table. There are about 13,000 records, and I want the file to be named the same as the primary key for each record - eg SK4525.html, SK4526.html, etc.
    Owen,

    this will help: http://allenbrowne.com/AppOutputHtml.html

    you can modify that to do what you want, I'm sure. Looks like you will have to do it manually via code. I doubt the interface will let you export html per one record at a time unless it finds each table with one record in it per.

  3. #3
    OPOWELL is offline Novice
    Windows XP Access 2003
    Join Date
    May 2011
    Posts
    4
    Quote Originally Posted by ajetrumpet View Post
    Owen,

    this will help: http://allenbrowne.com/AppOutputHtml.html

    you can modify that to do what you want, I'm sure. Looks like you will have to do it manually via code. I doubt the interface will let you export html per one record at a time unless it finds each table with one record in it per.
    Thanks for that, but I do need to export a single file for each record.....

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by OPOWELL View Post
    Thanks for that, but I do need to export a single file for each record.....
    AS I SAID: you can MODIFY it to make it work.

    more than likely, you won't be able to find code to do this through google, although I'm fairly sure it's out on the web somewhere...

  5. #5
    OPOWELL is offline Novice
    Windows XP Access 2003
    Join Date
    May 2011
    Posts
    4
    Quote Originally Posted by ajetrumpet View Post
    AS I SAID: you can MODIFY it to make it work.

    more than likely, you won't be able to find code to do this through google, although I'm fairly sure it's out on the web somewhere...
    Thanks for your help, but i don't know how to modify it! Ideally a method through the GUI would be good.

  6. #6
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    there is no method through the GUI sir, but there might be some tools out there.

    I could help out, but I don't have time at the moment...

  7. #7
    OPOWELL is offline Novice
    Windows XP Access 2003
    Join Date
    May 2011
    Posts
    4
    Hi, for those with a similar problem I used a combination of MS Word mail merge from the access database, and then adobe acrobat to create the individual files.

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

Similar Threads

  1. Batch import
    By brandonze in forum Programming
    Replies: 6
    Last Post: 03-24-2011, 10:13 AM
  2. Batch Import and Update from DBF
    By Lady_Jane in forum Import/Export Data
    Replies: 7
    Last Post: 02-08-2011, 02:57 PM
  3. Run batch file
    By shay in forum Access
    Replies: 3
    Last Post: 12-15-2010, 09:47 AM
  4. Batch Update
    By Tyork in forum Programming
    Replies: 2
    Last Post: 11-15-2010, 05:33 PM
  5. Batch import .txt
    By hchui in forum Import/Export Data
    Replies: 1
    Last Post: 10-14-2010, 08:57 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