Hi

I still have a problem with my Crystal report on Windows 98. I used the following command on XP which works perfectly:

For i = 1 To Report.Database.Tables.Count
Report.Database.Tables.Item(i).SetLogOnInfo gstrODBC, gstrDatabase, gstrUser, gstrPassword
Next i

When I transfered the code to a Win'98 PC, I receive the message "Server not yet opened". I tried the LogOnServer command :
Report.Database.LogOnServer "p2ssql.dll", gstrServer, gstrDatabase, gstrUser, gstrPassword

And I still get the same message only this time on Both machines.

Can anyone think of a possible solution...

Thnx