At design time, you would have logged into the Oracle Server when launching the report. When connecting from VB, you would have to specify the connect string in the connect property of the Crystal Report Control or before invoking the
Action method in the VB Code,
set the connect string, Your code should be something like this:


CRep1.Connect = "UID=scott;PWD=Tiger;DSN=TestDB"
CRep1.Action = 1



Replace Scott/Tiger and Test DB with the respective Oracle User Id/Password and DSN Name.

Happy New Millineum