S
SÁRINGER Zoltán
Hello,
When you want to create/modify master-detail records, what are the most
practical ways? (For example: having partners, and each partner has some
sites, contacts, discount prices.. etc)
I know two methods, please complete the variatons of yours:
1) press "new": read and edit all data, related data in the memory. When
press "save", begin transaction, save master table, and save the details
table. Problem is to check what records were added/modified/deleted in
master tables, but seems simple for the user (one press save...) Also, it
takes long time to refresh all the detail tables.. mostly via internet..
2) press "new": first of all, a little window asks for basic data, such as
"name". Then creates it in the master table, and open the form as "modify"
view. Each detail table has bound to database directly, user can
delete/insert/modify the records directly. "Save" button saves only the
chages of master table.
....and tell me, what solution do you suggest, the point of views are:
- work fast via internet, (minimalize the roundtrips)
- convinient to the user
- easy to code and maintain
thank you!
When you want to create/modify master-detail records, what are the most
practical ways? (For example: having partners, and each partner has some
sites, contacts, discount prices.. etc)
I know two methods, please complete the variatons of yours:
1) press "new": read and edit all data, related data in the memory. When
press "save", begin transaction, save master table, and save the details
table. Problem is to check what records were added/modified/deleted in
master tables, but seems simple for the user (one press save...) Also, it
takes long time to refresh all the detail tables.. mostly via internet..
2) press "new": first of all, a little window asks for basic data, such as
"name". Then creates it in the master table, and open the form as "modify"
view. Each detail table has bound to database directly, user can
delete/insert/modify the records directly. "Save" button saves only the
chages of master table.
....and tell me, what solution do you suggest, the point of views are:
- work fast via internet, (minimalize the roundtrips)
- convinient to the user
- easy to code and maintain
thank you!