Advertisement

05.05.2008 at 10:52AM PDT, ID: 23377124
[x]
Attachment Details

Execute Query with Parameters from VB 6 to Access

Asked by Sheritlw in Visual Basic Programming, Microsoft Access Database, SQL Query Syntax

Tags: VB 6 and MSAccess

Hi,

I have a connection object in VB 6 and a stored procedure (query) in Access that inserts a new record.  I need to send in 4 parameters and having problems getting it to work using Access as a backend.
My latest attempt is
goConn.Execute "EXEC InsertCopiedSchedule(LColumnID, iStart, dStart, LApptID)"
I keep getting an error that there is a syntax error in the parameters clause.  I know the procedure works in the Access db, I just can't get it to execute without errors from the VB 6 front end.
ThanksStart Free Trial
[+][-]05.05.2008 at 11:15AM PDT, ID: 21501848

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.05.2008 at 05:31PM PDT, ID: 21504010

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Access Database, SQL Query Syntax
Tags: VB 6 and MSAccess
Sign Up Now!
Solution Provided By: harfang
Participating Experts: 4
Solution Grade: A
 
 
[+][-]05.05.2008 at 09:09PM PDT, ID: 21504705

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.05.2008 at 09:53PM PDT, ID: 21504852

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.06.2008 at 07:59AM PDT, ID: 21507846

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.29.2008 at 12:36PM PDT, ID: 21895213

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.27.2008 at 12:44AM PDT, ID: 22097578

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.27.2008 at 02:03AM PDT, ID: 22097765

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.27.2008 at 02:08AM PDT, ID: 22097774

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.27.2008 at 03:12AM PDT, ID: 22097885

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 05:06PM PDT, ID: 22134548

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628