Databases and Text Files

This is a discussion on "Databases and Text Files" within the Databases section. This forum, and the thread "Databases and Text Files are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jun 6th, 2005, 14:56
Junior Member
Join Date: Apr 2005
Location: UK
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Databases and Text Files

I have an asp web page that allows a user to request information from an Access Database, the results of this request are then displayed on a second asp web page and finally the user can then select to view the individual results of the request on a third asp page.

For instance, a user can select all the registered names beginning with the letter 'A', the result of this request will be shown on page2.asp, the user can then select one of the names and the results of that request will be shown on page3.asp.

What I want to happen now is that on page3.asp I need to display some text, the amount of text is too long to put it directly in the Access Database, it needs to be in a separate file like a txt file or something. I need to know how to set up the field on the Access Database to call the text file and the asp code I need to use on page3.asp.

Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 6th, 2005, 15:20
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Pretty similar to the image post you made. Store a path to the file in the database as a text field and use the FileSystemObject to read/write to that file from your page.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 6th, 2005, 18:06
Junior Member
Join Date: Apr 2005
Location: UK
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Databases and Text Files

Yeah I know, I've had some suggestions for creating a memo field in my Database but I prefer your method, my Database is going to be big enough as it is.

Thanks Catalyst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
databases, text, files

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Databases? Apocalyptic Poet Classic ASP 1 Apr 23rd, 2008 12:24
Display text files in order cedric813 PHP Forum 2 Oct 22nd, 2007 13:48
Forms and databases Antipody Starting Out 1 Apr 30th, 2007 11:44
Possible to update content through text files? jwilliams31 Web Page Design 14 Nov 25th, 2006 23:12


All times are GMT. The time now is 16:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42