Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need row index of selected row in Impromptu report

Status
Not open for further replies.

pugger

Programmer
Sep 18, 2001
2
US
I have an impromptu report with a name field and a hidden field with encrypted SSN's. When a user selects a name I need to retrieve the row index so that I can access the encrypted SSN field in the same row. Ideally, I need both the selected row index and the column index of the encrypted SSN field(but can hard code this if necessary).
Any help would be appreciated.
Thanks
 
pugger,

You may need to investigate a custom user defined function on the database server. Depending on the RDBMS platform, Impromptu supports these. Check the documentation for additional details. Some of the better users here have experience with them, so after you check out what you can find, come back here with specific questions.

Regards,

Dave Griffin



The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Thank you for responding, Dave. I
n leiu of the selected index could I create a macro that creates a row with the record number in it? (Some kind of count). I would want to be able to click on the row number and use "SelectedFrames(1)" to get the row number. I could use this number for the row Index.
-Maureen
 
Maureen,

That would get you the row number within the report, not to be confused with the row number that may be maintained by the RDBMS. If you are trying to apply logic to decrypt a column in the row that requires the latter, this might not be of much use.

Dave Griffin


The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top