Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #1  
Old 30-03-2007, 11:50 PM
No Avatar
CJ New Member
 
Valerie H is offline
 
Join Date: Mar 2007
Last Online: 30-03-2007 11:50 PM
Posts: 1
iTrader: (0)
Valerie H is on a distinguished road
Default import fixed width text files into database

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.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 31-03-2007, 12:40 AM
No Avatar
plez  disclosed
CJ New Member
 
plez is offline
 
Join Date: Mar 2007
Last Online: 31-03-2007 12:40 AM
Posts: 1
iTrader: (0)
plez is on a distinguished road
Default import fixed width text files into database

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
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

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


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape