I was starting CAL 2 weeks ago,…
So My company wanna this function;
I Use Microsoft Word Automation.
When I select the some fields in our Field table then this functions auto create the Microsoft Word.Fields.
CREATE(wdApp); //Automations
TemplateName := ('c:\Customer.dot'); //File
wdDoc := wdApp.Documents.AddOld(TemplateName);
wdApp.ActiveDocument.Fields.Add; //Add Field
IF customer.active= Ture THEN // KEY
REPEAT // Repeat Start
wdApp.ActiveDocument.Fields.Add(Field Name); //Add Field by Field Name
UNTIL NEXT=0; // Until 0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
I was starting CAL 2 weeks ago,…
So My company wanna this function;
I Use Microsoft Word Automation.
When I select the some fields in our Field table then this functions auto create the Microsoft Word.Fields.
But this code Don’t working. why?
Please Can you Help Me….