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