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.
|
|
|
|
|
![]() |
||
Databases and Text Files
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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? |
|
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
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 |
![]() |
| Tags |
| databases, text, files |
| Thread Tools | |
|
|
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 |