set window title of a form?

I

iserman

I've got a series of queries being applied to the same subform when
different buttons are clicked on a main form, and I'd like the window
title to reflect which query has been applied against the form. Is it
possible to do this somehow?
 
D

Douglas J. Steele

If you're talking about the text that's in the top bar of the form, that's
its Caption property. You can set it to whatever you want using Me.Caption =
"Some Text"
 
Top