|
-
Nov 20th, 2003, 09:44 AM
#1
Thread Starter
Member
Displaying a failed line to the user
Hi,
I read data from a file and copy each element in each row to an array. I then assign each element in the array to the correct datatype before passing to a stored proc to load into a table. E.g
strArray() = Split(strLine, ",")
dteInvoice = strArray(0)
lngNumber = strArray(1)
If the data is invalid and hence can't be stored in that particular datatype, it jumps to my error handler and captures the error code.
I would then like to display a message that strArray(x) is invalid.
Without having a counter that stores the value of x is there anyway of displaying the value of the current variable being processed?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|