Problem with Mastersource, what I'm doing wrong?
Posted: Mon 12 Feb 2007 11:17
Please let me know what I'm doing wrong:
0. MyDac 4.40.022 std, delphi 7.
1. I've got two tables named: open_year_quatity and current_quantity
2. Tables are the same and contains all fields which are in other. They contains all data the same except one difference - field Quantity - it is obvious.
3. open_year_quantity in Mytable has mastersource property set to Dataset which contains table current_quantity.
4. Fields are indeks(string), price(real8:2), stock(string) and quantity(real8:3) - they are linked with masterfields to the detailfields.
tell me what I'm doing wrong that dbgrid with open_year_quantity table is not displaying everytime records which are selected in dbgrid with current_quantity. Sometimes they are display, sometimes not. Don't know why.
0. MyDac 4.40.022 std, delphi 7.
1. I've got two tables named: open_year_quatity and current_quantity
2. Tables are the same and contains all fields which are in other. They contains all data the same except one difference - field Quantity - it is obvious.
3. open_year_quantity in Mytable has mastersource property set to Dataset which contains table current_quantity.
4. Fields are indeks(string), price(real8:2), stock(string) and quantity(real8:3) - they are linked with masterfields to the detailfields.
tell me what I'm doing wrong that dbgrid with open_year_quantity table is not displaying everytime records which are selected in dbgrid with current_quantity. Sometimes they are display, sometimes not. Don't know why.