Hi Al Shigetomi,
Yes, there is a function in QTP to get the column names. Here is the syntax
/// <summary>
/// For the given table name and column index, the column name in which it is residing can be obtained
/// </summary>
/// <param name="tablename">The name of the table</param>
/// <param name="colindex">The index of the column</param>
/// <returns>Returns the Column name as a string</returns>
[Description("Retrieves the specified column name.")]
string GetColumnName(string tablename, int colindex);
Please try with this function and let me know if you have any concerns
Regards,
Kalai
Hi Al
Shigetomi,
Yes, there is a function in QTP to get the column names. Here is the syntax
/// <summary>
/// For the given table name and column index, the column name in which it is
residing can be obtained
/// </summary>
/// <param name="tablename">The name of the table</param>
/// <param name="colindex">The index of the column</param>
/// <returns>Returns the Column name
as a string</returns>
[Description("Retrieves
the specified column name.")]
string GetColumnName(string tablename, int
colindex);
Please try with this function and let me know if you have any concerns
Regards,
Kalai
Hi Al Shigetomi/ Sriram,
[@Al Shigetomi]
Please ignore the previous update .
Our engineer wrongly updated the previous information . We regret to inform you that we don’t have support for specific QTP command to retrieve the column name .
[@Sriram]
Thank you for using Syncfusion Products .
We regret to inform you that we couldn’t get your requirement clearly . Could you please share more information on this .This would be helpful to provide better solution earlier .
Please let us know if you have any other queries .
Regards,
Akila R