How can I use crystal reports OCX control (crystl32.ocx) to allow my OBSYDIAN applications to launch (and pass parameters to the reports)?
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