Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Stored Procedure Compatibility
Message
From
03/07/2001 10:29:57
 
 
To
03/07/2001 09:41:53
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00526199
Message ID:
00526272
Views:
14
>Hi John,
>
>I thought the problem with the automatic refresh of parameters is that it doesn't work on Oracle.
>
>You usually get the error "Provider cannot derive parameter information"
>On Both OLE-DB Providers. MSDAORA and OLEDBORA..
>
>
>**OK..
>oCommand.CommandType = ADCMDSTOREDPROC
>oCommand.CommandType = 4
>oCommand.commandtext = "NumConv"
>oCommand.parameters.refresh
>
>**Gives error
>oCommand.CommandType = 1
>oCommand.commandtext = "select * from styles where mainkey=?"
>oCommand.parameters.refresh
>
>
>
>When I tried to lookup the error I noticed strangely the parameters.refresh works for procedures and not select statements.
>
>I think I might look into this further because it would solve all my problems.
>I didn't think it worked..
>
>Thanks

I haven't tested with Oracle but you could check the .parameters.count to see if the collection has been populated or not.
Previous
Reply
Map
View

Click here to load this message in the networking platform