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

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