home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9380 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  3.3 KB

  1. Path: sparky!uunet!psinntp!cmcl2!adm!smoke!brl.mil!fsbrn
  2. From: fsbrn@brl.mil (Ferd S. Brundick)
  3. Newsgroups: comp.databases
  4. Subject: Re: Paradox question
  5. Message-ID: <19596@smoke.brl.mil>
  6. Date: 25 Jan 93 13:20:51 GMT
  7. References: <mcdonald.693.727814490@aries.scs.uiuc.edu> <1993Jan24.144529.19009@nuscc.nus.sg>
  8. Sender: news@smoke.brl.mil
  9. Reply-To: fsbrn@brl.mil
  10. Organization: Army Research Laboratory
  11. Lines: 55
  12.  
  13. In article <1993Jan24.144529.19009@nuscc.nus.sg>, isc30158@nusunix1.nus.sg (WEE LEE SENG) writes:
  14. |> J. D. McDonald (mcdonald@aries.scs.uiuc.edu) wrote:
  15. |> : 
  16. |> : 1) I can't get the "modify" or "data-entry" things on a table to
  17. |> : come up automatically with the proper form for that table ... I
  18. |> : have to change it manually every time with Image. How does one do this?
  19. |> : Some sort of simple macro? 
  20. |> 
  21. |>  If you are thinking of using macros, you can create a script to 
  22. |>  load the proper form and assign a key to play that script. Thus,
  23. |>  in a way, just like a macro.
  24.  
  25. There is a much easier answer if you are using the same form all the
  26. time.  Use Image/Pickform to select the form you want, then Image/Keepset
  27. to tell Pdox to always use that form.  You still have to press F7 to
  28. toggle form mode, but the form you kept is the one you'll get by
  29. default (instead of the F form).
  30.  
  31. |> : 2) I can Ask to my heart's content and it works fine, but getting a 
  32. |> : report on the result is a pain .. I have to COPY a report type to
  33. |> : the Answer table by hand every time I create a new Answer .. is there some 
  34. |> : way to make this stick .. I tried copying Answer over an old table to
  35. |> : which I had already attached a report, but that seems to lose the report 
  36. |> : already attached.
  37. |> 
  38. |>  You can try to copy the pre-designed report to the answer table instead
  39. |>  of copying the answer table to the old table. The only restriction of 
  40. |>  doing this is that the structure of answer table must be the same as 
  41. |>  that of the old table.
  42.  
  43. Not quite.  The structures do not have to match exactly, but the
  44. Answer structure must be a subset of the Old table structure.
  45. Otherwise, you've hit the solution.  Create a report for Old table,
  46. run your query, copy the report from Old to Answer, and run the
  47. report.  If the structures are not identical you will get a warning in
  48. interactive mode but not if you are running a procedure.
  49.  
  50. Forms and reports "belong" to a given table.  When you copy Answer to
  51. Old you are also overwriting Old's forms and reports.  If you have a
  52. complex query involving mutiple tables, Borland recommends you create
  53. an empty table with all the correct fields.  (The easiest way to do
  54. this is to simply run the query and rename Answer, then empty it.)
  55. Create the report(s) you need.  In your application run the query,
  56. copy the report form from your empty table to Answer, and run the report.
  57.  
  58. Yeah, it seems a bit odd to have an empty table floating around.  I
  59. like to think of the table as the parent of the report forms.  When
  60. you exit Answer is deleted, along with the report you copied to it.
  61. Plus a brand new Answer is created every time you run a query.  So the
  62. only way to keep the report is to attach it to an empty table.
  63.  
  64.                                         dsw, fferd
  65.                                         Fred S. Brundick
  66.                                         USARL, APG, MD.
  67.                                         <fsbrn@brl.mil>
  68.