Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSDE Installation
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00830397
Message ID:
00830822
Views:
34
Ok, not sure what's wrong here. Should'nt I be seeing a cursor in the
Data Session window? nConnHand is > 0.
oCA = CREATEOBJECT("caODBC")

RETURN


DEFINE CLASS caODBC AS CursorAdapter

  PROCEDURE Init
		
    OPEN DATABASE Pubs

    cSelectCmd 	= "select * from authors"
    cConnStr 	= "Driver=SQL Server;Server=MCMPC149;Databaser=Pubs"
    nConnHand 	= SQLCONNECT("cntPubs")

    WITH This
        .DataSource = nConnHand
        .SelectCmd = cSelectCmd
	.CursorFill()
    ENDWITH

  ENDPROC

  PROCEDURE Destroy
    IF This.DataSource > 0
      SQLDISCONNECT(This.DataSource)
    ENDIF
  ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform