home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / informix / 1715 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.8 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!snide.com
  2. From: dave.snyder@snide.com (Dave Snyder)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: How to clear a field in a multiple table form?
  5. Message-ID: <9304@emory.mathcs.emory.edu>
  6. Date: 13 Aug 92 14:38:02 GMT
  7. Sender: walt@mathcs.emory.edu
  8. Reply-To: dave.snyder@snide.com (Dave Snyder)
  9. Lines: 39
  10. X-Informix-List-ID: <list.1376>
  11.  
  12. Quoting Kim Tran...
  13.  
  14. ->   I have a form with 2 tables:
  15. ->        - payment
  16. ->        - partner
  17. ->   
  18. ->                        Payment Screen
  19. ->    
  20. ->   Payment_EIN     [f000]
  21. ->   Partner TIN     [f001]      Partner Type [p1]
  22. ->   
  23. ->   Tables
  24. ->      payment
  25. ->      partner
  26. ->   
  27. ->   Attributes
  28. ->      f000 = payment_table.EIN;
  29. ->      f001 = partner_table.tin = payment_table.tin, queryclear;
  30. ->      p1   = partner_table.type, queryclear;
  31. ->   
  32. ->  When I query and hit escape, all the values appear in the appropriate
  33. ->  fields.  But when I hit query again, the partner type field is not cleared
  34. ->  although I use "queryclear" in the attribute section.  I tried:  before
  35. ->  edit, before add, before query and after edit, after add, after query but
  36. ->  it didn't work.
  37.  
  38. Quoting from the SQL manual... "Use the QUERYCLEAR attribute to clear a
  39. joining field on the screen when you enter a Query operation."  The reason
  40. QUERYCLEAR is not working on the Partner Type field is because it is not
  41. a joining field.  As for the second problem about before/after query, this
  42. is why I prefer 4GL.  Perform is limited to one active table at a time.
  43. If your current active table is the "payment_table", you can't do squat
  44. to the fields that are only in the "partner_table".
  45.  
  46. DAS
  47. -- 
  48. David A. Snyder @ Snide Inc. - Folcroft, PA                    Current Release
  49.                                                                is db4glgen-3.7
  50. UUCP:  ..!uunet!das13!dave   INTERNET:  dave.snyder@snide.com
  51.