V4MD Record Count
mohammad moeini
mohammad.moeini at gmail.com
Tue Aug 15 16:44:17 CDT 2006
hi, Tschoatscho
I found my problem,it isn't for our programming code. when i open my
database by director it become damaged because after that valentina studio
cant open it and say(database could not be opened!)),
not!:
1. I close my data base in "on StopMovie" (*.close() )
2. I checked the
sample(V4MD_2\Examples\API_way\Database_OpenAny\database_openAny.dir) and it
has same problem(couldn't open my database and damaged it)
3. before I open database by director valentina studio could open it
thank you for help me
On 8/15/06, Tschoatscho Kettl <ich at medienzar.de> wrote:
>
>
> Hi Mohammad,
>
> > my db have 193,000 record and 900mb.
> > my db is large.
> > in VDBv1 i set bottomsyntax and my project work good.
> > gMyCursor = new( xtra "VCursor", gMyDB.Ref, sql)
> > in VDBv2 if i set bottom syntax my project is hangup
> > gMyCursor = gMyDB.sqlSelect(sql)
>
> there was probably a misunderstanding: I wanted to ask whether you
> check if the cursor object is a valid object:
> if NOT gMyCursor.objectP then
> --do some alert
> else
> put gMyCursor.recordCount
> end if
>
> Greets Tsch.
>
> ---------->
> on stopMovie
> mRemember gRealLife
> updateStage
> no end
>
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list