home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9329 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.3 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!news.service.uci.edu!unogate!mvb.saic.com!cpva!rfitzgerald
  2. From: rfitzgerald@cpva.saic.com
  3. Newsgroups: comp.databases
  4. Subject: Re: Dbase III question
  5. Message-ID: <13915.2b5fce11@cpva.saic.com>
  6. Date: 22 Jan 93 10:36:00 PST
  7. References: <93020.210833U56779@uicvm.uic.edu>
  8. Organization: Science Applications Int'l Corp./San Diego
  9. Lines: 22
  10.  
  11. In article <93020.210833U56779@uicvm.uic.edu>, <U56779@uicvm.uic.edu> writes:
  12. > I working on a programm where I want to be as easy as possible.
  13. > I created a name field in the .dbf file.  I call it by using
  14. > x=space(20)
  15. >  @12,12 "Enter name " get x picture "!XXXXXXXXXXXXXXXXXXXX"
  16. > read
  17. > This way it will allow user to type name with first letter being
  18. > capitalized.  My question is that is there a way so that last name
  19. > typed after a space within the same field could also have the
  20. > first letter capitalized?
  21. > I would appreciate all the help.
  22. >                                                    -AP.
  23. Hi, and I thought dBASE III was dead!
  24. Here are a few options:
  25. 1) Add a second field for the last name and use the same picture clause as in
  26. the first name.
  27. 2) Write more code after the read to parse the field and capitalize the first
  28. letter of each word.  ie: a loop with a substring command.
  29.  
  30. Richard
  31.