I'm attempting to take a character string out of a database and pass it to my printer as a control string. When I use PUT CONTROL CHR(27) "m", with the values hard-coded, it works fine. Once I try to reference the character database field or a variable, the string no longer works. I can also use :
Define Variable w-Control as character.
w-Control = Chr(27).
w-control = w-control + "m".
Put control w-control.
But since I need to retrieve the control string from the database, I can't use either hard-coded version. Any help on this would be greatly appreciated. My deadline is coming up fast!
Stacy
Define Variable w-Control as character.
w-Control = Chr(27).
w-control = w-control + "m".
Put control w-control.
But since I need to retrieve the control string from the database, I can't use either hard-coded version. Any help on this would be greatly appreciated. My deadline is coming up fast!
Stacy