I have a table with many yes\no fields. Now I need to use some code in Recordset which can check that field is -1 or not and if is -1 then get the name of this field
So the problem is use some properties for every fields in my Recordset no matter what is called to check -1 or not, and take name of field where field = -1
So the problem is use some properties for every fields in my Recordset no matter what is called to check -1 or not, and take name of field where field = -1
Code:
while not rst.eof
if field = -1 then
'now I need to get name of this filed
....
end if
wend
rst.close