Using text objects 
Author Message
 Using text objects

I have been trying to use text objects with the VB6 and the CR8 developer
edition. I want to be able to load external .rpt files at run time rather
than linking the report designer files at build time. The reason foir this
is that I want to use the stand-alone CR report designer to make minor
modifications to the report layouts for different customers, etc.

One big problem I have run into is that I can't get the standalone designer
to save text object names, and I can't find any way to give text object
names other than with the VB embedded designer. Am I missing something here,
or should I try to find another way to do what I want?

Thanks!

--
-----------------------------------

Elias Sports Bureau



Mon, 14 Jul 2003 04:37:15 GMT  
 Using text objects
George,
you are not missing anything here. This is the consequence of not using the
Designer, which adds some properties as name etc. to the object contained in
the designer object. In fact, when you query the report for its name
property when
you instantiated a report object via loading a .rpt file through the
application object, then you will get a VB#438 error.

The name property is a feature of the designer object.

Unfortunately there is no way of identifying the report fields in the report
definition in such a way that you can find out what is what in your
VB-environment.

Fred

Quote:

>I have been trying to use text objects with the VB6 and the CR8 developer
>edition. I want to be able to load external .rpt files at run time rather
>than linking the report designer files at build time. The reason foir this
>is that I want to use the stand-alone CR report designer to make minor
>modifications to the report layouts for different customers, etc.

>One big problem I have run into is that I can't get the standalone designer
>to save text object names, and I can't find any way to give text object
>names other than with the VB embedded designer. Am I missing something
here,
>or should I try to find another way to do what I want?

>Thanks!

>--
>-----------------------------------

>Elias Sports Bureau



Sat, 19 Jul 2003 19:46:26 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing text in a text object at run time using cpeaut

2. Text Box Freezes Word When Using VBA Sentence Object

3. VB.Net using a Word doc object - copying in text w/ a hard return

4. getting an object(that's inside a container) label by using sender.text

5. how to print a text on a box object using codes

6. Need help centering text using the Printer Object

7. Replacing text using Selection object.

8. Printing vertical text using PRINTER object ?

9. Center Text using printer object

10. Spell check rich text box using MS Word Object

11. Text File to VB Object (ListBox or Text)

12. VB Text Adventure -object inside an object?

 

 
Powered by phpBB® Forum Software