Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP OLE DB - Set deleted ????
Message
From
03/04/2005 18:45:20
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01001117
Message ID:
01001121
Views:
17
Hi Glenn,

The Connection object has a properties collection, you can set it explicitly via these (among others).

On mine for example
oConn = CreateObject("ADODB.Connection")
cConnectString = [Provider=VFPOLEDB.1;Data Source=] + HOME(1) + [Samples\Data\testdata.dbc;] + ;
  [Mode=ReadWrite|Share Deny None;Password="";Collating Sequence=MACHINE]
oConn.ConnectionString = cConnectString
oConn.ConnectionTimeout = 30
oConn.Open
?oconn.Properties.Item("SET DELETED").Value && return .T.
oConn.Properties.Item("SET DELETED").Value = .F.
Whoops, sorry my example is in VFP, but you get the idea :)
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Previous
Reply
Map
View

Click here to load this message in the networking platform