V4MD 2.0.3fc5
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon May 2 23:16:53 CDT 2005
On 5/2/05 11:10 PM, "Christopher Bishop" <CBishop at alfred.com> wrote:
Hi Christopher,
1) have you try to run OUR examples ?
do not forget set gClient = true, and check host name for your comps.
examples use localhost on default.
2) if still problems, please send to me and CC to Igor some project which
reproduce your problem.
> I'm still having problems using Valentina 2 Server with V4MD, even with
> the new 2.0.3fc5 update. It is the same problem, where I can create and
> open databases, but I can't insert data, and I can't get any results
> using SQL statements.
>
> After executing a sqlselect command like:
>
> gDB.sqlSelect( "select * from eduacc", #kClientSide, #kReadOnly )
>
> it returns void, but the error reporting
>
> if ( Valentina.lastError <> 0 ) then
> return Valentina.lastErrorSymbol
> else
> return 0
> end if
>
> returns 0.
>
>
> __________________
>
>
> To add more to it, I use the following statements:
>
> Valentina = new (Xtra("Valentina"))
> Valentina.InitClient()
> set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432,
> 5, "") gDB.create("newdatabase", 1)
> gDB.createtable("testtable") gDB.table("testtable").createStringField(
> "row1", 20 )
>
> Works fine. Creates a new file, adds the table, adds the field.
>
> I close out and try to add a record.
>
> Valentina = new (Xtra("Valentina"))
> Valentina.InitClient()
> set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432,
> 5, "")
> gDB.open("newdatabase")
> sqlexecute(gDB, "insert into testtable values ('test2')")
>
> Message window gives me
> * V4MD *: VDatabase.sqlExecute()...ERROR: 394504
>
> VServer_NT.exe debugger window gives me
> 15:29:00.361000 (3876): Client has been suddenly disconnected (380)
> 15:29:00.361000 (3876): Closing connection (380)
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list