Subject | Re: [IBO] Set a TIB_Query into dssEdit mode |
---|---|
Author | Jason Wharton |
Post date | 2002-09-20T16:10:47Z |
If you set RequestLive to true then the query should figure out how to make
it live for you. This is false by default. It is also possible to put in
your own UpdateSQL statement that will automatically make the dataset
editable. So, either set RequestLive to true or provide your own UpdateSQL
statement and it should work fine.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
it live for you. This is false by default. It is also possible to put in
your own UpdateSQL statement that will automatically make the dataset
editable. So, either set RequestLive to true or provide your own UpdateSQL
statement and it should work fine.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: <ulrich.groffy@...>
To: "IBObjects Newsgroup" <IBObjects@yahoogroups.com>
Sent: Tuesday, September 17, 2002 4:34 AM
Subject: [IBO] Set a TIB_Query into dssEdit mode
> Hm, I'm not shure what kind of problem it is, but I try to describe :
>
> My app is working as a MDI application with one central TIB_DataBase
> component. I placed TIB_Querys and TIBDataSources on the MDI-Child forms.
Up
> to now I have no Master-Detail relations between any TIB_Querys.
>
> There are no foreign keys in the database definition. (might be
important?)
>
> It's working fine, but during my programming and testing I noticed that I
> can not edit the data values in only some forms! All TIB_Querys are set to
>
> requestLive=true
>
> and then TIB_DataSources to
>
> AutoEdit=true
> AutoInsert=true
>
> I checked the TIB_DataSource.state and when the tables are opened they are
> in "dssBrowse" state
>
> When I try to force the "dssEdit" mode there is a message "Cannot edit
> current row"
>
> What worries me is, that in some forms all is fine and in some not.....
>
> best regards - Ulrich