>I would like to dump the contents of a text file into a field in a report. Data is in: 'c:\ccsafe\eText.txt' I am hung up on all of the quotes, parenthesis and evals).
>Thanks, Randy
Randy,
local lcVar
lcVar = filetostr('c:\ccsafe\eText.txt')
Use this local variable in your report. The report still should be driven by the cursor. If you just want the text file on your report and nothing else,
create cursor Report_Cursor (mText M)
insert into Report_Cursor values (m.lcVar)
If it's not broken, fix it until it is.
My Blog