Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control Source for a Form Caption? 1

Status
Not open for further replies.

angler7

Programmer
Feb 23, 2005
7
US
How can I have the caption of a form refer to a field or control, so that as I scoll through the form's records, the form caption would read "Task: Task 1", "Task: Task2", "Task: Task3" etc.

I've tried editing the caption property with Task: &[Forms]![frmTask].[txtTaskName]to no avail.

I've seen this done, and I've searched here and MS Knowledge, but can't figure it out. It must be simple!

Thanks.
 
Wouldn't it be possible to do that in the forms on current event?

[tt]me.caption = "Some sample text and " & me!txtSomeControls.Value[/tt]

Roy-Vidar
 
Uh, yup. Works a treat. Thanks.
(A little brain dead today.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top