I am using VB6 i am create Crystal Report File at run time using CreateReportOnRuntimeDS "p2smon.dll" API function.

this function will connect the .ttx file to the report.

now i want to connect another one.
i am creating .ttx file is at run time using CreateFieldDefFile "p2smon.dll" API function.

now i want to connect the second ttx file to crystal report.
Report.Database.Tables.Add function is used to connect the ttx file to crystal report.

but i dont know the sytex.

Thanks.

You need to contact the vendor of API.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.