V4MD Record Count

Kirill Pekarov kirill_pekarov at valentina-db.com
Mon Aug 14 16:55:22 CDT 2006


Hi, mohammad.

> gMyDB = new(xtra"VDataBase", #kLocal)
> gMyDB.open(the moviepath &"db\database.vdb")
> gMyCursor = new( xtra "VCursor", gMyDB.Ref, sql)
> recno =gMyCursor.recordCount

> {Script error: Property not found #RecordCound}
Please try following code:

gMyDB = new(xtra"VDataBase", #kLocal)
gMyDB.open(the moviepath & "db\database.vdb")
gMyCursor = gMyDB.sqlSelect(sql)
recno =gMyCursor.recordCount


-- 
With best regards
 Kirill                          mailto:kirill_pekarov at valentina-db.com



More information about the Valentina mailing list