J
jlcts
I just want to write the date/time to a text box.
dim thetime as string
thetime = Now
[Forms]![frmexample]![when changed] = thetime
me.When_changed = thetime
Me.When_changed.Value = thetime
Me.When_changed.Text = thetime
It always fails trying to save the record. I'm also trying to save a
global variable to a text box and that fails with the same error.
I know I can open the recordset, find the current record and change
that field. But I remember doing it this way somehow and it's much
simpler thanks.
dim thetime as string
thetime = Now
[Forms]![frmexample]![when changed] = thetime
me.When_changed = thetime
Me.When_changed.Value = thetime
Me.When_changed.Text = thetime
It always fails trying to save the record. I'm also trying to save a
global variable to a text box and that fails with the same error.
I know I can open the recordset, find the current record and change
that field. But I remember doing it this way somehow and it's much
simpler thanks.