home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!ukma!usenet.ins.cwru.edu!agate!rsoft!mindlink!a29
- From: John_Carson@mindlink.bc.ca (John Carson)
- Subject: Re: Dbase III question
- Organization: MIND LINK! - British Columbia, Canada
- Date: Sun, 24 Jan 1993 19:20:07 GMT
- Message-ID: <19992@mindlink.bc.ca>
- Sender: news@deep.rsoft.bc.ca (Usenet)
- Lines: 42
-
- > U56779@uicvm.uic.edu writes:
- >
- > Msg-ID: <93020.210833U56779@uicvm.uic.edu>
- > Posted: Wed, 20 Jan 1993 21:08:3
- >
- > Org. : University of Illinois at Chicago
- >
- > 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.
-
-
- @ 12,12 "Enter Firstname:" get x PICTURE "!XXXXXXXXXXX"
- @ 13,12 "Enter Lastname: " get y PICTURE "!XXXXXXXXXXX"
-
- mname = trim(x)+" "+y
- REPLACE FIRSTNAME WITH x
- REPLACE LASTNAME WITH y
- REPLACE FULLNAME WITH mname
-
- etc etc
-
- You can either store "mname or x and y" into the DBF file or use both.
- I was not going to add all the other stuff just what you may need to get this
- acheived.
-
- John
-
- --
- >>>>>>>>>>>>>>>>>>> John_Carson@MINDLINK.BC.CA <<<<<<<<<<<<<<<<<<<<<
- >> D.John Carson J & H Concepts (604)589-5118 <<
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-