got_access:]
Registered User.
- Local time
- Today, 10:29
- Joined
- Jun 15, 2018
- Messages
- 83
Hi All,
I may have asked this question in a different way a while ago.
So I apologize for not remembering the answer.
I'm adding a field to a form which essentially points to another field in that form.
At first I used the expression builder to create the pointer to the source field.
I did this in the expression builder by opening up the form properties and clicking on the field I wanted to use as the source - as displayed by the expression builder.
But access didn't like the syntax call-out for that source field - as created by the expressoin builder. A little manual modification got it to work.
Expression builder syntax (doesn't work):
=Forms![frmOrdersHistorySubform]![Txtfield_Average_Price]
Manually fixed syntax (does work)
=[frmOrdersHistorySubform].[Form]![Txtfield_Average_Price]
I would have thought the best way to build the syntax would be by using the expression builder - but in this case - that was a wrong assumption.
I need to understand the rule used for the syntax in these parent child relationships for form objects.
Thanks in advance!
I may have asked this question in a different way a while ago.
So I apologize for not remembering the answer.
I'm adding a field to a form which essentially points to another field in that form.
At first I used the expression builder to create the pointer to the source field.
I did this in the expression builder by opening up the form properties and clicking on the field I wanted to use as the source - as displayed by the expression builder.
But access didn't like the syntax call-out for that source field - as created by the expressoin builder. A little manual modification got it to work.
Expression builder syntax (doesn't work):
=Forms![frmOrdersHistorySubform]![Txtfield_Average_Price]
Manually fixed syntax (does work)
=[frmOrdersHistorySubform].[Form]![Txtfield_Average_Price]
I would have thought the best way to build the syntax would be by using the expression builder - but in this case - that was a wrong assumption.
I need to understand the rule used for the syntax in these parent child relationships for form objects.
Thanks in advance!