Ok one more question though. I am trying to determine this on a bound form in Access 2k3. I am trying to use Michael Red's Transaction Log in the FAQ's to back up changed fields. But since memo fields are edited through textbox controls I can not figure out how to determine if the controls datasource is a memo field to copy it to a memo field verses a test field.
For Each MyCtrl In frm.Controls
If (basActiveCtrl(MyCtrl)) Then 'Consider replacing w/ test for "ControlSource"
' Debug.Print MyCtrl.Name, " ", MyCtrl.ControlType
If ((MyCtrl.Value <> MyCtrl.OldValue) _
Or (IsNull(MyCtrl) And Not IsNull(MyCtrl.OldValue)) _
Or (Not IsNull(MyCtrl) And IsNull(MyCtrl.OldValue))) Then
If (MyCtrl.ControlType = dbMemo) Then
Hist = "tblHistMemo"
Else
Hist = "tblHist"
End If
Call basAddHist(Hist, frm.Name, MyKey.Name, MyCtrl)
End If
End If
Next MyCtrl
I'm really stuck so the help is really appreciated.
Thanks