On Monday, March 26, 2012 at 9:12:25 AM UTC+8, Сергей Волков wrote:
> (Phys.Diag) How to set the default value of column from VBScript?
> CanSetAttribute( "DefaultValue", 1, err_message) return "false". Why?
Dim tab 'The definition of data table object
for each tab in folder.tables
if not tab.isShortcut then
Dim col 'Define a column object
for each col in tab.columns
col.defaultvalue = "SYSDATE"
next
end if
next