SachAccess
Active member
- Local time
- Tomorrow, 03:28
- Joined
- Nov 22, 2021
- Messages
- 389
I did below changes in the code just to check.
MsgBox Trim$(strValues(intCounter))
'rsWrite.Fields(intCounter) = Trim$(strValues(intCounter))
All 20 values are coming perfectly in MsgBox. No issues there.
However when the For Next ends and macro goes to 'rsWrite.Update' line, it shows bug as Index or Primary Key cannot contain a Null value.
MsgBox Trim$(strValues(intCounter))
'rsWrite.Fields(intCounter) = Trim$(strValues(intCounter))
All 20 values are coming perfectly in MsgBox. No issues there.
However when the For Next ends and macro goes to 'rsWrite.Update' line, it shows bug as Index or Primary Key cannot contain a Null value.