Force SQLType in dataview datasettings.
Hi there
I still want the Data Settings dialog to be available when designing
reports, however I want to force the SQLType to SQL2 even if the user had to
change it to SQLLocal.
I looked at the events on the TppDesigner, but I could not find anything
relating to this, so any help would be great
Thanks in advance
Shaine
I still want the Data Settings dialog to be available when designing
reports, however I want to force the SQLType to SQL2 even if the user had to
change it to SQLLocal.
I looked at the events on the TppDesigner, but I could not find anything
relating to this, so any help would be great
Thanks in advance
Shaine
This discussion has been closed.
Comments
This is handled by the Data Settings Dialog. This dialog is replaceable
(like most all dialogs in RB).
The default Data Settings dialog is defined in daDataSettingDlg.pas. It is
registered in the Initialization section of daIDE.pas. You can either copy
the existing dialog and rename it or you can descend from it. The register
your dialog in the Initialization of the unit that you create. Then 'use'
that unit in your Delphi project. It will replace the existing dialog at
run-time.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com