OK, what I am trying to do is to run through a table and change all the fields to upper case because I’m using Oracle and everything is upper case in our Database.
The issue is that there are 75 fields that I have to do this to. Luckily all the fields are text, so all I need to do is loop through the recordset and loop through each of the fields and use the UCase() function to change each value.
The issue is that I do not want to have to specifically identify each and every one of the 75 fields.
I’d like to use an index number, but it doesn’t seem to allow me to do so when I try to update the recordset.
I can use strCAPs = UCase(rs.Fields(i)) to find a value and change it to caps, but I can’t use rs!Fields(i) = strCAPs to change the value in my recordset to strCAPs.
Is there a way I can get the actual name of the field which is indexed. I tired rs.Fields(i).Name, but that gave me an error. So I don’t know what to do… can anyone help here?
The issue is that there are 75 fields that I have to do this to. Luckily all the fields are text, so all I need to do is loop through the recordset and loop through each of the fields and use the UCase() function to change each value.
The issue is that I do not want to have to specifically identify each and every one of the 75 fields.
I’d like to use an index number, but it doesn’t seem to allow me to do so when I try to update the recordset.
I can use strCAPs = UCase(rs.Fields(i)) to find a value and change it to caps, but I can’t use rs!Fields(i) = strCAPs to change the value in my recordset to strCAPs.
Is there a way I can get the actual name of the field which is indexed. I tired rs.Fields(i).Name, but that gave me an error. So I don’t know what to do… can anyone help here?