form caption

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all

I have a form (frmExamSchedule) based on qryExamSchedule. I want to set the
FORM's CAPTION the always be the same as the field txbSchoolName from the
table tblSchoolList.

Is this easy to do?
 
Hi cinnie,

Very simple. In your form's On Current event, have the following code:

me.caption = me.txbSchoolName
me.refresh

(assuming you have txbSchoolName on your form).

Hope this helps.

Damian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top