Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Text to MSAccess DB
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Text to MSAccess DB

 Post Reply Post Reply
Author
steveide View Drop Down
Newbie
Newbie


Joined: 29 January 2003
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote steveide Quote  Post ReplyReply Direct Link To This Post Topic: Text to MSAccess DB
    Posted: 13 February 2003 at 8:39am

I can place data from a form into a MSAccess DB (firstname,lastname etc)

BUT is it possible to read text (client) and place it in a (server)MSAccess DB.

EG. A store may create a text file to store itmes in, like a basket, then send the item details to an order Table in Ms access, once the details are verified.

The intention is to create client side text file (possibly cookies) but send the details to a server side DB.

Please help.



Edited by steveide
Back to Top
snooper View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 23 April 2002
Location: Israel
Status: Offline
Points: 333
Post Options Post Options   Thanks (0) Thanks(0)   Quote snooper Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2003 at 9:47am
i haven done anything like this before, but i recall reading somewhere that you can do it using FileSystemObject (providing your host supports this) - and then you can read line by line from the txt file, and insert it into the DB. 
Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2003 at 6:40pm

Are you wanting to do this from a web-interface or separately?

Easiest way would be to run an import routine from within Access itself.

If you wanted to do it through the web, you can read in details from a text file using the FileSystemObject (as snooper stated) or you can actually connect to it as if it were a recordset using the OLEDB or ODBC driver. Once you've read it in it is easy to save it to the database.

Cheers,
Andrew

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
steveide View Drop Down
Newbie
Newbie


Joined: 29 January 2003
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote steveide Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2003 at 7:02am

Thanks But I've fixed it HERE IT IS..

My DB. table was named .... 'order'

BAD MOVE SQL must use the word 'order' as a key word and I used it as a name for my table so the SQL script  'INSERT INTO order values... etc,etc' FAILED, so I renamed the table to 'ord' and HEY! it worked.

HOW DUMB IS THAT.. I spent days agonisineg over this silly error, but I'm on my way again ..waiting for the next problem to stop me in my tracks.:x

MANY MANY thanks for all your time and efforts.:

STEVE.

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.