RetrieveLogonInfo retrieves logon information (except for the password) for all "tables" in the current report, populates LogOnInfo, and returns the number of "tables" in the report.
[form.]Report.RetrieveLogonInfo
NumberofTables% = CrystalReport1.RetrieveLogonInfo
«Retrieves the logon information for all the tables in CrystalReport1.»
This method can only be called AFTER the ReportFileName, has been set. This method DOES NOT use the string in the Connect property and DOES conflict with setting the property. You cannot set the Connect property and call RetrieveLogonInfo in the same code sequence. A Visual Basic error condition will be raised in this case.
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |