General discussion

Locked

VB6 Data Report Designer

By ebartholom ·
I created a command object in a VB6 data environment that groups data by an employee's name, etc. I would like to get a field from the "Details" level of the command object when I load the report. So far, in the initialize event, I am able to get the fields that are in the "Grouping" level of the command object (DataEnvironment1.rscdCompAppraisal_Grouping!FullName), but I can't figure out how to get at the fields that are in the lower level Details section. If I attempt to access the fields in the same manner as the "Grouping" fields, I get an error - something to the effect of the field not being in the collection.

Does anyone know how I might capture the Detail-level fields?

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

VB6 Data Report Designer

by yatst In reply to VB6 Data Report Designer

Try creating a subreport using the same data you are using on the grouping. VB Report Designer will ask you for the linking fields just like access would.

Collapse -

VB6 Data Report Designer

by ebartholom In reply to VB6 Data Report Designer

Poster rated this answer

Collapse -

VB6 Data Report Designer

by ebartholom In reply to VB6 Data Report Designer

Are you suggesting creating a child command instead of using the grouping capability?

Collapse -

VB6 Data Report Designer

by patrick.lewis In reply to VB6 Data Report Designer

I struggled with the VB6 Data Report Designer for some time. I went to the book store to try to find a book that discussed using the report designer in detail. However, what I found, was that all the books suggested using Crystal Reports instead. I switched to Crystal Reports, and it made creating reports a much less tedious task. Crystal Reports is included on the VB6 CD, however it is not installed with VB6.

Collapse -

VB6 Data Report Designer

by ebartholom In reply to VB6 Data Report Designer

Poster rated this answer

Collapse -

VB6 Data Report Designer

by ebartholom In reply to VB6 Data Report Designer

This question was closed by the author

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums