Stuart McLachlan
stuart at lexacorp.com.pg
Tue Nov 1 00:50:25 CST 2005
On 31 Oct 2005 at 11:49, DWUTKA at marlow.com wrote: > My my my, you lean something new everyday! I never realized that Mid was a > function that you could 'set', like Date(), and Time() > > Go figure. You obviously weren't following the recent thread on creating text files. I gave an example a few days ago using Mid$(): strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) -- Stuart