Click here to Skip to main content
15,920,688 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: binding pictures to database Pin
Guerven25-May-06 21:08
Guerven25-May-06 21:08 
QuestionActive Directory Account for Querying... Pin
bighossman25-May-06 11:28
bighossman25-May-06 11:28 
Questioncan you tell me how to compare two DataTables ? [modified] Pin
Mohammed Amine25-May-06 11:20
Mohammed Amine25-May-06 11:20 
AnswerRe: can you tell me how to compare two DataTables ? [modified] Pin
Mekong River25-May-06 16:05
Mekong River25-May-06 16:05 
GeneralRe: can you tell me how to compare two DataTables ? [modified] Pin
Mohammed Amine26-May-06 0:21
Mohammed Amine26-May-06 0:21 
Questionview borders Pin
EddieHarary25-May-06 9:50
EddieHarary25-May-06 9:50 
AnswerRe: view borders Pin
Cliff Wellman25-May-06 11:01
Cliff Wellman25-May-06 11:01 
QuestionUsing Oracle Bind Variables in VB 6 [modified] Pin
Cliff Wellman25-May-06 8:28
Cliff Wellman25-May-06 8:28 
I'm trying to use parameterized queries in VB6. I am using the Oracle ODBC driver version 9.02.00.00. All of the Oracle documentation states that I should be using a colon (: ) to identify the parameter (i.e. :myparam). However, I've found documentation that says I should be using a question mark (?). My code currently works if I have one parameter in a query (i.e. Select name, id, blah from tablename where id=? ). But if I have two parameters (i.e Select name, id, blah from tablename where id=? and blah=?), I receive the following error message.

Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done

Of course this message doesn't help me at all.

Originally, I was expecting to create queries like "Select name,id,blah from tablename where (id= :Id and blah= :Blah) and then Append parameters to the Command object that is executing the query, but that doesn't seem to work.

Any thoughts or ideas are much appreciated.

-- modified at 16:11 Thursday 25th May, 2006
QuestionFOR TO NEXT - LOOP Question Pin
huertj25-May-06 4:46
huertj25-May-06 4:46 
AnswerRe: FOR TO NEXT - LOOP Question Pin
Guffa25-May-06 5:25
Guffa25-May-06 5:25 
AnswerRe: FOR TO NEXT - LOOP Question Pin
arcticbrew25-May-06 7:16
arcticbrew25-May-06 7:16 
AnswerRe: FOR TO NEXT - LOOP Question Pin
huertj26-May-06 4:41
huertj26-May-06 4:41 
QuestionMMC - OCX Page Alignment Pin
YemShivaKumar25-May-06 4:18
YemShivaKumar25-May-06 4:18 
QuestionText only in a textbox Pin
ADY00725-May-06 3:57
ADY00725-May-06 3:57 
AnswerRe: Text only in a textbox Pin
space_doggy25-May-06 5:53
space_doggy25-May-06 5:53 
AnswerRe: Text only in a textbox [modified] Pin
Robo1625-May-06 23:50
Robo1625-May-06 23:50 
AnswerRe: Text only in a textbox [modified] Pin
Mohammed Amine26-May-06 2:05
Mohammed Amine26-May-06 2:05 
Questioncreate runtime odbc for SQL Server Pin
vipinpaliwal198025-May-06 2:46
vipinpaliwal198025-May-06 2:46 
Questionget the flashwindow api to flash form ? Pin
MickYL25-May-06 1:20
MickYL25-May-06 1:20 
AnswerRe: get the flashwindow api to flash form ? Pin
Nibu babu thomas25-May-06 17:26
Nibu babu thomas25-May-06 17:26 
GeneralRe: get the flashwindow api to flash form ? Pin
MickYL26-May-06 19:20
MickYL26-May-06 19:20 
GeneralRe: get the flashwindow api to flash form ? Pin
MickYL25-May-06 23:16
MickYL25-May-06 23:16 
QuestionHow to convert RSA public key into Base64 Encoded string Pin
vij200525-May-06 0:28
vij200525-May-06 0:28 
QuestionHow to preview Report without using crystel reports and export it to any format Pin
nick_net124-May-06 23:27
nick_net124-May-06 23:27 
AnswerRe: How to preview Report without using crystel reports and export it to any format Pin
Leeland25-May-06 4:37
Leeland25-May-06 4:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.