please help

Hi Friends,

i have Tag and Tag having some Equipments

my requirement is i want to generate the report when i give the tagid it will display all its related Equipments

please suggest solution

Regards,

Sandhya.

Hi Sandhya,

Write your query according to your requirement against tagid in the fetch method of the report using QueryBuildDataSource.

Hope it will help you and post again if you have any doubt.

And if possible create a dialog box for the report and filter it through TagId

take one form on that take one stringedit and give edt of tag to that string edit

and try this code

QueryBuildDatasource qbds,qbds1;

str tagvalue;

;

tagvalue = StringEdit.text();

qbds = query.addDataSource(tablenum(VendTable));

qbds.addRange(fieldnum(TableName,Tag)).value(queryValue(account));

queryRun_1= new QueryRun(query);