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
Re: Program changing column [message #54993 is a reply to message #54979] Sun, 04 October 2020 07:13 Go to previous messageGo to previous message
jimlef is currently offline  jimlef
Messages: 90
Registered: September 2020
Location: US
Member
I'm still working on this, but so far all I've come up with is to change column widths to "cover up" unwanted column:
void TaxWindow::anonChanged()
{
	if (anon.Get() == 1) {
		// use cust Number
		 sqlTaxReport.ColumnWidths("150 200 [u]65 1[/u] 150 150 150 200 200");
		return;
	}
	else  {// use cust name
		sqlTaxReport.ColumnWidths("150 200 [u]1 140[/u] 150 150 150 200 200");
		return;
	}
		
}


I'm probably going to eliminate the array altogether, though, once I figure out the way to use repgen (or an alternative) with the current stable build...
 
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 10 23:51:37 CEST 2025

Total time taken to generate the page: 0.02274 seconds