Right now I use DBF's either SBT 6.0 which are free tables or temporary tables. Then we have an app that use an MSSQL back end. Most of what I do is merging the two. I.e. I move information back and forth, present data in reports and the like. I normally work in VFP 9, but lately have done a bit in ASP.NET using VB. Also write some MSSQL stored procedures and view. I put a lot of the reports into grids.
In VB I do the following
grabline = "Select Distributors.dbo.distributors.dist_id, "
grabline = grabline & " distributors.dbo.distributors.firstname, "
grabline = grabline & " distributors.dbo.distributors.lastname, "
grabline = grabline & " distributors.dbo.distributors.address1, "
grabline = grabline & " distributors.dbo.distributors.address2, "
grabline = grabline & " distributors.dbo.distributors.city, "
grabline = grabline & " distributors.dbo.distributors.state, "
grabline = grabline & " distributors.dbo.distributors.zip, "
grabline = grabline & " distributors.dbo.distributors.phone, "
grabline = grabline & " distributors.dbo.distributors.country "
grabline = grabline & " from distributors.dbo.distributors "
grabline = grabline & " where distributors.dbo.distributors.dist_id = " & mdist_id
GRAB.Open()
Dim grab2 As New SqlCommand(grabline, GRAB)
'
Dim G1 As New SqlDataAdapter(grab2)
Dim G2 As New DataSet
'
G1.Fill(G2, "THEdist")
My question which probably wasn't phrased well was is there something similar to G1.Fill(G2,"Thedist") in VFP? I don't have a problem moving data into VFP but just wondering if there is a faster way then what I use.