I'm not sure what you're after, but if you want to get back a cursor like in VFP, you can't do that. VB has no concept of native data. You'll use either RDO (not recommended) or ADO (recommended).
>Hi All:
> I want to use sql statements instead of using recordset statements to query the data. For example I want use this:
> sele * from mytable where Customer = 'IBM' into cursor ctemp
>
>Is there a way where I can use this statement in VB?
>Thanks
>MA
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer