"Christoph Zwerschke" <[EMAIL PROTECTED]> schrieb:
> I've gone through the "step-by-step guide" now, which is very helpful.
> But at then end, when I try to save a record with the HoursForm, I get
> the following error message:
> 
> Dabo Error Log: Tue Dec 09 19:43:49 2008:
> Error in scanChangedRows:
> FEHLER:  Spalte "clientname" von Relation "hours" existiert nicht
> LINE 1: ...ntfk", "notes", "hours", "servicedate", "billed",
> "clientnam...
>                                                              ^
> SQL: insert into "public"."hours" ("clientfk", "notes", "hours",
> "servicedate", "billed", "clientname") values (0, '', 0.75,
> '2008-12-09', 0, NULL)
> 
> It seems the clientname is included in the values to be saved, although
> I have set ValueMode="Key" as suggested in the tutorial.
> 

You can set
self.NonUpdateFields = ["clientname"]
in BizHours.initProperties(). That was the answer I got to the
same question (http://leafe.com/archives/showFullThd/395297#0), and that
got it working.

> Any idea what could be wrong here? Is it possible to download the code
> for the tutorial somewhere so I can compare?
> 

This is another thread about the problem:

http://leafe.com/archives/showFullThd/400340

So it's not quite clear if it should work even without setting
NonUpdateFields. 

HTH
Sibylle

-- 
Dr. Sibylle Koczian 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to