o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Printing the contents of a data grid - Data Report Can be Packaged -

Dear Friends,

I wish to provide a function to print the content of a data grid like that in Excel, including grid lines and column headers. But I don't want to use the capture image method of the grid and send to the Printer object because this is not applicable if the list is longer then the grid height.

So do I need to use data report? I just notice its existenece in the Designers in the Project Explorer of VB IDE. Can the project using DataReport be packaegd up as a standard standalone exe for installing on a new machine?

If special skills or tips are there, please kindly let me know.

Thank you very much for your help

 

Printing the contents of a data grid - Data Report Can be Packaged -
Dear Friends, I wish to provide a function to print the content of a data grid like that in Excel, including grid lines and column headers. But I don't want to use the capture image method of the grid and send to the Printer object because this is not applicable if the list is lo


Printing Data Report in VB 6 -
Hi I developed a database application in VB 6 and included data reports, fed with ado data objects. I tested and it worked fine on my machine (which I used for development). When I packaged and installed on my client's machine, the data report did not print, giving at times error


Printing Data -
What is the best way to print the contents of Data Grid? Do I have to create a report to print it?


Datagrid Printing -
I've seen this asked before, and it looks like it's a real pain. Is there an easy way to print the contents of a data grid in a presentable report, or is there another method that is commonly used to generate a report from datagrid results? Thanks in advance.


printing & MSflexgrid -
hi all: i have this flexgrid on a form that holds data from a dbfile i wnat after finish entering the data to 1 - print the flex grid and its contents containing the table lines and borders 2 - if the data exceeded the height of the page , then make a new page and continue printi


printing a form with msflexi grid control on it -
Hi all, I want to print a form using printform method. I've msflex grid control with data(from sql query) on it.I could print the whole form except flexgrid control with its contents. Instead of printing flex grid control with data in it,i'm getting empty flexgrid contro


Data report printing junk values -
Hello All I am using data report in my project. It is printing some garbage values at the end of one report,when taken with epson1050+ printer. It is printing fine when taken with HP 895c. (I have more than 15 reports, I have this problem in only one report) Please tell me how i c


ADODC and Data Grid -
I have a form with an ADO Data control and a Data Grid 6.0 (OLEDB) (SP5) on it. On the form that calls this form, I set my connections and SQL. The form with the Data Grid on loads and the Grid is populated with data except for the first cell on the grid which is empty? I haven't


Grid and Data Report VS Data Environment -
Please help... I have 2 questions. 1 How do I use Data Report without using Data Environment? 2 Is there any Grid control that allow us to add/edit data in unbound-mode? (as Grid in Excel) Thanks


A simple Data set / grid question -
Morning, I have a data grid bound to a data set. Depending on what row people click on in the data grid I look up data from the data set and populate other controls/variables. I do this using Datagrid1.CurrentRowIndex to match the corresponding data, if someone does a sort on the data


Data report - is there any way to know whether printing of report is successfull -
Hi, In visual basic 6.0 data report, the function DataReport_Error can be used to catch any error while printing the report when ErrObj.ErrorNumber is returned as rptErrPrinterInfo. May I request to let me know, is there any way to know in program whether the print is successfull


[2005] Printing the contents of a grid -
if i have a grid on a form that has got a load of information contained in different columns, is it possible that when a button is clicked it prints out the data that is in the grid in the columns? i am only using the express edition of vs 2005


*Unresolved * Looping Through Data Grid -
Hello, What is the simplest way to print the contents of a data grid control? I am more familiar with the flexgrid, but this is an existing program with a Data grid. Thanks


MS Data Report Printing one Record -
Hello I am using Vb6. I am using data report in my program I have it working but when I print it is printing all the records in the database. I am having troubles with it printing a single record. If there is anyone out there that has had this same problem and know how to correct i


Database Report Generator -
Hi! Hope someone can help me! I'm trying to design a database report generator. Basically the user can select any Access database and a report is then generated based on the contents of the database. The user can also configure the page layout of the report and customise the co


Data report, closing -
How do you close a data report when it looses focus and/or when the print icon onthe data report is clicked to make sure the next printing job is fresh data? God bless, Alvin


multiple report printing -
I need to add a multiple report printing feature for am exiting VB App, using Data Report and Data Environment. Now the app works fine printing one report at a time like this DatEnvAccessDB.PrintBill (10) Me.PrintReport But when I try to loop… ex: For I = 0 to Ubound(


How to create groups in Data report without Data Environment -
Hi everybody, I am trying to use the Data Report Designer to print reports, without using a data environment using : SET Me.Datasource = ADODBRecordset I have succeeded in printing a simple report that just lists out the rows in a table. But I couldn't create a grouping. Is that


Data Report repeats same information -
Selected records from a database are extracted and sent to a Data Report for printing ( frmInfgeneral.show), the first time works..ok, next times when other records are selected from the same database and sent to the Data Report , the previous data remains in the Report. I believe is a


Data Report..repeats same information -
Selected records from a database are extracted and sent to a Data Report for printing ( frmInfgeneral.show), the first time works..ok, next times when other records are selected from the same database and sent to the Data Report , the previous data remains in the Report. I believe is


printing flex grid contents!! -
hi, how can i print the contents of an MSFLEX Grid in vb6. can any one provide me with the code for doing so. thanx in advance. ameena


Reports/Printing HELP! -
I need to write up a report of some type for the sole purpose of printing it out. All the data on the report needs to be set from a DAO recordset. I need help on how to use a report. If DAO can't be used to directly populate text fields on a report, i'll just use all labels and set


Printing report in vb6 data in access -
I have read some very good tutorials on this forum.But there is no one place which solves all printing questions.If someone will please give a step by step guide to printing simple reports in vb6 with database in access it would be very helpful.(with code if possible)as i understand it


Crystal Reports - Need help urgently!!!!! -
I'm using Crystal report v 4.5 with VB6 having a problem when displaying/printing data. report is directly connected to an access database via data control & it always shows old data on the report. Is there a way to refresh report before print it? Please help. Thanks


Printing the contents of a form -
This may be a stupid question but I have a problem. I need to print the contents of a form that contains certian rows from an access database.I need to just the info on the form and I am not sure how to do it. Is there some way to click on the print button on the form and get the m


Printing Vb Data reports! -
Hi all, I am trying to create a printing faciclity for an application that I have written that links, though ADO to a DB. The only practical way of priniting a report seems to be through the data report designer, however this only links to a data environment. I can retrieve the d


Data Report refresh Problem,Plz Help Me -
I have created Data Report which is linked with SQL Server database. my problem is i want to print this report without showing the report. i succeded some part, it means that the report is printing without showing the report with the follwing code datareport1.printreport Wheneve


Crystal Report + VB6 through VPN -
Hi All.. I have an application which is using VB6, Crystal Report 8.5, and Ms.Access 97.... I put VB6 & Crystal report file on ComputerA and Ms.Access on ComputerB... ComputerA and ComputerB is linked through VPN (through internet)... My way of printing report is to calculate


Data Report Generl Error -
I was getting errors Printing my Data Report that the report was too wide for the paper, so I diminished the margins, and I narrowed the report, but now I keep getting a General Error, and I am unable to show, print or refresh the Data Report. I tried changing the margins and width ag


help in Building complex data report -
i am attaching the format of report i want to get printed for each student. there data is in access. Dear friends, i have to print that report on single page, i have to display marks of the student in grid form, secondly student's participation in different activities, that


printing WebBrowser control compatability -
Hi, I have in the past used the Data Report utility to print reports, however, I think that this is the worst thing Microsoft has ever created! You can't even load an image into the Image control on the data report at runtime! (if im wrong here PLEASE correct me). So, I have dec


Urgent !!! data directly from datagrid to crystal report -
i want to create a report in crsytal report, which should show data present in grid of a vb form, (not from the data base as we do usually).... how to do this???


Report printing in VB -
I'm looking for a control to buy that will help me in preparing reports for printing. Specifically I would like to layout my page on a form, and send this form to a printer, and have it position the data intelligently to fit the paper. Making changes to the report layout should then si


Performance Issues: msflexgrid -
I recently changed my program from using .textmatrix() to .additem for adding data into the flexgrid. Reason being, it took about 1 sec per row of data. Now, with the usage of .additem the loading of the data is less than 1 sec for about 10 rows of data (haven't tested more, yet).


Modifying a database using a data grid in VB.NET -
Hi All, I am writing a Visual Basic.NET Windows form application using Visual Studio.NET 2003 and a Microsoft Access Database. I have the contents of a table displaying in a data grid. I wish to modify the data in the data grid and then click a button that updates the database wi


Grid View Refresh -
Hello all! i am new to asp .net therefore i could use some help.. what i have so far is one page in which data is displayed in a grid view.the grid is loaded as the page loads but its contents can after that change (depending on a user's choice from a drop down list.) what i w


Printing of Data Report : Urgent Help Required -
I am printing a report developed via the Data Report designer using the following command - Report_Name.PrintReport True where the first parameter indicates that the Print Dialog Box is to be displayed. Unfortunately, the Print Dialog Box does not appear to be unloaded w


Printing dblist box -
I am trying to print the contents of a dblist box, I have read posts about using the list command but for the databound list box's this command doesn't exist. Is there any way i can print the contents of this. I was thinking about just printing the results straight from the data cont


Data Report and MSHF Grid !!! -
Hi guys, Where can i get step by step guide for create Data Report and MSHF Grid. I dont have Crystal Report. Also i dont want to use Data Environment. Please Advice !!!


Binding Data Grids & Adding References -
It's been a while since I've had VB.Net and even longer since I've had VB6. I'm working in VB6 because I don't have a choice. My questions are: 1) What is the process for binding a data grid, or simply showing a tables contents on a grid? 2) Are there any specific reference