There is a table SQL database A | B 001 YES 002 NO 003 YES 004 YES 005 NO 006 YES Now I have six in the data window button B_001, B_002 B_003... B_006 Corresponding to A value of 001002003 in the table... 006 When I open the window according to table A and B values if YES button is red if NO blue This how to achieve?
CodePudding user response:
Suggest put the button in the window, and not the data window.
And then determine the value of b, to YES, setting enabled=true, to no, setting enabled=false