Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using OLE DB and asp
Message
From
13/10/2001 11:18:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/10/2001 10:54:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00568144
Message ID:
00568154
Views:
15
>I did it , but it doesn't work
You can easily write this in ASP (check DBC path):
Local oRecordset,oConnection
oRecordset = CreateObject("adodb.recordset")
oConnection = CreateObject("adodb.connection")

With oConnection
  .ConnectionString = [Provider=VFPOLEDB.1;Data Source=C:\ddrive\TEMP\testdata.DBC;]
  .Open
Endwith
With oRecordset
  .ActiveConnection = oConnection
  .Source = [select * from employee]
  .Open
Endwith
Do while !oRecordset.eof()
  ? oRecordset.Fields(1).Value
  oRecordset.MoveNext
Enddo
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform