How to parse parameter values to the Transaction Names

Hi,

I want to parse the parameter values to the transaction names, so for every iteration I can obtain the transaction time for specific paramater supplied?

I am trying this code, but no success:

char *qrytime, *newqry;

qrytime = lr_eval_string "{Run_Query}" );

lr_save_string(qrytime,"newqry");


lr_start_transaction("{newqry}");

////////////////////////

lr_end_transaction("{newqry}",LR_AUTO);


Any comments???