>>>>Rob, in addition to the solutions the others have suggested, check the list of VFP reserved words and try NOT to use these in tables. Recently people have written about problems with fields named DESC, NUMBER and now DATE and TIME. All of these words are used internally by VFP, so it has trouble figuring out which meaning is the right one.
>>>>
>Hi Barbara...
>I am sending flds with values to the printer using vfp50. I had tried
>?? and that did not work. I have to use ??? for this to work.
>Here is a sample for HP III...
>??? chr(27)+'(10U'+chr(27)+'(s0p16.66h8.5v0s0b0T'
>??? chr(27)+'*p0x0Y'
>??? mytable.name
>??? mytable.address
>I stuff everything in the printer's memory and print everything at one time.
>This code works, but if you have another idea, please let us know.
>Thanks..rob
Rob, you should only be using the ??? triple for printer commands - your 1st to lines. Then use ?? for the data as below:
??? chr(27)+'(10U'+chr(27)+'(s0p16.66h8.5v0s0b0T'
??? chr(27)+'*p0x0Y'
?? mytable.name
?? mytable.address
??? is for Printer commands only. ?? says 'print this data at the present printer position'. ? says 'print this on the next line'
HTH
Barbara