Re: can I use ADO connection in VFP 6.0....??
- From: <Chevy74>
- Date: Wed, 15 Jun 2005 13:38:33 -0500
thank you Cindy,
I'm looking for a way to call a SQL Server Stored Procedure through ADO.
I know how to do in VFP 6.0 with sqlexecute() but I don`t like to build the
"execute mySP pro1 , prm2" string, I prefer ADO because of the parameters
array, I try to prevent SQL injection-:)
Eusebio.
"Cindy Winegarden" <cindy_winegarden@xxxxxxx> escribió en el mensaje
news:eHsdbRGcFHA.2288@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Eusebio,
>
> Although you can use ADO in VFP, Visual FoxPro accesses data natively.
>
> *-- Open a table
> Use Customers In 0 Order CustID
> *-- Find a record
> Seek 123
> *-- Change some data
> Replace CustName With "Fred" ;
> For CustID = 123
> *-- Another way to change data
> Update Customers ;
> Set CustName To "Fred" ;
> Where CustID = 123
> *-- Close the table
> Use In Customers
>
> Can you describe in more detail what you want to do with your data?
> --
> Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
> cindy_winegarden@xxxxxxx www.cindywinegarden.com
> Blog: http://spaces.msn.com/members/cindywinegarden
>
>
> <Chevy74> wrote in message news:OXNHy$FcFHA.1404@xxxxxxxxxxxxxxxxxxxxxxx
>
> > I'm a Visual Basic developer but now I need to make an app in Visual Fox
> > Pro
> > 6.0, my questios is if I can use ActiveX Data Objects (ADO) in VFP and
if
> > so
> > an exmple o a link....
>
>
.
- Follow-Ups:
- Re: can I use ADO connection in VFP 6.0....??
- From: Cindy Winegarden
- Re: can I use ADO connection in VFP 6.0....??
- References:
- can I use ADO connection in VFP 6.0....??
- From: Chevy74
- Re: can I use ADO connection in VFP 6.0....??
- From: Cindy Winegarden
- can I use ADO connection in VFP 6.0....??
- Prev by Date: How to export a report to xls, html, etc format?
- Next by Date: RE: How to export a report to xls, html, etc format?
- Previous by thread: Re: can I use ADO connection in VFP 6.0....??
- Next by thread: Re: can I use ADO connection in VFP 6.0....??
- Index(es):
Relevant Pages
|