I would like to display the version number of the form template on the form
so that I support change requests to the form.
Is the best method to do this with code in the On Load event handler? Do I
have to use a text control and update its contents?
Is it available as design time?
Greg Collins [InfoPath MVP] - 10 Jun 2006 00:16 GMT
Yes, you would use code in the OnLoad handler to get the solution version from the XDocument object. Then you would place that version number into a field (can be in a secondary data source). Then just display that field in your view using an expression box.

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )