Hi All,
I've got a problem and thus far no MS help has been helpful (trying to act surprised) and was hoping that the wonderful people on tek tips could help (sucking up as much as possible) )
Simple problem really.
Got a recordset say:
strSQL = “SELECT * FROM tblThisTable”
Set rsCopyFrom = currentdb.openrecordset(strSQL)
I’m looping through the fields and setting various fields to the new values however I haven’t found a way to skip past autonumbers. I’m doing something like:
Do while iCount < rsCopyFrom.Fields.Count
Select Case rsCopyFrom.Fields(iCount).Name
Case “Alpha”
Case “Beta”
Case Else
End select
iCount = iCount + 1
Loop
You get the idea. Is there anyway to get to the autoNumber setting of a field? Type just returns a value indicating numeric, text etc.
Cheers one and all.
I've got a problem and thus far no MS help has been helpful (trying to act surprised) and was hoping that the wonderful people on tek tips could help (sucking up as much as possible) )
Simple problem really.
Got a recordset say:
strSQL = “SELECT * FROM tblThisTable”
Set rsCopyFrom = currentdb.openrecordset(strSQL)
I’m looping through the fields and setting various fields to the new values however I haven’t found a way to skip past autonumbers. I’m doing something like:
Do while iCount < rsCopyFrom.Fields.Count
Select Case rsCopyFrom.Fields(iCount).Name
Case “Alpha”
Case “Beta”
Case Else
End select
iCount = iCount + 1
Loop
You get the idea. Is there anyway to get to the autoNumber setting of a field? Type just returns a value indicating numeric, text etc.
Cheers one and all.