I am writing a form contains master and a detial grid. the grid contins a lineitem, item and unit tables.
3 tables are follow:
lineitem table: order_no, line_no, item_no, qty
item table: item_no, description, unit_code
unit table: unit_code, description.
the presentation of grid is
-------------------------------------------------------
item_no | item desc. | unit desc. | qty | price
-------------------------------------------------------
When I change the item_no of existing record, an error msg "out of range" will be prompted. But when I clear the controlsource of unit_desc column, it works.
It seems when the pointer of item table is moved but the pointer of unit table doesn't move correctly.
Please help me!
Thanks!
3 tables are follow:
lineitem table: order_no, line_no, item_no, qty
item table: item_no, description, unit_code
unit table: unit_code, description.
the presentation of grid is
-------------------------------------------------------
item_no | item desc. | unit desc. | qty | price
-------------------------------------------------------
When I change the item_no of existing record, an error msg "out of range" will be prompted. But when I clear the controlsource of unit_desc column, it works.
It seems when the pointer of item table is moved but the pointer of unit table doesn't move correctly.
Please help me!
Thanks!