>Hi Everybody,
>
> How can I get Crystal Reports to use the same cursors contained in the data environment of the form which calls it ? In other words, I want to keep record pointer information, relations, etc.. as is when the CR activex control is called and then generate the report based on that data. It seems that the CR generator uses a separate data environment from that of the form (even though the database tables defined during design are the same ones used in the form)
You can't. Crystal requires a physical file on disk or a view defined in the DBC. For my reports, I run a PRG that creates a single Fox2X table that contains all the data needed for the report. The table is copied to disk and then I run CR to produce the report.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer