B
Bob Barnes
"2 on bay 2, need a 4" and 8'",2008-05-14 00:00:00,"Bob, OK"
"Bad sump","",,""
"cannot see gauge needs s
cannot read gauge",,""
I'm using Line Input code w/ a text file. It has 9 fields. There are NO
issues w/ any data in Fields 1 thru 6... Fields 7 thru 9 are above. When
there's an embedded comma, double-quote, or in a carriage return/ linefeed
occurs..in Field 7 or Field 9,
the issue occurs.
Have discussed this w/ Albert K, and he recommended using a delimiter of "'
" & Chr(34).
The text file is generated from another software. The 8th Field is written
in a format either as..
,2008-05-14 00:00:00,
....or
,,
...so I can't use a delimiter of "' " & Chr(34).
When the 7th or 9th Fields have an embedded comma, double-quote, or in a
carriage return/ linefeed occurs, it eventually results in Error 3421 or
Error 9..subscript out of range. I can trap those and let the User correct
the text file.
I tried the Access Import Wizard, and it also has issues w/ the embedded
comma, double-quote, or in a carriage return/ linefeed.
Is it best to lell the users, using a Windows CE software Visual CE, not to
enter embedded comma, double-quote, or a carriage return/ linefeed (they
might do that), get a Windows CE keyboard w/ those keys disabled, trap the
errors...or another way??
TIA - Bob
"Bad sump","",,""
"cannot see gauge needs s
cannot read gauge",,""
I'm using Line Input code w/ a text file. It has 9 fields. There are NO
issues w/ any data in Fields 1 thru 6... Fields 7 thru 9 are above. When
there's an embedded comma, double-quote, or in a carriage return/ linefeed
occurs..in Field 7 or Field 9,
the issue occurs.
Have discussed this w/ Albert K, and he recommended using a delimiter of "'
" & Chr(34).
The text file is generated from another software. The 8th Field is written
in a format either as..
,2008-05-14 00:00:00,
....or
,,
...so I can't use a delimiter of "' " & Chr(34).
When the 7th or 9th Fields have an embedded comma, double-quote, or in a
carriage return/ linefeed occurs, it eventually results in Error 3421 or
Error 9..subscript out of range. I can trap those and let the User correct
the text file.
I tried the Access Import Wizard, and it also has issues w/ the embedded
comma, double-quote, or in a carriage return/ linefeed.
Is it best to lell the users, using a Windows CE software Visual CE, not to
enter embedded comma, double-quote, or a carriage return/ linefeed (they
might do that), get a Windows CE keyboard w/ those keys disabled, trap the
errors...or another way??
TIA - Bob