Home » U++ Library support » U++ SQL » How to use Sql * Update
How to use Sql * Update [message #19632] |
Wed, 24 December 2008 14:47 |
|
michael
Messages: 153 Registered: May 2007 Location: Germany
|
Experienced Member |
|
|
I'm trying to use the following code to update a sql-table:
Sql sql(session);
sql * Update(SqlId(sqlTable))
(NAME, customer.name)
(NUMMER, customer.number)
(PRODUKT, customer.product)
(VERSION, customer.version)
(STANDORT, customer.location)
(ANBINDUNG, customer.connection)
(BEMERKUNG, customer.comment)
.Where(ID == customer.sqlID);
I get these error:
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1274) : error C2660: 'Upp::Ctrl::Update' : function does not take 1 arguments
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1282) : error C2228: left of '.Where' must have class/struct/union
prohibisZA: 1 file(s) built in (0:01.87), 1872 msecs / file, duration = 1919 msecs, parallelization 0%
There were errors. (0:02.48)
What went wrong?
|
|
|
Goto Forum:
Current Time: Wed May 15 14:51:53 CEST 2024
Total time taken to generate the page: 0.02679 seconds
|