Versions des environnements
>Thanks for your reply Kevin. I have tried to push data into the report according the example in one of your other posts and I'm getting a blank label for some reason.
>
>oLabelReport.Database.Tables[0].SetDataSource(oLarcsDataSet.Tables["Labels"]);
>
>I have invested in your book by the way.
>
>Hi, first, thanks for getting the book. ;)
>
>On your example - I'm assuming you mean you have a label on the report, bound to a column in the Labels datatable, and the label is blank on the report. If that's the case, can you verify that right before you set the report datasource, that the relevant row in the table does indeed have a value for that column?
>
>Kevin
I'm sorry I didn't word that very well. I have a "labels" table used to store address details that have been formatted for printing. In the test I am working with, the labels table contains a single row of data which I am trying to push into the report as above. When the report is sent to the printer with printtoprinter() the address label I am trying to print is blank ie no data was passed apparently.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement