Visual Basic - DISENAR UN DATAREPORT? Y FILTRARLE LA INFORMACION

Life is soft - evento anual de software empresarial
 
Vista:

DISENAR UN DATAREPORT? Y FILTRARLE LA INFORMACION

Publicado por ROBERTO (70 intervenciones) el 26/09/2001 18:59:55
SRES.

ALGUIEN PUEDE AYUDARME?
ESTOY HACIENDO MI PRIMERA APLICACION EN VB.
Y ESTOY EN LOS DATAREPORT.
COMO PUEDO DISE;AR UN DATAREPORT CON CODIGO? (ME GUSTARIA HACERLO CON CODIGO) Y "FILTRAR" LA INFORMACION QUE ME PRESENTE?

MUCHAS GRACIAS POR SU ORIENTACION.

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:DISENAR UN DATAREPORT? Y FILTRARLE LA INFORMACI

Publicado por Lobo (15 intervenciones) el 26/09/2001 23:43:10
si ocupas una sola base de dato no tendras problemas, con el siguiente codigo y usando el adodc:

Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51; Data Source= <ruta de la base de dato>"
Adodc1.RecordSource = "select * from <tabla> where <condiciones> order <campos de orden>"
Adodc1.Refresh
Set DataReport1.DataSource = Adodc1

DataReport1.Sections(3).Controls("< texto>").DataField = "<nombre del campo>"
DataReport1.Sections(3).Controls("<texto>").DataField = "<nombre del campo>"
..., todos los campos a mostrar por text

DataReport1.show

espero que te sirva
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:DISENAR UN DATAREPORT? Y FILTRARLE LA INFORMACI

Publicado por Lobo (15 intervenciones) el 27/09/2001 18:11:47
Disculpa, pero te evio a tu correo algo que creo que AHORA si te puede servir
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar