>>I tried the DBF() function and the function wouldn't work either.
=> Memory-resident cursor so no file. So how about
Select *,12.45 as rte_base from a_slips into cursor rptfile readwrite where .f.
I'm betting that you then load data from a_slips into this cursor- so maybe you can make the SELECT a lot smarter to get the data straight in there.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1