Hi,
is it possible to change the data type a field in a table using VBA code?
I know how to retrieve it but don't know how to set it...
I retrieve it by
i got temp = 19.. so to set it up i tried using
but doesnt work.. it says invalid operation.
any idea? Thanks in Advance for your help, I really Appreciate it
is it possible to change the data type a field in a table using VBA code?
I know how to retrieve it but don't know how to set it...
I retrieve it by
Code:
temp = CurrentDb.TableDefs.Item("CMAssign").Fields.Item("Chassis").Type
i got temp = 19.. so to set it up i tried using
Code:
CurrentDb.TableDefs.Item("CMAssign").Fields.Item("Chassis").Type = 19
but doesnt work.. it says invalid operation.
any idea? Thanks in Advance for your help, I really Appreciate it