F Frank Dulk Nov 13, 2004 #1 To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double
To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double
F Frank Dulk Nov 14, 2004 #2 thank you "Jonathan Parminter" <[email protected]> escreveu na mensagem Frank said: -----Original Message----- To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double Click to expand... Hi Frank, use the following as an example... Dim tdf As dao.TableDef Set tdf = CurrentDb.TableDefs("tableName") With tdf .Fields.Append .CreateField("NewFieldName", dbDouble) End With Note that the object library is DAO. Luck Jonathan
thank you "Jonathan Parminter" <[email protected]> escreveu na mensagem Frank said: -----Original Message----- To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double Click to expand... Hi Frank, use the following as an example... Dim tdf As dao.TableDef Set tdf = CurrentDb.TableDefs("tableName") With tdf .Fields.Append .CreateField("NewFieldName", dbDouble) End With Note that the object library is DAO. Luck Jonathan
J Jonathan Parminter Nov 14, 2004 #3 Frank said: -----Original Message----- To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double Click to expand... Hi Frank, use the following as an example... Dim tdf As dao.TableDef Set tdf = CurrentDb.TableDefs("tableName") With tdf .Fields.Append .CreateField("NewFieldName", dbDouble) End With Note that the object library is DAO. Luck Jonathan
Frank said: -----Original Message----- To create a field in the table through code type númeric with decimal house, for that doesn't make automatic rounding. field double Click to expand... Hi Frank, use the following as an example... Dim tdf As dao.TableDef Set tdf = CurrentDb.TableDefs("tableName") With tdf .Fields.Append .CreateField("NewFieldName", dbDouble) End With Note that the object library is DAO. Luck Jonathan