Print Preview ActiveX Active Users: 68 / Visits Today: 71
Highest Active Users: 68
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 ReportHeaders - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: NewReport - Method Topic Next Topic: ModifyReport - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 06/15/2006 :  14:56:08  Show Profile
Method Reportheaders

Action:

This method creates headers for report from a recordset.

Syntax:

ReportHeaders (oRecordset as Recordset)

Remarks:

Using this method generates the columnheaders for your report, using the names of the tablefield-collection in the recordset. You can change this name with ModifyColumn.

As default for the width will be used the max. length of the fieldname or the max. length of the data present in the table field. You can change the width of the column with ModifyColumn.

Note : Be aware when you modify the column-width, and the max. length of the data is changing you could have to change the layout too. Modifying the width of a column smaller the the max. length of the data or fieldname results in the default width.

Example:
Preview.Reportheaders yourRecordset
See also:

ModifyColumn ---> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=395
ModifyReport -----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=396
RecordsetReport ->http://www.ppreview.net/forum/topic.asp?TOPIC_ID=598
NewReport --------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=401


Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

Edited by - emiel on 06/15/2006 15:44:09
Go to Bottom of Page
  Previous Topic: NewReport - Method Topic Next Topic: ModifyReport - Method  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.02