I don't think you can. But, if the data will be entered using a form, then you can use the Current event to put the value of the global variable into the field whenver the user goes to a new record.
hth
Jeff Bridgham
Purdue University
Graduate School
Data Analyst
Dim cat As ADODB.Catalog
Set cat = New ADODB.Catalog
Set cat.ActiveConnection = <Some Connection Object>
cat.Tables("myTable").Fields("myField").Properties("Default") = Var
However that sets the field default to the current value of "Var". It would need to be executed again whenever the value of "Var" changes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.