Subject | Data Aware components - question |
---|---|
Author | Daniel Jimenez |
Post date | 2004-10-18T07:26:17Z |
Hi,
I am currently having some problems with TIB_Edit components.
(1)
If I set the DataSource component property AutoEdit = true and the
AustoInsert property to false. (The reason, is so that I can edit the
TIB_Edit component) and I set the TIB_Cursor property RequestLive = true.
--- Problem ---
If the application user edits the content of a TIB_Edit, but then decides to
not hit the Commit Button on the form, the changes are not committed to the
DB. Perfect just as expected. However, if the application user was to make a
search for the same record she/he just edited, but did not commit, the
TIB_Cursor will display the record with the modifications, and not the
record as it is in the DB.
Why??????
(2)
If I set the DataSource component property AutoEdit = true and the
AustoInsert property to false. (The reason, is so that I can edit the
TIB_Edit component).
Then I set the TIB_Cursor property RequestLive = false. (The reason is that
I would like the user to be able to edit the content of the TIB_Edit but the
modifications not to take place unless the application user hits a Commit
Button on the form).
----Problem -----
Regardless of the TIB_Edi properties I set, the application user is not able
to edit the content of the TIB_Edit. I have tried setting every possible
combination of the TIB_Edit properties including:
dbedtLoginName->Enabled = true;
dbedtLoginName->ReadOnly = false;
dbedtLoginName->PreventEditing = false;
dbedtLoginName->PreventInserting = false;
What am I doing wrong???
Thank you
Daniel
____________________________
Comvision Pty. Ltd.
www.comvision.net.au
I am currently having some problems with TIB_Edit components.
(1)
If I set the DataSource component property AutoEdit = true and the
AustoInsert property to false. (The reason, is so that I can edit the
TIB_Edit component) and I set the TIB_Cursor property RequestLive = true.
--- Problem ---
If the application user edits the content of a TIB_Edit, but then decides to
not hit the Commit Button on the form, the changes are not committed to the
DB. Perfect just as expected. However, if the application user was to make a
search for the same record she/he just edited, but did not commit, the
TIB_Cursor will display the record with the modifications, and not the
record as it is in the DB.
Why??????
(2)
If I set the DataSource component property AutoEdit = true and the
AustoInsert property to false. (The reason, is so that I can edit the
TIB_Edit component).
Then I set the TIB_Cursor property RequestLive = false. (The reason is that
I would like the user to be able to edit the content of the TIB_Edit but the
modifications not to take place unless the application user hits a Commit
Button on the form).
----Problem -----
Regardless of the TIB_Edi properties I set, the application user is not able
to edit the content of the TIB_Edit. I have tried setting every possible
combination of the TIB_Edit properties including:
dbedtLoginName->Enabled = true;
dbedtLoginName->ReadOnly = false;
dbedtLoginName->PreventEditing = false;
dbedtLoginName->PreventInserting = false;
What am I doing wrong???
Thank you
Daniel
____________________________
Comvision Pty. Ltd.
www.comvision.net.au