Re: OO4O problem

From: Tronak <jmoreno_at_hag.es>
Date: Mon, 05 Mar 2001 11:58:49 GMT
Message-ID: <ZbLo6.43404$F35.1593131_at_telenews.teleline.es>


I got it!!!!!
I must CreateDynaset specifying ORATYPE_ORAMODE option instead of 0H (default Microsoft mode).
...
Every time I move a parameter from MS to Oracle, it works. It is quite incredible.
"Tronak" <jmoreno_at_hag.es> escribió en el mensaje news:pBxn6.8598$F35.315865_at_telenews.teleline.es...
> Hi all,
>
> I am trying to execute the following code:
> Assumming that_
>
> orstAction is a OraDynaset
> dbMain is a OraDatabase properly opened from a OraSession with no
> errors.
>
>
>
> If orstAction Is Nothing Then
> Set orstAction = dbMain.CreateDynaset("SELECT E.ROWID,E.* FROM
> EMBARGO E", 0&)
> Else
> orstAction.Refresh
> End If
>
> With orstAction
> .AddNew
> !<field>=value
> !<field>=value
> .Update
> End With
>
>
> In UPDATE method VB5 returns ORA-00928 Error: missing SELECT keyword.
>
> Does anyone can help me?
>
>
Received on Mon Mar 05 2001 - 12:58:49 CET

Original text of this message