Posted By: Stevlee |
5/11/2006 12:35:00 PM |
Reply To: Stevlee who posted...
|
|
using VB 6.0, I need to read a file where each line in the file contains two strings separated by a space, i.e., var1 var2(also called Name Value Pair). Each string is of varying size. However, var1 can only equal a select number of values that map to a database field. var2 is the value I need to store in the database. Each line is part of a record, when I reach a line with just a dot that is the end of the record. How do you read these two strings in and store them into variables so I can insert into a table?
|
|