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

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!ukma!usenet.ins.cwru.edu!agate!rsoft!mindlink!a29
  3. From: John_Carson@mindlink.bc.ca (John Carson)
  4. Subject: Re: Dbase III question
  5. Organization: MIND LINK! - British Columbia, Canada
  6. Date: Sun, 24 Jan 1993 19:20:07 GMT
  7. Message-ID: <19992@mindlink.bc.ca>
  8. Sender: news@deep.rsoft.bc.ca (Usenet)
  9. Lines: 42
  10.  
  11. > U56779@uicvm.uic.edu writes:
  12. >
  13. > Msg-ID: <93020.210833U56779@uicvm.uic.edu>
  14. > Posted: Wed, 20 Jan 1993 21:08:3
  15. >
  16. > Org.  : University of Illinois at Chicago
  17. >
  18. > I working on a programm where I want to be as easy as possible.
  19. > I created a name field in the .dbf file.  I call it by using
  20. > x=space(20)
  21. >  @12,12 "Enter name " get x picture "!XXXXXXXXXXXXXXXXXXXX"
  22. > read
  23. >
  24. > This way it will allow user to type name with first letter being
  25. > capitalized.  My question is that is there a way so that last name
  26. > typed after a space within the same field could also have the
  27. > first letter capitalized?
  28. > I would appreciate all the help.
  29. >
  30. >                                                    -AP.
  31.  
  32.  
  33. @ 12,12 "Enter Firstname:"  get x                  PICTURE "!XXXXXXXXXXX"
  34. @ 13,12 "Enter Lastname: "  get y                  PICTURE "!XXXXXXXXXXX"
  35.  
  36. mname = trim(x)+" "+y
  37. REPLACE FIRSTNAME WITH x
  38. REPLACE LASTNAME WITH y
  39. REPLACE FULLNAME WITH mname
  40.  
  41. etc etc
  42.  
  43. You can either store "mname or x and y" into the DBF file or use both.
  44. I was not going to add all the other stuff just what you may need to get this
  45. acheived.
  46.  
  47. John
  48.  
  49. --
  50. >>>>>>>>>>>>>>>>>>> John_Carson@MINDLINK.BC.CA <<<<<<<<<<<<<<<<<<<<<
  51. >>        D.John Carson    J & H Concepts   (604)589-5118         <<
  52. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  53.