Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

textbox proprty not available

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
laptop - 05 Jun 2005 04:38 GMT
in the documentation, the textbox control should have a property called
'boundvalue'. although i'm not sure yet how to use it, i get a error meaasge
saying invalid property.

what i'm trying to do is set the value of the textbox so it will load in the
text from an external word document.

thanks again
mike g

hoping to get good enough to help others here one day.
Jezebel - 05 Jun 2005 05:24 GMT
You're getting several things mixed up together here. DataBinding is a
technique available in VB (not in VBA) for linking forms and form controls
to a datasource. The idea is that you create a connection between the form
and a recordset; the controls on the form -- such as textboxes -- can then
be bound to specific fields to automatically display or update data from the
current recordset row.

Without going into detail, the BoundValue property relates to how you set up
that binding connection.

You can set up an OLE field to work with the content of a Word document; but
apart from that, to display text from an external document you need to write
code to open the document, extract the text, and close the document.

> in the documentation, the textbox control should have a property called
> 'boundvalue'. although i'm not sure yet how to use it, i get a error
[quoted text clipped - 9 lines]
>
> hoping to get good enough to help others here one day.
laptop - 05 Jun 2005 05:55 GMT
thanks for the explanation.
how about if i set a hyperlink-property for a frame and make it execute when
i click a button. will the frame be filled with an opened external file??
the file is not necesarily text, it's an external word document that i want
loaded into one-container within a document.

mike

> You're getting several things mixed up together here. DataBinding is a
> technique available in VB (not in VBA) for linking forms and form controls
[quoted text clipped - 23 lines]
> >
> > hoping to get good enough to help others here one day.
Jezebel - 05 Jun 2005 06:47 GMT
As with your other post, I thought you were talking about a UserForm. If you
simply want to display one document inside another, use a LINK field. Use
the /a switch to make it update automatically.

> thanks for the explanation.
> how about if i set a hyperlink-property for a frame and make it execute
[quoted text clipped - 41 lines]
>> >
>> > hoping to get good enough to help others here one day.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.