General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
i want to ask something about dataenvironment.
is there any different between using coding to declare a cursor and using mouse "click --click " to create a cursor~
i hv create a cursor using below coding:
WITH THISFORM.DATAENVIRONMENT
.ADDOBJECT('CURSOR1','Cursor')
.Cursor1.CURSORSOURCE = CDX_DBF + 'database'
.CURSOR1.ALIAS = 'database'
ENDWITH
With Thisform.GRID
.recordsourcetype = 1
.recordsource = 'database'
EndWith
is there any problem above?! i hv no idea on this, coz if i use mouse to "click-click" to create the cursor , the GRID works, but if i use coding to declare the cursor, it doesn't work~!
can anyone give a hand to me!? THX~
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only