<quote who="[EMAIL PROTECTED]">
> In a message dated 13/12/2004 15:49:31 GMT Standard Time,
> [EMAIL PROTECTED] writes:
>
> I've  seen 2 ways to read a client key, change the length to 6 digits,
> then
> write  it back out, delete the old one and move on:
>
> EXAMPLE 1 of  2:
> !(FIXEMPNO) - Fix the employee number length
> open '','CUSTEMP' to CF else stopm 'Not'
> select  CF
> 10:   readnext K else stop
> read REC  from CF,K then
> NK =  fmt(K,"R%6")
> write REC on CF,NK
> delete CF,K
> end
> go 10
> end
>
>
>
> Religious discussions aside, would it not be wiser to DELETE first and
> then
> WRITE, just in case K and NK are the same?

It probably would be, but I have an aversion to deleting a record without
having written it out. In this file it doesn't matter as there aren't that
many items. Plus, there's no way the before and after could match.
Visually verified that first.

Karl

>
> Regards
>
> Malcolm Bull
>
> ====================================================================
>
> Remember the websites:
>
> + Books &  training courses for users of Pick & MultiValue systems:
>
> _http://members.aol.com/_ht_a/mbtraining/index.html_
> (http://members.aol.com/_ht_a/mbtraining/index.html)
>
> + Our series of MB-Master Self-Tuition Courses for users of Pick &
> MultiValue systems:
>
> _http://members.aol.com/_ht_a/mbtraining/mbslist.html_
> (http://members.aol.com/_ht_a/mbtraining/mbslist.html)
>
> + Our This is ... series of Books for users of Pick & MultiValue  systems:
>
> _http://members.aol.com/_ht_a/mbtraining/thisis.html_
> (http://members.aol.com/_ht_a/mbtraining/thisis.html)
>
> + PDF versions of our Books & MB-Master Self-Tuition courses for  users of
> Pick & MultiValue systems:
>
> _http://members.aol.com/_ht_a/mbtraining/pdf.html_
> (http://members.aol.com/_ht_a/mbtraining/pdf.html)
>
> + MB-Cyclopfdia for users of Pick & MultiValue systems:
>
> _http://members.aol.com/_ht_a/mbtpublish/index.html_
> (http://members.aol.com/_ht_a/mbtpublish/index.html)
>
> + MB-OnLine Publications for users of Pick & MultiValue  systems:
>
> _http://members.aol.com/_ht_a/mbtexts/index.html_
> (http://members.aol.com/_ht_a/mbtexts/index.html)
>
> + Our SB+ Reference Pages:
>
> _http://members.aol.com/_ht_a/mbtpublish/sbplus.html_
> (http://members.aol.com/_ht_a/mbtpublish/sbplus.html)
>
> + The general Directory to our Training & Consultancy  services:
>
> _http://members.aol.com/_ht_a/mbtraining/directry.html_
> (http://members.aol.com/_ht_a/mbtraining/directry.html)
>
> + Request a No-Obligations Quotation for our Training Products &
> Publications:
>
> _http://members.aol.com/_ht_a/mbtraining/proform.html_
> (http://members.aol.com/_ht_a/mbtraining/proform.html)
>
>
> + Pay for Products or Services with  PayPal:
>
> _http://members.aol.com/_ht_a/mbtraining/payments.html_
> (http://members.aol.com/_ht_a/mbtraining/payments.html)
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
>


-- 
Karl L. Pearson
Director of IT,
ATS Industrial Supply
Direct: 801-978-4429
Toll-free: 800-789-9300 1,29
Fax: 801-972-3888
http://www.atsindustrial.com
[EMAIL PROTECTED]
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to