Hi,
I have 2 tables with relevant fields
Report1 .............
Rid RName Rquery
1 2 select Id,Name,gender,PhoneNum,Country where Id={Name} and Id={Country} and gender={Gender}
ReportSettings ..............................
Rid RsId Ctype CName fromtable displaycname valuecname date
1 1 dropdown Name employee name id null
1 2 dropdown Country Country name id null
1 3 Textbox Gender null null null null
after clicking of edit button it was displaying relevant values
please look at into screenshot
https://ibb.co/nPmVHqQ
currently my requirement is that
after clicking of edit button need to check whether relevant control name (CName)exists on relevant query(Rquery) or not
if exists display relevant control name and it's value on screen
in the same way if i have added new control name on query(Rquery) then add that control on screen
in the same if i have changed the name of control name then remove control name and add this control name on screen
I can expain you with sample o/p
Initially i have one query like below
select Id,Name,gender,PhoneNum,Country where Id={Name} and Id={Country} and gender={Gender}
After clicking of edit button in grid view it was displaying relevant values on screen
CName Ctype Fromtable displaycname valuecname date
Name dropdown employee name id null
Country dropdown country name id null
Gender Textbox null null null null
later i have update my Query (Rquery) in Report1 Table
select Id,Name,gender,PhoneNum,Country where Id={Name1} and Id={Country} and phonenum={Phonenum}
eventhough after clicking of edit it was displaying like above o/p only
My expected o/p should be like
CName Ctype Fromtable displaycname valuecname date
Name1
Country dropdown country name id null
Phonenum