I have a complex form linked to a multi-table datamodel. I want to use
a command button to open a second dialog box to edit fields from a
second table linked 1 to 1 to my master table. I can't seem to open the
dialog box so that it displays the sub record linked to the master
record -- it always displays the first record in the sub table. I have
a klugola solution -- fill the called dialog box with undefined fields,
poke the data into them from a TCursor dmAttached to the sub table, and
test the fields after the formReturn and put the changed data into the
linked table via the same TCursor. I can't believe that this is the
only solution to a common data processing problem. I have tried
dmAttach in both the calling form and the called form, to no avail.
Conceptually, there should be a way to tell the called form to use the
data model of the calling form -- can anyone help?
* SLMR 2.1a * Unable to locate Coffee -- Operator Halted!
--- WILDMAIL!/WC v4.12
---------------
* Origin: NWCS Online (1:105/362.0)
|