could u please tell me what is the correct way to setup table is using master detail. Its cause, when I add the data, its not fill in the database.
tq
IBCTable problem and master detail
This problem could be caused by several reasons:
1). You have not set the TIBCConnection.AutoCommit or TIBCTable.AutoCommit property to True, hence data is sent to server but not committed
2). You use Master-Detail parameters binding - in this case data is sent to server but MasterFiled of detail DataSet is empty(untill you manually fill it)
The solution is to:
1) Set TIBCConnection.AutoCommit and TIBCTable.AutoCommit to True
2) Use full Master-Detail binding through MasterField and DetailField TIBCTable properties.
Also pay attention to IBDAC MasterDetail demo project.
1). You have not set the TIBCConnection.AutoCommit or TIBCTable.AutoCommit property to True, hence data is sent to server but not committed
2). You use Master-Detail parameters binding - in this case data is sent to server but MasterFiled of detail DataSet is empty(untill you manually fill it)
The solution is to:
1) Set TIBCConnection.AutoCommit and TIBCTable.AutoCommit to True
2) Use full Master-Detail binding through MasterField and DetailField TIBCTable properties.
Also pay attention to IBDAC MasterDetail demo project.
thanks
Thanks...I'm still new with this database actually.