A
azu_daioh
Please Help!
I'm trying to link using 2 fields but one of the fields is an
expression.
Table1 fields:
License# (key)
ccDate (mm/dd/yyyy)
Table2 fields:
LicenseNum
enterYear (unbound textbox)
I would like to be able to view only the certain year in my subform.
And the user has the capacity to indicate which year (by using the
[enterYear] textbox) to display.
This is what I have:
Link Master Fields: LicenseNum;enterYear
Link Child Fields: License#,ccYear
ccYear is an expression from a query --> ccYear:Year([ccDate])
The above works but each time I tried to enter/change new records in
the subform I get an error message "Field cannot be updated" --> I
found out it was due to the fact that I'm using an expression in the
query as my link field.
Is there a way I can avoid the error message? Any idea? please.
Thanks,
Sharon
I'm trying to link using 2 fields but one of the fields is an
expression.
Table1 fields:
License# (key)
ccDate (mm/dd/yyyy)
Table2 fields:
LicenseNum
enterYear (unbound textbox)
I would like to be able to view only the certain year in my subform.
And the user has the capacity to indicate which year (by using the
[enterYear] textbox) to display.
This is what I have:
Link Master Fields: LicenseNum;enterYear
Link Child Fields: License#,ccYear
ccYear is an expression from a query --> ccYear:Year([ccDate])
The above works but each time I tried to enter/change new records in
the subform I get an error message "Field cannot be updated" --> I
found out it was due to the fact that I'm using an expression in the
query as my link field.
Is there a way I can avoid the error message? Any idea? please.
Thanks,
Sharon