I have a combo list in which the row source type is an array. There is logic so as to set the ListIndex property to the entry matching the current value in the record detail.
Problem is that when the ListIndex property is updated, a record lock is applied to the record which the combo list pertains to. I verified this by tracing through the code and viewing info displayed with DISPLAY STATUS command immediately before/after the statement.
I have reviewed code in all methods, properties, dataenvironment, etc., and do not find any uses of RLOCK() function for affected record/table. All indexes on table are regular indexes. There is a reference specification with a parent table in the schema details for the database container which table resides.
I don't now if this is cause/contributes to the issue, this is an older app, the original developer binded (aghh) the control source for the combo list directly to a field in the record being locked. (we are unbinding the control sources when feasible as we review the code) Additionally, there is another combo list in a different tab for same data detail stored in a separate table. Thus, use of array for row source so moving record pointer when user modifies one of the selections does not adversely affect the other selection.
Any ideas / suggestions will be appreciated.
Phil
Problem is that when the ListIndex property is updated, a record lock is applied to the record which the combo list pertains to. I verified this by tracing through the code and viewing info displayed with DISPLAY STATUS command immediately before/after the statement.
I have reviewed code in all methods, properties, dataenvironment, etc., and do not find any uses of RLOCK() function for affected record/table. All indexes on table are regular indexes. There is a reference specification with a parent table in the schema details for the database container which table resides.
I don't now if this is cause/contributes to the issue, this is an older app, the original developer binded (aghh) the control source for the combo list directly to a field in the record being locked. (we are unbinding the control sources when feasible as we review the code) Additionally, there is another combo list in a different tab for same data detail stored in a separate table. Thus, use of array for row source so moving record pointer when user modifies one of the selections does not adversely affect the other selection.
Any ideas / suggestions will be appreciated.
Phil