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 » SqlArray Join
Re: SqlArray Join [message #4068 is a reply to message #4062] Wed, 19 July 2006 11:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
To insert / remove rows, use

SqlArray arr;
.....
arr.Removing().Appending();


SqlDetails are reserved for quite rare 1:1 relations (means - one table is represented by SqlArray and for each line of this SqlArray there is _single_ record in another joined table, which is edited by SqlDetails Ctrls).

If what you want to do is to edit some columns of record of single table in SqlArray rows and rest in separate Ctrls, just add those Ctrls to SqlArray (ArrayCtrl::AddCtrl).

Important thing to understand here is that not every "index" in ArrayCtrl "row" corresponds to single column in ArrayCtrl (SqlArray is ArrayCtrl derivative). Some indicies can be bound to external Ctrls, some can be completely hidden and respectively, some columns of ArrayCtrl can "merge" more indicies (e.g. you have YEAR, MONTH and DAY columns in your database and you want to display them in single SqlArray column).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ODBC ?
Next Topic: MS SQL Server connection possible?
Goto Forum:
  


Current Time: Mon Jul 07 23:28:54 CEST 2025

Total time taken to generate the page: 0.03513 seconds