![]() |
| |||||||
| |
![]() |
| | Thread Tools |
|
#1
| ||||
| ||||
| using ASP or VB? Company system uses flat files for a database. I know this isn't the best, but its what we use. Anyway, need code to either import or read fixed width text files using eitehr ASP, VB or WSH. Please help me with finding code or reference articles with code. |
| |
|
#2
| ||||
| ||||
| Reading fixed width in VB is pretty straight-forward.Assume a record with Name, age, SSN with widths of 20, 3, and 9.Open for INPUT as #1Input #1, stringReaderstrName = mid(stringReader, 1, 20)strAge = mid(stringReader, 21, 3)strSSN = mid(stringReader, 24, 9)Close #1 |
|
![]() |
| Thread Tools | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please tell me my computer can be fixed! | Dralan552 | Virus, Spyware & Security | 6 | 29-12-2007 01:04 AM |
| MS Works database. Trouble pasting text into a field... | anotherbob | Office Suites & Applications | 3 | 19-12-2007 06:20 AM |
| MR2 Turbo (Import) | Dave Hybrid | Off Topic Discussion | 36 | 06-07-2007 11:21 AM |
| Using files as database in PHP? | Vikrant | Web Design, Hosting & SEO | 1 | 01-04-2007 11:11 AM |
| Saving Text Files on PSP??? | Hailey Jo | PC & Console Gaming | 1 | 31-03-2007 04:16 PM |
| Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc. |