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 and default value of some field
Re: SqlArray and default value of some field [message #33385 is a reply to message #33382] Sat, 30 July 2011 22:19 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
mirek wrote on Sat, 30 July 2011 19:04

forlano wrote on Wed, 27 July 2011 02:44



Any hint about setting a default value in SqlArray with embedded Ctrl?



ArrayCtrl::IdInfo::InsertValue / ArrayCtrl::Column::InsertValue.

Mirek


Thank you,

the line

master.AddColumn(COUNTRY,"Country").SetConvert(Single<CountryConvert >()).Edit(country).InsertValue(12);

solved all the problems at once.
However i still wonder what SQLDEFAULT is intended to, or if I misused it. I believed it should take care of the default value.
Anyway one correct solution is enough Smile

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SQLITE] New version (3.7.0) introduces write-ahead logging.
Next Topic: sqlite and GridCtrl
Goto Forum:
  


Current Time: Fri Jul 18 13:36:09 CEST 2025

Total time taken to generate the page: 0.07098 seconds