home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / bit / listserv / dbasel / 1187 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.3 KB  |  30 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!stanford.edu!bcm!convex!darwin.sura.net!paladin.american.edu!auvm!HAC2ARPA.HAC.COM!VHASS
  3. Message-ID: <9211131736.AA20446@hac2arpa.hac.com>
  4. Newsgroups: bit.listserv.dbase-l
  5. Date:         Fri, 13 Nov 1992 09:36:41 PST
  6. Sender:       "Discussion on the use of the dBase language and related
  7.               dialects" <DBASE-L@NMSUVM1.BITNET>
  8. From:         VHASS%CAT700.gm@HAC2ARPA.HAC.COM
  9. Subject: Re: Recognize Current Field Name
  10. Lines: 18
  11.  
  12. >       I have to write an application where the user would be able to
  13. > see a bunch of records which matches the contents of any given field.
  14. > I should be able to recognize the field name that the user is currently
  15. > editing so that I can read its contents and do a comparison.  Any ideas
  16. > as to how may I be able to achieve it ?
  17.  
  18. > dBASE IV (at least) provides the VARREAD() function for this very purpose.
  19.  
  20.   I tried using VAREAD() and it works fine as long as I move away from
  21. the field after editing the contents of it.  I can't expect the user
  22. to know that one has to edit the field move to the next field and then
  23. press the PROGRAMMED ON KEY to do a comparison.
  24.  
  25.   How can I read the contents of a field after editing without moving
  26. to the next field ? Any suggetions ?
  27.  
  28.  
  29. Vishwa
  30.