-
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
-
You could import all the details into a New Form's Labels or TextBox and then:
-
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.
-
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.