Home Server

How to find the UserName from the DADEquery in a TrsClient

edited December 2005 in Server
How can i find the UserName from the DADE-datasets in a TrsClientReport.
In a WebTier Environment its quite easy ...
aWebRequest.AutoSearchParameters.Groups[iGroups].Description
But i thought that rsClientReport.AutoSearchFields[iFields].DataPipelineName
would clear the job but .....

Comments

  • edited December 2005

    Try...

    rsClientReport.AutoSearchGroups[liIndex].Description



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2005

    It may also be necessary to call ClientReport.GetAutoSearchParameters, like
    this...

    if rsClientReport.GetAutoSearchParamers then
    begin
    rsClientReport.AutoSearchGroups[liIndex].Description

    end;


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.