U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Program changing column
Program changing column [message #54979] Sat, 03 October 2020 08:22 Go to previous message
jimlef is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: sqlite and dropdate / editdate etc
Next Topic: Changing Database [Solved]
Goto Forum:
  


Current Time: Sun Apr 26 23:17:30 GMT+2 2026

Total time taken to generate the page: 0.00508 seconds