xsharp.eu • create cursor
Page 1 of 1

create cursor

Posted: Wed Sep 30, 2020 1:07 pm
by kevclark64
I often use the CREATE CURSOR command in Foxpro, such as

Code: Select all

CREATE cursor tnline (TestName c(32), rawscore I, Total I, Competence c(25),preparness c(25),Graph G)
CREATE CURSOR creates a temporary file that is deleted as soon as it is closed. It automatically handles creating the actual disk file and then deleting it at the appropriate time. I realize that I could create a file with DBCREATE and then delete it later, but I'm wondering if there's anything in XSharp that more directly corresponds to Foxpro's CREATE CURSOR functionality.

create cursor

Posted: Wed Sep 30, 2020 1:48 pm
by robert

Unfortunately we do not support that (yet).
DbCreate() is the solution at this moment.