Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and word97 error
Message
From
30/04/1998 13:25:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/04/1998 11:21:15
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095638
Message ID:
00096052
Views:
26
>Hello Lou Harris,
>
> I Thank you to try help me but i did what you write to me and i didn't success, but the VFP don't shows me a error message and my word document don't had changes
>
>thanks
Hi Ander,
oWordDocument=createobject("word.application")	&& Create word object
with oWordDocument
	with oWordDocument.wordbasic
		.appshow
		.fileopen("c:\temp\ander.doc")
	endwith
	.ActiveDocument.variables("Cidade").value = "Porto Allegre"
	For ix= 1 to .ActiveDocument.Fields.count
    	if at("Cidade",.ActiveDocument.Fields(ix).Code.text) > 0
        	.ActiveDocument.Fields(ix).Update
	EndIf
	Next
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform