Hello all,
I'm sort of struggling with a problem that is really causing me headaches. What I try to do is to add a record via a dynamic SDO in "batch". I do this in the following way: I have an additional button on the menu which invokes a internal procedure of the custom super procedure of the container. This internal procedure uses the addRow() and submitRow() API of the SDO to add the record. So far so good, but now comes the strange part: The second parameter of the submitRow() function is a chr(1) delimited list of field names/value pairs which I pass in. The SDO has a join to a second table and all fields of this table are of course not updateable. Although the field names/value list I pass into the SDO's function doesn't contain any field of the joined table, submitRow() always returns with FALSE complaining that a field from the joined table may not be updateable! Does anybody have an idea what I am missing here ?
Thanks in advance,
Richard Lausecker
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org
We had a similar problem with a join (none of the
child table fields were updateable) using the
"standard" add from the toolbar. Initial indications
are that this is a bug. I don't think that it has
been formally submitted as such though.
Rick
Richard Lausecker wrote:
Hello all,
I'm sort of struggling with a problem that is really
causing me headaches. What I try to do is to add a
record via a dynamic SDO in "batch". I do this in
the following way: I have an additional button on
the menu which invokes a internal procedure of the
custom super procedure of the container. This
internal procedure uses the addRow() and submitRow()
API of the SDO to add the record. So far so good,
but now comes the strange part: The second parameter
of the submitRow() function is a chr(1) delimited
list of field names/value pairs which I pass in. The
SDO has a join to a second table and all fields of
this table are of course not updateable. Although
the field names/value list I pass into the SDO's
function doesn't contain any field of the joined
table, submitRow() always returns with FALSE
complaining that a field from the joined table may
not be updateable! Does anybody have an idea what I
am missing here ?
Thanks in advance,
Richard Lausecker
ATTACHMENT part 2 application/octet-stream
name=Lausecker, Richard (E-Mail).vcf
>
To unsubscribe, e-mail:
dev-unsubscribe@icf.possenet.org
For additional commands, e-mail:
dev-help@icf.possenet.org
=====
Rick Terrell
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org