[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/19/2008 at 09:28PM PDT, ID: 23255950
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.7

Transfer Access data to Word

Asked by billcute in Microsoft Word, Microsoft Excel Spreadsheet Software, Access Forms

I am not too sure if the experimentation below is possible, I just want to try it.

User fills an Access form and clicks the Export button to fill the Word Template. I am able to fill on the first two lines of the form successfully.
 
What I will like to do now, is to add the following functionalities such as:
 a checkmark  or a Yes / No entry on the form and:
a circling a word on the Word Template.

Any assistance will be appreciated.

(a). If Access table stores main form's  combo value as either "TA", "TP", "WC", PL, WP, RR, and RP
         ...that is:....cboGroup.column (0).value stored as a four character text value in
         the table as "TA", "TP", "WC", PL, WP, RR, and RP  
           ...eg tblMain.GroupID = TA, tblMain.GroupID = TP, tblMain.GroupID = PL, tblMain.GroupID = WC
           etc.....

       In populating this to FrmTest, how can I change this stored text to a checkbox as required
       on the form assuming that the checkboses are named:
           "chkTA", "chkTP", "chkWC", chkPL, chkWC, chkWP, chkRR, and chkRP
      Note: Only one checkbox can be set to True at any given time.
 
(b). Assuming that I have also other checkboxes in the table stored as checkboxes or "Yes" / "No" how can I print it in the Word template form as either a check mark "X" or as "Yes" or "No"

                    If tblMain.Checkbox = Yes then place an X value in the Word Form
                   with a bookmark Cross Connection Control Approval Notice fields

                (In my example, I only showed one checkbox, there are in fact four checkboxes
                in my original db which I will bookmark in the Word Form)

Note: Only one type can be checked "X" at any given time

*** Please see the attached Word template form for the "Cross Connection Control Approval Notice fields..

Finally.
(c). Finally, how can I place circle around the corresponding  word in the Word Form if
      tbMain.TypeID = DM ( circle Domestic);    or   tbMain.TypeID = FR (circle Fire);
or   tbMain.TypeID = SP (cirdle Sprinkler) or  tbMain.TypeID = SD (Standpipe) or   tbMain.TypeID = CM (Combined)

Note: Only one type can be circled at any given time
***************
Please find attached a sample db with a table and form. Also find attached a Word template Form to provide visuals of the experimentation.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
Here is my current test code for exporting Access data to Word Template Form.
 
Private Sub btnExport_Click()
    Dim objWord As Word.Application
 
    'Start Microsoft Word .
    Set objWord = CreateObject("Word.Application")
 
    With objWord
        'Make the application visible.
        .Visible = True
 
        'Open the document.
        .Documents.Open ("C:\Word\frmTest.dot")
 
      'Move to each bookmark and insert text from the form.
        
        .ActiveDocument.Bookmarks("BlokNo").Select
        .Selection.Text = (CStr(Forms!frmorders!txtBlockNo))
        .ActiveDocument.Bookmarks("LotNo").Select
        .Selection.Text = (CStr(Forms!frmorders!txtLotNo))
        .ActiveDocument.Bookmarks("Address").Select
        .Selection.Text = (CStr(Forms!frmorders!txtAddress))
        .......................................
        '...................etc...
       
    End With
'**************************** Not Needed **************** so delete it******
    'Print the document in the foreground so Microsoft Word will not close
    'until the document finishes printing.
    ' objWord.ActiveDocument.PrintOut Background:=False
 
    'Close the document without saving changes.
    'objWord.ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
'**************************** Not Needed **************** so delete it******
 
    'Quit Microsoft Word and release the object variable.
    objWord.Quit
    Set objWord = Nothing
    Exit Sub
End Sub
Attachments:
 
Open and rename with .dot extension
 
 
Download and rename to .mdb extension
 
[+][-]03/21/08 03:11 AM, ID: 21178932

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 04:07 AM, ID: 21179072

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 04:17 AM, ID: 21179122

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 04:25 AM, ID: 21179137

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 04:35 AM, ID: 21179166

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 04:46 AM, ID: 21179212

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 05:09 AM, ID: 21179339

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 05:30 AM, ID: 21179417

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 06:36 AM, ID: 21179760

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 10:38 AM, ID: 21181591

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 10:41 AM, ID: 21181614

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/21/08 10:49 AM, ID: 21181701

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 10:56 AM, ID: 21181753

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/21/08 08:56 PM, ID: 21184718

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/22/08 02:50 AM, ID: 21185455

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/22/08 03:12 AM, ID: 21185499

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/22/08 03:46 AM, ID: 21185543

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/22/08 05:29 AM, ID: 21185821

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/22/08 05:34 AM, ID: 21185880

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/23/08 03:09 AM, ID: 21189144

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Word, Microsoft Excel Spreadsheet Software, Access Forms
Sign Up Now!
Solution Provided By: GrahamSkan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03/23/08 06:30 AM, ID: 21189510

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/23/08 07:51 AM, ID: 21189746

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/11/08 08:42 PM, ID: 21339738

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 / EE_QW_2_20070628