Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Sat May 04 04:31:33 CEST 2024

Total time taken to generate the page: 0.02548 seconds