|
-
April 6th, 1999, 06:16 AM
#1
Crystal Report Calls in VB gives error
I am calling a report designed in Crystal Report in a VB Project.
I want to replace the current selection formula by another simple formula
(the same field is being in use)
But it gives the following error
example source
Private Sub Command1_Click()
Dim strSQL As String
strSQL = "{TableName.SerialNo} > " & Val(Text1.Text)
CrystalReport1.ReplaceSelectionFormula strSQL
CrystalReport1.Action = 1
End Sub
Run Time error '20536'
Unable to connect:incorrect log on parameters
HOW TO GO AHEAD?
-
April 7th, 1999, 06:35 AM
#2
Re: Crystal Report Calls in VB gives error
the first thing CR tries to do is log on to the database using the logon parameters you specified.
Obivously something is wrong with those parameters. Make sure you login parameters (username, passwort, database...) are set correctly.
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
|