PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Calling a Stored Procedure inside mysql

Reply

Calling a Stored Procedure inside mysql

 
Thread Tools Rate Thread
Old 13-03-2006, 11:26 PM   #1
=?Utf-8?B?Q29tcHV0ZXIgTmV3Ymll?=
Guest
 
Posts: n/a
Default Calling a Stored Procedure inside mysql


Hi, I am assisting someone trying to look up information for the following
question.
Please keep in mind that he is computer tech savvy and I am not. If this
question does not apply to you could you please direct me to the department
that would best handle this question.

How do I call a stored procedure inside my sql with a vba script inside
Microsoft outlook?

Thank you for taking the time.

  Reply With Quote
Old 14-03-2006, 06:48 PM   #2
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
 
Posts: n/a
Default RE: Calling a Stored Procedure inside mysql

You would call it the same way from any application that can run VBScript;
there would be no difference in Outlook. Your question is essentially ADO
related. Stored procedures are typically run this way with vbscript:

Dim conThis
Set conThis = CreateObject("ADODB.Connection")

conThis.Open "myconnectionstring"
conThis.Execute "MyStoredProcedureName"


--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Computer Newbie" wrote:

> Hi, I am assisting someone trying to look up information for the following
> question.
> Please keep in mind that he is computer tech savvy and I am not. If this
> question does not apply to you could you please direct me to the department
> that would best handle this question.
>
> How do I call a stored procedure inside my sql with a vba script inside
> Microsoft outlook?
>
> Thank you for taking the time.
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off