home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / database / 1037 < prev    next >
Encoding:
Text File  |  1992-08-27  |  3.4 KB  |  101 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!access.usask.ca!herald.usask.ca!ruf
  3. From: ruf@herald.usask.ca (Bob Ruf)
  4. Subject: 4D questions (long)
  5. Message-ID: <1992Aug27.234206.3343@access.usask.ca>
  6. Originator: ruf@herald.usask.ca
  7. Sender: news@access.usask.ca (USENET News System)
  8. Nntp-Posting-Host: herald.usask.ca
  9. Organization: University of Saskatchewan
  10. Date: Thu, 27 Aug 1992 23:42:06 GMT
  11. Lines: 88
  12.  
  13. I'm sorry for the long message, but 4d leads one to ask many questions.
  14.  
  15.  
  16. 1. EDIT ACCESS
  17.  
  18. I have a menu selection that has just EDIT ACCESS in its procedure. According 
  19. to the manual, this should bring up the access editor. All that actually 
  20. happens is that the access editor menus flash in the menu bar for a tenth
  21. of a second (est.) and then it goes back to my menu. ?!?!
  22. How do I give the administrator access?
  23.  
  24. 2. The list editor
  25.  
  26. I want to give the administrator access to the list editor in runtime mode. Do
  27. I have to build a layout and use list to array, etc.?
  28.  
  29. 3. Automatic Relations
  30.  
  31. I seem to be confused on what is happening with automatic relations. I have two
  32. files (the One and the Many). I made a relation from the Many to the One and
  33. checked the RELATE MANY box. I selected a One record and did an
  34. ADD RECORD([Many]). 4D immediately "loses" my selection in the One file.
  35.  
  36. In my mind, this shouldn't happen for two reasons:
  37.         a) I didn't check the RELATE ONE box when I made the relation
  38.         b) The manual says that records are loaded into memory but you must use
  39. the RELATE ONE or RELATE MANY commands to make them the current selection for a
  40. file.
  41.  
  42. I originally got around this problem by not using automatic relations, but I
  43. was cranky because I thought it would be easier if I could. The second work
  44. around was to save the relating field from the One file into a variable and
  45. assign it to the related field in the Many file. When I did this, my One file
  46. selection came back.
  47.  
  48. What is going on?!?!? (Perhaps an explanation of manual relations would help
  49. too.)
  50.  
  51. 4. Printing labels
  52.  
  53. I have peoples names in the One file and their addresses in the many file. Are
  54. the following then true:
  55.  
  56.         a) I can't use the label editor since the fields are in two files
  57.         b) I can't use the export data (and use word to print labels) for the 
  58. same reason
  59.         c) I must either
  60.                 i)  populate a "join" file and use a or b
  61.                 ii) use an output layout 
  62.  
  63. 5. Strange bug??
  64.  
  65. I have a no action button on a layout with the following script
  66.  
  67. SAVE RECORD ([Biographic])
  68. ACCEPT
  69.  
  70. The layout is "called" by 
  71.  
  72. ADD RECORD ([Company Contact];*)
  73.  
  74. --------------------------------------
  75. When I click on the button, the beach ball whirls, and I stay in the layout.
  76. The bio record gets saved, but the company contact record doesn't.
  77.  
  78. When I trace it, the Debug window "dies" in the layout proc in the after phase.
  79. It gets to the statement 
  80.  
  81. IF (Before) 
  82.  
  83. (the first non-comment statement in the proc) and stops executing. 
  84. Note: The whole layou proc is:
  85.  
  86. If (Before)
  87.         a bunch of lines
  88. end if
  89.  
  90. The debug window is still displayed, but no buttons work. I can click on the 
  91. layout window behind it and bring it to the front. The dead debug window goes 
  92. beind the layout window and if I bring it to the front again, it is blank (no 
  93. refresh occurs). The layout window is still active and I can click cancel 
  94. with the expected results.
  95.  
  96.  
  97. Thanks for any help on any question!!!!!!!
  98. bob
  99. ruf@admin.usask.ca
  100.  
  101.