Oliver,
I've had the same problem. I got around it by creating my own property on the table:
Function AddTimestampProperty()
Dim TimeStamp As Property, MYDB As Database
Set MYDB = CurrentDb
Set TimeStamp = MYDB!tblName.CreateProperty("TimeStamp"
TimeStamp.Type = dbDate
TimeStamp.Value = Date
MYDB!tblName.Properties.Append TimeStamp
End Function
This function is run only once. It adds
a user-defined property (TimeStamp) to
any table. This property is used as a
source for the "Last Import into Access"
text box controls on the main menu of
my application.
Note - to re-use, change table name
references below. Run thru Immed Window.
When the import runs, I call this function:
Function UpdateTimeStamp()
'Updates the TimeStamp property of
'tblInventoryEOM with the current system
'date. (See AddTimestampProperty() in this
'module). Called when user imports End
'of Month inventroy data.
Dim MYDB As Database, EOM As TableDef
Set MYDB = CurrentDb
Set EOM = MYDB![tblInventoryEOM]
EOM.Properties!TimeStamp = Now
Set EOM = Nothing
Set MYDB = Nothing
End Function
(Old style punctuation - I wrote it in 2.0)
Hope this helps,
John