borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Stored Procedure and NULL Parameters)Next Topic (Passing Font color from form to form) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Open New Word Doc Via Access Solved Topic
Poster Message
bolendercm
Level: Scholar


Registered: 25-10-2005
Posts: 39

icon Open New Word Doc Via Access



Hope everyone is having a good Holiday....!!

I would like to open word via a modal button located on an Access Form.  We have an Electronic log which has inputs that occur during each shift.  On occasion we will have an event that requires a detailed account of what took place during a certain time period.  I don't want to use a memo Field because if you hit enter to go to next line....your done.  Besides, management would like a neatly typed doc, of course, retriveable also .  And............ Eye Candy also helps.    
Any Ideas..........

  

____________________________
C.......................

27-12-2005 at 04:53 PM
View Profile Send Email to User Show All Posts | Quote Reply
Dave Green
Level: Professor


Registered: 20-10-2005
Posts: 90
icon Re: Open New Word Doc Via Access

How about opening a form with a rich text box on it for your user input. When closed this could be saved uniquely (using datetime perhaps) with the name of the file saved to the db.

This can be later opened in Word if required.

Hope this helps

Dave

____________________________
While Breath.Count>0
       Live(gbRelax)
Wend

03-01-2006 at 03:26 PM
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon Re: Open New Word Doc Via Access

Hi,
I agree with Daves suggestion to use a RTB control.
But just to pick up on your comment "if you hit enter to go to next line....your done." I presume you mean that your users are tabbed into the next control instead of inserting a CR+LF into your Memo Field to move to a new line within that field. You can change this behavior to do what you want. Open the property pages for the control that you are using (presumably a TextBox) select the "Other" Tab, then change the property for "Enter Key Behaviour" from "Default" (which Tabs you to the next control in the Tab order) to the other choice in the drop-down list for that property, which is "New Line in Field"
Hope that helps for in the future where you may want Line Breaks in a Text or Memo Field.


____________________________
multi-tasking - the ability to hang more than one app. at the same time.

03-01-2006 at 04:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Open New Word Doc Via Access Solved Topic
Previous Topic (Stored Procedure and NULL Parameters)Next Topic (Passing Font color from form to form) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder