469,097 Members | 1,513 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,097 developers. It's quick & easy.

Viewing Multiple Crystal Reports

07.02.2007 / 2020 hours.

I am basically working as an astrologer, and have developed my own
software in VB6.0 + Access + Crystal Report 4.6.1.0

What ever I select (I enter code, which automatically displays name on
Label) and after clicking Command button, crystal report is displayed on
screen.

Subsequently I close the report and go in for some other name and view
another report. If this process is continued for 3-4 times, I
experience system (PC) getting hanged.

Could you please suggest me ways and means enable me to come out of this
problem (PC getting hanged).

Data1.DatabaseName = App.Path & "\ASTRO_INFO.mdb"
crystalreport1.ReportFileName = App.Path & "\KUNDALI.rpt"
crystalreport1.DiscardSavedData = True
crystalreport1.SelectionFormula = "({ASTRO_DATA.CODE}) ='" +
txtpatcode.Text + "'"
crystalreport1.WindowState = crptMaximized
crystalreport1.Action = 2

I would be grateful to you all, if you can help me / guide me in this
matter and oblige.

Thanks once again.

Sher Dil.
pa***********@yahoo.co.in

*** Sent via Developersdex http://www.developersdex.com ***
Feb 7 '07 #1
1 2436
If you are using an "Access" database to store data that you retrieve in
your VB6 program, that is a misnomer, and you are actually using a "Jet"
database, which happens to be the default database engine used by Access.
Access is the database UI and development tool, and can use other database
engines, too.

VB6 and Access have a superficial similarity and share the core VBA library
of the programming language, but because the object models are quite
different, you can't always do the same thing in both and expect the same
result.

Further, because Access itself has such a capable Reporting facility, almost
no one uses Crystal Reports with Access, so an Access newsgroup is not
usually a productive source for questions about Crystal.

Larry Linson
Microsoft Access MVP
"Sher Dil" <pa***********@yahoo.co.inwrote in message
news:45*********************@news.qwest.net...
07.02.2007 / 2020 hours.

I am basically working as an astrologer, and have developed my own
software in VB6.0 + Access + Crystal Report 4.6.1.0

What ever I select (I enter code, which automatically displays name on
Label) and after clicking Command button, crystal report is displayed on
screen.

Subsequently I close the report and go in for some other name and view
another report. If this process is continued for 3-4 times, I
experience system (PC) getting hanged.

Could you please suggest me ways and means enable me to come out of this
problem (PC getting hanged).

Data1.DatabaseName = App.Path & "\ASTRO_INFO.mdb"
crystalreport1.ReportFileName = App.Path & "\KUNDALI.rpt"
crystalreport1.DiscardSavedData = True
crystalreport1.SelectionFormula = "({ASTRO_DATA.CODE}) ='" +
txtpatcode.Text + "'"
crystalreport1.WindowState = crptMaximized
crystalreport1.Action = 2

I would be grateful to you all, if you can help me / guide me in this
matter and oblige.

Thanks once again.

Sher Dil.
pa***********@yahoo.co.in

*** Sent via Developersdex http://www.developersdex.com ***

Feb 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Lewis via DotNetMonster.com | last post: by
1 post views Thread by monskie | last post: by
3 posts views Thread by ian_jacobsen | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.