|
-
Jan 22nd, 2006, 03:21 AM
#1
Thread Starter
New Member
Error in file , unable to connect:incorrect session parameter
Hello !
I am using vb6 and backend MS-Access database and report is created in Crystal Report 8 .My database is password Protected.When i call report through vb code.the code is as below :
cr.DataFiles(0) = App.Path & "\hrs.mdb"
cr.ReportFileName = App.Path & "\rpt Candidates1.rpt"
cr.SelectionFormula = "{Master.Nation_Code}='" & Text(1).Text & "'" & "And {Master.Profession1}='" & Text(2).Text & "'"
cr.ReportTitle = StrConv(Text1.Text, vbUpperCase)
cr.WindowState = crptMaximized
cr.Action = 1
Exit Sub
End If
When it run an error display i.e
"Error in file , unable to connect:incorrect session parameter"
Now what i do ?
Help me as soon as possible.
amir.
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
|