Results 1 to 4 of 4

Thread: Printing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    126

    Printing

    i have a form (Form1) linked to an adodc (adodc1) which is linked to an access table (Customers) what i want is the ability for the user to press a print button on the form which will print the current record in a report format. Can u help

    thanx

    renos
    beginner

  2. #2
    Frenzied Member mxnmx's Avatar
    Join Date
    Dec 2001
    Location
    I'm back...now!!!
    Posts
    1,396
    You could import all the details into a New Form's Labels or TextBox and then:

    VB Code:
    1. Form1.PrintForm

  3. #3
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Or probably use Crystal reports (if you have) or data report at least to make it look little bit better. Cause when you gonna print the entire form with data, it would look little awkward and I do not think he wants to print form with data.

  4. #4
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    another solution could be the use of rich text box. Build a string with all your data in it. The data should be properly indented and spaced. You also should have headers in it. Headers for fields i mean.

    Something like this ...


    Emp ID Emp Name Emp Phone

    1 Test 334-220-2222

    Its not indenting here properly but i hope you got my point.
    Put this in rich text box and then use print command of rich text box.

    Richtextbox.selprint or something.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width