home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsi!cbnewsh!att-out!ucbeh.san.uc.edu!torbecvs
- From: torbecvs@ucbeh.san.uc.edu
- Newsgroups: comp.databases
- Subject: Re: How does ones...
- Message-ID: <1993Jan23.180224.2539@ucbeh.san.uc.edu>
- Date: 23 Jan 93 18:02:24 EST
- References: <1jrjnaINNkjs@usenet.INS.CWRU.Edu>
- Distribution: world
- Organization: Univ. of Cincinnati
- Lines: 27
-
- In article <1jrjnaINNkjs@usenet.INS.CWRU.Edu>, cxf12@po.CWRU.Edu (Christopher Fenton) writes:
- >
- > ...create a numeric field in DBASE III that doesn't truncated the
- > leading zeros??? Is there a way to fill the leading space with
- > zeros??? I'd make the field a character field, but the numbers
- > get processed further down the line and it create a whole bunch
- > of data type mismatches. Any ideas???
- >
- > Thanx...
- >
- > C. H. Fenton
-
- Dear C. H.,
-
- Are you operating inside a program, or from the <.> prompt?
-
- If inside a program it seems like your best bet would be to go ahead
- and use a character field (use a picture statement to define user input to
- numbers ie. PICTURE "9999999.99"). Then convert this string to a number
- through the use of the VAL() function.
-
- If you are operating from the <.> prompt, sorry I can't come up with
- any useful ideas.
-
- Hope I've been somewhat helpful.
-
- Scott
-