home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7668 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.6 KB

  1. Path: sparky!uunet!ogicse!decwrl!csus.edu!netcom.com!netcomsv!cruzio!rhaven
  2. From: rhaven@cruzio.santa-cruz.ca.us
  3. Newsgroups: comp.databases
  4. Subject: Re: Paradox Help again!
  5. Summary: Paradox calculated fields on forms
  6. Message-ID: <4598@cruzio.santa-cruz.ca.us>
  7. Date: 5 Nov 92 07:33:30 GMT
  8. Article-I.D.: cruzio.4598
  9. References: <s897336.720843298@minyos.xx.rmit.OZ.AU>
  10. Sender: rhaven@cruzio.santa-cruz.ca.us
  11. Reply-To: rhaven@cruzio.santa-cruz.ca.us
  12. Lines: 26
  13.  
  14. In article <s897336.720843298@minyos.xx.rmit.OZ.AU>, s897336@minyos.xx.rmit.oz.au (Lip Meng Soh) writes:
  15. > Hi netter,
  16. > I was wondering if Paradox can perform "calculation" on the data-entry field?
  17. > That is if the user fills in the fields ( ie. qty and price per unit), can the
  18. > field- amount (ie. qty * price per unit) be auto-generated ?
  19. > ***********
  20. > Lip Meng, SOH 
  21. > Email: s897336@rubicon.bf.rmit.oz.au
  22. > ***********
  23.  
  24.  
  25. Yes, Paradox forms can automatically generate calculated fields based on
  26. other fields (or other, outside information as well).  The new 4.0
  27. programming techniques make is easier to do selecting recalculations
  28. as well (like total value in a field for all the detail records for this
  29. master record).  This requires PAL programming, but most PAL programming
  30. is taking the normal Paradox behavior and changing selected bits of it
  31. to do exactly what you want.  You end up programming the exceptions
  32. and leaving the rest to Paradox.
  33.  
  34. One note: these calculated fields on forms are display-only.  If you want
  35. to have a real data entry field set to a default value based on other
  36. field values, you would use the PAL programming method.
  37.  
  38. Cheers
  39.