how to reset the output path?

sharkdim

Member
Dear all,
i have got some mistake from my program, i think someone can help me to solove them ,
thank you ,

after cim-load the data into QAD system,if the datas have any error ,
i want to output this error data to QAD standard printer type
but ,it's not anything output .
such as

repeat:
input from d:\1.txt
repeat:
recordcount = recordcount + 1.
create tt.
import delimiter ","
tt_location.
assign tt_error = "".
end.
input close.
end.
run function_check . /*the function for checking the data's status*/
run function_mkcimload. /*after check , make cimload file */
/*cim-load by
output to value(temp_filename + ".log").
input from value(temp_filename).
{gprun.i ""**.p""}
input close.
output close.
*/

run function_cimload.
{mfselbpr.i "printer" 80}
for each tt where tt_error <>"":
display tt with width 580.
end.
end.
{mfreset.i} /*or other function*/

/***end******************************/
after this ,i can not find any information to QAD standard print like "local".

can you tell me , how to fix them
thank you very much
 

mariocasas

New Member
Are you using the "batchrun = yes" after the {gprun.i} and the "batchrun = no beffore?.

can you send me the complete program with all functions. i think that i can help you, but i need check the complete program...


regards...
 

shoam.boinus

New Member
Dear all,
i have got some mistake from my program, i think someone can help me to solove them ,
thank you ,

after cim-load the data into QAD system,if the datas have any error ,
i want to output this error data to QAD standard printer type
but ,it's not anything output .
such as

repeat:
input from d:\1.txt
repeat:
recordcount = recordcount + 1.
create tt.
import delimiter ","
tt_location.
assign tt_error = "".
end.
input close.
end.
run function_check . /*the function for checking the data's status*/
run function_mkcimload. /*after check , make cimload file */
/*cim-load by
output to value(temp_filename + ".log").
input from value(temp_filename).
{gprun.i ""**.p""}
input close.
output close.
*/

run function_cimload.
{mfselbpr.i "printer" 80}
for each tt where tt_error <>"":
display tt with width 580.
end.
end.
{mfreset.i} /*or other function*/

/***end******************************/
after this ,i can not find any information to QAD standard print like "local".

can you tell me , how to fix them
thank you very much

Try use "Put" instead of "Display" and add "Skip" at the end of lines.

Best Rgds.
Shoam Boinus
ERP2XLS.com
 
Top