Home » U++ Library support » U++ SQL » Program changing column
Program changing column [message #54979] |
Sat, 03 October 2020 08:22  |
jimlef
Messages: 90 Registered: September 2020 Location: US
|
Member |
|
|
I have sqlarray, and wish to either have (ID, "ID") or (NAME, "Name") dependent upon checkbox.
I have figured out some code to tell when option changes state:
anon.WhenAction << THISBACK(anonChanged);
.
.
.
void TaxWindow::anonChanged()
{
if (anon.Get() == 1) // s/b 1 = true/checked, 0 for unchecked I believe
// use Number
return;
else // use name
return;
}
But am at a complete loss how best (or even just how) to accomplish this? Ultimately, will use AsQTF to output a table from array...
Thank you!
Jim
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:43:17 CEST 2025
Total time taken to generate the page: 0.01004 seconds
|