Substring out of range

Paul Wagner

Registered User.
Local time
Today, 03:23
Joined
May 18, 2004
Messages
48
I've walked through this in debug over and over and I just don't get why I keep getting "substring out of range" error at the statement

If (CCur(Fields(28))<>0) Then

I've attached the bmp to show the code (hopefully I uploaded it correctly)
 
Last edited:
I would think you would have to use rs.fields(28) and do you have 29 Fields in your RecordSet? It uses base zero (0).
 

Users who are viewing this thread

Back
Top Bottom