L
Lee Stafford via AccessMonster.com
I have never taken VB as a class, so I am not that familiar with it, but I
did do what you suggested and found that afterupdate, the ptext variable is
correct. It adds the ' delimiter in this loop:
Do While InStr(i, pText, ",") > 0
i = InStr(i, pText, ",")
If Mid$(pText, i - 1, 1) <> "'" Then
pText = Left$(pText, i - 1) & "'" & Mid$(pText, i, 1) & Mid$(pText,
i + 1)
End If
Up to that point, it is correct. I do not understand the code here, so I
am not sure why it adds it.
boy, I can't wait until I take VB next semester.
did do what you suggested and found that afterupdate, the ptext variable is
correct. It adds the ' delimiter in this loop:
Do While InStr(i, pText, ",") > 0
i = InStr(i, pText, ",")
If Mid$(pText, i - 1, 1) <> "'" Then
pText = Left$(pText, i - 1) & "'" & Mid$(pText, i, 1) & Mid$(pText,
i + 1)
End If
Up to that point, it is correct. I do not understand the code here, so I
am not sure why it adds it.
boy, I can't wait until I take VB next semester.