Question: Producing reports throught Word/other OCX. 
Author Message
 Question: Producing reports throught Word/other OCX.

We have developed an application where a user can type in an RTF format
report against a customer record. This report is cross referenced in our
database and stored in a seperate file on the PC.

There is a requirement to print out these typed reports but with a user
defined header and footer.
i.e. the user can set up a header block in another component to position
things such as customer name, address, order number etc.

How would be be best knitting these items together?

A gut feeling was using OLE automation and Word, but how do we control the
header/footer details? (We cannot just join the three parts as the typed
report may force a new page and the headers and footers need to be on every
page).

Can we override the usual Word header/footer left/centre/right
justification for positioning our data items?

If not could we convert the headers into BMP files and then insert them?

Another option was the VS View OCX. This offers similar functionality but
is lighter. The same questions still need answers though!

Any advice/pointers on this matter would be of great help.
Thanks in advance.



Mon, 07 Feb 2000 03:00:00 GMT  
 Question: Producing reports throught Word/other OCX.

Quote:

> We have developed an application where a user can type in an RTF format
> report against a customer record. This report is cross referenced in our
> database and stored in a seperate file on the PC.

> There is a requirement to print out these typed reports but with a user
> defined header and footer.
> i.e. the user can set up a header block in another component to position
> things such as customer name, address, order number etc.

> How would be be best knitting these items together?

> A gut feeling was using OLE automation and Word, but how do we control the
> header/footer details? (We cannot just join the three parts as the typed
> report may force a new page and the headers and footers need to be on every
> page).

> Can we override the usual Word header/footer left/centre/right
> justification for positioning our data items?

> If not could we convert the headers into BMP files and then insert them?

> Another option was the VS View OCX. This offers similar functionality but
> is lighter. The same questions still need answers though!

> Any advice/pointers on this matter would be of great help.
> Thanks in advance.

Check out tools mailmerge.

You can create a form letter, and plug you RTF in the middle.

BL



Mon, 14 Feb 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Adding tables to Report in Crystal Reports 6 produces unexpected results

2. comdlg32.ocx and others

3. Registration of grid32.ocx and others

4. Licensing Issues with mswinsck.ocx and others...

5. Need a macros to produce vacation report

6. Producing Reports with VB?

7. Producing Reports in VB?

8. Crystal reports produces different result in VB than in CR developer

9. Please help a newbie produce a report!

10. Producing Graphical Reports using VB6

11. What other report writers would others recommend?

12. I′ve some questions for you about OBDC and others

 

 
Powered by phpBB® Forum Software