Q: Editing For Header-Detail Files 
Author Message
 Q: Editing For Header-Detail Files

I am sorry if this is too basic.
There are many header-detail files, such as orders, invoices, etc., in
my systems, I wonder what the best way to support editing for these
files is.
For grid functions, the manual says TBrowse object is better than
Dbedit(), but I am not familiar with both. Please tell me the
functions or commands you're gonna use to do it.
Thanks in advance.

     _/_/_/_/  _/_/_/  _/_/   _/   _/_/_/  +------------------------+
      _/   _/   _/    _/_/   _/  _/    _/  | Dino Hsu               |

    _/   _/   _/    _/  _/ _/  _/    _/    | PC Specialist          |
 _/_/_/_/  _/_/_/  _/   _/_/   _/_/_/      | AVON Cosmetics Taiwan  |
                                           | Information Technology |
 There are two kinds of people:            | Services Department    |
 The connected and the unconnected.        +------------------------+



Mon, 18 Jan 1999 03:00:00 GMT  
 Q: Editing For Header-Detail Files


<<For grid functions, the manual says TBrowse object is better than
Dbedit(), but I am not familiar with both. Please tell me the
functions or commands you're gonna use to do it. >>

Master-Detail

A Master table
A Detailtable with (a index on) Masterkey.

Per Master record a TBrowse of all Detailrecords with that Masterkey.
On selection of one of those Detailrecords a pop-up window where the
relevant Detail-fields can be editted.
(Read fields into variables, update fields with new value's after
confirmation of change(s))
On pressing Insert, same pop-up window filled with standard-values.
(Append Detailrecord and update of fields with new value's after
confirmation of change(s))
On pressing Delete, ask for confirmation and delete Detailrecord.

Does that anwser your question ?

Anne.



Mon, 18 Jan 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. quick file header editing

2. External Header file xlib.h includes internal header file tkIntXlibDecls.h

3. Help please: Print a report HEADER even when there are no detail records

4. conditional Group Header and/or detail

5. Reports: Detail Header on each page

6. header/detail lines in CW report

7. Header on Form, Browse Detail

8. Reporting - Lost Headers and Detail bands

9. Headers & Detail

10. Print Header without detail

11. CW5 problem: First Report Detail Group Creeps into Report Header

12. Header,Footer and Detail Runtime Position

 

 
Powered by phpBB® Forum Software