|
-
Apr 2nd, 2008, 01:38 AM
#1
Thread Starter
New Member
[Vb6 ask] connection code on CR10 to MS SQL Server
Dear Colleagues,
Please do me ur favor to completed this code :
Code:
Private Sub Command1_Click()
Dim rep as CRADXDRT.Report
Dim Cry As New CRADXDRT.Application
Dim SQL As String
Set rep = Cry.OpenReport(App.Path + "\Report\rptCrf.rpt")
SQL = .................................. (Code to connect with SQL Server)
rep.SQLQueryString = SQL
rep.DischardSavedData
CRV.ReportSource = rep
CRV.RefreshEX True
CRV.ViewReport
CRV.Zoom 100
End sub
I'm using StoredProcedure with name "ShowRequisitionCurent"
with Primary key @CurMS
I need VB Code to get connection between VB6 to CR10 using MS SQL database.
Obviously, I Always get a problem with Log on to Server.
-
Apr 2nd, 2008, 07:19 AM
#2
Re: [Vb6 ask] connection code on CR10 to MS SQL Server
Are you just looking for a connection string to SQL Server?
-
Apr 2nd, 2008, 08:06 AM
#3
Thread Starter
New Member
Re: [Vb6 ask] connection code on CR10 to MS SQL Server
 Originally Posted by Hack
Are you just looking for a connection string to SQL Server?
Yes.
-
Apr 8th, 2008, 03:36 AM
#4
Thread Starter
New Member
Re: [Vb6 ask] connection code on CR10 to MS SQL Server
Hey Guys,
I'm still waiting your help .... Please Help Me .... !!!!!!
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
|