A
Altair Brito
Hello everyone,
I am programming a simple VB6 program to add data to an Access DB and
retrieve reports from it depending on the criteria.
I was trying to create the reports inside VB6 using the DATAREPORTS but I
was unsuccessful because I realized it was hard to create the print outs and
group them. I was not able to group them.
So I then used the Access Reports to create the reports I needed, which
worked beautifully. It gave me all the data I needed, but I don't want users
to open the Access DB and go to reports in order to see them because they
just might mess with other parts of the DB. The problem I'm having right now
is how to printout or show those reports I made from Access in my program.
1. Is there any way you guys can tell me how to do this, or is there another
method to simplify what I plan on doing.? How do I printout Access Reports
from VB6.
2. Is there a way I can create these reports in VB other than in Access.?
3. Using this connection how would I go about grouping it by NAME because
every time I try it gives me an error saying that I tried to use an
operation that did not include ³one of the fields below²:
rs.open "SELECT FROM name, dateadded, credit, debit, paid FROM
customers"
Thank you in advanced for all you help.
Best regards,
Altair Brito
I am programming a simple VB6 program to add data to an Access DB and
retrieve reports from it depending on the criteria.
I was trying to create the reports inside VB6 using the DATAREPORTS but I
was unsuccessful because I realized it was hard to create the print outs and
group them. I was not able to group them.
So I then used the Access Reports to create the reports I needed, which
worked beautifully. It gave me all the data I needed, but I don't want users
to open the Access DB and go to reports in order to see them because they
just might mess with other parts of the DB. The problem I'm having right now
is how to printout or show those reports I made from Access in my program.
1. Is there any way you guys can tell me how to do this, or is there another
method to simplify what I plan on doing.? How do I printout Access Reports
from VB6.
2. Is there a way I can create these reports in VB other than in Access.?
3. Using this connection how would I go about grouping it by NAME because
every time I try it gives me an error saying that I tried to use an
operation that did not include ³one of the fields below²:
rs.open "SELECT FROM name, dateadded, credit, debit, paid FROM
customers"
Thank you in advanced for all you help.
Best regards,
Altair Brito