L
liz
I want to add a new column/field to a recordset but am not sure of the syntax.
Dim fld as dao.field
Dim rst as dao.recordset
set rst = Set rst = dbs.OpenRecordset("tblName", dbOpenDynaset)
Set fld = New Field
fld.Name = strName
rst.Fields.Append fld *******
*****am getting a run time error here (3272) - method not applicable for
this object.
any suggestions of how to go about it?
Dim fld as dao.field
Dim rst as dao.recordset
set rst = Set rst = dbs.OpenRecordset("tblName", dbOpenDynaset)
Set fld = New Field
fld.Name = strName
rst.Fields.Append fld *******
*****am getting a run time error here (3272) - method not applicable for
this object.
any suggestions of how to go about it?