In the menu to print dw_1 script command how to write?
Thank you very much!
CodePudding user response:
Window. Dw_1. Print ()CodePudding user response:
Tried, error!Use dw_1. Print () is also not line!
Thank you very much!
CodePudding user response:
You will divide the clear statusSave there are two ways, one is dw_1. Update, you can remove the dw_1 elements, using SQL insert table,
Print: you said dw_1. Print () is not what is not, no data or an error? Did not data before you print dw_1 retrieve, wrong to write the wrong clearly, a simple "no."
Who knows what you problem
CodePudding user response:
May be the printer didn't set, doubtCodePudding user response:
Save:Dw_1. The update ()
commit;
CodePudding user response:
Window. Dw_1. The update ()commit;
The window name. Dw_1. Print ()
CodePudding user response:
Custom window two events to handle, in the event window handle yourself do?These two events named
Ue_save
Ue_print
Menu write
//save:
Parentwidow. Dynamic event ue_save ()
//print:
Parentwidow. Dynamic event ue_print ()
CodePudding user response:
In addition, despise the 0CodePudding user response:
The sixth floor rightCodePudding user response:
Long ls_ret, retIf printsetup ()=1 then
Return
End the if
Ls_ret=printopen ()
Ret=printdatawindow (ls_ret dw_1)
If ret=1 then
PrintClose (ls_ret)
Close (the parent)
The else
Messagebox (" ", "printing failed, please check!" )
Return
End the if
CodePudding user response:
If dw_1. The update ()=1 thencommit;
The else
The rollback.
End the if
Dw_1. Print ()