Here's a snippet of FoxPro code that I used in the actual detail section in the billing program.
SELECT detail
up = 432
SCAN WHILE na_id = id2run
? psshow( col2, up, detail.Ptype)
? psshow( col3, up, Camp)
? psshow( Col4, up, STR(detail.pl_amount,10), "RIGHT" )
? psshow( Col5...