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 » Trouble Adding rows to SqlArray
Re: Trouble Adding rows to SqlArray [message #20279 is a reply to message #20272] Fri, 06 March 2009 18:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Ah, yes, I missed that in your code. Obviously, you can insert single column just once...

Anyway, U++ still has a way around. ArrayCtrl (and therefore SqlArray) columns and widgets are quite loosely coupled with "indicies" in row. Specifically, you can use two "entities" to point to single row "index".

Practically, you should use AddCtrlAt in your code where you want just single column with two "visuals":

a_cache.AddCtrlAt(ORGANISATION_NOM,e_entreprise);


Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compacting an MS-Access db
Next Topic: PostgreSQL example does not save data to database
Goto Forum:
  


Current Time: Mon May 13 16:49:56 CEST 2024

Total time taken to generate the page: 0.01877 seconds