you shouldn't be storing a calculated field i.e. concatenating the tel and remarks fields as a single field in a table.
As suggested you should create the third field in your query and then use that field elsewhere i.e. forms etc.
Isn't it frustrating to see a spammer posting about 5 posts in different sections in a matter of seconds and then ironically you read at the bottom of the forum; Welcome to our newest member, SpammerName :mad:
Go to the default value property of function1 and put the following:
[Forms]![FormName]![FunctionControlName]
Replace the the above with the actual names of your form and control.
Therefore you can try something like the following:
Application.FollowHyperlink "C:\" & [UserNameFieldName] & ".pdf"
Substitute UserNameFieldName with an actual control name on your form which has the user name
Hi
No, not in the criteria row. In your query next to the two fields on the top pane i.e. the Tel and Remark, use the third column to create the calculated field and put above suggestion.
Do you mean that there will be a 2006 pdf file different for each record ?
If you simply want to open a file when a particular year is selected, try searching for Application.FollowHyperlink
I had just the daunting task of renaming all the controls when creating a form on my mind, but yes i perfectly agree with you that an overall naming convention would be a good suggestion.