|
-
Jun 15th, 2006, 08:47 AM
#1
Thread Starter
Fanatic Member
-
Jun 15th, 2006, 08:50 AM
#2
Frenzied Member
Re: error?
Is this a database error or a Crystal Reports error?
Beantown Boy
Please use [highlight=vb]your code goes in here[/highlight] tags when posting code.
When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
-
Jun 15th, 2006, 08:59 AM
#3
Thread Starter
Fanatic Member
Re: error?
i dn't knw but that error prompt when i run my report...
noister
<advertising link removed by moderator>
-
Jun 15th, 2006, 09:00 AM
#4
Frenzied Member
Re: error?
 Originally Posted by noielen
i dn't knw but that error prompt when i run my report...
Is your report properly linked to a database table?
Beantown Boy
Please use [highlight=vb]your code goes in here[/highlight] tags when posting code.
When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
-
Jun 15th, 2006, 09:03 AM
#5
Re: error?
Did you search for the error message/code in CR?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 15th, 2006, 09:12 AM
#6
Thread Starter
Fanatic Member
Re: error?
Is your report properly linked to a database table?
yes, i could even drag other fields.
Did you search for the error message/code in CR?
what do you mean Rob? where am i going to search that?
noister
<advertising link removed by moderator>
-
Jun 15th, 2006, 09:12 AM
#7
Re: error?
 Originally Posted by noielen
yes, i could even drag other fields.
what do you mean Rob? where am i going to search that?
Their Help Files.
-
Jun 15th, 2006, 09:15 AM
#8
Re: error?
If you dont find it in CR's help file then try their website http://www.businessobjects.com
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 15th, 2006, 09:16 AM
#9
Thread Starter
Fanatic Member
noister
<advertising link removed by moderator>
-
Jun 15th, 2006, 09:31 AM
#10
Thread Starter
Fanatic Member
noister
<advertising link removed by moderator>
-
Jun 15th, 2006, 09:40 AM
#11
Re: error?
I found these 3 links on database vendor doce errors.
http://support.businessobjects.com/s...q3=0&indexq4=0
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 15th, 2006, 09:43 AM
#12
Re: error?
 Originally Posted by RobDog888
My hat is off to you sir, as you have found precisely 3 more links than I found when I Googled the error message.
All Google turned up were questions nearly identical to this one posted in other forums, but with no answers forthcoming.
-
Jun 15th, 2006, 09:45 AM
#13
Re: error?
I used the Advaned search feature on the CR site.
http://support.businessobjects.com/s...lt.asp_wwwjump
Sounds like the seconmd one may have some relevance but also looks like this is an ODBC error? How are you connecting to your report?
Edit: I didnt know you wore a hat Hack. Thanks
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 15th, 2006, 07:12 PM
#14
Thread Starter
Fanatic Member
Re: error?
How are you connecting to your report?
ADO 2.x, SQL database... i'll check first your link/s.
noister
<advertising link removed by moderator>
-
Jun 16th, 2006, 07:40 PM
#15
Thread Starter
Fanatic Member
noister
<advertising link removed by moderator>
-
Jun 16th, 2006, 07:44 PM
#16
Re: error?
Does the report open the datasource correctly and display the report ok in CR only?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2006, 09:05 PM
#17
Thread Starter
Fanatic Member
Re: error?
Thanks Rob, it seems i have passed the error earlier. I have a new error named "Class does not support automation or does not support expected interface." with the following code
VB Code:
Dim Report As New CrystalReport1
Private Sub cmdview_Click()
Dim i As Integer
Dim StrQry As String
Dim rs As New ADODB.Recordset
Screen.MousePointer = vbHourglass
'HEADER
StrQry = " SELECT * FROM QUOTATION_HEADER WHERE HQUOTENO = '" & "QN-NCL060028-01" & "' "
rs.Open StrQry, conn, adOpenDynamic, adLockOptimistic
'ERROR HERE
Report.Database.SetDataSource rs
'END ERROR
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
rs.Close
Set rs = Nothing
'HEADER
CRViewer1.ReportSource = Report
CRViewer1.Refresh
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
noister
<advertising link removed by moderator>
-
Jun 16th, 2006, 09:25 PM
#18
Re: error?
Ok, I ran into this error before with ADO and CR. Hopefully its the same issue. What version of MDAC is on your system and is it the same one referenced in CR and VB project? If your exe is compiled on a system with, for ex, 2.7 SP1 and you run it on a system with 2.7 you will get that error.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2006, 09:30 PM
#19
Thread Starter
Fanatic Member
Re: error?
sorry Rob i forgot where i can find the MDAC version. under regedit-->...Mircrosoft--->?
i'm not running yet exe. i run the app in my pc where i create the app.
noister
<advertising link removed by moderator>
-
Jun 16th, 2006, 09:32 PM
#20
Re: error?
Hmm, ok. Lets start with identifying the MDAC version. Go to the Microsoft website and download the MDAC Component Checker utility. It will tell you what version you have.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2006, 09:44 PM
#21
Thread Starter
Fanatic Member
-
Jun 16th, 2006, 09:53 PM
#22
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|