home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9432 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.3 KB  |  44 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!howland.reston.ans.net!sol.ctr.columbia.edu!eff!world!iano
  3. From: iano@world.std.com (Ian J Ornstein)
  4. Subject: ? Microsoft Access
  5. Message-ID: <C1H7tt.G4z@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. Distribution: usa
  8. Date: Tue, 26 Jan 1993 19:37:04 GMT
  9. Lines: 33
  10.  
  11. 1.- How can I have a date automatically changed in the TABLE
  12.     when any field in a form is changed? I know I can use =Date()
  13.     in a form field. Can I do this without having a date field on
  14.     the form?
  15.  
  16. 2.- I'm using counter data type as keys for my tables.
  17.     I'd like to be able to do some sort of look up with the form
  18.     so that the text name from the reference table is displayed in the
  19.     form but only the value of the foreign key is stored in the table.
  20.     How can I do this?
  21.  
  22. ExampLe:
  23. --------
  24.  
  25. C O M P A N I E S
  26.  
  27. Company_id (Counter)  Company_name (Text)
  28. 1               First company name
  29. 2                      Best company name
  30. 3                      Modem company
  31. 4                      Monitor company name
  32.  
  33.  
  34.  
  35. R E P S
  36.  
  37. Rep_id (Counter) Company_id(Number) [Same as Company_id in table COMPANIES]
  38. Alice          2
  39. Betty          2
  40. Carol          4
  41.  
  42.  
  43. FORM_Rep should show the Company_name that corresponds to the 
  44.