Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(Phys.Diag) How to set the default value of column from VBScript?

117 views
Skip to first unread message

Сергей Волков

unread,
Mar 25, 2012, 9:12:25 PM3/25/12
to
(Phys.Diag) How to set the default value of column from VBScript?
CanSetAttribute( "DefaultValue", 1, err_message) return "false". Why?

maju...@gmail.com

unread,
Jun 30, 2017, 2:14:42 AM6/30/17
to
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
0 new messages