Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use crystal reports OCX control (crystl32.ocx) to allow my OBSYDIAN applications to launch (and pass parameters to the reports)?

0
10 Posted

How can I use crystal reports OCX control (crystl32.ocx) to allow my OBSYDIAN applications to launch (and pass parameters to the reports)?

0
10

1) Register the OCX control in you system (command: regsvr32 crystl32.ocx) 2) Add the OCX control to the panel of the function that will be launching your report (on the Panel Designer, right mouse click on it, select ‘Create Active X Control’ and choose ‘Crystal Report Control’) 3) On the Properties Palette double click on ‘Custom Properties’ and enter all necessary information on all seven tabs (information is required on ‘General’ (Report File Name) and ‘Database’ (Connect: UID=DatabaseUser;PWD=DatabasePassword;DSN=;) tabs. The report can operate with most of the default in the other tabs. 4) Hide the OCX control by setting the ‘Visible’ property = No 5) In the Action Diagram: Use the API Call Source code: ‘OBWIN/Set ActiveX character property’ and ‘Set ActiveX character property’ to set the properties required to launch the report/pass any required parameters to filter by (i.e. Report Title, Selection Formula,Destination, Action). • On the Panel Editor, how can I organize Menu Item

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123