I do not believe that is possible. I believe you need to use VBA for that. One thing to note. Macros do not duplicate everything that VBA can do. Sometimes, if you want to do something, you have to use VBA.
Perhaps I have not understood your requirement but if you create a text box called "MyTxtBox" and then set its Default property to:
=[MyTxtBox].[Name]
it shows:
MyTxtBox
in a new record.
Perhaps I have not understood your requirement but if you create a text box called "MyTxtBox" and then set its Default property to:
=[MyTxtBox].[Name]
it shows:
MyTxtBox
in a new record.
I can't think of any way to do this by just setting the default property.
Is there something wrong with the idea of using a function.
Another way might be to use some code in the forms On Current or On Open event to set the Default properties.
Private Sub Form_Open(Cancel As Integer)
Dim ctrl As Control
For Each ctrl In Me.Controls
If ctrl.ControlType = acTextBox Then
ctrl.DefaultValue = "='" & ctrl.Name & "'"
End If
Next
End Sub