Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ParamBindMode

Status
Not open for further replies.

martinm

IS-IT--Management
Mar 30, 2001
113
GB
This was an ADO problem, but I have changed the data access to BDE
and the problem is still the same.....

D6, XP SP2

So,

I have an app that creates a T(ADO)StoredProcedure at runtime using a TADOConnection, sets the connection/database and creates 3 params.

Problem is, the params are being passed to the stored proc (on Sybase) by position, not name (I have proved this). The BDE version has ParamBindMode explictly set to ByName (but still seems to be using ByPosition), ADO doesn't appear to have a similar property.

Haven't seen this before!

Any ideas?

Cheers,

Martin.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top