Hi All,
I have an application to launch MS Word mailmerge.
It is using VFP class: mailmrge.vcx
with this command
But, in several PCs the Word window doesn't launch. In other PCs works fine... The VFP ODBC driver has been installed in all the PCs
Is it anything related to Office version? Because I have 2 PC's, both using Word 2013. The one pc is work fine, and the other pc Word doesn't launch.
Does anyone know the problem ?
Many thanks
I have an application to launch MS Word mailmerge.
It is using VFP class: mailmrge.vcx
with this command
Code:
WITH THISFORM._mailmerge
.cAppTitle = "Kontrak Sewa" && application name, used in Alerts
.nWordProc = 1 && word processor (1 = Word 6+; 2 = CommaDelim; or user-defined (see below); default = 1)
.nNewDoc = 2 && is it a new doc (1 = new, 2 = existing; default = 1)
.cdocname=mdrive+mfile
.nTemplate = 1 && type of main document (Word only, 1 = form letter; 2 = label; 3 = envelope; 4 = catalog; default = 1)
.cAlias = ALIAS() && alias of source table or view
ACOPY(aflds, .aAutoFields) && fill in array of field names to be used
.MakeOutput() && do the merge
ENDWITH
But, in several PCs the Word window doesn't launch. In other PCs works fine... The VFP ODBC driver has been installed in all the PCs
Is it anything related to Office version? Because I have 2 PC's, both using Word 2013. The one pc is work fine, and the other pc Word doesn't launch.
Does anyone know the problem ?
Many thanks