Article View: comp.databases.xbase.misc
Article #12Padding with 0s
From: rt
Date: Sat, 11 Jun 1994 22:44
Date: Sat, 11 Jun 1994 22:44
19 lines
1308 bytes
1308 bytes
Hello, I am using dBASE III+. I would like to know how I can pad a memory variable with 0s. For example: I would like to store the reccount() into a field in the database. I would start as : mcount=reccount() REPLACE field1 WITH mcount I would like for it to show up as : 00003 instead of 3 in the character field field1. -- My opinion does not reflect that of Temple U. This is because it is made up of a non-reflective material.
Technical Details
Message-ID:
<2tdeoi$ktk@cronkite.ocis.temple.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!cronkite.ocis.temple.edu!astro.ocis.temple.edu!rtShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100e8a,e9c7ff92c0154d6d,start X-Google-Attributes: gid100e8a,public X-Google-Thread: 116288,e9c7ff92c0154d6d,start X-Google-Attributes: gid116288,public X-Google-ArrivalTime: 1994-06-11 15:55:11 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!cronkite.ocis.temple.edu!astro.ocis.temple.edu!rt From: rt@astro.ocis.temple.edu (rt@astro.ocis.temple.edu) Newsgroups: comp.databases.xbase.misc,bit.listserv.dbase-l Subject: Padding with 0s Date: 11 Jun 1994 22:44:34 GMT Organization: Temple University, Academic Computer Services Lines: 19 Message-ID: <2tdeoi$ktk@cronkite.ocis.temple.edu> NNTP-Posting-Host: astro.ocis.temple.edu Keywords: padding X-Newsreader: TIN [version 1.2 PL2]