S
Shawna
I thought I had this finished but my client threw me a
curve. If anyone out there can help - I've tried....
Below is what I need to import
01001,PHOS. LINE 2 2A PUMP,00,P2-2A-1087-C,2,316L
52,182.9428,219,CS,01-16-2003,0
1 REVISED DIMS.,02-04,CS,,,
2 MATERIAL,03-06,CS,,,
No PWHT,No Hydro,5153,,,
Priority,,,,,
I have the first two lines importing fine, line again. I
think the blank ,,, starting on the 3rd line is what is
giving me a problem I'm not sure how to handle - how can
I handle using (the following is last two fields picked
up from Line 2)
MyString = Mid(MyString, InStr(MyString, ",") + 1)
rst!Date = Left(MyString, InStr(MyString, ",") - 1)
MyString = Mid(MyString, InStr(MyString, ",") + 1)
rst!WtLb = Left(MyString, InStr(MyString, ",") - 1)
approach as used with the first two lines of import.
Can anyone help with this I just can't get how to handle
the blank fields. and get to the next line properly. I
have no control how this file looks.
Any help is appreciated!
curve. If anyone out there can help - I've tried....
Below is what I need to import
01001,PHOS. LINE 2 2A PUMP,00,P2-2A-1087-C,2,316L
52,182.9428,219,CS,01-16-2003,0
1 REVISED DIMS.,02-04,CS,,,
2 MATERIAL,03-06,CS,,,
No PWHT,No Hydro,5153,,,
Priority,,,,,
I have the first two lines importing fine, line again. I
think the blank ,,, starting on the 3rd line is what is
giving me a problem I'm not sure how to handle - how can
I handle using (the following is last two fields picked
up from Line 2)
MyString = Mid(MyString, InStr(MyString, ",") + 1)
rst!Date = Left(MyString, InStr(MyString, ",") - 1)
MyString = Mid(MyString, InStr(MyString, ",") + 1)
rst!WtLb = Left(MyString, InStr(MyString, ",") - 1)
approach as used with the first two lines of import.
Can anyone help with this I just can't get how to handle
the blank fields. and get to the next line properly. I
have no control how this file looks.
Any help is appreciated!