I have a table with fields 1-31 (for days of months) I have code running through to determine what info to enter into what day of the month (not all fields get a value) so I have a variable that I ca set for 1-31-how can I code so that the value should go into the right field my code is now :
rsAttendance.Fields(dayfield) = Code
dayfield(value between 1-30)
this code puts the value (code) into the field-(but if the variable is 5 -it puts the value -code-into the 6th column (0,1,2,3,4,5)-I could subtract one from it-but how do I make it put it into the right field (if I would have a field with a text and not a number)
I hope I made the question clear-otherwise let me know
thank you
rsAttendance.Fields(dayfield) = Code
dayfield(value between 1-30)
this code puts the value (code) into the field-(but if the variable is 5 -it puts the value -code-into the 6th column (0,1,2,3,4,5)-I could subtract one from it-but how do I make it put it into the right field (if I would have a field with a text and not a number)
I hope I made the question clear-otherwise let me know
thank you