Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - text or Excel to Access
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

text or Excel to Access

 Post Reply Post Reply
Author
Diddl View Drop Down
Newbie
Newbie
Avatar

Joined: 11 September 2003
Location: Denmark
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diddl Quote  Post ReplyReply Direct Link To This Post Topic: text or Excel to Access
    Posted: 12 June 2004 at 10:40am

Hi Again all.

I'm trying to maintain a lot of lines of information in an Access database - at the moment i'm updating through an asp-page where i manually has to change the records that i want to change... but with more than 1000 records, i wanted to know if anyone could tell me if it's possible to use an Txt-file or Excel file to automatically update the database through an asp-page?

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2004 at 12:52pm

There's nothing to stop you from reading a text file and updating access with it. You'd have a record on each line with the fields separated by tabs. Use Insrt, Mid, and Split commands to parse each line to extract the fields.

If you have the MS Access program, the task is even simpler as you can copy the text/excel file and paste it at the end of the Access Table. If the copied info contains header rows, the names have to match column names in the db. If no header rows, the fields in the records have to correspond to the sequence of the db columns.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.