Hi all,
Access 2000 user.
I have a form based on a table.
form name is FRM_Centre_Enq
Table name is TBL_Centre_Enq
the form displays all enquiries for a centre.
centre details are stored in another table called TBL_Centre
The form is filtered to display enquiries for a centre which was selected on a selection form.
for the title of the form FRM_Centre_Enq I would like to display the name of the centre.
something like
"Enquiries for centre "XXXXXX" "
where XXXXXX would be the name of the centre.
at the moment I can get it show the centre ID which is available from the underlying table.
the question is
How do I get it to show the centre name in the title. I think DLOOKUP is the function i need to use but dont know how to use it.
I have tried using it in a text box which will hold the rest of the title too.
at the moment I got
="Enquiries for Centre " & [Centre_ID]
what I want is something like this or an alternative solution.
="Enquiries for Centre " & dlookup([centre_Name],tbl_Centre,[centre_id] = me.centre_ID
can someone please help me.
thanks in advance
Idd
Access 2000 user.
I have a form based on a table.
form name is FRM_Centre_Enq
Table name is TBL_Centre_Enq
the form displays all enquiries for a centre.
centre details are stored in another table called TBL_Centre
The form is filtered to display enquiries for a centre which was selected on a selection form.
for the title of the form FRM_Centre_Enq I would like to display the name of the centre.
something like
"Enquiries for centre "XXXXXX" "
where XXXXXX would be the name of the centre.
at the moment I can get it show the centre ID which is available from the underlying table.
the question is
How do I get it to show the centre name in the title. I think DLOOKUP is the function i need to use but dont know how to use it.
I have tried using it in a text box which will hold the rest of the title too.
at the moment I got
="Enquiries for Centre " & [Centre_ID]
what I want is something like this or an alternative solution.
="Enquiries for Centre " & dlookup([centre_Name],tbl_Centre,[centre_id] = me.centre_ID
can someone please help me.
thanks in advance
Idd