[VSRV][VXCMD] Bug in GetRecordCount

Ken Ray kray at sonsothunder.com
Tue Nov 4 02:24:33 CST 2003


> Ken, these are not all your scripts, right? What about the "valentina"
> routine where in my opinion the actual query takes place?

I'm only trying to get the number of records in a table; in MetaCard,
the only thing I needed to to prior to the code below was to open the
database and get a reference number to the database (storing it in the
global variable gMainDBRef).

That's why it's so odd that I get back 0 as a result in VSRV, but get
the proper number when using the VXCMD in a standalone application.


Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> > I'm trying to get a record count on a table using Valentina
> > Server and it's returning 0 even though there are plenty of
> > records in the table.
> > The same call works when using the VXCMD against a standalone
> > version of Valentina, so I'm not sure if it is the VSRV
> > server or the VXCMD Client that is the problem. Here's the call:
> >
> > global gMainDBRef
> > on mouseUp
> > put
> > Valentina("Database_GetBaseObjectRef",gMainDBRef,"Access") into
tBORef
> > put Valentina("BaseObject_GetRecordCount",tBORef)
> > end mouseUp
> >
> > --> 0
> >
> > Any ideas?
> >
> > Ken Ray
> > Sons of Thunder Software
> > Email: kray AT sonsothunder DOT com
> > Web Site: http://www.sonsothunder.com/
> >
> >
> > _______________________________________________
> > Valentina mailing list
> > Valentina AT lists DOT macserve.net
> > http://lists.macserve.net/mailman/listinfo/valentina
> 
> _______________________________________________
> Valentina mailing list
> Valentina AT lists DOT macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 




More information about the Valentina mailing list