When I run this code I only got a WinFax Pro SEND screen with preview of the report but without any Telephone No or Company name on it. And there are nothing in the OutBox.
I think the report generated by REPORT FORM can't be processed by oWinFax even I used SetPrintFromApp(1).
I use VFP7, WinFax Pro 10 and WinXP, any idea ? thanks.
* My other program use WinFax's BFT function and that's no problem at all.
oWinFax = CreateObject("WinFax.SDKSend"
oWinFax.SetSubject("Test Fax"
oWinFax.SetNumber("1234567"
oWinFax.SetCompany("Some Company"
oWinFax.AddRecipient()
oWinFax.SetPrintFromApp(1)
oWinFax.Send(1)
SET PRINTER TO NAME winfax
create cursor curTest (lTest l)
insert into curTest (lTest) values (.t.)
report form TestFax to printer noconsole
use in curTest
owinfax.LeaveRunning()
owinfax.done()
RELEASE oWinFax
I think the report generated by REPORT FORM can't be processed by oWinFax even I used SetPrintFromApp(1).
I use VFP7, WinFax Pro 10 and WinXP, any idea ? thanks.
* My other program use WinFax's BFT function and that's no problem at all.
oWinFax = CreateObject("WinFax.SDKSend"
oWinFax.SetSubject("Test Fax"
oWinFax.SetNumber("1234567"
oWinFax.SetCompany("Some Company"
oWinFax.AddRecipient()
oWinFax.SetPrintFromApp(1)
oWinFax.Send(1)
SET PRINTER TO NAME winfax
create cursor curTest (lTest l)
insert into curTest (lTest) values (.t.)
report form TestFax to printer noconsole
use in curTest
owinfax.LeaveRunning()
owinfax.done()
RELEASE oWinFax