From sunshine at public.kherson.ua Tue Mar 1 01:03:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 17:03:34 2005 Subject: Question about multiple cursors In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C75F@srv.Logram.local> Message-ID: On 2/28/05 11:24 PM, "Roger Amar" wrote: Hi Roger, > I have global variables called CursorRef, TitlesCursorRef, > VolumesCursorRef > > 1st NewCursor command put a cursor ref into TitlesCursorRef > 2nd NewCursor command put another cursor ref into VolumesCursorRef > > And then I change cursor by putting one of them into CursorRef. > > May I do such thing ? You mean that you have 2 cursors alive in the same time, And you use CursorRef as switcher between them? Yes you can do this of course. Ref -- this is an just integer internally it is a C++ pointer to our C++ object. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 1 01:06:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 17:06:47 2005 Subject: Database becoming corrupted on client computer In-Reply-To: Message-ID: On 2/28/05 10:30 PM, "Trevor DeVore" wrote: Hi Trevor, Have I correctly understand that as "corruption" you mean problem " Minor problem: exists 17 orphan segments" ? Well, this is NOT fatal problem absolutely! Database still is alive and can work. - How you can use this? For example you have fldBLOB.WriteRecord( data ) tbl.AddRecord() << - but this line was not executed. May be because of error in other field, may be because you have some if() around AddRecord. > In the last several weeks I have received reports from two customers > about a problem with some of our software and I am stumped as to what > is causing it. The problem only occurs on a screen that accesses the > "People" portion of our valentina database (We are using the XCMD with > Revolution and the clients are running XP). Our software only reads > from the database in the software, no writes at all. Both clients are > running Windows XP on P4 with > 3 GHZ processors. One computer has 2 > GB of RAM, the other has 4GB of RAM. One is a Dell, the other is > AlienWare area-51. > > I had one of the clients send me his database and a diagnose shows that > the "People" table is becoming corrupted on his computer. Below I've > included a diagnose from the db we shipped with the product followed by > a diagnose of the table form the db the customer sent me. I also > included an XML description of the table. > > The Biography field is saying that it has orphan segments. I remember > running into this problem during development if I indexed a field by > words but didn't check the index box in the Valentina Carbon app. > > Does anybody have any idea what might be causing such a problem? I'm > wondering if perhaps the >= 2GB of RAM might be the culprit since we > have few if any customers that would have that much RAM installed. It > is the only thing that really sticks out. > > Thanks for any insight anyone has. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 1 01:25:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 17:25:05 2005 Subject: Database becoming corrupted on client computer In-Reply-To: <8ee0306cd7bed63cdeee1593b0327549@mangomultimedia.com> Message-ID: On 3/1/05 1:14 AM, "Trevor DeVore" wrote: >> Hi Trevor, >> >> Have I correctly understand that as "corruption" you mean problem >> " Minor problem: exists 17 orphan segments" >> ? >> >> Well, this is NOT fatal problem absolutely! >> Database still is alive and can work. > > OK. I was hoping that would explain why this table was not returning > data on these two client computers. Every part of our software works > except for the portions that access this table. Like I said, we've > only had 2 reports of this so I'm trying to find out what the variable > is. > >> - How you can use this? >> >> For example you have >> >> fldBLOB.WriteRecord( data ) >> >> tbl.AddRecord() << - but this line was not executed. >> >> May be because of error in other field, may be because you have >> some if() around AddRecord. > > In the db I distribute to customers no writes are done, just reads so I > don't know how that error occurred. Hmm. So you have prepare db and send it to customers? And this db is NEVER changed? Then 1) I recommend set flag ReadOnly in the Finder or WinOS 2) check db on your side. Its diagnose is fine ??? then it looks somehow db is changed. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From snw at paradise.net.nz Tue Mar 1 16:54:20 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Feb 28 22:00:59 2005 Subject: Storing a pdf file. In-Reply-To: References: Message-ID: <6.2.0.14.2.20050301164342.037a43f0@pop3.paradise.net.nz> >I have a lot of pdf files that I'd like to write an app to manage. What's >the best way to store and retrieve a pdf file in a database? When I want >to view a file I'd like to just create a temporary pdf from the data stored. > >I'd like to do it that way to make the files more transportable. Or should >I just save relative references to the files. Which development environment/Valentina API are you using? In general, I'd envisage reading in the binary data and storing it in a blob field with a corresponding varchar field holding the original document name. When requested, write out the binary data (assigning necessary creator/type info if needed on a Macintosh - or will the raw binary be enough to re-create this?) and open/display the file. From snw at paradise.net.nz Tue Mar 1 18:15:09 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Feb 28 23:15:25 2005 Subject: Storing a pdf file. In-Reply-To: <8dbbfae831abaeeab4fa6f7378ab1e6d@panamind.com> References: <6.2.0.14.2.20050301164342.037a43f0@pop3.paradise.net.nz> <8dbbfae831abaeeab4fa6f7378ab1e6d@panamind.com> Message-ID: <6.2.0.14.2.20050301181224.04155b70@pop3.paradise.net.nz> >A blob field will store binary data from a binarystream? Ruslan would know for sure, but my understanding is that it will (AFAIK, the first b stands for binary...) Perhaps you could give it a quick try? From fb at memedia.de Tue Mar 1 10:00:31 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Mar 1 03:00:54 2005 Subject: V4RB getting started Message-ID: Hi list, I am new to RealBasic and making my first Steps I have copied the Valentina plug-ins to the realbasic plugin folder but when I do a valentinaInit(), I get "this method does not exist". I copied the code from the V4RB tutorial: Sub Open() dim Err as integer // init database kernel of Valentina Err = ValentinaInit( 3 * 1024 *1024, "", "" ) if Err <> 0 then MsgBox "Valentina was not initialized !!! Error: " + Str(Err) end if #if DebugBuild // You can set it to 2 to use DCon err = ValentinaDebugON(1) #endif End Sub What's wrong? From sunshine at public.kherson.ua Tue Mar 1 13:12:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 1 05:12:22 2005 Subject: Vserver DEMO license files for March uploaded Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 1 13:52:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 1 05:52:23 2005 Subject: V4RB getting started In-Reply-To: Message-ID: On 3/1/05 11:00 AM, "Florian Bogeschdorfer" wrote: Hi Florian, First of all it is good idea to run V4RB example to see they work. > I am new to RealBasic and making my first Steps > > I have copied the Valentina plug-ins to the realbasic plugin folder but when > I do a valentinaInit(), I get "this method does not exist". I copied the > code from the V4RB tutorial: You have self create folder "plugin"? It should have name "plugins" Better self study examples. Tutorial is out of date in some places. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Mar 1 13:09:16 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Mar 1 06:09:27 2005 Subject: V4RB getting started In-Reply-To: Message-ID: Hi Ruslan! > First of all it is good idea to run V4RB example to see they work. They don't. > > > I am new to RealBasic and making my first Steps > > > > I have copied the Valentina plug-ins to the realbasic plugin folder but > when > > I do a valentinaInit(), I get "this method does not exist". I copied the > > code from the V4RB tutorial: > > You have self create folder "plugin"? > > It should have name "plugins" Yes it has and it already existed. What exactly must i put there? "V4RB_Client", right? Best regards, Florian From sunshine at public.kherson.ua Tue Mar 1 23:19:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 1 15:19:47 2005 Subject: V4RB getting started In-Reply-To: Message-ID: On 3/1/05 2:09 PM, "Florian Bogeschdorfer" wrote: >> It should have name "plugins" > > Yes it has and it already existed. What exactly must i put there? > > "V4RB_Client", right? For client yes. For LOCAL V4RB, you need just V4RB.rbx -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 1 23:21:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 1 15:21:39 2005 Subject: Database becoming corrupted on client computer In-Reply-To: <881399b33ab93a9f80bb2418a99d5a91@mangomultimedia.com> Message-ID: On 3/1/05 1:54 AM, "Trevor DeVore" wrote: Hi Trevor, >> Hmm. So you have prepare db and send it to customers? >> And this db is NEVER changed? >> Then >> >> 1) I recommend set flag ReadOnly in the Finder or WinOS >> >> 2) check db on your side. Its diagnose is fine ??? >> then it looks somehow db is changed. > > Sorry, I'm a moron. This software db is modified on the client side (I > was thinking of another product), but this table is not modified > directly. Should modifying another table in the database possible > cause errors in another table? No. > I guess more importantly, could the errors in the "People" table that I > included in my first email cause SQL calls to return no records? No, I do not think so. Orphan segments in BLOBs can be born, if you have WRITE some data into BLOB field, but did not "fix" this chnages using T.AddRecord() or T.UpdateRecord() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Wed Mar 2 00:13:01 2005 From: Roger at logram.com (Roger Amar) Date: Tue Mar 1 17:13:32 2005 Subject: Rev standalone with VXCMD Message-ID: <028383377603B34D9728A1E80EA9B43B06C76C@srv.Logram.local> Hi Chris, Thank you for your kind help. I cannot find solution to resolve this problem. The Valentina version, the defaultFolder and the externals are exactly like those of the project, as it was appearing in an answer dialog I inserted in the startup script. I removed handlers called automatically like mouseEnter, etc. I noticed that every time I want to put one of my 2 cursors into a global variable, it crashes. Ruslan said that I can have several cursors alive and switch them via a global variable. When I remove this switching, the standalone opens but naturally, I can do nothing because I have no valid cursor ref. On another hand I cannot remove this switching process which is the basis of all my work. I changed the name of the global variable CursorRef because I was thinking that it could be a reserved word in Win32. I tried to load all the libraries in the standalone settings. I replaced the Valentina dll by an old one... I cannot figure out while this project compiles to a Mac standalone and works perfectly. Thanks to all of you for your kind help. I cannot drop myself from the 20th stage since there are no stages here ! Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Chris Sheffield Envoy? : lundi 28 f?vrier 2005 20:12 ? : Valentina Developers Objet : RE: Rev standalone with VXCMD Hi Roger, I'm not sure if you ever found a response to this question or not, but it has been my experience that in order to make this work you *have* to set the externals property of your stack, even if the external is located relative to your standalone. If that's the case, simply set it to "VXCMD_Win_MC.DLL" with no other path. And Robert is correct in that the VXCMD.dll file that gets copied by the Rev standalone builder is an older file that's included with the Rev distribution. So if you want that updated you'll need to copy the latest file in manually. Just make sure that the name of the file is the same as what's set in the enternals property of your stack. Hope that helps, Chris Sheffield --- Roger Amar wrote: > Thank you, Robert. > > As regard the MacOS standalone, I found the solution > : the CODE resource Valentina was not duplicated in the standalone > resource fork by the standalone maker. Adding it manually made > standalone working normally. > > However, the problem with the Win32 standalone is remaining. > In my startup handler, the path to > "VXCMD_Win_MC.DLL" is relative, so, in theory, it must be found by the > standalone. > (I was obliged to set a flag in the rev handler SavingStandalone that > I added to avoid a double startup with error 32, etc.) > > In fact, the standalone maker put "VXCMD.dll" in the standalone folder > in place of "VXCMD_Win_MC.DLL" and then I get the "Execution error" > dialog. (I do not know where "VXCMD.dll" is found !) When I added the > "VXCMD_Win_MC.DLL" into the standalone folder, removing or not > "VXCMD.dll" , I get a system error "Windows exception not handled" > and the standalone does not launch. > > Do you have any idea ? > Thanks in advance, > > Roger; > > > > > > > > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] De la part de Robert > Brenstein Envoy? : samedi 26 f?vrier 2005 19:53 ? : Valentina > Developers Objet : Re: Rev standalone with VXCMD > > >Hello, > > > >I have a Rev project using VXCMD which works fine. > >I built standalones for MacOS and Win32. > >When I launch them, I get a blank dialog with > "Execution error" and of > >course, the standalones do not work. > >Is there anything special to do with VXCMD before > building a Revolution > >standalone ? > > > >Thanks for your help, > > > >Roger; > > My first guess is that the paths to vxcmd external are different. You > may need to set the external property in the startup handler. Since > startup is not called in ide, there will be no conflict between > development and standalone. > > Robert > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From guillermo at parsec.info Wed Mar 2 00:40:13 2005 From: guillermo at parsec.info (Guillermo) Date: Tue Mar 1 17:38:43 2005 Subject: V4RB: Valentina file open permission Message-ID: <4b0552c6e7efb63261ab1544b5684b35@parsec.info> Hello I want to open a open Valentina database as standard file to make a backup copy while is already open, my program flush the database and ensures that nothing modified it while is making the backup, but I don't want close the database because I have open cursors and I don't want to recreate it. This works fine in Mac but in Windows I can't open the file (even in read only mode). Why I can't read the file in readonly mode in Windows? I'm using V4RB. Best regards Guillermo From sunshine at public.kherson.ua Wed Mar 2 09:09:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 2 01:09:59 2005 Subject: V4RB: Valentina file open permission In-Reply-To: <4b0552c6e7efb63261ab1544b5684b35@parsec.info> Message-ID: On 3/2/05 1:40 AM, "Guillermo" wrote: Hi Guillermo, > I want to open a open Valentina database as standard file to make a > backup copy while is already open, my program flush the database and > ensures that nothing modified it while is making the backup, but I > don't want close the database because I have open cursors and I don't > want to recreate it. > > This works fine in Mac but in Windows I can't open the file (even in > read only mode). I think as MAC you mean OS X? OS X is very special, like Linux, it have no exclusive mode for files. > Why I can't read the file in readonly mode in Windows? Because Windows, and OS 9 have exclusive mode, and Valentina use it. Valentina cannot assume that YOU will do all safely. So it protect against such steps. You should close db Guillermo, no other way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From thomas at startmovie.net Wed Mar 2 18:05:30 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Wed Mar 2 11:05:56 2005 Subject: vCursor in Director: Arggghhh ;-) Message-ID: <0aba88cbc0446eb0b54e9fc73b62b851@startmovie.net> Hi all, I am using Valentina the first time and some questions appeared: 1) I can't find an explanation of kServer and kReadWrite used in the Example "Write_Read_search.dir" and in conjunction with vCursor and new. What is it used for and which integers do what in specific? I didn't find anything about it in the PDFs and Lingo Sources. 2) I want to use vCursor to do an "INSERT INTO" and all I get is an vCursor error 602. Maybe I am missing something? I am aware that I don't understand the concept of vCursor right now in deep! It would be great if someone is pointing me in the right direction. I really don't want to use AddField(), I only want to work with SQL-Statements! Here is a part of my Script: --- snip on DBsql(mDebug, mDBName, mPath, mSQL) ValentinaInit ( 4194304, "", "" ) -- no serial right now ValentinaDebugLevel ( mDebug ) mVDB = new(xtra "VDataBase") OpenDatabase(mVDB, mPath & mDBName) mCurs = new( xtra "VCursor", GetRef(mVDB), mSQL, 2, 3) --- 2 and 3 are the mentioned kServer and kReadWrite from the "Write_Read_search.dir" Example --- Do I have to do something after this new()? --- I think "yes", but I don't know what... ;-) --- I thought an INSERT INTO will lead to an empty cursor --- and I don't have to do anything here?! CloseDatabase(mVDB) Flush (mVDB) ValentinaShutDown end --- end snip I am calling DBsql with DBSql (2, "VDBname.vdb", "path/to/VBD/", "INSERT INTO tablename (fieldname) VALUES ( " "E& "myvalue" "E & ")" ) fieldname is a varchar 255. All I get then is: * V4MD *: new VCursor...error 602 Thanks in advance for any hint! Regards, Thomas From sunshine at public.kherson.ua Wed Mar 2 19:12:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 2 11:12:56 2005 Subject: vCursor in Director: Arggghhh ;-) In-Reply-To: <0aba88cbc0446eb0b54e9fc73b62b851@startmovie.net> Message-ID: On 3/2/05 7:05 PM, "Thomas Biedorf" wrote: Hi Thomas, > 1) I can't find an explanation of kServer and kReadWrite used in the > Example "Write_Read_search.dir" and in conjunction with vCursor and > new. What is it used for and which integers do what in specific? I > didn't find anything about it in the PDFs and Lingo Sources. Look Vkernel.pdf page 37-38 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 2 19:13:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 2 11:13:39 2005 Subject: vCursor in Director: Arggghhh ;-) In-Reply-To: <0aba88cbc0446eb0b54e9fc73b62b851@startmovie.net> Message-ID: On 3/2/05 7:05 PM, "Thomas Biedorf" wrote: > 2) I want to use vCursor to do an "INSERT INTO" and all I get is an > vCursor error 602. Maybe I am missing something? This is 2 alternatives: 1) Vcursor = "SELECT ... " then cursor.AddRecord 2) SqlExecute( "INSERT INTO ...." ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 2 19:14:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 2 11:15:03 2005 Subject: vCursor in Director: Arggghhh ;-) In-Reply-To: <0aba88cbc0446eb0b54e9fc73b62b851@startmovie.net> Message-ID: On 3/2/05 7:05 PM, "Thomas Biedorf" wrote: > 2) I want to use vCursor to do an "INSERT INTO" and all I get is an > vCursor error 602. Maybe I am missing something? > > I am aware that I don't understand the concept of vCursor right now in > deep! It would be great if someone is pointing me in the right > direction. I really don't want to use AddField(), I only want to work > with SQL-Statements! You should note that Cursor this is only for SELECT command All rest SQL command should go via db.SqlExecute() function Let me know if more questions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From thomas at startmovie.net Wed Mar 2 18:23:42 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Wed Mar 2 11:23:48 2005 Subject: vCursor in Director: Arggghhh ;-) In-Reply-To: References: Message-ID: Am 02.03.2005 um 18:13 schrieb Ruslan Zasukhin: > 2) SqlExecute( "INSERT INTO ...." ) > Sometimes programming is like hell..... Thank you, Ruslan! It works. Regards, Thomas From Roger at logram.com Wed Mar 2 18:52:05 2005 From: Roger at logram.com (Roger Amar) Date: Wed Mar 2 11:52:44 2005 Subject: VXCMD Win32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C773@srv.Logram.local> Hi Ruslan, Could you help with an advice ? I cannot get working a standalone on Win32, while it works on MacOS. When I remove Valentina, I can compile it. What do you suggest me to do ? Pay incident to Revolution or to Valentina ? Best regards, Roger; From sunshine at public.kherson.ua Wed Mar 2 20:07:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 2 12:07:26 2005 Subject: VXCMD Win32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C773@srv.Logram.local> Message-ID: On 3/2/05 7:52 PM, "Roger Amar" wrote: Hi Jon, > Could you help with an advice ? > I cannot get working a standalone on Win32, while it works on MacOS. > When I remove Valentina, I can compile it. ^^^^^ cannot ? > What do you suggest me to do ? > Pay incident to Revolution or to Valentina ? I think other developers did that with success. Why you remove Valentina ? >From where you remove it ? You need to have AppFolder (app.exe + vxcmd.dll) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at mangomultimedia.com Wed Mar 2 10:11:39 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed Mar 2 12:11:57 2005 Subject: VXCMD Win32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C773@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C773@srv.Logram.local> Message-ID: <4c4424780f07228b701211a3084a756c@mangomultimedia.com> On Mar 2, 2005, at 9:52 AM, Roger Amar wrote: > Hi Ruslan, > > Could you help with an advice ? > I cannot get working a standalone on Win32, while it works on MacOS. > When I remove Valentina, I can compile it. > What do you suggest me to do ? > Pay incident to Revolution or to Valentina ? Roger, Have you confirmed that the external is being properly loaded under windows? You can determine if it has by using the answer command to check the externalPackages property of the stack that has the Valentina external assigned to it (the externals property). If you are having problems with externals you might want to read an article I put together about them: That might help you locate the problem. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From Roger at logram.com Wed Mar 2 22:49:54 2005 From: Roger at logram.com (Roger Amar) Date: Wed Mar 2 15:50:28 2005 Subject: VXCMD Win32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C774@srv.Logram.local> Thank you, Trevor. I already read your article with a great interest. The externalFunctions returns "Valentina" which prove that the external is correctly set. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Trevor DeVore Envoy? : mercredi 2 mars 2005 19:12 ? : Valentina Developers Objet : Re: VXCMD Win32 On Mar 2, 2005, at 9:52 AM, Roger Amar wrote: > Hi Ruslan, > > Could you help with an advice ? > I cannot get working a standalone on Win32, while it works on MacOS. > When I remove Valentina, I can compile it. > What do you suggest me to do ? > Pay incident to Revolution or to Valentina ? Roger, Have you confirmed that the external is being properly loaded under windows? You can determine if it has by using the answer command to check the externalPackages property of the stack that has the Valentina external assigned to it (the externals property). If you are having problems with externals you might want to read an article I put together about them: That might help you locate the problem. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Wed Mar 2 23:10:30 2005 From: Roger at logram.com (Roger Amar) Date: Wed Mar 2 16:11:04 2005 Subject: VXCMD Win32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C775@srv.Logram.local> Hi Ruslan, I removed the Valentina calls to see if I can compile, and then I can. I put my application and the dll in the same folder, of course. The startup handler goes right until end, and then it crashes with a system "not handled exception error". When no call is sent to Valentina, that application opens normally and the functions that do not need Valentina are working normally. I answered the Revolution support about this problem and they replied that the Valentina support may be more efficient since the standalone is working correctly when no call to Valentina is performed. I really need help because I cannot achieve this job and deliver that application to my customer. Thanks to all of you, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : mercredi 2 mars 2005 19:07 ? : valentina@lists.macserve.net Objet : Re: VXCMD Win32 On 3/2/05 7:52 PM, "Roger Amar" wrote: Hi Jon, > Could you help with an advice ? > I cannot get working a standalone on Win32, while it works on MacOS. > When I remove Valentina, I can compile it. ^^^^^ cannot ? > What do you suggest me to do ? > Pay incident to Revolution or to Valentina ? I think other developers did that with success. Why you remove Valentina ? >From where you remove it ? You need to have AppFolder (app.exe + vxcmd.dll) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Mar 3 09:01:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 3 01:01:29 2005 Subject: VXCMD Win32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C775@srv.Logram.local> Message-ID: On 3/3/05 12:10 AM, "Roger Amar" wrote: > Hi Ruslan, > > I removed the Valentina calls to see if I can compile, and then I can. > I put my application and the dll in the same folder, of course. > The startup handler goes right until end, and then it crashes with a system > "not handled exception error". > When no call is sent to Valentina, that application opens normally and the > functions that do not need Valentina are working normally. > I answered the Revolution support about this problem and they replied that the > Valentina support may be more efficient since the standalone is working > correctly when no call to Valentina is performed. > > I really need help because I cannot achieve this job and deliver that > application to my customer. It just must work. folder( app + vxcmd_mc_win.dll ) 100% Because Windows and MacOS search folder of app in the first turn for DLL. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Mar 3 11:20:35 2005 From: Roger at logram.com (Roger Amar) Date: Thu Mar 3 04:21:20 2005 Subject: VXCMD Win32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C778@srv.Logram.local> I tell you that it does not work. Do you want copy of the folder to see by yourself what happens ? Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 3 mars 2005 08:01 ? : valentina@lists.macserve.net Objet : Re: VXCMD Win32 On 3/3/05 12:10 AM, "Roger Amar" wrote: > Hi Ruslan, > > I removed the Valentina calls to see if I can compile, and then I can. > I put my application and the dll in the same folder, of course. > The startup handler goes right until end, and then it crashes with a > system "not handled exception error". > When no call is sent to Valentina, that application opens normally and > the functions that do not need Valentina are working normally. > I answered the Revolution support about this problem and they replied > that the Valentina support may be more efficient since the standalone > is working correctly when no call to Valentina is performed. > > I really need help because I cannot achieve this job and deliver that > application to my customer. It just must work. folder( app + vxcmd_mc_win.dll ) 100% Because Windows and MacOS search folder of app in the first turn for DLL. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Mar 3 18:11:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 3 10:11:39 2005 Subject: VXCMD Win32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C778@srv.Logram.local> Message-ID: On 3/3/05 12:20 PM, "Roger Amar" wrote: > I tell you that it does not work. > Do you want copy of the folder to see by yourself what happens ? > Roger; What is size of compressed folder ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Mar 3 18:10:44 2005 From: Roger at logram.com (Roger Amar) Date: Thu Mar 3 11:11:13 2005 Subject: VXCMD Win32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C77D@srv.Logram.local> size = 1.4 Mb Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 3 mars 2005 17:12 ? : valentina@lists.macserve.net Objet : Re: VXCMD Win32 On 3/3/05 12:20 PM, "Roger Amar" wrote: > I tell you that it does not work. > Do you want copy of the folder to see by yourself what happens ? > Roger; What is size of compressed folder ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Mar 3 21:11:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 3 13:11:20 2005 Subject: VXCMD Win32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C77D@srv.Logram.local> Message-ID: On 3/3/05 7:10 PM, "Roger Amar" wrote: > size = 1.4 Mb > Roger; Ok, send it...not on list -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From barney at custombased.com Fri Mar 4 13:48:21 2005 From: barney at custombased.com (Barney) Date: Thu Mar 3 18:51:56 2005 Subject: server license files for march Message-ID: Hi, Just wondering if the OSX server license file for March has been uploaded ? I can't seem to get Vserver fired up and the log tells me the license file is wrong ? Thanks Barney From barney at custombased.com Fri Mar 4 14:19:04 2005 From: barney at custombased.com (Barney) Date: Thu Mar 3 19:22:32 2005 Subject: server license files for march In-Reply-To: Message-ID: Sorry don't bother replying, Up and running now. Thanks Barney on 4/3/05 1:48 PM, Barney at barney@custombased.com wrote: > Hi, > > Just wondering if the OSX server license file for March > has been uploaded ? > > I can't seem to get Vserver fired up and the log tells > me the license file is wrong ? > > Thanks > > Barney > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Mar 4 13:29:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 4 05:29:46 2005 Subject: V4MD In-Reply-To: <006301c520aa$432eb1f0$2a00a8c0@LAURENTXP> Message-ID: On 3/4/05 1:06 PM, "laurent lacoste" wrote: Hi Laurent, > I have a little problem > > for information : I have created a demonstration product with V4MD for my > customer in order to > replace its database (actually V12). > It is a vehicule database with more caracteristics. > My problem : > > A/ > 1- I select a brand car (ex: volvo) and it display all models of these brand > car. > 2- I select one model (ex: 850 2.0L) of these brand car and it display > characteristics. > It's ok in this case > > B/ > 1- I select the same brand car > 2- I select an other model (ex: 850 2.0L (5Cyl.)) the unique change is the > parenteses in the model > but in this case it doesn't display characteristics. > I have testing other request with parenthese and i have the same problem. > could you help me please So you do SEARCH for a string that have () ? I think you have forget wrap it into single quotes WHERE fld = 'st(ri)ng' > PS : the type of all fields (brand car,model,etc.) is VARCHAR(50) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 4 20:22:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 4 12:22:33 2005 Subject: V4MD In-Reply-To: <000c01c520c5$5790ca00$2a00a8c0@LAURENTXP> Message-ID: On 3/4/05 4:20 PM, "laurent lacoste" wrote: > Yes my string have single quotes > my code : > > global mamarqvehi,modelevehi > > set SQLstring to "Select distinct modele from vehicule WHERE marque str_fld > LIKE "&&"'\A"&mamarq&"\Z'"&&"no_case" Aha! I see where is problem! You use LIKE search. Which actually in Valentina 1.x is REGEX search. REGEX use () as control chars. So you must at first Escape string mamarq LIKE "&&"'\A"& ValentinaEscape(mamarq ) &"\Z'"&&"no_case" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From christer at ljusaideer.se Sat Mar 5 14:10:17 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Sat Mar 5 07:10:40 2005 Subject: [V4RB] Duplicating record Message-ID: Is curs.add() supposed to work for duplication for a single record or not? The documents and the listarchives are not very clear on this poiunt. Docs says yes, but some postings suggests otherwise. My cursor has one record, which I want to duplicate. No BLOB fields. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Sat Mar 5 15:39:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 5 07:39:20 2005 Subject: [V4RB] Duplicating record In-Reply-To: Message-ID: On 3/5/05 3:10 PM, "Christer Olsson" wrote: > Is curs.add() supposed to work for duplication for a single record or not? The > documents and the listarchives are not very clear on this poiunt. Docs says > yes, but some postings suggests otherwise. > > My cursor has one record, which I want to duplicate. No BLOB fields. If no BLOBs then you can try. Should work, Christer -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From christer at ljusaideer.se Sat Mar 5 15:06:22 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Sat Mar 5 08:06:30 2005 Subject: [V4RB] Duplicating record In-Reply-To: References: Message-ID: >On 3/5/05 3:10 PM, "Christer Olsson" wrote: > >> Is curs.add() supposed to work for duplication for a single record or not? The >> documents and the listarchives are not very clear on this poiunt. Docs says >> yes, but some postings suggests otherwise. >> >> My cursor has one record, which I want to duplicate. No BLOB fields. > >If no BLOBs then you can try. >Should work, Christer Believe me, I have tried. All I get is a new empty record. Any other pitfalls than BLOB fields? Any example code you could share? -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Sat Mar 5 16:09:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 5 08:09:50 2005 Subject: [V4RB] Duplicating record In-Reply-To: Message-ID: On 3/5/05 4:06 PM, "Christer Olsson" wrote: >> If no BLOBs then you can try. >> Should work, Christer > > Believe me, I have tried. All I get is a new empty record. Any other pitfalls > than BLOB fields? Any example code you could share? How you do this ? Steps ? You should not call SetBlank() if you try do duplicate -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From christer at ljusaideer.se Sat Mar 5 15:26:46 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Sat Mar 5 08:26:55 2005 Subject: [V4RB] Duplicating record In-Reply-To: References: Message-ID: >On 3/5/05 4:06 PM, "Christer Olsson" wrote: > >>> If no BLOBs then you can try. >>> Should work, Christer >> >> Believe me, I have tried. All I get is a new empty record. Any other pitfalls >> than BLOB fields? Any example code you could share? > >How you do this ? > >Steps ? > >You should not call SetBlank() if you try do duplicate No setblank() called. My stripped down non-working code: dim query as String dim res as Boolean dim c as VCursor query = "SELECT recID,* FROM company WHERE recID = '150'" c = app.mDataBase.SqlSelect( query, 2, 3, 2 ) c.Field("ID_fld").SetString( "newID" ) // unique field res = c.add -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Sat Mar 5 16:29:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 5 08:29:29 2005 Subject: [V4RB] Duplicating record In-Reply-To: Message-ID: On 3/5/05 4:26 PM, "Christer Olsson" wrote: >>>> If no BLOBs then you can try. >>>> Should work, Christer >>> >>> Believe me, I have tried. All I get is a new empty record. Any other >>> pitfalls >>> than BLOB fields? Any example code you could share? >> >> How you do this ? >> >> Steps ? >> >> You should not call SetBlank() if you try do duplicate > > No setblank() called. My stripped down non-working code: > > dim query as String > dim res as Boolean > dim c as VCursor > > query = "SELECT recID,* FROM company WHERE recID = '150'" > c = app.mDataBase.SqlSelect( query, 2, 3, 2 ) > c.Field("ID_fld").SetString( "newID" ) // unique field > res = c.add 2 3 2 This is serverSide, ReadWrite ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From christer at ljusaideer.se Sat Mar 5 15:37:50 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Sat Mar 5 08:37:56 2005 Subject: [V4RB] Duplicating record In-Reply-To: References: Message-ID: >On 3/5/05 4:26 PM, "Christer Olsson" wrote: > >>>>> If no BLOBs then you can try. >>>>> Should work, Christer >>>> >>>> Believe me, I have tried. All I get is a new empty record. Any other >>>> pitfalls >>>> than BLOB fields? Any example code you could share? >>> >>> How you do this ? >>> >>> Steps ? >>> >>> You should not call SetBlank() if you try do duplicate >> >> No setblank() called. My stripped down non-working code: >> >> dim query as String >> dim res as Boolean >> dim c as VCursor >> >> query = "SELECT recID,* FROM company WHERE recID = '150'" >> c = app.mDataBase.SqlSelect( query, 2, 3, 2 ) >> c.Field("ID_fld").SetString( "newID" ) // unique field >> res = c.add > >2 3 2 > >This is serverSide, ReadWrite ? Yes. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From ralf at end-if.de Sat Mar 5 16:48:40 2005 From: ralf at end-if.de (Ralf Sander) Date: Sat Mar 5 09:48:50 2005 Subject: cursor delete In-Reply-To: References: Message-ID: Hi list, the following sql string executed with kv_nolocks returns a cursor with 1 record SELECT RecID,* From CatsRela Where [UniqeIDLeft] = '13' AND [UniqeIDRight] = '2' the cursor is not readonly - as expected but the record will not be deleted and vc.delete returns no error. if vc<>nil then if vc.ReadOnly then msgbox "read only" end n=vc.RecordCount msgbox "???record count"+str(n) b=vc.FirstRecord if not b then msgbox "????????not first record " end b=vc.Delete if not b then msgbox "???error "+str(vdb.ErrNumber) + vdb.ErrString end end So what goes wrong? Maybe I should mention, that the code is executed from another function where another cursor on the same table was built to create records (recid='0' / kv_readwrite) but this should not have any affect to the cursor in this function, right? Cheers, Ralf From sunshine at public.kherson.ua Sat Mar 5 21:40:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 5 13:40:24 2005 Subject: [V4RB] Duplicating record In-Reply-To: Message-ID: On 3/5/05 4:37 PM, "Christer Olsson" wrote: >>> No setblank() called. My stripped down non-working code: >>> >>> dim query as String >>> dim res as Boolean >>> dim c as VCursor >>> >>> query = "SELECT recID,* FROM company WHERE recID = '150'" >>> c = app.mDataBase.SqlSelect( query, 2, 3, 2 ) >>> c.Field("ID_fld").SetString( "newID" ) // unique field >>> res = c.add >> >> 2 3 2 >> >> This is serverSide, ReadWrite ? > > Yes. So what happens after AddRecord() ? Cursor still have one record??? And table do not get new record? And no any error code like NOT UNIQUE field ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Mar 5 21:41:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 5 13:41:15 2005 Subject: cursor delete In-Reply-To: Message-ID: On 3/5/05 5:48 PM, "Ralf Sander" wrote: > Hi list, > > the following sql string executed with kv_nolocks returns a cursor with > 1 record > > SELECT RecID,* From CatsRela Where [UniqeIDLeft] = '13' AND > [UniqeIDRight] = '2' > > the cursor is not readonly - as expected > but the record will not be deleted and vc.delete returns no error. > > > > if vc<>nil then > if vc.ReadOnly then > msgbox "read only" > end > > n=vc.RecordCount > msgbox "???record count"+str(n) > b=vc.FirstRecord > if not b then > msgbox "????????not first record " > end > b=vc.Delete > if not b then > msgbox "???error "+str(vdb.ErrNumber) + vdb.ErrString > > end > end > > > So what goes wrong? > Maybe I should mention, that the code is executed from another function > where another cursor on the same table was built to create records > (recid='0' / kv_readwrite) > but this should not have any affect to the cursor in this function, > right? No, it will. Because THAT SECOND USER have lock record. And he NOT expect to see that record have magically gone away -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Mon Mar 7 00:32:58 2005 From: ralf at end-if.de (Ralf Sander) Date: Sun Mar 6 17:32:54 2005 Subject: cursor delete In-Reply-To: References: Message-ID: Am 05.03.2005 um 20:41 schrieb Ruslan Zasukhin: > On 3/5/05 5:48 PM, "Ralf Sander" wrote: > >> Hi list, >> >> the following sql string executed with kv_nolocks returns a cursor >> with >> 1 record >> >> SELECT RecID,* From CatsRela Where [UniqeIDLeft] = '13' AND >> [UniqeIDRight] = '2' >> >> the cursor is not readonly - as expected >> but the record will not be deleted and vc.delete returns no error. >> >> >> >> if vc<>nil then >> if vc.ReadOnly then >> msgbox "read only" >> end >> >> n=vc.RecordCount >> msgbox "???record count"+str(n) >> b=vc.FirstRecord >> if not b then >> msgbox "????????not first record " >> end >> b=vc.Delete >> if not b then >> msgbox "???error "+str(vdb.ErrNumber) + vdb.ErrString >> >> end >> end >> >> >> So what goes wrong? >> Maybe I should mention, that the code is executed from another >> function >> where another cursor on the same table was built to create records >> (recid='0' / kv_readwrite) >> but this should not have any affect to the cursor in this function, >> right? > > No, it will. > > Because THAT SECOND USER have lock record. > And he NOT expect to see that record have magically gone away > But in the first cursor is only for creating new records (RecID='0'). Does such a cursor automatically lock all records? Does any k_readwrite cursor lock all records? Cheers, Ralf From sunshine at public.kherson.ua Mon Mar 7 11:05:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 7 03:05:55 2005 Subject: cursor delete In-Reply-To: Message-ID: On 3/7/05 1:32 AM, "Ralf Sander" wrote: > But in the first cursor is only for creating new records (RecID='0'). > Does such a cursor automatically lock all records? No, it does not > Does any k_readwrite cursor lock all records? No, only SELECTED records are locked. Then you need check more what is wrong.. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Mon Mar 7 10:59:45 2005 From: Roger at logram.com (Roger Amar) Date: Mon Mar 7 04:00:16 2005 Subject: Sorting numeric Message-ID: <028383377603B34D9728A1E80EA9B43B06C7AB@srv.Logram.local> Hello folks, I am using Valentina on Revolution. My database has 2 BaseObjects and I have a sorting problem. This SQL sorts numeric by NumVolume as expected : "select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume from boVolumes where SupportVolume like '45 TOURS' no_case order numeric by NumVolume" This one sorts numeric by recID, not by NumeroVolume : "select recID,Titre,Interprete,Auteur,Orchestre,Type,Categorie,Origine,Version,N umeroVolume from boTitres where Interprete like 'brassens' no_case order numeric by NumeroVolume" Fields type of NumVolume and NumeroVolume are both set to long. What is wrong in my SQLs ? Thanks for your help, Roger; From sunshine at public.kherson.ua Mon Mar 7 12:11:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 7 04:11:14 2005 Subject: Sorting numeric In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C7AB@srv.Logram.local> Message-ID: On 3/7/05 11:59 AM, "Roger Amar" wrote: > Hello folks, > > I am using Valentina on Revolution. > My database has 2 BaseObjects and I have a sorting problem. > > This SQL sorts numeric by NumVolume as expected : > "select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume > from boVolumes where SupportVolume like '45 TOURS' no_case order numeric > by NumVolume" select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume from boVolumes where SupportVolume like '45 TOURS' no_case order numeric by NumVolume" ^^^^^^^^^ what is this ??? The correct syntax is ORDER BY fld1, fld2, ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Mon Mar 7 11:24:54 2005 From: Roger at logram.com (Roger Amar) Date: Mon Mar 7 04:25:29 2005 Subject: Sorting numeric Message-ID: <028383377603B34D9728A1E80EA9B43B06C7AD@srv.Logram.local> Hi Ruslan, select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume from boVolumes where SupportVolume like '45 TOURS' no_case order numeric by NumVolume" ^^^^^^^^^ what is this ??? Roger -> it is a field name Roger -> this SQL sorts correctly by order numeric as I want ! The correct syntax is ORDER BY fld1, fld2, ... Roger : What is the syntax if I want numeric sort ? Roger : The one which does *not sort numeric* by the field I want is : "select recID,Titre,Interprete,Auteur,Orchestre,Type,Categorie,Origine,Version,N umeroVolume from boTitres where Interprete like 'brassens' no_case order numeric by NumeroVolume" It sorts by recID in place of by NumeroVolume as I want. What is wrong ? Roger; From Fred.Stephenson at communication-unltd.com Mon Mar 7 12:01:13 2005 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Mon Mar 7 05:00:06 2005 Subject: Sorting numeric In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C7AB@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C7AB@srv.Logram.local> Message-ID: Salut "Les Copains d'abord" Roger, although I don't use Revolution , I would imagine that you need to remove the "numeric" from both of your select statements. As your fields are defined as 'long' they should sort as 'long' (nombre). a+ Fred >Hello folks, > >I am using Valentina on Revolution. >My database has 2 BaseObjects and I have a sorting problem. > >This SQL sorts numeric by NumVolume as expected : >"select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume >from boVolumes where SupportVolume like '45 TOURS' no_case order numeric >by NumVolume" > >This one sorts numeric by recID, not by NumeroVolume : >"select >recID,Titre,Interprete,Auteur,Orchestre,Type,Categorie,Origine,Version,N >umeroVolume from boTitres where Interprete like 'brassens' no_case order >numeric by NumeroVolume" > >Fields type of NumVolume and NumeroVolume are both set to long. > >What is wrong in my SQLs ? > >Thanks for your help, > >Roger; > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] J T Stephenson died Nov. 23rd 2004 cause of death : Gross negligence and incompetence From thomas at startmovie.net Mon Mar 7 12:17:41 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Mon Mar 7 05:18:00 2005 Subject: RegEX in Director Message-ID: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> I want a SQL-search in Director which finds exactly one word. In the Docs I found: "SELECT returnField FROM Tablename WHERE textfield LIKE '\AmySearchText\Z' no_case" But it doesn't work. An Example: textfield contains "one two three" and I want to find "two". My SQL reads like this: "SELECT returnField FROM Tablename WHERE textfield LIKE '\Atwo\Z' no_case" GetRecordCount() returns 0. Any ideas? Thanky you, Thomas From Roger at logram.com Mon Mar 7 12:38:57 2005 From: Roger at logram.com (Roger Amar) Date: Mon Mar 7 05:39:36 2005 Subject: Sorting numeric Message-ID: <028383377603B34D9728A1E80EA9B43B06C7AF@srv.Logram.local> Fred, you are a very great "copain" !!! I will dedicate to you my next Brassens listening ! What put me in trouble is that the "sort numeric" was working with an SQL and not with the other, while both fields types were set to "long". Thank you again, Fred. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Fred.Stephenson Envoy? : lundi 7 mars 2005 12:01 ? : Valentina Developers Objet : Re: Sorting numeric Salut "Les Copains d'abord" Roger, although I don't use Revolution , I would imagine that you need to remove the "numeric" from both of your select statements. As your fields are defined as 'long' they should sort as 'long' (nombre). a+ Fred >Hello folks, > >I am using Valentina on Revolution. >My database has 2 BaseObjects and I have a sorting problem. > >This SQL sorts numeric by NumVolume as expected : >"select recID,NumVolume,NomVolume,SupportVolume,EtatVolume,GroupeVolume >from boVolumes where SupportVolume like '45 TOURS' no_case order numeric >by NumVolume" > >This one sorts numeric by recID, not by NumeroVolume : >"select >recID,Titre,Interprete,Auteur,Orchestre,Type,Categorie,Origine,Version,N >umeroVolume from boTitres where Interprete like 'brassens' no_case order >numeric by NumeroVolume" > >Fields type of NumVolume and NumeroVolume are both set to long. > >What is wrong in my SQLs ? > >Thanks for your help, > >Roger; > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] J T Stephenson died Nov. 23rd 2004 cause of death : Gross negligence and incompetence _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From bibiko at eva.mpg.de Mon Mar 7 12:45:44 2005 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Mon Mar 7 05:46:07 2005 Subject: RegEX in Director In-Reply-To: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> References: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> Message-ID: <422C3EE8.7060608@eva.mpg.de> Dear Thomas, > I want a SQL-search in Director which finds exactly one word. > > In the Docs I found: > > "SELECT returnField FROM Tablename WHERE textfield LIKE > '\AmySearchText\Z' no_case" > > But it doesn't work. An Example: > > textfield contains "one two three" and I want to find "two". > My SQL reads like this: > > "SELECT returnField FROM Tablename WHERE textfield LIKE '\Atwo\Z' no_case" > > GetRecordCount() returns 0. > The ankers \A means begin of a string and \Z means the end of a string. So you only find values where TEXTFIELD = 'two'!! You have to write "SELECT returnField FROM Tablename WHERE textfield LIKE 'two' no_case" Hans From Fred.Stephenson at communication-unltd.com Mon Mar 7 13:45:22 2005 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Mon Mar 7 06:44:12 2005 Subject: Sorting numeric In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C7AF@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C7AF@srv.Logram.local> Message-ID: Roger, I think that your first select statement "appeared" to work because your records were probably entered in the order that corresponded to "NumVolume" but were actually displayed by RecId as your "order numeric by" invalidated the sort. >Fred, you are a very great "copain" !!! Merci all the best a+ Fred -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] J T Stephenson died Nov. 23rd 2004 cause of death : Gross negligence and incompetence From thomas at startmovie.net Mon Mar 7 14:26:38 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Mon Mar 7 07:26:44 2005 Subject: RegEX in Director In-Reply-To: <422C3EE8.7060608@eva.mpg.de> References: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> <422C3EE8.7060608@eva.mpg.de> Message-ID: <352fa92e218163302fe756c2b25b3871@startmovie.net> Am 07.03.2005 um 12:45 schrieb Hans-Joerg Bibiko: > You have to write > "SELECT returnField FROM Tablename WHERE textfield LIKE 'two' no_case" But this will find "Macintwosh", too ;-) And that's something I don't want! Regards, Thomas From andy at foxwerk.de Mon Mar 7 14:35:50 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Mon Mar 7 07:36:10 2005 Subject: RegEX in Director In-Reply-To: <352fa92e218163302fe756c2b25b3871@startmovie.net> Message-ID: How about LIKE " two " ? Or any other RegEx which finds the string 'two' enclosed by whitespace characters.... -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com > From: Thomas Biedorf > Reply-To: Valentina Developers > Date: Mon, 7 Mar 2005 14:26:38 +0100 > To: Valentina Developers > Subject: Re: RegEX in Director > >> You have to write >> "SELECT returnField FROM Tablename WHERE textfield LIKE 'two' no_case" > > But this will find "Macintwosh", too ;-) > And that's something I don't want! From Roger at logram.com Mon Mar 7 16:34:53 2005 From: Roger at logram.com (Roger Amar) Date: Mon Mar 7 09:35:42 2005 Subject: Sorting numeric Message-ID: <028383377603B34D9728A1E80EA9B43B06C7B4@srv.Logram.local> Fred, You are right. Sorry off topic, but... what is the NHS ?? Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Fred.Stephenson Envoy? : lundi 7 mars 2005 13:45 ? : Valentina Developers Objet : RE: Sorting numeric Roger, I think that your first select statement "appeared" to work because your records were probably entered in the order that corresponded to "NumVolume" but were actually displayed by RecId as your "order numeric by" invalidated the sort. >Fred, you are a very great "copain" !!! Merci all the best a+ Fred -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] J T Stephenson died Nov. 23rd 2004 cause of death : Gross negligence and incompetence _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From bibiko at eva.mpg.de Mon Mar 7 17:23:34 2005 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Mon Mar 7 10:23:47 2005 Subject: RegEX in Director In-Reply-To: <352fa92e218163302fe756c2b25b3871@startmovie.net> References: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> <422C3EE8.7060608@eva.mpg.de> <352fa92e218163302fe756c2b25b3871@startmovie.net> Message-ID: <422C8006.90406@eva.mpg.de> >> You have to write >> "SELECT returnField FROM Tablename WHERE textfield LIKE 'two' no_case" > > > But this will find "Macintwosh", too ;-) > And that's something I don't want! > If you want to find ONLY the word 'two' then you can write LIKE '\btwo\b' no_case. Hans From thomas at startmovie.net Mon Mar 7 17:39:47 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Mon Mar 7 10:39:52 2005 Subject: RegEX in Director In-Reply-To: <422C8006.90406@eva.mpg.de> References: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> <422C3EE8.7060608@eva.mpg.de> <352fa92e218163302fe756c2b25b3871@startmovie.net> <422C8006.90406@eva.mpg.de> Message-ID: Am 07.03.2005 um 17:23 schrieb Hans-Joerg Bibiko: > If you want to find ONLY the word 'two' then you can write LIKE > '\btwo\b' no_case. That's what I tried just before I tested my version posted this morning. Didn't work for me. Thomas From bibiko at eva.mpg.de Mon Mar 7 18:18:05 2005 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Mon Mar 7 11:18:15 2005 Subject: RegEX in Director In-Reply-To: References: <06505aa3e49e6ebf167eee087cdeaae6@startmovie.net> <422C3EE8.7060608@eva.mpg.de> <352fa92e218163302fe756c2b25b3871@startmovie.net> <422C8006.90406@eva.mpg.de> Message-ID: <422C8CCD.5010107@eva.mpg.de> Thomas >>I want a SQL-search in Director which finds exactly one word. >> >>In the Docs I found: >> >>"SELECT returnField FROM Tablename WHERE textfield LIKE '\AmySearchText\Z' no_case" don't confuse \A, \Z with \b! \A means the WHOLE field begins with \Z means the WHOLE field ends with \b means word boundaries like SPACES, KOMMATA, BRACKETS, etc. "one two three" starts with 'o' (\A) and ends with 'e' (\Z\. Hans From keith.ulrich at verizon.net Tue Mar 8 15:07:33 2005 From: keith.ulrich at verizon.net (Keith Ulrich) Date: Tue Mar 8 14:05:48 2005 Subject: V4MD RegisterDatabase/UnregisterDatabase - Error 65536 Message-ID: <5.1.1.6.0.20050308150507.027cbe38@incoming.verizon.net> Hi Ruslan, Can you (or anyone else) tell me what error 65536 means? I get it when I register or unregister a database. The operation appears to complete successfully, but I still get an error. * V4MD *: InitValentina...done * V4MD *: ValentinaSetDebugMode...done * V4MD *: new VServer...done * V4MD *: OpenSession...done * V4MD *: RegisterDatabase...error 65536 * V4MD *: CloseSession...done * V4MD *: VServer_Destroy...done * V4MD *: ShutDownValetina...done Thanks. Keith From sunshine at public.kherson.ua Wed Mar 9 08:58:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 9 00:59:02 2005 Subject: V4MD RegisterDatabase/UnregisterDatabase - Error 65536 In-Reply-To: <5.1.1.6.0.20050308150507.027cbe38@incoming.verizon.net> Message-ID: On 3/8/05 10:07 PM, "Keith Ulrich" wrote: > Hi Ruslan, > > Can you (or anyone else) tell me what error 65536 means? I get it when I > register or unregister a database. The operation appears to complete > successfully, but I still get an error. > > * V4MD *: InitValentina...done > * V4MD *: ValentinaSetDebugMode...done > * V4MD *: new VServer...done > * V4MD *: OpenSession...done > * V4MD *: RegisterDatabase...error 65536 > * V4MD *: CloseSession...done > * V4MD *: VServer_Destroy...done > * V4MD *: ShutDownValetina...done I have question CC to Igor. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 9 09:10:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 9 01:11:02 2005 Subject: Vserver Client help In-Reply-To: Message-ID: On 3/9/05 7:10 AM, "piomax@tin.it" wrote: > Name: massimo piovosi > > Question regarding: v4rb Hi Massimo, > I'm starting to use Vserver, In my client i've this code > > udb = new myUsr("localhost", "sa", "sa") > > f=getfolderItem("udb") > > res=udb.Open(f) > > Then when I try to reach a rocord in the db I've a nil Object. > > May you help me? Of course we will help. Just not enough info. And I CC this to list to share info. udb = new myUsr("localhost", "sa", "sa") ^^^^^^ this is subclass of VDatabase class ? > f=getfolderItem("udb") Udb - this is the name of existed database under Vserver ? And how you try now reach a record ? Using cursor ? Have you try example that come with V4RB client ? It works ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Mar 10 13:28:18 2005 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Mar 10 15:28:30 2005 Subject: add field and make nullable Message-ID: <20050310212819.24552.qmail@web52401.mail.yahoo.com> If I'm using the BaseObject_MakeNewField() function to add a new field to a table, how can I make that field accept null values? I'm assuming I use one of the optional parameters, but I'm not sure how. I'm using VXCMD with Revolution. Thanks, Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From sunshine at public.kherson.ua Thu Mar 10 23:46:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 10 15:46:49 2005 Subject: add field and make nullable In-Reply-To: <20050310212819.24552.qmail@web52401.mail.yahoo.com> Message-ID: On 3/10/05 11:28 PM, "Chris Sheffield" wrote: Hi Chris, You can change flags of field using Field_SetFlags() > If I'm using the BaseObject_MakeNewField() function to > add a new field to a table, how can I make that field > accept null values? I'm assuming I use one of the > optional parameters, but I'm not sure how. > > I'm using VXCMD with Revolution. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Thu Mar 10 22:43:32 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Mar 10 15:57:11 2005 Subject: add field and make nullable In-Reply-To: <20050310212819.24552.qmail@web52401.mail.yahoo.com> References: <20050310212819.24552.qmail@web52401.mail.yahoo.com> Message-ID: >If I'm using the BaseObject_MakeNewField() function to >add a new field to a table, how can I make that field >accept null values? I'm assuming I use one of the >optional parameters, but I'm not sure how. > >I'm using VXCMD with Revolution. > >Thanks, > > >Chris Sheffield >Read Naturally >www.readnaturally.com You need to use SetFlag to make the field nullable. Check vxcmd doc for details. Robert From totoole at rocko.lab.csuchico.edu Thu Mar 10 14:38:35 2005 From: totoole at rocko.lab.csuchico.edu (Thomas) Date: Thu Mar 10 16:34:51 2005 Subject: VSDK Test Message-ID: Hi, I'm running a simple test of the VDK using XCode 1.5. int main (int argc, char * const argv[]) { ValentinaInit(3*1024*1024, "", ""); valDB myDB; myDB.OpenDataBase("/Users/Name/Desktop/val_sdk_test_db"); VDK_Cursor * myCursor = myDB.SqlSelect("select * from tbl_1"); unsigned long rcdCnt = myCursor->GetRecordCount; delete myCursor; myDB.CloseDataBase(); ValentinaShutDown(); } Two things come up. First the header indicates the cursor GetRecordCount call returns a ulong, but the compiler will not assign the returned value to an unsigned long int. Am I missing something obvious? Does the value returned by Cursor->GetRecordCount need to be dereferenced or type cast? Second, after the ValentinaShutDown call, the runtime environment complains about double freeing memory at several addresses. So I see several warnings such as the following: *** malloc[1940]: Deallocation of a pointer not malloced: 0x1112d40; This could be a double free(), or free() called with the middle of an allocated block; Any suggestions much appreciated. Thomas From sunshine at public.kherson.ua Fri Mar 11 01:41:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 10 17:41:38 2005 Subject: VSDK Test In-Reply-To: Message-ID: On 3/11/05 12:38 AM, "Thomas" wrote: Hi Thomas, > I'm running a simple test of the VDK using XCode 1.5. > > int main (int argc, char * const argv[]) > { > ValentinaInit(3*1024*1024, "", ""); > valDB myDB; > myDB.OpenDataBase("/Users/Name/Desktop/val_sdk_test_db"); > VDK_Cursor * myCursor = myDB.SqlSelect("select * from tbl_1"); > unsigned long rcdCnt = myCursor->GetRecordCount; > delete myCursor; > myDB.CloseDataBase(); > ValentinaShutDown(); > } > > Two things come up. > > First the header indicates the cursor GetRecordCount call returns a > ulong, but the compiler will not assign the returned value to an unsigned long > int. I have not catch. ulong is just a typedef to unsigned long So where you see problem ? > Am I missing something obvious? Does the value returned by > Cursor->GetRecordCount need to be dereferenced or type cast? No of course. Just it is too long write unsigned long int And this still long unsigned long Lazy people prefer write ulong :-)) > Second, after the ValentinaShutDown call, the runtime environment > complains about double freeing memory at several addresses. > So I see several warnings such as the following: > > *** malloc[1940]: Deallocation of a pointer not malloced: 0x1112d40; > This could be a double free(), or free() called with the middle of an > allocated block; > > Any suggestions much appreciated. You have download and use VSDK.Framework 1.11 ? Have you try our examples from archive ? If they work fine ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Fri Mar 11 11:10:54 2005 From: ralf at end-if.de (Ralf Sander) Date: Fri Mar 11 04:10:41 2005 Subject: Related value in method In-Reply-To: References: Message-ID: <03632efdbd25bf5f1dc8bb081b506152@end-if.de> Can I create a method field that gets the value of a field in a related (through object pointer) record? In which documentation can I find more about method fields? Ralf From sunshine at public.kherson.ua Fri Mar 11 12:26:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 11 04:26:45 2005 Subject: Related value in method In-Reply-To: <03632efdbd25bf5f1dc8bb081b506152@end-if.de> Message-ID: On 3/11/05 12:10 PM, "Ralf Sander" wrote: > Can I create a method field that gets the value of a field in a related > (through object pointer) record? This is possible in 2.0 release Ralf. > In which documentation can I find more about method fields? Kernel.pdf describe them VSQL.pdf describe functions that can be used -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Fri Mar 11 15:16:07 2005 From: ralf at end-if.de (Ralf Sander) Date: Fri Mar 11 08:16:03 2005 Subject: Related value in method In-Reply-To: References: Message-ID: Am 11.03.2005 um 11:26 schrieb Ruslan Zasukhin: > On 3/11/05 12:10 PM, "Ralf Sander" wrote: > >> Can I create a method field that gets the value of a field in a >> related >> (through object pointer) record? > > This is possible in 2.0 release Ralf. > >> In which documentation can I find more about method fields? > > Kernel.pdf describe them > > VSQL.pdf describe functions that can be used so all SQL functions can be used as method field functions? Cheers, Ralf From rjb at robelko.com Fri Mar 11 16:49:52 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Mar 11 10:01:45 2005 Subject: vxcmd_win installer Message-ID: I am looking for version 1.9.6 of Valentina VXCMD for Windows. Does anyone have the distribution zip archived and could send it to me? Robert Brenstein From sunshine at public.kherson.ua Fri Mar 11 21:05:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 11 13:05:19 2005 Subject: Related value in method In-Reply-To: Message-ID: On 3/11/05 4:16 PM, "Ralf Sander" wrote: >> VSQL.pdf describe functions that can be used > so all SQL functions can be used as method field functions? yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 11 21:18:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 11 13:18:49 2005 Subject: vxcmd_win installer In-Reply-To: Message-ID: On 3/11/05 5:49 PM, "Robert Brenstein" wrote: > I am looking for version 1.9.6 of Valentina VXCMD for Windows. Does > anyone have the distribution zip archived and could send it to me? I think I have CD with it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Sat Mar 12 00:17:21 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Mar 11 17:30:04 2005 Subject: vxcmd_win installer In-Reply-To: References: Message-ID: >On 3/11/05 5:49 PM, "Robert Brenstein" wrote: > >> I am looking for version 1.9.6 of Valentina VXCMD for Windows. Does >> anyone have the distribution zip archived and could send it to me? > >I think I have CD with it. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Thanks, Ruslan. Got it. Robert From sunshine at public.kherson.ua Sat Mar 12 08:32:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 12 00:33:24 2005 Subject: Welcome to Valentina Developer Network! In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E6948D@apvnyexch01.alfredpub.com> Message-ID: On 3/12/05 4:18 AM, "Christopher Bishop" wrote: Hi Christopher, > I've been trying to figure out how to work the server version. I > registered my databases, and it seems like I can connect to the > databases OK. However, when I create a cursor and run a select > statement on my tables, I get a 602 error (cannot find table?). TIPS: 1) in the Server you can set verbose to be high, and you will see log of commands. 2) actually to see log of commands in live you need run Vserver in debug mode from terminal. Please look into Vserver.pdf Very helpful during debug. 3) MAY BE you will need correct your SqlSelect() calls to use parameters kServerside or ClientSide Read or ReadWrite record locks > Am I assuming correctly that I must convert my databases to VServer > databases, or are they interchangeable? NO! Database is the same. You work on MAC, right? TIP: stop Vserver, then open masterdb using VAPP or viSQL. you should see that your db is really registered. > I tried using the Valentina Studio to convert to a VServer database, but > it says that I need a plugin to do this. Do you have plugins to > download, or is there another way I can do this? Studio should do this on start. What platform and what version of Vstudio and Vserver you use? Pay attention to Vserver logs! This is very useful. > The documentation for how to connect to databases in the server version > is scattered all over several documents, and it is hard to follow, so > please excuse my inability to figure it out. No problems. Btw, you can copy your code where you try connect to Vserver. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat Mar 12 12:53:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Mar 12 11:53:55 2005 Subject: VPHP install problem Message-ID: I've installed VPHP on my XServe, but PHP isn't loading it. I followed the directions provided in the read me file; is there something else that needs to be done? Charles Yeomans From sunshine at public.kherson.ua Sat Mar 12 20:15:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 12 12:15:38 2005 Subject: VPHP install problem In-Reply-To: Message-ID: On 3/12/05 7:53 PM, "Charles Yeomans" wrote: Hi Charles, > I've installed VPHP on my XServe, but PHP isn't loading it. I followed > the directions provided in the read me file; is there something else > that needs to be done? * you work on OS X ? * not remember exactly, it seems each new module should be registered in some special PHP file. Congif probably. * PHP have some admin page which show all registered PHP modules. VPHP should be there -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat Mar 12 13:42:16 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Mar 12 12:42:22 2005 Subject: VPHP install problem In-Reply-To: References: Message-ID: <65aa8b114e725224dd248a08694fffe3@desuetude.com> On Mar 12, 2005, at 1:15 PM, Ruslan Zasukhin wrote: > On 3/12/05 7:53 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> I've installed VPHP on my XServe, but PHP isn't loading it. I >> followed >> the directions provided in the read me file; is there something else >> that needs to be done? > > * you work on OS X ? Yes. > > * not remember exactly, it seems each new module should be registered > in > some special PHP file. Congif probably. > > * PHP have some admin page which show all registered PHP modules. > VPHP should be there > I'm getting the following error message when I restart Apache -- PHP Warning: Unknown(): Unable to load dynamic library './VPHP_Client.dylib' - (null) in Unknown on line 0 -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Mar 12 21:11:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 12 13:11:42 2005 Subject: VPHP install problem In-Reply-To: <65aa8b114e725224dd248a08694fffe3@desuetude.com> Message-ID: On 3/12/05 8:42 PM, "Charles Yeomans" wrote: >> * PHP have some admin page which show all registered PHP modules. >> VPHP should be there >> > > I'm getting the following error message when I restart Apache -- > > PHP Warning: Unknown(): Unable to load dynamic library > './VPHP_Client.dylib' - (null) in Unknown on line 0 Hmm. Strange. Is this urgent for you Charles ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat Mar 12 14:30:22 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Mar 12 13:30:28 2005 Subject: VPHP install problem In-Reply-To: References: Message-ID: <8a3be5450d5bed2adb68fc7f6ea7f850@desuetude.com> On Mar 12, 2005, at 2:11 PM, Ruslan Zasukhin wrote: > On 3/12/05 8:42 PM, "Charles Yeomans" wrote: > >>> * PHP have some admin page which show all registered PHP modules. >>> VPHP should be there >>> >> >> I'm getting the following error message when I restart Apache -- >> >> PHP Warning: Unknown(): Unable to load dynamic library >> './VPHP_Client.dylib' - (null) in Unknown on line 0 > > Hmm. Strange. > > Is this urgent for you Charles ? Not at the moment; I 'm working on a small project and I can do something hackish for now. But I'd like to be able to use VPHP eventually. Is no one using VPHP with Mac OS X? -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Mar 12 22:12:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 12 14:13:09 2005 Subject: VPHP install problem In-Reply-To: <8a3be5450d5bed2adb68fc7f6ea7f850@desuetude.com> Message-ID: On 3/12/05 9:30 PM, "Charles Yeomans" wrote: > Not at the moment; I 'm working on a small project and I can do > something hackish for now. But I'd like to be able to use VPHP > eventually. Is no one using VPHP with Mac OS X? Somebody have use as I remember. Try search list archive. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat Mar 12 15:51:04 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Mar 12 14:51:12 2005 Subject: VPHP install problem In-Reply-To: References: Message-ID: <4b76c4d85288b5cea7192edaaf2c95ac@desuetude.com> On Mar 12, 2005, at 3:12 PM, Ruslan Zasukhin wrote: > On 3/12/05 9:30 PM, "Charles Yeomans" wrote: > >> Not at the moment; I 'm working on a small project and I can do >> something hackish for now. But I'd like to be able to use VPHP >> eventually. Is no one using VPHP with Mac OS X? > > Somebody have use as I remember. > Try search list archive. > I did that before posting my questions. There has been almost no discussion of VPHP_Client. -------------- Charles Yeomans From martin at kinetix.co.uk Mon Mar 14 15:18:03 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Mar 14 09:23:04 2005 Subject: VServer problem Message-ID: <20050314152301.C3BAD2E388F@edison.macserve.net> Hi We have a VServer (2.0a62) running on A Windows 2003 server running ISA and Active Directory group policies and approx Win XP clients running on a fast gigabit network. An additional machine is running as a local proxy. All machines are running on the same subnet, the only serious firewall is offsite. Whenever he has more than 4 clients using the product, we're getting a 10060 error - a timeout. The error in the Event log is: Titled: Microsoft Visual C++ Runtime Library Text: Runtime Error! Program: ...\Exploring Science Assessment Year 9\DBServer\VA9_NT.exe This application has requested the Runtime to terminate it in an Unusual way. Please contact the application's support team for more information. I've also attached the Vserver log files. Is there anything you could suggest we try? Logs are below. Martin Error Log: Installer: start: Invalid argument Vserver Log: /*************************************************************************** **********/ Mon Feb 28 2005 08:50:29.796000 VA9 (2.0a62, Protocol 1.1, Kernel 1.10) The maximum number of connections: 5 08:50:29.828000 (2980): Database kernel inited 08:50:30.390000 (2980): Server started at 15436 port 09:44:19.968000 (3048): Connection established with 'EGSSC0057:1193' (388) 09:44:20.437000 (3052): (388) Database: users9; User: sa: OK 09:44:20.703000 (3048): (388) Closing database users9: OK 09:44:20.703000 (3052): Closing connection (388) 09:45:02.843000 (3048): Connection established with 'EGSSC0057:1198' (436) 09:45:03.218000 (3044): (436) Database: mchoice9; User: sa: OK 09:45:03.296000 (3048): (436) Closing database mchoice9: OK 09:45:03.296000 (3044): Closing connection (436) 09:45:25.375000 (3048): Connection established with 'EGSSC0073:1084' (516) 09:45:25.375000 (3056): (516) Database: users9; User: sa: OK 09:45:25.562000 (3048): (516) Closing database users9: OK 09:45:25.562000 (3056): Closing connection (516) . . THEN AFTER A WHILE WHEN 5 USERS WERE CONNECTED ... . 13:42:40.203000 (3060): Connection established with '10.172.36.161:1090' (744) 13:42:40.203000 (3048): Client has been suddenly disconnected (744) 13:42:40.203000 (3048): Closing connection (744) 13:42:59.703000 (3060): Connection established with '10.172.36.148:1091' (868) 13:42:59.703000 (3056): Client has been suddenly disconnected (868) 13:42:59.703000 (3056): Closing connection (868) 13:43:19.203000 (3060): Connection established with '10.172.36.104:1112' (876) 13:43:19.203000 (3044): Client has been suddenly disconnected (876) 13:43:19.203000 (3044): Closing connection (876) 13:43:38.703000 (3060): Connection established with '10.172.36.126:1506' (884) 13:43:38.703000 (3048): Client has been suddenly disconnected (884) 13:43:38.703000 (3048): Closing connection (884) 13:43:58.203000 (3060): Connection established with '10.172.36.161:1091' (876) 13:43:58.203000 (3044): Client has been suddenly disconnected (876) 13:43:58.203000 (3044): Closing connection (876) 13:44:17.703000 (3060): Connection established with '10.172.36.112:1092' (884) 13:44:17.703000 (3048): Client has been suddenly disconnected (884) 13:44:17.703000 (3048): Closing connection (884) 13:44:37.203000 (3060): Connection established with '10.172.36.147:1102' (876) 13:44:37.203000 (3044): Client has been suddenly disconnected (876) 13:44:37.203000 (3044): Closing connection (876) 13:44:56.703000 (3060): Connection established with '10.172.36.126:1507' (884) 13:44:56.703000 (3048): Client has been suddenly disconnected (884) 13:44:56.703000 (3048): Closing connection (884) 13:45:16.203000 (3060): Connection established with '10.172.36.104:1116' (876) 13:45:16.203000 (3044): Client has been suddenly disconnected (876) 13:45:16.203000 (3044): Closing connection (876) 13:45:35.703000 (3060): Connection established with '10.172.36.147:1104' (884) 13:45:35.703000 (3048): Client has been suddenly disconnected (884) 13:45:35.703000 (3048): Closing connection (884) From giv at tlc.kherson.ua Mon Mar 14 18:05:38 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Mar 14 10:05:45 2005 Subject: VServer problem References: <20050314152301.C3BAD2E388F@edison.macserve.net> Message-ID: <002001c528af$aa5a0020$3b04a8c0@giv> Hi Martin, > We have a VServer (2.0a62) running on A Windows 2003 server running ISA and > Active Directory group policies and approx Win XP clients running on a fast > gigabit network. > An additional machine is running as a local proxy. All machines are running > on the same subnet, the only serious firewall is offsite. > Whenever he has more than 4 clients using the product, we're getting a 10060 > error - a timeout. What is the connection limit for your server? 5 connections? Then this is very looks like a bug in VServer when it tries to tell the client that connection limit has been reached. I then need to check this. Also intresting thing is that all "bad" clients are not resolved using DNS. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Mon Mar 14 16:43:25 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Mar 14 10:48:47 2005 Subject: VServer problem In-Reply-To: <002001c528af$aa5a0020$3b04a8c0@giv> Message-ID: <20050314164841.855022E39CB@edison.macserve.net> VServer has 5 Connection limit. I'm not sure about the DNS. Does VServer resolve this or Windows 2003 server? Martin Hi Martin, > We have a VServer (2.0a62) running on A Windows 2003 server running > ISA and > Active Directory group policies and approx Win XP clients running on a fast > gigabit network. > An additional machine is running as a local proxy. All machines are running > on the same subnet, the only serious firewall is offsite. > Whenever he has more than 4 clients using the product, we're getting a 10060 > error - a timeout. What is the connection limit for your server? 5 connections? Then this is very looks like a bug in VServer when it tries to tell the client that connection limit has been reached. I then need to check this. Also intresting thing is that all "bad" clients are not resolved using DNS. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Mar 14 19:26:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 14 11:26:53 2005 Subject: VServer problem In-Reply-To: <20050314164841.855022E39CB@edison.macserve.net> Message-ID: On 3/14/05 6:43 PM, "Martin Wright" wrote: > VServer has 5 Connection limit. > I'm not sure about the DNS. Does VServer resolve this or Windows 2003 > server? Martin, I want just clarify. What exactly on your opinion looks wrong ? * the fact that you have only 5 users to be connected? * or the error code/msg? * else ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Mon Mar 14 10:54:12 2005 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Mar 14 12:54:20 2005 Subject: VServer problem In-Reply-To: 6667 Message-ID: <20050314185412.20624.qmail@web52408.mail.yahoo.com> Just to give my two cents worth. We just had a customer report this same problem running VServer on a NT 4.0 server, and we've had reports of it in the past on 2000 server as well. So it's not just limited to Server 2003. And our connection limit for VServer is 10. Thanks, Chris Sheffield Read Naturally --- Ruslan Zasukhin wrote: > On 3/14/05 6:43 PM, "Martin Wright" > wrote: > > > VServer has 5 Connection limit. > > I'm not sure about the DNS. Does VServer resolve > this or Windows 2003 > > server? > > Martin, > > I want just clarify. > > What exactly on your opinion looks wrong ? > > * the fact that you have only 5 users to be > connected? > > * or the error code/msg? > > * else ? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From martin at kinetix.co.uk Tue Mar 15 10:26:45 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Tue Mar 15 04:32:04 2005 Subject: VServer problem In-Reply-To: Message-ID: <20050315103158.562D92E42C4@edison.macserve.net> Our application (Director MX) has a function that will try to connect to the VServer for 60 seconds, after which the user receives a time-out message. Our client insists that when they try to use more than 4 PC's with our application, they get the time-out message. Why would we suddenly get this in the log file: (please see previous email) 13:42:59.703000 (3060): Connection established with '10.172.36.148:1091' (868) 13:42:59.703000 (3056): Client has been suddenly disconnected (868) Martin > VServer has 5 Connection limit. > I'm not sure about the DNS. Does VServer resolve this or Windows 2003 > server? Martin, I want just clarify. What exactly on your opinion looks wrong ? * the fact that you have only 5 users to be connected? * or the error code/msg? * else ? -- Best regards, Ruslan Zasukhin From sunshine at public.kherson.ua Tue Mar 15 12:37:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 15 04:38:03 2005 Subject: VServer problem In-Reply-To: <20050315103158.562D92E42C4@edison.macserve.net> Message-ID: On 3/15/05 12:26 PM, "Martin Wright" wrote: > Our application (Director MX) has a function that will try to connect to the > VServer for 60 seconds, after which the user receives a time-out message. > Our client insists that when they try to use more than 4 PC's with our > application, they get the time-out message. > > Why would we suddenly get this in the log file: (please see previous email) > 13:42:59.703000 (3060): Connection established with '10.172.36.148:1091' > (868) > 13:42:59.703000 (3056): Client has been suddenly disconnected (868) Igor say that may be here BUG and we should see in the log Error message as: connection limit has been reached Igor will check this point soon. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 15 12:38:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 15 04:38:24 2005 Subject: VServer problem In-Reply-To: <20050314185412.20624.qmail@web52408.mail.yahoo.com> Message-ID: On 3/14/05 8:54 PM, "Chris Sheffield" wrote: Chris, You agree that probably just the error message is wrong ? > Just to give my two cents worth. We just had a > customer report this same problem running VServer on a > NT 4.0 server, and we've had reports of it in the past > on 2000 server as well. So it's not just limited to > Server 2003. And our connection limit for VServer is > 10. > > Thanks, > Chris Sheffield > Read Naturally -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Tue Mar 15 07:09:46 2005 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Mar 15 09:09:51 2005 Subject: VServer problem In-Reply-To: 6667 Message-ID: <20050315150946.59076.qmail@web52407.mail.yahoo.com> I suppose that's possible. But what would cause the server to crash? Rather than causing a crash, I would think you would just get stuck in an endless loop because the server would never report that the max clients had been reached. Or would it crash if the max clients had been reached and you tried to open a database? We have also had reports of the server crashing without any kind of an error message at all. So I'm confused. Not sure if it's because of the same issue or not. For us it seems to happen most often when our customers are running Mac OS 9 clients. Don't know if that helps at all or not. Chris --- Ruslan Zasukhin wrote: > On 3/14/05 8:54 PM, "Chris Sheffield" > wrote: > > Chris, > > You agree that probably just the error message is > wrong ? > > > Just to give my two cents worth. We just had a > > customer report this same problem running VServer > on a > > NT 4.0 server, and we've had reports of it in the > past > > on 2000 server as well. So it's not just limited > to > > Server 2003. And our connection limit for VServer > is > > 10. > > > > Thanks, > > Chris Sheffield > > Read Naturally > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From martin at kinetix.co.uk Tue Mar 15 16:44:43 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Tue Mar 15 10:49:55 2005 Subject: VServer problem In-Reply-To: <20050315150946.59076.qmail@web52407.mail.yahoo.com> Message-ID: <20050315164950.CF0A02E4700@edison.macserve.net> I don't thinks it's reaching the user limit. If you look in the log file (1st VServer problem message), each connection takes less than half a second. Plus I have put in a function to keep trying for 60 seconds if VServer is busy. So it will only reach the limit if 5 or more users stay connected for more that 60 seconds - which isn't going to happen. The log file shows up to 10 users successfully connecting then disconnecting, then something happens. I tried attaching the log file but it bounces back. How can I send the full log file? Martin > I suppose that's possible. But what would cause the server > to crash? Rather than causing a crash, I would think you > would just get stuck in an endless loop because the server > would never report that the max clients had been reached. Or > would it crash if the max clients had been reached and you > tried to open a database? We have also had reports of the > server crashing without any kind of an error message at all. > So I'm confused. Not sure if it's because of the same issue > or not. For us it seems to happen most often when our > customers are running Mac OS 9 clients. > Don't know if that helps at all or not. > > Chris > > --- Ruslan Zasukhin > wrote: > > On 3/14/05 8:54 PM, "Chris Sheffield" > > wrote: > > > > Chris, > > > > You agree that probably just the error message is wrong ? > > > > > Just to give my two cents worth. We just had a customer > report this > > > same problem running VServer > > on a > > > NT 4.0 server, and we've had reports of it in the > > past > > > on 2000 server as well. So it's not just limited > > to > > > Server 2003. And our connection limit for VServer > > is > > > 10. > > > > > > Thanks, > > > Chris Sheffield > > > Read Naturally > > > > -- > > Best regards, > > Ruslan Zasukhin [ I feel the need...the need > > for speed ] > > > ------------------------------------------------------------- > > e-mail: ruslan@paradigmasoft.com > > web: http://www.paradigmasoft.com > > > > To subscribe to the Valentina mail list go to: > > http://lists.macserve.net/mailman/listinfo/valentina > > > ------------------------------------------------------------- > > > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From maxprog at mac.com Tue Mar 15 18:05:02 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Mar 15 11:05:11 2005 Subject: SQLExecute failures Message-ID: <15ee0e76ad722442f1f7e05242942692@mac.com> Hi, SQLExecute with UPDATE seems to work only on fresh files. In 2 different products with several files, as soon as you have many records the command simply fails. I have been facing the problem during 2 months so far. The command is: rows = myDatabase.SQLExecute("UPDATE myTable SET myField='0'") rows returns the correct record count but not a single myField of myTable is set to 0. Use to work on fresh files but one day, after adding a given number of records, it stops working. Anybody knows what can cause that? Stan From lists at mangomultimedia.com Tue Mar 15 09:21:58 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Mar 15 11:22:13 2005 Subject: SQLExecute failures In-Reply-To: <15ee0e76ad722442f1f7e05242942692@mac.com> References: <15ee0e76ad722442f1f7e05242942692@mac.com> Message-ID: On Mar 15, 2005, at 9:05 AM, Stan Busk wrote: > Hi, > > SQLExecute with UPDATE seems to work only on fresh files. In 2 > different products with several files, as soon as you have many > records the command simply fails. I have been facing the problem > during 2 months so far. The command is: > > rows = myDatabase.SQLExecute("UPDATE myTable SET myField='0'") > > rows returns the correct record count but not a single myField of > myTable is set to 0. Use to work on fresh files but one day, after > adding a given number of records, it stops working. > > Anybody knows what can cause that? I've been dealing with something similiar in the XCMD for a little while now. After a given number of updates or inserts the database becomes corrupted. I found that closing the database every couple of calls fixed the problem for the time being but I would really like to find out what is causing this as well. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From macsforever2000 at goodeast.com Tue Mar 15 10:24:07 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Mar 15 11:24:25 2005 Subject: SQLExecute failures In-Reply-To: <15ee0e76ad722442f1f7e05242942692@mac.com> References: <15ee0e76ad722442f1f7e05242942692@mac.com> Message-ID: Hi Stan, On Mar 15, 2005, at 10:05 AM, Stan Busk wrote: > SQLExecute with UPDATE seems to work only on fresh files. In 2 > different products with several files, as soon as you have many > records the command simply fails. I have been facing the problem > during 2 months so far. The command is: > > rows = myDatabase.SQLExecute("UPDATE myTable SET myField='0'") > > rows returns the correct record count but not a single myField of > myTable is set to 0. Use to work on fresh files but one day, after > adding a given number of records, it stops working. > > Anybody knows what can cause that? Can you give more details about what platform, what API (looks like V4RB) you are using, and what version of Valentina? There were some UPDATE bugs but these can usually be solved by moving to the latest version of Valentina. Also, it appears that myField may be a numeric field. If that is the case, then you should try saying myField=0 without quotes. Best regards, -Frank Schima From pschwarz at lexialearning.com Tue Mar 15 12:36:52 2005 From: pschwarz at lexialearning.com (Paul Schwarz) Date: Tue Mar 15 11:37:11 2005 Subject: VServer problem In-Reply-To: <20050315150959.2ACBD2E462F@edison.macserve.net> Message-ID: <003101c52985$93686a10$6501a8c0@testLab8> We've heard of crashes a couple of times lately as well. Very rarely, but we've had it happen in our company network when Mac OS 9 clients connect to vServer. On those occasions, we also had some weird DHCP stuff going on in our network. As soon as we restarted the DHCP server, all issues were resolved. So, nothing conclusive, but I'd recommend restarting the DHCP server and seeing if this resolves the issue. BTW, we've had plenty of customers come up against the connections limit with no crashes - just the standard return error code. -Paul Schwarz -- Paul Schwarz Lexia Learning Systems, Inc. 781.259.8752 x225 www.lexialearning.com > Message: 10 > Date: Tue, 15 Mar 2005 07:09:46 -0800 (PST) > From: Chris Sheffield > Subject: Re: VServer problem > To: Valentina Developers > Message-ID: <20050315150946.59076.qmail@web52407.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > I suppose that's possible. But what would cause the > server to crash? Rather than causing a crash, I would > think you would just get stuck in an endless loop > because the server would never report that the max > clients had been reached. Or would it crash if the > max clients had been reached and you tried to open a > database? We have also had reports of the server > crashing without any kind of an error message at all. > So I'm confused. Not sure if it's because of the same > issue or not. For us it seems to happen most often > when our customers are running Mac OS 9 clients. > Don't know if that helps at all or not. > > Chris > From maxprog at mac.com Tue Mar 15 18:54:59 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Mar 15 11:55:10 2005 Subject: SQLExecute failures In-Reply-To: References: <15ee0e76ad722442f1f7e05242942692@mac.com> Message-ID: Hi, V4RB 1.11 from September 29. I have downloaded the current one from the Paradigma site. also labeled as 1.11 but December 19. I have tried and now it works. It is not the first time a version includes fixes but the version number is not changed and the release note not updated either, RUSLAN! :) Thanks Trevor and Franks for your hints, Stan > Hi Stan, > > > On Mar 15, 2005, at 10:05 AM, Stan Busk wrote: > >> SQLExecute with UPDATE seems to work only on fresh files. In 2 >> different products with several files, as soon as you have many >> records the command simply fails. I have been facing the problem >> during 2 months so far. The command is: >> >> rows = myDatabase.SQLExecute("UPDATE myTable SET myField='0'") >> >> rows returns the correct record count but not a single myField of >> myTable is set to 0. Use to work on fresh files but one day, after >> adding a given number of records, it stops working. >> >> Anybody knows what can cause that? > > Can you give more details about what platform, what API (looks like > V4RB) you are using, and what version of Valentina? > > There were some UPDATE bugs but these can usually be solved by moving > to the latest version of Valentina. > > Also, it appears that myField may be a numeric field. If that is the > case, then you should try saying myField=0 without quotes. > > > Best regards, > -Frank Schima > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Tue Mar 15 20:32:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 15 12:32:58 2005 Subject: VServer problem In-Reply-To: <20050315164950.CF0A02E4700@edison.macserve.net> Message-ID: On 3/15/05 6:44 PM, "Martin Wright" wrote: > I don't thinks it's reaching the user limit. If you look in the log file > (1st VServer problem message), each connection takes less than half a > second. Plus I have put in a function to keep trying for 60 seconds if > VServer is busy. So it will only reach the limit if 5 or more users stay > connected for more that 60 seconds - which isn't going to happen. > > The log file shows up to 10 users successfully connecting then > disconnecting, then something happens. > I tried attaching the log file but it bounces back. > > How can I send the full log file? Send it to my address and to Igor (see CC) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From maxprog at mac.com Wed Mar 16 13:36:32 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Mar 16 06:36:42 2005 Subject: [V4RB] Corrupted index Message-ID: <60e1c9b21c8c848a7ddd962dc06e3033@mac.com> Hi, As I got the solution for one of my problems yesterday, lets try with that one. I have an application that corrupts the index almost on all runs. The index file is external so removing it fixes the problems at startup but when the problem starts to happen during use, usually after creating many records, the application starts to behave very slow, more than 30 seconds to move to a record with GotoRecID. I know my description is very generic but I wonder if someone has seen such behavior and has found a solution. The application can be found here: http://www.maxprog.com/shareware/MaxNews_X_US.dmg Stan From Roger at logram.com Thu Mar 17 14:36:15 2005 From: Roger at logram.com (Roger Amar) Date: Thu Mar 17 07:36:47 2005 Subject: search with apostrophe Message-ID: <028383377603B34D9728A1E80EA9B43B06C7FF@srv.Logram.local> Hello, When I search for a phrase with an apostrophe, Valentina XCMD cannot find it. Yet, I use "English" as language for the field. What is wrong ? Thanks for your help, Roger; From wgregoire at paris.mediagerance.com Thu Mar 17 15:45:05 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Mar 17 08:46:02 2005 Subject: [OT] Print relations In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C7FF@srv.Logram.local> Message-ID: <003601c52aff$e8e5f9a0$1d0a11ac@wgregoire1> Hi! sorry for the off topic, it's still about a database I use on Valentina. I think some people here can help me. I have an Access database I import on my Valentina db To work on the code part (under Director) I need a printed version of the relations between each table. MSAccess is really a software! when you have more than 10 tables, the relation state is unprintable, it forget some links and tables are printed in very bad way. I'm looking for a software which is able to import my db and print the relations CORRECTLY! I'm under WindowsXP you can reply me off the list thanks for your help WilG From macsforever2000 at goodeast.com Thu Mar 17 08:08:22 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Mar 17 09:08:36 2005 Subject: search with apostrophe In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C7FF@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C7FF@srv.Logram.local> Message-ID: <63cee4dc19cc501565a86a80777df622@goodeast.com> Hi Roger, On Mar 17, 2005, at 6:36 AM, Roger Amar wrote: > When I search for a phrase with an apostrophe, Valentina XCMD cannot > find it. > Yet, I use "English" as language for the field. > What is wrong ? What is the SQL you are using? Are you escaping the apostrophe? This works for me: SELECT myField FROM myTable where myField like '\'' Best regards, Frank Schima From bernard.david at bsdconcept.com Thu Mar 17 19:00:04 2005 From: bernard.david at bsdconcept.com (Bernard David) Date: Thu Mar 17 12:00:27 2005 Subject: V4RB - Path on Windows XP Message-ID: Hi, Probllem with RealBasic 5.5.4 for Windows and Valentina 1.11. When the path of the database contains an accented character, I can't open any database. Valentina returns error 3. If there is no accented character, everything is OK. Thanks for your help Bernard From Roger at logram.com Thu Mar 17 19:22:12 2005 From: Roger at logram.com (Roger Amar) Date: Thu Mar 17 12:22:55 2005 Subject: search with apostrophe Message-ID: <028383377603B34D9728A1E80EA9B43B06C800@srv.Logram.local> Thank you, Frank ! So I must check if there is an apostrophe in my SQL and escape it ? I suppose this is available for all non-alphanumeric signs, like '?' or '!' ? Kind regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Frank Schima Envoy? : jeudi 17 mars 2005 16:08 ? : Valentina Developers Objet : Re: search with apostrophe Hi Roger, On Mar 17, 2005, at 6:36 AM, Roger Amar wrote: > When I search for a phrase with an apostrophe, Valentina XCMD cannot > find it. > Yet, I use "English" as language for the field. > What is wrong ? What is the SQL you are using? Are you escaping the apostrophe? This works for me: SELECT myField FROM myTable where myField like '\'' Best regards, Frank Schima _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From macsforever2000 at goodeast.com Thu Mar 17 11:40:36 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Mar 17 12:40:45 2005 Subject: search with apostrophe In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C800@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C800@srv.Logram.local> Message-ID: Just use this command in V4MD and it will do all the work: ValentinaEscapeString (string str, integer ForRegEx ) for example: ValentinaEscapeString(mySearchString, 0) // Not regex search ValentinaEscapeString(mySearchString, 1) // Regex (like) search Best regards, Frank Schima On Mar 17, 2005, at 11:22 AM, Roger Amar wrote: > Thank you, Frank ! > > So I must check if there is an apostrophe in my SQL and escape it ? > I suppose this is available for all non-alphanumeric signs, like '?' > or '!' ? > > Kind regards, > > Roger; > > > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] De la part de Frank > Schima > Envoy? : jeudi 17 mars 2005 16:08 > ? : Valentina Developers > Objet : Re: search with apostrophe > > Hi Roger, > > > On Mar 17, 2005, at 6:36 AM, Roger Amar wrote: > >> When I search for a phrase with an apostrophe, Valentina XCMD cannot >> find it. >> Yet, I use "English" as language for the field. >> What is wrong ? > > What is the SQL you are using? Are you escaping the apostrophe? > > This works for me: > SELECT myField FROM myTable where myField like '\'' > > > Best regards, > Frank Schima > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Mar 17 22:10:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 17 14:10:14 2005 Subject: V4RB - Path on Windows XP In-Reply-To: Message-ID: On 3/17/05 8:00 PM, "Bernard David" wrote: > Hi, > > Probllem with RealBasic 5.5.4 for Windows and Valentina 1.11. > > When the path of the database contains an accented character, I can't open > any database. Valentina returns error 3. > If there is no accented character, everything is OK. This is know issue, Bernard. In the Valentina 2.0 we can work with Unicode paths on both platforms -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Mar 17 22:12:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 17 14:12:28 2005 Subject: [V4RB] Corrupted index In-Reply-To: <60e1c9b21c8c848a7ddd962dc06e3033@mac.com> Message-ID: On 3/16/05 2:36 PM, "Stan Busk" wrote: Hi Stan, > As I got the solution for one of my problems yesterday, lets try with > that one. I have an application that corrupts the index almost on all > runs. The index file is external so removing it fixes the problems at > startup but when the problem starts to happen during use, usually after > creating many records, the application starts to behave very slow, more > than 30 seconds to move to a record with GotoRecID. wow > I know my > description is very generic but I wonder if someone has seen such > behavior and has found a solution. Many records, this is how much ? * problem happens only in some table? * how many fields have this table ? * how many methods? * how many records? * size of cache ? * total size of db? Of .ind file ? > The application can be found here: > http://www.maxprog.com/shareware/MaxNews_X_US.dmg -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Thu Mar 17 15:14:02 2005 From: jda at his.com (jda) Date: Thu Mar 17 14:14:15 2005 Subject: V4RB - Path on Windows XP In-Reply-To: References: Message-ID: > >This is know issue, Bernard. > >In the Valentina 2.0 we can work with Unicode paths on both platforms > Almost, right? Not if the hard drive contains unicode characters in the name (at least for Mac OS X). Jon From sunshine at public.kherson.ua Thu Mar 17 23:01:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 17 15:01:08 2005 Subject: V4RB - Path on Windows XP In-Reply-To: Message-ID: On 3/17/05 10:14 PM, "jda" wrote: >> This is know issue, Bernard. >> >> In the Valentina 2.0 we can work with Unicode paths on both platforms >> > > Almost, right? Not if the hard drive contains unicode characters in > the name (at least for Mac OS X). :-) that is bug of feature, Jon It will be solved as you know -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Mar 17 23:07:59 2005 From: Roger at logram.com (Roger Amar) Date: Thu Mar 17 16:08:31 2005 Subject: search with apostrophe Message-ID: <028383377603B34D9728A1E80EA9B43B06C801@srv.Logram.local> Hi Frank, You are great and Valentina is great too. I am saving much time thanks to you. Kind regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Frank Schima Envoy? : jeudi 17 mars 2005 19:41 ? : Valentina Developers Objet : Re: search with apostrophe Just use this command in V4MD and it will do all the work: ValentinaEscapeString (string str, integer ForRegEx ) for example: ValentinaEscapeString(mySearchString, 0) // Not regex search ValentinaEscapeString(mySearchString, 1) // Regex (like) search Best regards, Frank Schima On Mar 17, 2005, at 11:22 AM, Roger Amar wrote: > Thank you, Frank ! > > So I must check if there is an apostrophe in my SQL and escape it ? > I suppose this is available for all non-alphanumeric signs, like '?' > or '!' ? > > Kind regards, > > Roger; > > > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] De la part de Frank > Schima Envoy? : jeudi 17 mars 2005 16:08 ? : Valentina Developers > Objet : Re: search with apostrophe > > Hi Roger, > > > On Mar 17, 2005, at 6:36 AM, Roger Amar wrote: > >> When I search for a phrase with an apostrophe, Valentina XCMD cannot >> find it. >> Yet, I use "English" as language for the field. >> What is wrong ? > > What is the SQL you are using? Are you escaping the apostrophe? > > This works for me: > SELECT myField FROM myTable where myField like '\'' > > > Best regards, > Frank Schima > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From maxprog at mac.com Fri Mar 18 10:04:47 2005 From: maxprog at mac.com (Stan Busk) Date: Fri Mar 18 03:04:57 2005 Subject: [V4RB] Corrupted index In-Reply-To: References: Message-ID: <46e4d56c463b0a2d1aaced90ba4f5b04@mac.com> Hi, This is a news reader so records vary... Now I have about 13,000 records in the table I store articles. That table has 18 fields and 6 methods. Cache has been set to 30MB. Below are the file sizes: Database.blb.......44.2MB Database.dat........9.8MB Database.ind........6.5MB Database.vdb.......68 KB Stan > On 3/16/05 2:36 PM, "Stan Busk" wrote: > > Hi Stan, > >> As I got the solution for one of my problems yesterday, lets try with >> that one. I have an application that corrupts the index almost on all >> runs. The index file is external so removing it fixes the problems at >> startup but when the problem starts to happen during use, usually >> after >> creating many records, the application starts to behave very slow, >> more >> than 30 seconds to move to a record with GotoRecID. > > wow > >> I know my >> description is very generic but I wonder if someone has seen such >> behavior and has found a solution. > > Many records, this is how much ? > > * problem happens only in some table? > * how many fields have this table ? > * how many methods? > * how many records? > * size of cache ? > * total size of db? Of .ind file ? > > >> The application can be found here: >> http://www.maxprog.com/shareware/MaxNews_X_US.dmg > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -- MAX Programming LLC - http://maxprog.com - Investigation & development ---------------------------------------------------------------------- Store | http://store.maxprog.com mailto:orders@maxprog.com Upgrades | http://upgrades.maxprog.com mailto:orders@maxprog.com Products | http://products.maxprog.com mailto:info@maxprog.com Download | http://download.maxprog.com mailto:info@maxprog.com Support | http://support.maxprog.com http://inquiry.maxprog.com _______________________ CONFIDENTIALITY NOTICE _______________________ The information transmitted in this email and any attached document(s) is confidential and intended solely for the use of the individual or entity to which it is addressed and may contain privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. (C) 1999 - 2005 MAX Programming, LLC - All rights reserved. Maxprog? is a registered mark at the U.S. Patent and Trademark Office. From john at blastoffnow.com Sun Mar 20 22:25:21 2005 From: john at blastoffnow.com (John Rotondo) Date: Sun Mar 20 21:25:40 2005 Subject: Valentina 2 for Director? Message-ID: Can anyone tell me what?s going on with Valentina for Director right now? I?m interested in testing it out with Director MX 2004 for Mac, but the install seems to have been removed from the Paradigmasoft web site. I?m under a tight deadline and need to decide on my database solution very soon. I?ve heard great stuff about Valentina, but I may have to settle for Arca if the Mac trial doesn?t come back in a day or so. Anyone know when/if this will happen? As a secondary question, I?ve seen benchmarks that pit Valentina favorably against V12, but I?d like to see how it compares against Arca, since they are really the only 2 solutions (that I know of) that use SQL to communicate with their databases. Anyone have input on that? Many Thanks, John From snw at paradise.net.nz Mon Mar 21 15:46:24 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sun Mar 20 21:46:46 2005 Subject: Valentina 2 for Director? In-Reply-To: References: Message-ID: <6.2.1.2.2.20050321154534.0481aeb0@pop3.paradise.net.nz> >Can anyone tell me what?s going on with Valentina for Director right now? >I?m interested in testing it out with Director MX 2004 for Mac, but the >install seems to have been removed from the Paradigmasoft web site. There appears to be a .dmg available at: HTH, -Sean. From sunshine at public.kherson.ua Mon Mar 21 10:20:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 21 02:20:59 2005 Subject: Valentina 2 for Director? In-Reply-To: <6.2.1.2.2.20050321154534.0481aeb0@pop3.paradise.net.nz> Message-ID: On 3/21/05 5:46 AM, "Sean Wilson" wrote: >> I?m interested in testing it out with Director MX 2004 for Mac, but the >> install seems to have been removed from the Paradigmasoft web site. > > There appears to be a .dmg available at: > John, Sean, On the new site is written under construction now. we just now build archive. test links on web pages and so on. This will take a day or 2 yet. Right now, you can find docs of V4MD_2 on the new site. So John, you can check docs for now. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martinpallett at netscape.net Mon Mar 21 12:55:41 2005 From: martinpallett at netscape.net (Martin Pallett) Date: Mon Mar 21 06:50:31 2005 Subject: V4MD: case insensitive ORDER BY Message-ID: <423EC44D.50703@netscape.net> Hi, this should be really easy, but I haven't been able to come up with the answer. Here's what I want to do: SELECT * FROM names WHERE recID >0 ORDER BY lastname asc, firstname asc no_case which doesn't work, so I tried SELECT * FROM names WHERE recID >0 ORDER BY upper(lastname) asc, upper(firstname) asc which also doesn't work Unfortunately, I can't force the case of the names stored in the table, and some of them are only a first name. Is there an easy way to do this, or do I have to create duplicate fields in the database in all uppercase and order by them? Thanks in advance for any suggestions. Martin From john at blastoffnow.com Mon Mar 21 10:04:59 2005 From: john at blastoffnow.com (john@blastoffnow.com) Date: Mon Mar 21 09:08:43 2005 Subject: Director Recordset Paging? Message-ID: <4B18C12A9E3248CCBED1D2005BAD74EC.MAI@blastoffinteractive.com> I'm looking into Valentina as a first-time database solution for Director. I'm very familiar with SQL and comfortable with Lingo, but I'm unsure how to do a "Repeat Region" (similar to the way Dreamweaver handles recordset paging) within Director. I've just never used a database within Director, and I could really benefit from a tutorial or sample code. Can anyone point me in the right direction of where to start? Does paradigmasoft have some sort of tutorial on to do this? Thanks for any help or suggestions. John From sunshine at public.kherson.ua Mon Mar 21 17:50:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 21 09:50:31 2005 Subject: V4MD: case insensitive ORDER BY In-Reply-To: <423EC44D.50703@netscape.net> Message-ID: On 3/21/05 2:55 PM, "Martin Pallett" wrote: Hi Martin, > this should be really easy, but I haven't been able to come up with the > answer. > > Here's what I want to do: > > SELECT * FROM names WHERE recID >0 ORDER BY lastname asc, firstname asc > no_case No_case -- can be used only with LIKE > which doesn't work, so I tried > > SELECT * FROM names WHERE recID >0 ORDER BY upper(lastname) asc, > upper(firstname) asc This is almost correct. Just you need define in your Table BaseObject Method (calculated field) With such formula upper( fld ) Then you will use this method in the ORDER BY. ORDER BY fldUpr > which also doesn't work > > Unfortunately, I can't force the case of the names stored in the table, > and some of them are only a first name. > > Is there an easy way to do this, or do I have to create duplicate fields > in the database in all uppercase and order by them? > > Thanks in advance for any suggestions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 21 17:57:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 21 09:57:43 2005 Subject: Director Recordset Paging? In-Reply-To: <4B18C12A9E3248CCBED1D2005BAD74EC.MAI@blastoffinteractive.com> Message-ID: On 3/21/05 5:04 PM, "john@blastoffnow.com" wrote: Hi John, > I'm looking into Valentina as a first-time database solution for Director. I'm > very familiar with SQL and comfortable with Lingo, > but I'm unsure how to do a "Repeat Region" (similar to the way Dreamweaver > handles recordset paging) within Director. > I've just never used a database within Director, > and I could really benefit from a tutorial or sample code. Actually Director do not handle databases in any special way, John. You should and can use features which Valentina offer to you. As I understand, you now look on V4MD 2.0 docs, yes? About 50 different examples you will find in the archive of V4MD 2 When it will be ready. Actually examples you can see in the Windows archive. It is on site already. .dir files are cross-platform. And now back to your question. Am I right, that you ask about ability to show 1-10, 11-20, ... records ? There is no such feature in cursors of Valentina , And it even is not needed. Why you need it in Director ? What you want to do ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martinpallett at netscape.net Mon Mar 21 11:18:16 2005 From: martinpallett at netscape.net (martinpallett@netscape.net) Date: Mon Mar 21 10:18:26 2005 Subject: V4MD: case insensitive ORDER BY Message-ID: <0DF76F82.3628B044.9F694281@netscape.net> Thanks for the prompt reply Ruslan - makes sense now that I think about it. cheers, Martin Ruslan Zasukhin wrote: >On 3/21/05 2:55 PM, "Martin Pallett" wrote: > >Hi Martin, > >> this should be really easy, but I haven't been able to come up with the >> answer. >> >> Here's what I want to do: >> >> SELECT * FROM names WHERE recID >0 ORDER BY lastname asc, firstname asc >> no_case > >No_case -- can be used only with LIKE > > >> which doesn't work, so I tried >> >> SELECT * FROM names WHERE recID >0 ORDER BY upper(lastname) asc, >> upper(firstname) asc > >This is almost correct. > >Just you need define in your Table BaseObject Method (calculated field) >With such formula > > ? ? ? ?upper( fld ) > >Then you will use this method in the ORDER BY. > ? ? > ? ?ORDER BY fldUpr > > >> which also doesn't work >> >> Unfortunately, I can't force the case of the names stored in the table, >> and some of them are only a first name. >> >> Is there an easy way to do this, or do I have to create duplicate fields >> in the database in all uppercase and order by them? >> >> Thanks in advance for any suggestions. > >-- >Best regards, >Ruslan Zasukhin ? ? ?[ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp From john at blastoffnow.com Mon Mar 21 11:51:10 2005 From: john at blastoffnow.com (john@blastoffnow.com) Date: Mon Mar 21 10:54:51 2005 Subject: Director Recordset Paging? Message-ID: <3ECC02BBD71C4FAC82ACB991F1CD8B67.MAI@blastoffinteractive.com> Thanks for your reply, Ruslan. I'm sorry if this turns into a new topic. I can't figure out to reply within a thread using this list. I downloaded the V4MD 2.0 docs, and am looking through them. I have uploaded a picture at the following web site that may better describe what I'm trying to do with Director and Valentina. If you could please have a look, then respond either here, or to my email, I would greatly appreciate it! http://www.blastoffinteractive.com/database-mockup.asp Thanks, John From john at blastoffnow.com Mon Mar 21 12:03:04 2005 From: john at blastoffnow.com (john@blastoffnow.com) Date: Mon Mar 21 11:06:50 2005 Subject: Win32 download not working either? Message-ID: I just downloaded the V4MD_2.exe using Windows XP. I tried to run it, but a command prompt popped up, then disappeared. This file doesn't seem to do anything. Is this an installer, or an archive? I tried opening it with WinZip, but it says it's not an archive. So, what exactly do I do with this file? Are the Xtras in it? Help please? From sunshine at public.kherson.ua Mon Mar 21 19:14:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 21 11:14:46 2005 Subject: Win32 download not working either? In-Reply-To: Message-ID: On 3/21/05 7:03 PM, "john@blastoffnow.com" wrote: > I just downloaded the V4MD_2.exe using Windows XP. I tried to run it, but a > command prompt popped > up, then disappeared. This file doesn't seem to do anything. > > Is this an installer, or an archive? I tried opening it with WinZip, but it > says it's not an > archive. So, what exactly do I do with this file? Are the Xtras in it? Help > please? It is installer John, we still testing. You have see this on site. We will check all again. And that archive still is not 2.0 release. Just a build for testing... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 21 19:17:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 21 11:18:01 2005 Subject: Director Recordset Paging? In-Reply-To: <3ECC02BBD71C4FAC82ACB991F1CD8B67.MAI@blastoffinteractive.com> Message-ID: On 3/21/05 6:51 PM, "john@blastoffnow.com" wrote: > Thanks for your reply, Ruslan. > > I'm sorry if this turns into a new topic. I can't figure out to reply within a > thread using this > list. > > I downloaded the V4MD 2.0 docs, and am looking through them. > > I have uploaded a picture at the following web site that may better describe > what I'm trying to do > with Director and Valentina. If you could please have a look, then respond > either here, or to my > email, I would greatly appreciate it! > > http://www.blastoffinteractive.com/database-mockup.asp I see. So you ask about show Records X-Y of cursor (recordset). It is easy. Director is not a WEB solution. So you do not work with sessions. Right ? So you need simply get a cursor of Valentina curs = db.SqlSelect( "SELECT * FROM T" ) Cursor can have any number of records. Valentina allow you random navigation on cursor. So agree there is no any problems to ask curs.GoToRecord( startIndex ) loop( 10 times) { curs.NextRecord() } -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Tue Mar 22 00:21:24 2005 From: ralf at end-if.de (Ralf Sander) Date: Mon Mar 21 17:21:16 2005 Subject: All Fields in a Cursor-Speed/Memory In-Reply-To: References: Message-ID: <6f3a65d5a94bd0dba27ee6d755a835ac@end-if.de> Hi Ruslan, I wonder if it has significant disadvantages (speed / memory) to have all fields in a cursor, even in a client/server solution. Or is it just a reference to every field, (4 byte?) that has to be transfered over network, respectively uses memory on the client app? Cheers, Ralf From sonicinema at yahoo.com Tue Mar 22 15:57:45 2005 From: sonicinema at yahoo.com (Capra J'neva) Date: Tue Mar 22 17:57:50 2005 Subject: error texts not described in kernel Message-ID: <20050322235745.23470.qmail@web50305.mail.yahoo.com> I am getting errors 3 & 5, which aren't described in the kernel. 3 on opening, 5 on doing anything with fields. Please help me know what I'm dealing with here. Capra __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From sunshine at public.kherson.ua Wed Mar 23 10:50:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 23 02:51:00 2005 Subject: All Fields in a Cursor-Speed/Memory In-Reply-To: <6f3a65d5a94bd0dba27ee6d755a835ac@end-if.de> Message-ID: On 3/22/05 1:21 AM, "Ralf Sander" wrote: Hi Ralf, > I wonder if it has significant disadvantages (speed / memory) to have > all fields in a cursor, even in a client/server solution. For ANY DBMS the small number of fields in cursor the faster will be > Or is it just a reference to every field, (4 byte?) that has to be > transfered over network, respectively uses memory on the client app? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 23 10:52:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 23 02:52:51 2005 Subject: error texts not described in kernel In-Reply-To: <20050322235745.23470.qmail@web50305.mail.yahoo.com> Message-ID: On 3/23/05 1:57 AM, "Capra J'neva" wrote: Hi Capra, > I am getting errors 3 & 5, which aren't described in > the kernel. 3 on opening, 5 on doing anything with > fields. > > Please help me know what I'm dealing with here. Windows? This is Windows OS error codes. Look into MS docs, or inet 5 it seems Access violation 3 not remember -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From thomas at startmovie.net Wed Mar 23 11:56:21 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Wed Mar 23 04:56:47 2005 Subject: ORDER BY RecID DESC ?? Message-ID: <6999a6420cb73abafba631388d13e747@startmovie.net> Hi, in Director I want to sort a table by RecID (look at subject) descending. Unfortunately Valentina doesn't find any entry. SELECT RecID,* FROM table ORDER BY RecID DESC doesn't find anything. GetRecordCount() returns zero. SELECT RecID,* FROM table ORDER BY somethingelse DESC si working. How do I have to write the SQL-Statement? I didn't find anything about it in the Docs. Regards, Thomas From sunshine at public.kherson.ua Wed Mar 23 13:04:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 23 05:05:06 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: <6999a6420cb73abafba631388d13e747@startmovie.net> Message-ID: On 3/23/05 12:56 PM, "Thomas Biedorf" wrote: Hi Thomas, In fact there is no sense sort on RecId. ObjectPtr and RecID contain internal values. You need sort on fields which contain some values. > Hi, > in Director I want to sort a table by RecID (look at subject) > descending. Unfortunately Valentina doesn't find any entry. > > SELECT RecID,* FROM table ORDER BY RecID DESC > > doesn't find anything. GetRecordCount() returns zero. > > SELECT RecID,* FROM table ORDER BY somethingelse DESC > > si working. How do I have to write the SQL-Statement? I didn't find > anything about it in the Docs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From thomas at startmovie.net Wed Mar 23 12:21:23 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Wed Mar 23 05:21:29 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: References: Message-ID: <445717b7ee886cc447245b6bd3d8ceaa@startmovie.net> Am 23.03.2005 um 12:04 schrieb Ruslan Zasukhin: > In fact there is no sense sort on RecId. > ObjectPtr and RecID contain internal values. That's pretty bad, because I thought the RecID is some sort of an id-field with auto increment, unique and Index?! Hmm, ok, I'll do some changes to my Database. Regards, Thomas From sunshine at public.kherson.ua Wed Mar 23 13:25:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 23 05:26:11 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: <445717b7ee886cc447245b6bd3d8ceaa@startmovie.net> Message-ID: On 3/23/05 1:21 PM, "Thomas Biedorf" wrote: >> In fact there is no sense sort on RecId. >> ObjectPtr and RecID contain internal values. > > That's pretty bad, because I thought the RecID is some sort of an > id-field with auto increment, unique and Index?! In the Kernel.pdf is said that this is NOT auto-increment field. And it is said that its values are reused. Please read this PDF file. And yes, it is unique and indexed. Just what sense sort by ID field? You will get order of adding of records ? > Hmm, ok, I'll do some changes to my Database. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From thomas at startmovie.net Wed Mar 23 12:35:09 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Wed Mar 23 05:35:13 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: References: Message-ID: <72b67368df177873a93dddce2bd78006@startmovie.net> Am 23.03.2005 um 12:25 schrieb Ruslan Zasukhin: > Just what sense sort by ID field? You will get order of adding of > records ? Yes, that was my intention. Regards, Thomas From fb at memedia.de Wed Mar 23 15:01:01 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Mar 23 08:01:30 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: <72b67368df177873a93dddce2bd78006@startmovie.net> Message-ID: Hi Thomas! For this intention you need to make your own record ID field - independent from Valentinas RecID. I have a seperate table holding all "next" IDs for the other tables and when I make a new record, I fetch "my" nre record ID from this table, increment it and write it back. Best regards, Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] On Behalf Of Thomas Biedorf > Sent: Wednesday, March 23, 2005 12:35 PM > To: Valentina Developers > Subject: Re: ORDER BY RecID DESC ?? > > > Am 23.03.2005 um 12:25 schrieb Ruslan Zasukhin: > > > Just what sense sort by ID field? You will get order of adding of > > records ? > > Yes, that was my intention. > > Regards, Thomas > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From lfredricks at proactive-intl.com Wed Mar 23 09:09:37 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Mar 23 11:09:59 2005 Subject: Developing on a Mac with Director? We want to hear from you! Message-ID: <20050323170942.30FEEE4026@knife.dreamhost.com> Hello, We need someone who is developing and deploying on a Mac with Valentina for Director to help us with some testing. This would involve some testing over the next 2-3 days. There is a free upgrade to Valentina 2 for Director (Mac OS) in it :-) Please email me directly if you can participate. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From sunshine at public.kherson.ua Thu Mar 24 13:27:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 24 05:27:55 2005 Subject: ORDER BY RecID DESC ?? In-Reply-To: Message-ID: On 3/23/05 4:01 PM, "Florian Bogeschdorfer" wrote: > Hi Thomas! > > For this intention you need to make your own record ID field - independent > from Valentinas RecID. I have a seperate table holding all "next" IDs for > the other tables and when I make a new record, I fetch "my" nre record ID > from this table, increment it and write it back. Also works wrapping of RecID by BaseObject Method. Then method can be used for sorting -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cmsheffield at gmail.com Thu Mar 24 09:57:13 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu Mar 24 10:57:25 2005 Subject: error 10093 on Windows Message-ID: <1d93d94b05032408573d399e49@mail.gmail.com> Hi everyone, Has anyone ever gotten error 10093 on Windows clients running VServer on a Windows server? The error's meaning is as follows: "Question/Problem: Successful WSAStartup not yet performed. Answer/Solution: Either your application hasn't called WSAStartup, or WSAStartup failed. There is another possibility: you are accessing a socket which the current active task does not own (that is, you're trying to share a socket between tasks). Chances are the network subsystem is misconfigured or inactive." Can anyone tell me what this means and how I can fix it? Usually a restart of the server fixes the problem temporarily, but my customers can't always be required to restart their servers. I have been running into this error lately in my testing, and I've had a couple customers who have reported it. Could this happen if a database connection is not getting opened/closed correctly? I'm at a loss. Thanks, Chris Sheffield Read Naturally From giacomo at way-out.it Thu Mar 24 18:06:25 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Thu Mar 24 11:06:36 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) Message-ID: <4eb2c43e346d86542ae4c8ca7d3c69f7@way-out.it> Hello everybody, I am having the same problem that a few people had before with SQLexecute and the UPDATE command. The query: nr_rows = SQLexecute (myDB, "UPDATE myTable SET myField = '0'") returns the right number of rows affected, but the fields are not updated. I have read that there is a "newer" 1.11 version (I have the one from september 29, 2004) but I can't find it anywhere, the new site doesn't have older files (some links are broken, ftp doesn't work...) I don't have the time now to test and convert all the code to version 2, and I must end my project in a few days. Is there a mirror or a link where I can find the new 1.11 version of the Xtra (mac/win)? Or maybe someone can mail it to me? I have found the http://www.novaint.com/paradigmasoft/ mirror but it hosts the old files. Thanks, Giacomo From sunshine at public.kherson.ua Fri Mar 25 00:20:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 24 16:20:43 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: <4eb2c43e346d86542ae4c8ca7d3c69f7@way-out.it> Message-ID: On 3/24/05 7:06 PM, "Giacomo Vernoni" wrote: > Is there a mirror or a link where I can find the new 1.11 version of > the Xtra (mac/win)? > Or maybe someone can mail it to me? All 1.x files are located in the download/v1 folder So http://www.paradigmasoft.com/download/v1/V4MD_MAC.sit.bin http://www.paradigmasoft.com/download/v1/V4MD_WIN.zip -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giacomo at way-out.it Fri Mar 25 10:08:45 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 03:09:53 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: <75cb180e6a4b9ff575326b79a4f25d56@way-out.it> Thanks Ruslan, but: The requested URL /download/v1/V4MD_MAC.sit.bin was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at www.paradigmasoft.com Port 80 I've tried for about an hour. The Windows versions downloads just fine, but IT'S THE SAME 29 SEPTEMBER VERSION (1.11) THAT DOESN'T WORK. Did you correct the bug on the Director Xtra? I've only read posts about the Real Basic plugin... Giacomo On 24 mar 2005, at 23:20, Ruslan Zasukhin wrote: > On 3/24/05 7:06 PM, "Giacomo Vernoni" wrote: > >> Is there a mirror or a link where I can find the new 1.11 version of >> the Xtra (mac/win)? >> Or maybe someone can mail it to me? > > All 1.x files are located in the download/v1 folder > > So > > http://www.paradigmasoft.com/download/v1/V4MD_MAC.sit.bin > > http://www.paradigmasoft.com/download/v1/V4MD_WIN.zip > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Mar 25 11:29:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 03:29:13 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: <75cb180e6a4b9ff575326b79a4f25d56@way-out.it> Message-ID: On 3/25/05 11:08 AM, "Giacomo Vernoni" wrote: > Thanks Ruslan, but: > > The requested URL /download/v1/V4MD_MAC.sit.bin was not found on this > server. /download/v1/V4MD_Carbon.sit.bin -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 11:30:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 03:30:20 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: <75cb180e6a4b9ff575326b79a4f25d56@way-out.it> Message-ID: On 3/25/05 11:08 AM, "Giacomo Vernoni" wrote: > The Windows versions downloads just fine, but IT'S THE SAME 29 > SEPTEMBER VERSION (1.11) THAT DOESN'T WORK. > Did you correct the bug on the Director Xtra? I've only read posts > about the Real Basic plugin... Not sure...then it will take more time, Giacomo -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Fri Mar 25 11:54:12 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Mar 25 03:54:17 2005 Subject: error 10093 on Windows References: <1d93d94b05032408573d399e49@mail.gmail.com> Message-ID: <002201c53120$995de830$3b04a8c0@giv> Hi Chris, > Hi everyone, > > Has anyone ever gotten error 10093 on Windows clients running VServer > on a Windows server? The error's meaning is as follows: At which moment did you get this error? On connect to VServer? Please check, that you have correspondence between ValentinaInit() & ValentinaShutdown() calls. E.g. maybe you have called ValentinaShutdown() more times than ValentinaInit(). -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giacomo at way-out.it Fri Mar 25 11:01:31 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 04:01:41 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: Hi Ruslan, I can confirm now that both the v1.11 Xtras (mac/win) have the SQLexecute UPDATE bug. I have just finished developing a new version of an application for a customer; the application updates the database from a text file downloaded from internet, and the updated records have a "new_article" flag. That flag doesn't get updated now (I've changed all my queries - a lot of them - from 1.9.7 to 1.11 to support locking! I can't go back) and I can't give the application to my customer until the problem is solved. I had an appointment on Friday 25 (today in Italy) and I managed to postpone it to next week, but I don't know what to say the next time... please help me! > Not sure...then it will take more time, Giacomo ... how much time will it take? Thanks, Giacomo On 25 mar 2005, at 10:30, Ruslan Zasukhin wrote: > On 3/25/05 11:08 AM, "Giacomo Vernoni" wrote: > >> The Windows versions downloads just fine, but IT'S THE SAME 29 >> SEPTEMBER VERSION (1.11) THAT DOESN'T WORK. >> Did you correct the bug on the Director Xtra? I've only read posts >> about the Real Basic plugin... > > Not sure...then it will take more time, Giacomo > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Mar 25 12:57:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 04:57:35 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: Message-ID: On 3/25/05 12:01 PM, "Giacomo Vernoni" wrote: > I had an appointment on Friday 25 (today in Italy) and I managed to > postpone it to next week, but I don't know what to say the next time... > please help me! Okay, wait 10 minutes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 13:01:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 05:01:46 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: Message-ID: On 3/25/05 12:01 PM, "Giacomo Vernoni" wrote: > I had an appointment on Friday 25 (today in Italy) and I managed to > postpone it to next week, but I don't know what to say the next time... > please help me! Please download again V4MD_Carbon. Xtra should be todays build. Let me know if this one works. Then I will build Windows version. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giacomo at way-out.it Fri Mar 25 12:17:16 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 05:18:54 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: Hi Ruslan, SQLexecute UPDATE now works but... there are problems with JOINs of tables (or maybe table LOCKS), Director quits with an error 363 where I have a cursor with a SELECT query joining a couple of tables (with an AND statement) on another section of my application. Simpler SELECT statements (no joins) work with no problem. Giacomo On 25 mar 2005, at 12:01, Ruslan Zasukhin wrote: > On 3/25/05 12:01 PM, "Giacomo Vernoni" wrote: > >> I had an appointment on Friday 25 (today in Italy) and I managed to >> postpone it to next week, but I don't know what to say the next >> time... >> please help me! > > Please download again V4MD_Carbon. > > Xtra should be todays build. > > Let me know if this one works. > > Then I will build Windows version. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From giacomo at way-out.it Fri Mar 25 12:37:01 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 05:37:11 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: <20cfc675116967ec04ef690fbd8c0d41@way-out.it> Hi Ruslan, I made some other tests. It seems that some joins work, but others don't. This query shuts down Director with an error 363: SELECT * FROM table1, table2 WHERE table1.field1 = table2.field1 AND table2.field2 = 1 AND table1.field3 = 1 ORDER BY field4, field1" This query is OK: SELECT DISTINCT field1, field2, field3, field4 FROM table1, table2 WHERE table1.field3 = table2.field3 AND field4 >= 50.8000 AND field4 <= 101.6000 Hope this helps... Giacomo On 25 mar 2005, at 12:01, Ruslan Zasukhin wrote: > On 3/25/05 12:01 PM, "Giacomo Vernoni" wrote: > >> I had an appointment on Friday 25 (today in Italy) and I managed to >> postpone it to next week, but I don't know what to say the next >> time... >> please help me! > > Please download again V4MD_Carbon. > > Xtra should be todays build. > > Let me know if this one works. > > Then I will build Windows version. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From robert at formworkdesign.com Fri Mar 25 06:59:26 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Fri Mar 25 05:59:37 2005 Subject: v2...planning ahead Message-ID: <2715b92d58b16afdcdad82a5059806b8@formworkdesign.com> This has probably been clarified somewhere previously, but I am in the dark. I am assuming the release of v2 means this is the last month of vServer use as we have know it for the last many months (i.e. temp license file downloadable each month.) If so, I am assuming I need to purchase some version of Valentina Office Server, as well as upgrade my current V4RB license to a V4RB2 ADK? What about Valentina App? Just from checking out the web site, I don't see anything about it. And regarding the web site ? wow! Ruslan, congrats on the major progress we are seeing on all fronts! A lot of very hard work, I am sure. I'm certain it will pay off. From sunshine at public.kherson.ua Fri Mar 25 15:58:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 07:58:31 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: <20cfc675116967ec04ef690fbd8c0d41@way-out.it> Message-ID: On 3/25/05 1:37 PM, "Giacomo Vernoni" wrote: > Hi Ruslan, I made some other tests. > > It seems that some joins work, but others don't. > > This query shuts down Director with an error 363: > > SELECT * FROM table1, table2 WHERE table1.field1 = table2.field1 AND > table2.field2 = 1 AND table1.field3 = 1 ORDER BY field4, field1" > > > This query is OK: > > SELECT DISTINCT field1, field2, field3, field4 FROM table1, table2 > WHERE table1.field3 = table2.field3 AND field4 >= 50.8000 AND field4 <= > 101.6000 > > > Hope this helps... 363 -- record locks error I assume that up to now you have ignore 3 last parameters in the SqlSelect() Vcursor() ? Do you know about e.g. this parameters: ServerSide, ReadWrite, Random ? May be you can get fast result if you will specify NoLocks for all your cursors. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 16:05:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 08:05:18 2005 Subject: v2...planning ahead In-Reply-To: <2715b92d58b16afdcdad82a5059806b8@formworkdesign.com> Message-ID: On 3/25/05 1:59 PM, "Robert Nichols" wrote: Hi Robert, > This has probably been clarified somewhere previously, but I am in the > dark. > I am assuming the release of v2 means this is the last month of vServer > use as we have know it for the last many months (i.e. temp license file > downloadable each month.) Why? No. Vserver still will use DEMO license files which you should download each month. As only you purchase license of Vserver then you get own license file, and forget about downloads. > If so, I am assuming I need to purchase some version of Valentina > Office Server, as well as upgrade my current V4RB license to a V4RB2 > ADK? Ok, so question is what should do existed Valentina users. Very good question, Robert. Thank you. I will try to make short answer in the next letter. > What about Valentina App? Just from checking out the web site, I don't > see anything about it. Valentina Studio -- is killer of VAPP. > And regarding the web site ? wow! > > Ruslan, congrats on the major progress we are seeing on all fronts! A > lot of very hard work, I am sure. I'm certain it will pay off. Thank you. We have now excellent team of developers. Valentina 2 -- is result of more than 2 years of hard work of 3-4 double full time developers. You will see that Valentina 2 is in several times bigger of Valentina 1.x. We have implement here a lots of new cool features, which I have dream about for years. Some of them although still require polishing in real life. Also I want to note, that we will add more and more new info into docs yet. We have made so many things :-)) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giacomo at way-out.it Fri Mar 25 15:08:55 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 08:09:03 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: <41ea82ab1ab8bae204980071a770bd0a@way-out.it> No, I didn't ignore the 3 parameters... in fact, I had to change most of my vCursor when I upgraded from Xtra 1.9.7 to 1.11. Most (not all) of the queries are: 1 (client), 1 (no lock), 2 (random). All worked with "old" version 1.11, but I will try to make ALL VCURSORS NO-LOCK and I will let you know. Giacomo On 25 mar 2005, at 14:58, Ruslan Zasukhin wrote: > On 3/25/05 1:37 PM, "Giacomo Vernoni" wrote: > >> Hi Ruslan, I made some other tests. >> >> It seems that some joins work, but others don't. >> >> This query shuts down Director with an error 363: >> >> SELECT * FROM table1, table2 WHERE table1.field1 = table2.field1 AND >> table2.field2 = 1 AND table1.field3 = 1 ORDER BY field4, field1" >> >> >> This query is OK: >> >> SELECT DISTINCT field1, field2, field3, field4 FROM table1, table2 >> WHERE table1.field3 = table2.field3 AND field4 >= 50.8000 AND field4 >> <= >> 101.6000 >> >> >> Hope this helps... > > 363 -- record locks error > > I assume that up to now you have ignore 3 last parameters in the > SqlSelect() > Vcursor() > > ? > > Do you know about e.g. this parameters: > ServerSide, ReadWrite, Random ? > > > May be you can get fast result if you will specify NoLocks for all your > cursors. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Mar 25 16:15:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 08:15:57 2005 Subject: v2...planning ahead, upgrade road from 1.x users. In-Reply-To: <2715b92d58b16afdcdad82a5059806b8@formworkdesign.com> Message-ID: On 3/25/05 1:59 PM, "Robert Nichols" wrote: > This has probably been clarified somewhere previously, but I am in the > dark. > > I am assuming the release of v2 means this is the last month of vServer > use as we have know it for the last many months (i.e. temp license file > downloadable each month.) Btw, it was possible to purchase Vserver during many months already. > If so, I am assuming I need to purchase some version of Valentina > Office Server, as well as upgrade my current V4RB license to a V4RB2 > ADK? So practically all of current Valentina users have some ADK of 1.x version. ---------------------------------------- * For example you have V4RB or V4MD. What options you have? 1) You can purchase upgrade V1 to V2. it is 50% of regular price. 2) also you can consider purchase (with discount) our new "product" - option - Valentina Developer Network. VDN is paradise IF you plan or dream about development of client/server, i.e. Multi-user version of your application/solution. -------------------------------------- * IMPORTANT: -- we think that VDN will be the primary option for go for most developers. -- developers do not need Vserver Office. developers need Vserver Embedded, which is part of VDN. -- VDN contains a lots of benefits and discounts. if you will count total price of all products that VDN includes you will see that VDN price offer you great bundle discount. -- VDN brings ability develop client/server apps even to shareware developers. ------------------------------------- * the who need Vserver Office. -- Vserver Office is good if company need only single copy of it. -- most probably, 2 ways exists here: * company A ask a developer to make them some internal solution. then Vserver Office -- is an answer. * Developer crreate app which work with many DBMS, but not include any of them. So developer sale app, but user later need choose which DBMS to buy for own office to use with this app. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From K.Klamp at t-online.de Fri Mar 25 15:28:53 2005 From: K.Klamp at t-online.de (Kurt Klamp) Date: Fri Mar 25 08:29:24 2005 Subject: v2...planning ahead In-Reply-To: Message-ID: <1gtzjmx.lwzgsvd4pxfiM%K.Klamp@t-online.de> Ruslan Zasukhin wrote: > > If so, I am assuming I need to purchase some version of Valentina > > Office Server, as well as upgrade my current V4RB license to a V4RB2 > > ADK? > > Ok, so question is what should do existed Valentina users. > Very good question, Robert. Thank you. > I will try to make short answer in the next letter. > > > What about Valentina App? Just from checking out the web site, I don't > > see anything about it. > > Valentina Studio -- is killer of VAPP. But i think it will be still a long way for vStudio to be a killer of Vapp, at least for private users and for using it with AppleScript. > > > And regarding the web site wow! > > > > Ruslan, congrats on the major progress we are seeing on all fronts! A > > lot of very hard work, I am sure. I'm certain it will pay off. > > Thank you. We have now excellent team of developers. > > Valentina 2 -- is result of more than 2 years of hard work of 3-4 double > full time developers. > > You will see that Valentina 2 is in several times bigger of Valentina 1.x. > We have implement here a lots of new cool features, which I have dream about > for years. Some of them although still require polishing in real life. > > Also I want to note, that we will add more and more new info into docs yet. > We have made so many things :-)) ACK much times. Yesterday i downloaded the new v2 kernel and sql pdf from the new site and - surprise - it seems i have to learn the russian language ;-) I think in this form you shouldn't put the docs on the site. BTW is there any example database (v2) to download and test with valentina studio ? Best, Kurt From giacomo at way-out.it Fri Mar 25 15:35:42 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Fri Mar 25 08:35:51 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: References: Message-ID: <4ac8f3d2807716eba62ad76e1f15fb9f@way-out.it> Hi Ruslan, I have made no-lock ALL the queries in my application (many many of them!). Before now, only some of the queries (the main ones) were nolock. Everything seems to work! (For now...) I think you can compile the Windows version... I will do some more tests during the week-end and I will eventually let you know next week if there is any problem. Just let me know when the file is available on the server. Thank you very much, Ruslan. Giacomo On 25 mar 2005, at 14:58, Ruslan Zasukhin wrote: > On 3/25/05 1:37 PM, "Giacomo Vernoni" wrote: > >> Hi Ruslan, I made some other tests. >> >> It seems that some joins work, but others don't. >> >> This query shuts down Director with an error 363: >> >> SELECT * FROM table1, table2 WHERE table1.field1 = table2.field1 AND >> table2.field2 = 1 AND table1.field3 = 1 ORDER BY field4, field1" >> >> >> This query is OK: >> >> SELECT DISTINCT field1, field2, field3, field4 FROM table1, table2 >> WHERE table1.field3 = table2.field3 AND field4 >= 50.8000 AND field4 >> <= >> 101.6000 >> >> >> Hope this helps... > > 363 -- record locks error > > I assume that up to now you have ignore 3 last parameters in the > SqlSelect() > Vcursor() > > ? > > Do you know about e.g. this parameters: > ServerSide, ReadWrite, Random ? > > > May be you can get fast result if you will specify NoLocks for all your > cursors. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Fri Mar 25 16:46:36 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Mar 25 09:47:10 2005 Subject: New Website Message-ID: Hi Ruslan! Finally the website is public! Congratulations. But for now many links lead to nothing (no downloads, e.g. where ist he embedded server zip?). But I guess that will come the very next days Happy easter everybody. Florian From sunshine at public.kherson.ua Fri Mar 25 17:57:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 09:57:19 2005 Subject: New Website In-Reply-To: Message-ID: On 3/25/05 5:46 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > Finally the website is public! Congratulations. But for now many links lead > to nothing (no downloads, e.g. where ist he embedded server zip?). Strange, it was here. I will check now Hmm, Florian, http://paradigmasoft.com/en/products/download/EMBSRV Here work both links to WIN and MAC. If you ask about old URLs, then they are not valid. Please trash old bookmarks. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 17:59:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 09:59:50 2005 Subject: v2...planning ahead In-Reply-To: <1gtzjmx.lwzgsvd4pxfiM%K.Klamp@t-online.de> Message-ID: On 3/25/05 4:28 PM, "Kurt Klamp" wrote: Hi Kurt, > ACK much times. Yesterday i downloaded the new v2 kernel and sql pdf > from the new site and - surprise - it seems i have to learn the russian > language ;-) Wow, can you tell please what document, and what page? > I think in this form you shouldn't put the docs on the site. > > BTW is there any example database (v2) to download and test with > valentina studio ? But why you cannot self create it ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Mar 25 17:02:10 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Mar 25 10:02:17 2005 Subject: New Website In-Reply-To: Message-ID: <0MKwh2-1DErGD1A7D-0002LV@mrelayeu.kundenserver.de> The link works but OS X only? Also when I click on download in your menu, I get absolutely nothing. If I click on "products" or "company" or any of their submenus I get - NOTHING! IE 5.x, Windows XP > -----Original Message----- > From: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin > Sent: Friday, March 25, 2005 4:57 PM > To: valentina@lists.macserve.net > Subject: Re: New Website > > On 3/25/05 5:46 PM, "Florian Bogeschdorfer" wrote: > > Hi Florian, > > > Finally the website is public! Congratulations. But for now many links > lead > > to nothing (no downloads, e.g. where ist he embedded server zip?). > > Strange, it was here. I will check now > > Hmm, Florian, > > http://paradigmasoft.com/en/products/download/EMBSRV > > Here work both links to WIN and MAC. > > If you ask about old URLs, then they are not valid. > Please trash old bookmarks. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Mar 25 18:23:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 10:23:37 2005 Subject: New Website In-Reply-To: <0MKwh2-1DErGD1A7D-0002LV@mrelayeu.kundenserver.de> Message-ID: On 3/25/05 6:02 PM, "Florian Bogeschdorfer" wrote: > The link works but OS X only? > > Also when I click on download in your menu, I get absolutely nothing. I click Win 32 link, http://paradigmasoft.com/download/VServer_Embedded_2_win.exe And it starts download. > If I click on "products" or "company" or any of their submenus I get - > NOTHING! > > IE 5.x, Windows XP Strange, it works here. Anybody else can try and confirm ? >> >> Hmm, Florian, >> >> http://paradigmasoft.com/en/products/download/EMBSRV -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Fri Mar 25 17:33:19 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Mar 25 10:34:06 2005 Subject: New Website In-Reply-To: Message-ID: <004701c53158$5b00cf70$1d0a11ac@wgregoire1> nothing too XP SP2 ( IE and its CSS? ) -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : vendredi 25 mars 2005 17:24 A : valentina@lists.macserve.net Objet : Re: New Website On 3/25/05 6:02 PM, "Florian Bogeschdorfer" wrote: > The link works but OS X only? > > Also when I click on download in your menu, I get absolutely nothing. I click Win 32 link, http://paradigmasoft.com/download/VServer_Embedded_2_win.exe And it starts download. > If I click on "products" or "company" or any of their submenus I get - > NOTHING! > > IE 5.x, Windows XP Strange, it works here. Anybody else can try and confirm ? >> >> Hmm, Florian, >> >> http://paradigmasoft.com/en/products/download/EMBSRV -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From jda at his.com Fri Mar 25 11:45:08 2005 From: jda at his.com (jda) Date: Fri Mar 25 10:45:26 2005 Subject: SQL exception Message-ID: Hi Ruslan, With 2.0 release, this query select id,authors from thereferences where (allFields='Ukra?ni') // the i has an umlaut over it generates the error "line 1:1: expecting ')', found 'EOF' In fact, any unicode character in the search seems to give an SQL error. Hm, b58 (which fortunately I kept) works...off to Mantis. Jon From fb at memedia.de Fri Mar 25 17:57:17 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Mar 25 10:57:24 2005 Subject: New Website In-Reply-To: Message-ID: Firefox does work. IE does not. Florian From ga at ed4u.com Fri Mar 25 11:01:04 2005 From: ga at ed4u.com (Gordon Apple) Date: Fri Mar 25 11:01:27 2005 Subject: New Website In-Reply-To: Message-ID: on 3/25/05 10:23 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Strange, it works here. > > Anybody else can try and confirm ? > It all works just fine here, i.e., web pages and downloads win/mac. -- G. Gordon Apple, PhD Ed4U 722 S. Broadway #30 Redondo Beach, CA 90277 310-316-3406 800-579-Ed4U (3348) 310-766-3900 (cell) 425-732-0300 (fax) ga@ed4u.com www.ed4u.com Little Rock: 300 N. Elm St. Little Rock, AR 72205 501-868-7637 800-579-Ed4U (3348) (cell) 310-766-3900 (cell) From sunshine at public.kherson.ua Fri Mar 25 19:26:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 11:26:34 2005 Subject: SQL exception In-Reply-To: Message-ID: On 3/25/05 6:45 PM, "jda" wrote: > Hi Ruslan, > > With 2.0 release, this query > > select id,authors from thereferences where > (allFields='Ukra?ni') // the i has an umlaut over > it > > generates the error "line 1:1: expecting ')', found 'EOF' > > In fact, any unicode character in the search seems to give an SQL error. > > Hm, b58 (which fortunately I kept) works...off to Mantis. Hi Jon, I think I know where Sergey have broke it. Result of fix of \A -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 21:11:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 13:11:38 2005 Subject: Paradigmasoft.com pages are broken In-Reply-To: Message-ID: On 3/25/05 8:33 PM, "Walter Ian Kaye" wrote: > The content of your pages is being commented out by the following error: > > > > > > It should end in -->, not --!>. This error causes the commenting to > NOT be closed, thus blanking out the main content which follows it on > the page. > > This appears to be a sitewide error. FIXED. Thank you very much for help ! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From k.klamp at t-online.de Fri Mar 25 20:32:50 2005 From: k.klamp at t-online.de (Kurt Klamp) Date: Fri Mar 25 13:33:18 2005 Subject: v2...planning ahead In-Reply-To: References: Message-ID: <31be8b100248b5ed868ec4337c1881ed@t-online.de> Hi Ruslan, Am 25.03.2005 um 16:59 schrieb Ruslan Zasukhin: > On 3/25/05 4:28 PM, "Kurt Klamp" wrote: > > Hi Kurt, > >> ACK much times. Yesterday i downloaded the new v2 kernel and sql pdf >> from the new site and - surprise - it seems i have to learn the >> russian >> language ;-) > > Wow, can you tell please what document, and what page? My apologize. I just reloaded the docs and its getting much more better. Seems that the last downloaded version wasn't really meant to be published. > >> I think in this form you shouldn't put the docs on the site. >> >> BTW is there any example database (v2) to download and test with >> valentina studio ? > > But why you cannot self create it ? Its much stupid typo to get a db with many tables and a worthy portion of records. Why not publish some example db's (like the example db starting at page 98; SQL.pdf) to download for instant testing. Especially regarding the examples in the docs there should be one real db which is the base for the examples and for training at home. Best, Kurt From sonicinema at yahoo.com Fri Mar 25 11:53:00 2005 From: sonicinema at yahoo.com (Capra J'neva) Date: Fri Mar 25 13:53:08 2005 Subject: update problems In-Reply-To: 6667 Message-ID: <20050325195300.80173.qmail@web50307.mail.yahoo.com> Hi, sorry I just got the tail end of the conversation about updating, so sorry if this question has already been answered. I am unable to make updates to a record. When using the cursor script: UpdateRecord, I receive a #5 error (which means somehow that it cannot connect with a file) here is the script that causes the error: UpdateRecord(queryObject,"user",3) ...By the way a DeleteRecord in this same cursor position succeeds. I used the following SqlExecute: SqlExecute(curDB,"UPDATE '" &baseObject&"' SET 'user'=3 WHERE 'numSizes'="&numSizes&" AND 'user'=2", 2, 3, 2) Where curDB is the database object, baseObject is the base object and numSizes is an integer. When I put in the cursor flags, it hard crashes director & makes everything else on my computer crippled for a few minutes. Without them, it gives me error 616, wrong expression. But I don't know what the right expression would be. Thanks, Capra __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From sunshine at public.kherson.ua Fri Mar 25 22:12:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 14:12:49 2005 Subject: v2...planning ahead In-Reply-To: <31be8b100248b5ed868ec4337c1881ed@t-online.de> Message-ID: On 3/25/05 9:32 PM, "Kurt Klamp" wrote: >>> BTW is there any example database (v2) to download and test with >>> valentina studio ? >> >> But why you cannot self create it ? > > Its much stupid typo to get a db with many tables and a worthy portion > of records. Why not publish some example db's (like the example db > starting at page 98; SQL.pdf) to download for instant testing. > Especially regarding the examples in the docs there should be one real > db which is the base for the examples and for training at home. Well, ask Jochen todo this. Right, we are going to make database with records as described in the ValentinaSQL.pdf on last pages. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 25 22:31:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 25 14:31:29 2005 Subject: update problems In-Reply-To: <20050325195300.80173.qmail@web50307.mail.yahoo.com> Message-ID: On 3/25/05 9:53 PM, "Capra J'neva" wrote: > Hi, sorry I just got the tail end of the conversation > about updating, so sorry if this question has already > been answered. I am unable to make updates to a > record. When using the cursor script: UpdateRecord, I > receive a #5 error (which means somehow that it cannot > connect with a file) here is the script that causes > the error: UpdateRecord(queryObject,"user",3) ...By > the way a DeleteRecord in this same cursor position > succeeds. > > I used the following SqlExecute: > SqlExecute(curDB,"UPDATE '" &baseObject&"' SET > 'user'=3 WHERE 'numSizes'="&numSizes&" AND 'user'=2", > 2, 3, 2) WHERE 'numSizes' = .. ^^^^^^^^^^^^^^ this is field ? then why in quotes ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sonicinema at yahoo.com Fri Mar 25 17:05:04 2005 From: sonicinema at yahoo.com (Capra J'neva) Date: Fri Mar 25 19:05:08 2005 Subject: update problems In-Reply-To: 6667 Message-ID: <20050326010504.67158.qmail@web50304.mail.yahoo.com> When creating a new database, it would not write unless the fields & bases were in quotes. When reading from it, it won't read without them in quotes. Which way is it to be? So now, when writing back into an existing database things don't go in quotes? But I was having trouble with it that way too...hard crashes. --- Ruslan Zasukhin wrote: > On 3/25/05 9:53 PM, "Capra J'neva" > wrote: > > > Hi, sorry I just got the tail end of the > conversation > > about updating, so sorry if this question has > already > > been answered. I am unable to make updates to a > > record. When using the cursor script: > UpdateRecord, I > > receive a #5 error (which means somehow that it > cannot > > connect with a file) here is the script that > causes > > the error: UpdateRecord(queryObject,"user",3) > ...By > > the way a DeleteRecord in this same cursor > position > > succeeds. > > > > I used the following SqlExecute: > > SqlExecute(curDB,"UPDATE '" &baseObject&"' SET > > 'user'=3 WHERE 'numSizes'="&numSizes&" AND > 'user'=2", > > 2, 3, 2) > > WHERE 'numSizes' = .. > ^^^^^^^^^^^^^^ > > this is field ? > > then why in quotes ? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From sunshine at public.kherson.ua Sat Mar 26 10:43:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 26 02:43:15 2005 Subject: update problems In-Reply-To: <20050326010504.67158.qmail@web50304.mail.yahoo.com> Message-ID: On 3/26/05 3:05 AM, "Capra J'neva" wrote: > When creating a new database, it would not write > unless the fields & bases were in quotes. Please show me your SQL CREATE TABLE. Must be without any quotes CREATE TABLE Person ( Name string[40] ) > When > reading from it, it won't read without them in quotes. > Which way is it to be? Tables and field should not be in quotes. Only if you have table or field name with spaces then you may use [] CREATE TABLE [Person] ( [Name With Spaces] string[40] ) But better avoid spaces. > So now, when writing back into an existing database > things don't go in quotes? But I was having trouble > with it that way too...hard crashes. Make sure that you have good db. Open it in VAPP or vsutio and do DIGANOSE. If db is bad then rebuild it. If db is good. Then something is wrong in code -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tjames1 at bigpond.net.au Sun Mar 27 12:29:51 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Sat Mar 26 20:30:06 2005 Subject: V4RB Backwards Compatibility between 1.10 and 2.0 Message-ID: <7ee97e3cc26697163f6bf2eb3005c83c@bigpond.net.au> I have just downloaded all the 2.0 info (doc and files) to evaluate prior to upgrading. I compiled a small program for fun and errors were flagged indicating changes to syntax between 1.10 and 2. Small example 1.10 cursor.currentposition 2.0 cursor.position Has anyone documented these issues? My only concern is in the interim is maintaining two code libraries till I bite the bullet and upgrade to 2.0 TIA Tim James From rosyna at unsanity.com Sat Mar 26 22:37:50 2005 From: rosyna at unsanity.com (Rosyna) Date: Sat Mar 26 23:38:06 2005 Subject: Opening VCSDK 1.1x databases in Studio 2.0 Message-ID: I'm making an app using the C SDK and I'm trying to view the contents of the database. If I open the database in Valentina Studio 2.0b3 I can view all the fields in the Database, but I just get an empty window if I click on "Data Browser". Can the studio 2.0 application not view 1.1x databases? FWIW, V Studio does show all the fields that are on the database. -- Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug Unsanity: Unsane Tools for Insanely Great People From sunshine at public.kherson.ua Sun Mar 27 10:48:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 03:14:01 2005 Subject: [Valentina TIP] //Re: RB and database capabilities In-Reply-To: <20050327060024.7B6617F14CE@lists.realsoftware.com> Message-ID: > From: Michael Bierly > Date: Sat, 26 Mar 2005 20:54:00 -0500 > > On 3/26/2005 8:29 PM, "Mathieu Langlois" wrote: > >> I will seriously look into Valentina, thank you all for the advise. >> When you guys say that it uses RB DB api, you mean it uses objects >> like recordset, and not proprietary objects? > > That's correct. It's one of the new features in Valentina 2. However, you > the developer now have the choice of using the RB way to access the database > OR you can use the Valentina "way". The advantage to using the native > Valentina methods is that it is the fastest of the two ways. Hi Guys, Valentina 2.0 is really fantastic and unique by its features. It will require many pages just to list all its new features and its new cool features which you will not find in any other DBMS. I want underline that Valentina is result of own theoretical developments in database area. We are NOT just another db engine. I think we will send to this list TIP-letters which will inform about different features of Valentina 2.0 So, about CHOICE of WAY with Valentina 2.0. * CHOOSE Database Model ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Valentina 2.0 supports pure RELATIONAL model with practically full SQL92. - Also Valentina 2.0 and V4RB in particular introduce low level API, which allow you work using Navigational model. - Also you can use features of Object-Relational model You can MIX all this in your app. * CHOOSE way of coding ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) You can use RBDB API. this way probably have own advantages. E.g. Binding to controls. BTW, we want yet integrate this way with others. 2) NEW low level API of V4RB 2.0 using this you can resolve practically any task without SQL. This way, can be at least 4-5 times faster of SQL way. Example: tblPerson = db.CreateTable( "Person" ) fldName = tblPerson.CreateVarCharField( "Name", 100, EVFlag.fIndexed ) fldName.FindStartWith( "Pet" ) fldName.FindLike( "Pet%" ) fldName.FindContains( "Pet%" ) 3) variation of API way that use Classes. Cool way, which allow you hide anything behind classes. 4) Pure SQL way. In this way you do all mainly via SQL. db.SqlExecute( "CREATE TABLE ..." ) db.SqlESelect( "SELECT ... WHERE fld LIKE ... " ) -------------------- To Be continued: RAM-databases, RAM-tables, Unicode, XML, Valentina SQL, Extensions of SQL92, operator -> Links: FOREIGN KEY, ObjectPtr, Binary Links. New Link functions. and more... -- 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] From sunshine at public.kherson.ua Sun Mar 27 12:14:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 03:14:51 2005 Subject: V4RB Backwards Compatibility between 1.10 and 2.0 In-Reply-To: <7ee97e3cc26697163f6bf2eb3005c83c@bigpond.net.au> Message-ID: On 3/27/05 4:29 AM, "Tim James" wrote: > I have just downloaded all the 2.0 info (doc and files) to evaluate > prior to upgrading. > > I compiled a small program for fun and errors were flagged indicating > changes to syntax between 1.10 and 2. > > Small example > > 1.10 cursor.currentposition > > 2.0 cursor.position > > > Has anyone documented these issues? Yes, we have document this on beta list. I will find and forward letter to this list now. In fact good idea add this into archive or docs Beta developers was able port 1.x projects to 2.0 in few hours. > My only concern is in the interim is maintaining two code libraries > till I bite the bullet and upgrade to 2.0 -- 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] From sunshine at public.kherson.ua Sun Mar 27 09:14:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 03:14:58 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: Message-ID: --------------------------------------------------- * remove ValentinaUtility methods * V4RB 2.0 have enums with names EVxxx for constants. * Find/replace a bunch more kv_ constants with the EV... enumerator equivalents. Most of the ones you need to find will be in the EVFlag domain, but also some in other places like EVOnDeletion domain. Compiler will tell you which ones you need to replace since you just threw out ValentinaUtilities. * IF you have use in the old project NOT kV_constants, but just NUMERIC values of constants then you must find all such places and replace on new Evxxxx constants. This is very very important because 2.0 can have other numeric values for constants. * V4RB 2.0 supports a new style of errors via VException class. if you convert old 1.x project then you have to use db.LastError style. you can disable new style and return back old style. use for this Valentina.ThrowExceptions as boolean * Global methods are collected in the MODULE "Valentina", so now ValentinaInit() => Valentina.Init() ValentinaShutDown => Valentina.ShutDown() ValentinaEscapeString => Valentina.EscapeString() ValentinaDebugOn => Valentina.DebugLevel property ... * Valentina.Init() doesn't return a value anymore. Use the CacheSize properties to check if the database was properly initiated. * if in the 1.x version you have set some encoding for strings BEFORE/AFTER send strings to V4RB then now you no need to do this. Although for now V4RB 2.0 expect to get UTF8 strings -- default encoding of V4RB * Dcon and DbgView support depricated. instead we have now V4RB_LOG.txt file that get output from V4RB. It is very recommended during development set Valentina.DebugLevel = EVDebugLevel.kLogParams. then in case of any problems you can open V4RB_Log.txt file and monitor a lots of useful information. ------------------------------------------ Database: ------------------------------------------ * Vdatabase.Open() / .Create() no longer return anything, so change code to reflect. Use Database.ErrNumber to check errors. ------------------------------------------ Tables: ------------------------------------------ * class VBaseObject renamed to Vtable. so you need reset the super-class for all your Table classes. * The GotoRecID() no longer exists. Use RecID and RecordExists() : If RecordExists(myRec) then RecID = inRec end if * The AddRecord() function now returns the new record value. ------------------------------------------ Fields: ------------------------------------------ * Property BaseObject of class VField changed to property Table, a careful find/replace should fix. * VField.Nullable to VField.IsNullable find replace. * VField.Compressed to VField.IsCompressed find replace. * VField.Indexed to VField.IsIndexed find replace. * VField.Unique to VField.IsUnique find replace. * Vfield.SetMethod() no longer exists. instead you should on creation of a field provide the method formula into the constructor of field via last parameter. IF you want change existed method, then use Vfield.MethodText property * property Language for Vstring/VarChar/Text removed. also it not exists any more in the constructors of this classes. instead Vdatabse, Vtable and Vfield now have trio .Locale .CollatioAttribute .StorageEncoding ------------------------------------------ Cursors: ------------------------------------------ * Vcursor.SqlString property not exists any more. * VCursor.CurrentPosition to VCursor.Position find replace ------------------------------------------ SQL: ------------------------------------------ * 2.0 SQL do NOT allow you name or tables with key words of SQL. for example field with name "references" will not work in SQL. or field with name "default". recommendation is always use some prefix for table/field names. e.g. tblPerson, fldName * LIKE operator now works not as regex but as SQL92 LIKE. if you need regex then use REGEX keyword -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina-beta mailing list Valentina-beta@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Sun Mar 27 12:15:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 03:15:12 2005 Subject: Opening VCSDK 1.1x databases in Studio 2.0 In-Reply-To: Message-ID: On 3/27/05 7:37 AM, "Rosyna" wrote: > I'm making an app using the C SDK and I'm trying to view the contents > of the database. If I open the database in Valentina Studio 2.0b3 I > can view all the fields in the Database, but I just get an empty > window if I click on "Data Browser". Can the studio 2.0 application > not view 1.1x databases? > > FWIW, V Studio does show all the fields that are on the database. Hi Slava, Actually for Vstudio exists separate list. Yes, VS can work with 1.x dbs. I know that b3 have bug on this. TIP: try to find in prefs folder, prefs of Vstudio. here you can remove auto-version or something like this. then VS will explicitly show in menu open 1.x open 2.0 Please ask more Jochen. -- 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] From j.peters at valentina-db.de Sun Mar 27 13:13:36 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Sun Mar 27 05:12:52 2005 Subject: Opening VCSDK 1.1x databases in Studio 2.0 In-Reply-To: References: Message-ID: Hi Slava, this is bug in Beta 3 of vStudio! I have already uploaded Beta 4 to www.valentina-db.de. It fixes the problem. Please download it and use it instead of b3. I will also upload a new build to the new Paradigmasoft Website in the next days. Am 27.03.2005 um 11:15 schrieb Ruslan Zasukhin: > On 3/27/05 7:37 AM, "Rosyna" wrote: > >> I'm making an app using the C SDK and I'm trying to view the contents >> of the database. If I open the database in Valentina Studio 2.0b3 I >> can view all the fields in the Database, but I just get an empty >> window if I click on "Data Browser". Can the studio 2.0 application >> not view 1.1x databases? >> >> FWIW, V Studio does show all the fields that are on the database. > > Hi Slava, > > Actually for Vstudio exists separate list. > > Yes, VS can work with 1.x dbs. I know that b3 have bug on this. > > > TIP: try to find in prefs folder, prefs of Vstudio. > here you can remove auto-version or something like this. > > then VS will explicitly show in menu > open 1.x > open 2.0 > > Please ask more Jochen. > > > -- > 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] > > > _______________________________________________ > Valentina-studio mailing list > Valentina-studio@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-studio > > -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Sun Mar 27 12:32:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 05:33:20 2005 Subject: [Valentina 2.0 TIP] Picture field // RE: yet another RB database question In-Reply-To: <20050327060024.7B6617F14CE@lists.realsoftware.com> Message-ID: > From: Roger Cudney > Date: Sat, 26 Mar 2005 18:14:17 -0800 (PST) Hi Roger, > Is there a good reason to switch to Valentina? I cannot switch easily to the > new RB format because I am storing JPEGS in the database. Valentina support perfectly not only REALbasic, but Macromedia Director. Special for Director users Valentina integrate into kernel library which work with images. You can store into Valentina 2.0 different picture formats. You can ask Valentina convert them inside of db in e.g. JPG or TIFF. Or you can give already existed JPG, TIFF, and get them back as is, Or you can get them back as uncompressed bitmap ready for displaying. Valentina 2.0 do not depend on QuickTime by the way. -- 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] From spinel at exenevex.com Sun Mar 27 14:07:37 2005 From: spinel at exenevex.com (Stephane Pinel) Date: Sun Mar 27 06:09:49 2005 Subject: [Valentina 2.0 TIP] Picture field // RE: yet another RB database question In-Reply-To: References: Message-ID: <3fdd36037aafec8534e365f2dfac5882@exenevex.com> Le 27 mars 05, ? 11:32, Ruslan Zasukhin a ?crit : > Valentina support perfectly not only REALbasic, but Macromedia > Director. > > Special for Director users Valentina integrate into kernel library > which > work with images. > > You can store into Valentina 2.0 different picture formats. > You can ask Valentina convert them inside of db in e.g. JPG or TIFF. > Or you can give already existed JPG, TIFF, and get them back as is, > Or you can get them back as uncompressed bitmap ready for displaying. > > Valentina 2.0 do not depend on QuickTime by the way. > > -- > Best regards, > > Ruslan Zasukhin > Just looked at the prices list (Valentina Server 2) and it seems that license is "number of connections" based. From $300 (per platform) for 5 connections, to $1500 (per platform) illimited connections. That is very expansive. What is VDN Platform ? Thanks St?phane From lfredricks at proactive-intl.com Sun Mar 27 10:13:08 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Mar 27 12:13:24 2005 Subject: [Valentina 2.0 TIP] Picture field // RE: yet another RBdatabase question In-Reply-To: <3fdd36037aafec8534e365f2dfac5882@exenevex.com> Message-ID: <20050327181310.90159175113@whisk.dreamhost.com> > Just looked at the prices list (Valentina Server 2) and it > seems that license is "number of connections" based. From > $300 (per platform) for 5 connections, to $1500 (per > platform) illimited connections. That is very expansive. > > What is VDN Platform ? Not very expensive if you look at various solutions out there. http://www.paradigmasoft.com/en/products/developer/vertical/PLATFORM VDN is a two year maintenance program for developers. Right now you can get it for Director or REALbasic. The REALbasic one includes both Mac and Windows ADKs and is the version for Valentina 2 Embedded Server. Meaning, you can distribute server apps with the base five connections *royalty free*. You can also deploy an unlimited version for $400 per deployment. Connections let you expand on your per deployment -- for example -- if you want to give one of your customers a 10 connection deployment, you would need to add five connections to the base five. As you can see, you also receive the following benefits with VDN Platform: -Valentina 2 Office Server Developer Editions. You can use these internally for your own business or testing purposes. -Reseller discounting on Valentina 2 Office Server. This is a 20% discount -10 VDN Connections. You get 10 of these to start selling to your customers -Upgrades for two years for the ADKs -Since it's a "Pro" ADK, a free copy of Valentina Studio Administrator -Access to a special VDN Forum -Priority fixes -Other Goodies We are putting together a Valentina Solutions Partner list which will be available on the Paradigma Website. These will be drawn from the VDN membership. If you already have Valentina for REALbasic 1.1, you can get $100 off of Platform Edition, ie $499. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From sunshine at public.kherson.ua Sun Mar 27 21:59:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 27 12:59:23 2005 Subject: [Valentina 2.0 TIP] Picture field // RE: yet another RBdatabase question In-Reply-To: <20050327181310.90159175113@whisk.dreamhost.com> Message-ID: On 3/27/05 9:13 PM, "Lynn Fredricks" wrote: Hi Stephan, What you think now ? Lynn, have explain thay Valentina Office Server is NOT for application developers as you. APP developers should look to VDN with with Embedded Server. With VDN you can for $600: a) develop ANY number of applications with embedded server. b) sale any number of copies of these apps wit Vserver/5 Cool? We think this is cool for developers. You sale 1000 copies, get profit, and DO NOT pay us nothing. :-) You sale 10,000 copies, get profit, and DO NOT pay us nothing. :-) You can for some tasks even handle 10-20-30+ users. If you will use connect-work-disconnect trick One of Valentina Server users have report that when they have switch to this trick, instead of V4MD LOCAL open/close trick, they have get speed up in 17 times. Why it is faster? Because server DO NOT close db if you disconnect from it, And it keeps db in cache. I think that connect/disconnect trick can handle even 50 users easy. Of course all depend on task and how you program it. For example, you can use client-side cursors. This will copy data to client computer, so user can disconnect and still browse data. >> Just looked at the prices list (Valentina Server 2) and it >> seems that license is "number of connections" based. From >> $300 (per platform) for 5 connections, to $1500 (per >> platform) illimited connections. That is very expansive. >> >> What is VDN Platform ? > > Not very expensive if you look at various solutions out there. > > http://www.paradigmasoft.com/en/products/developer/vertical/PLATFORM > > VDN is a two year maintenance program for developers. Right now you can get > it for Director or REALbasic. The REALbasic one includes both Mac and > Windows ADKs and is the version for Valentina 2 Embedded Server. Meaning, > you can distribute server apps with the base five connections *royalty > free*. You can also deploy an unlimited version for $400 per deployment. > Connections let you expand on your per deployment -- for example -- if you > want to give one of your customers a 10 connection deployment, you would > need to add five connections to the base five. > > As you can see, you also receive the following benefits with VDN Platform: > > -Valentina 2 Office Server Developer Editions. You can use these internally > for your own business or testing purposes. > -Reseller discounting on Valentina 2 Office Server. This is a 20% discount > -10 VDN Connections. You get 10 of these to start selling to your customers > -Upgrades for two years for the ADKs > -Since it's a "Pro" ADK, a free copy of Valentina Studio Administrator > -Access to a special VDN Forum > -Priority fixes > -Other Goodies > > We are putting together a Valentina Solutions Partner list which will be > available on the Paradigma Website. These will be drawn from the VDN > membership. > > If you already have Valentina for REALbasic 1.1, you can get $100 off of > Platform Edition, ie $499. -- 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] From tjames1 at bigpond.net.au Mon Mar 28 12:26:21 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Sun Mar 27 20:26:34 2005 Subject: Converting V1 DB to V2 Format Message-ID: <4e8b29e2630179a346a2e6a3245d698b@bigpond.net.au> Is there currently any way to relatively easily load data from a DB created in 1.10 to the new 2 format. (I presume Valentina.Convert_1_2 is still an unreleased feature and it appears you cannot dumpxml from 1 and then restore into 2) TIA Tim James From ktekinay at mactechnologies.com Sun Mar 27 21:33:28 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Mar 27 20:33:42 2005 Subject: Studio bug Message-ID: I was playing with Studio. I created a new database, defined the only table and the fields, then started an Import. After about 10 minutes, I realized it was locked up so I force-quit the program. Now I cannot open the files, nor can I run any diagnosis on the files. This isn't terribly important since, as I said, I was just playing, but I thought I should report it. What additional information can I provide? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From gaseous1 at mac.com Sun Mar 27 20:34:01 2005 From: gaseous1 at mac.com (Eric Werner, MD) Date: Sun Mar 27 20:34:19 2005 Subject: Valentina RBDB_2 In-Reply-To: <200503270914.j2R9E39v001304@mac.com> Message-ID: Ruslan, I'm testing RBDB2, and trying out the "REALbasic" method of communication with the Valentina engine. When I choose "Add Data Source" and "New Valentina..." from within REALbasic, I am allowed to name a new database. However, when I double click the database in the Project Window I get an error: "Unable to Connect to the Database." I also find that there is no database file created on the hard drive, when I use this approach. What is the status of this feature -- is it not yet complete, or doesn't it work this way? Regards, Eric From ktekinay at mactechnologies.com Sun Mar 27 21:49:26 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Mar 27 20:49:32 2005 Subject: Studio bug In-Reply-To: Message-ID: On 3/27/05 9:33 PM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > Now I cannot open the files, > nor can I run any diagnosis on the files. OK, part of that mystery is solved. When Studio created the files, it left the extension ".vdb" off of the main file and put ".." in the names of the rest of the files. By correcting this manually, I was able to open the db, although my field definitions were gone. I started again with a fresh db. I notice that, when I open the db, the second column might list the file twice, even though the second listing appears to be a phantom. I am trying to do an import from the same ASCII file and it appears to be locked up again. I wonder if that's because there are more fields in the file than in my db? And why didn't it ask me about the delimiters in the ASCII file. Is that in the screen that doesn't want to appear? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From gaseous1 at mac.com Sun Mar 27 22:03:06 2005 From: gaseous1 at mac.com (Eric Werner, MD) Date: Sun Mar 27 22:03:26 2005 Subject: Valentina RBDB_2 In-Reply-To: Message-ID: Ruslan, Let me add that if I create a v2.0 DB in vStudio, and attach it via "Add Data Source" and "Select Valentina...", then the behavior is as expected and I can address the database using the REALbasic API. Regards, Eric On 3/27/05 8:34 PM, "Eric Werner, MD" wrote: > Ruslan, > > I'm testing RBDB2, and trying out the "REALbasic" method of communication > with the Valentina engine. When I choose "Add Data Source" and "New > Valentina..." from within REALbasic, I am allowed to name a new database. > However, when I double click the database in the Project Window I get an > error: > > "Unable to Connect to the Database." > > I also find that there is no database file created on the hard drive, when I > use this approach. > > What is the status of this feature -- is it not yet complete, or doesn't it > work this way? > > Regards, > > Eric > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Regards, Eric From jules.jacquot at wanadoo.fr Mon Mar 28 08:53:22 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Mar 28 00:52:33 2005 Subject: Valentina RBDB_2 Message-ID: V4RB_2 is in the plugin's folder. RB 5.5.5 OSX I'm running the example DB_CreateCloseOpen.rb and i have this message about Valentina.init "this method or property does not exist" was i omitting something ? maybe that that is coming from the V4RB_2 update ? best jules --------------------------------------- O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Mon Mar 28 09:59:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 01:00:31 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: <4e8b29e2630179a346a2e6a3245d698b@bigpond.net.au> Message-ID: On 3/28/05 5:26 AM, "Tim James" wrote: > Is there currently any way to relatively easily load data from a DB > created in 1.10 to the new 2 format. > > (I presume Valentina.Convert_1_2 is still an unreleased feature and it > appears you cannot dumpxml from 1 and then restore into 2) YES. Look at Valentina.Convert_1_2() Method. Also exists example on this in the folder Examples/Common -- 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] From sunshine at public.kherson.ua Mon Mar 28 10:02:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 01:02:16 2005 Subject: Studio bug In-Reply-To: Message-ID: On 3/28/05 5:33 AM, "Kem Tekinay" wrote: > I was playing with Studio. I created a new database, defined the only table > and the fields, then started an Import. After about 10 minutes, I realized > it was locked up so I force-quit the program. Now I cannot open the files, > nor can I run any diagnosis on the files. > > This isn't terribly important since, as I said, I was just playing, but I > thought I should report it. What additional information can I provide? Let me remind that all problems you found PLEASE REPORT via our Mantis issue tracker: http://paradigma.ukrcom.kherson.ua/bt/ First time you will need register Then choose correct project for your report. You will see in the top right menu many projects... Also if you report something that clearly is part of kernel, then report it into project KERNEL. -- 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] From sunshine at public.kherson.ua Mon Mar 28 10:05:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 01:05:21 2005 Subject: Valentina RBDB_2 In-Reply-To: Message-ID: On 3/28/05 5:34 AM, "Eric Werner, MD" wrote: Hi Eric, > I'm testing RBDB2, and trying out the "REALbasic" method of communication > with the Valentina engine. When I choose "Add Data Source" and "New > Valentina..." from within REALbasic, I am allowed to name a new database. > However, when I double click the database in the Project Window I get an > error: > > "Unable to Connect to the Database." > > I also find that there is no database file created on the hard drive, when I > use this approach. > > What is the status of this feature -- is it not yet complete, or doesn't it > work this way? Well, this can be result of our last month switch to FSRef to support unicode paths. I am sure that IF you have database and do "select Valentina..." then it works. I will check "New Valentina" ASAP -- 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] From sunshine at public.kherson.ua Mon Mar 28 10:06:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 01:06:40 2005 Subject: Valentina RBDB_2 In-Reply-To: Message-ID: On 3/28/05 7:03 AM, "Eric Werner, MD" wrote: > Ruslan, > > Let me add that if I create a v2.0 DB in vStudio, and attach it via "Add > Data Source" and "Select Valentina...", then the behavior is as expected and > I can address the database using the REALbasic API. Excellent! problem was that during beta testing nobody from beta testers have not test RBDB API. So we have develop it in blind way :-) -- 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] From sunshine at public.kherson.ua Mon Mar 28 10:09:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 01:09:34 2005 Subject: Valentina RBDB_2 In-Reply-To: Message-ID: On 3/28/05 9:53 AM, "Jules Jacquot" wrote: > V4RB_2 is in the plugin's folder. RB 5.5.5 OSX > I'm running the example DB_CreateCloseOpen.rb and i have this message > about Valentina.init > "this method or property does not exist" > was i omitting something ? > maybe that that is coming from the V4RB_2 update ? Hi Jules, In other words V4RB 2 do not works for you at all ? TIP: after installation just run REALbasic, it will open empty project double click window -> you will get into method Open() start type 2 chars va REALbasic should show you completion valentina If you do not see this, then plugin is NOT registered by REALbasic. And then we need research why... Have you remove V4RB 1.x from plugins folder ? -- 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] From jules.jacquot at wanadoo.fr Mon Mar 28 11:30:55 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Mar 28 03:30:11 2005 Subject: Valentina RBDB_2 In-Reply-To: References: Message-ID: <8402bbeb6d86d9cf700d631cefc7db4e@wanadoo.fr> thanks ruslan it's working fine this tip is visible where ? best jules Le 28 mars 05, ? 09:09, Ruslan Zasukhin a ?crit : > On 3/28/05 9:53 AM, "Jules Jacquot" wrote: > >> V4RB_2 is in the plugin's folder. RB 5.5.5 OSX >> I'm running the example DB_CreateCloseOpen.rb and i have this message >> about Valentina.init >> "this method or property does not exist" >> was i omitting something ? >> maybe that that is coming from the V4RB_2 update ? > > Hi Jules, > > In other words V4RB 2 do not works for you at all ? > > TIP: > > after installation just run REALbasic, > it will open empty project > double click window -> you will get into method Open() > start type 2 chars va > > REALbasic should show you completion valentina > > If you do not see this, then plugin is NOT registered by REALbasic. > And then we need research why... > > Have you remove V4RB 1.x from plugins folder ? > > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From sunshine at public.kherson.ua Mon Mar 28 12:41:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 03:42:11 2005 Subject: Valentina RBDB_2 In-Reply-To: <8402bbeb6d86d9cf700d631cefc7db4e@wanadoo.fr> Message-ID: On 3/28/05 12:30 PM, "Jules Jacquot" wrote: > thanks ruslan > it's working fine So you have resolve problem ? good > this tip is visible where ? What you mean ? We plan to make db of FAQs and DB of TIPs. -- 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] From tjames1 at bigpond.net.au Mon Mar 28 22:48:35 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Mar 28 06:48:47 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: References: Message-ID: <457f2cdb8db422ccf9858ee08ed83811@bigpond.net.au> Sorry after I sent this I tried to use the example to convert a largeish Db of mine of 256Mb - and it crashes. I have spent a little time deleting various tables from the input v1 Db and diagnose the problem - no luck so far - It is not urgent as I am only at the stage of investigating upgrading. however there perhaps is a bug in Valentina.Convert_1_2 or maybe my Db is corrupt to the extent that it causes an error - although I have done a reindex,compact,diagnose on the input. Log files show Valentina_SetDebugLevel... PARAM: inLevel = 3 return Valentina_SetFlushEachLog... PARAM: inValue = 1 return Valentina_GetCacheSize... return (int) AllocatedSize = 268439552 Valentina_GetDatabaseVersion... PARAM: inVdbFile = 26252944 return res = 400 Valentina_Convert_1_2... PARAM: inOldDb = 26252944 PARAM: inNewDb = 26253088 PARAM: inLoadRecords = 1 PARAM: inNewSegmentSize = 0 get crash and 'do you want to send error report to apple' tried increasing cache to 256mb - no difference. Had success when I deleted 6 of 23 tables - but have not iterated the testing to narrow the problem When I have more time I will work on it (Suffice to say have successfully converted smaller less tables Db) Small question what does the boolean (3rd param) in Valentina.Convert_1_2 indicate - any docs anywhere?? TIA (again!!) Tim On 28/03/2005, at 4:59 PM, Ruslan Zasukhin wrote: > On 3/28/05 5:26 AM, "Tim James" wrote: > >> Is there currently any way to relatively easily load data from a DB >> created in 1.10 to the new 2 format. >> >> (I presume Valentina.Convert_1_2 is still an unreleased feature and it >> appears you cannot dumpxml from 1 and then restore into 2) > > YES. > > Look at > > Valentina.Convert_1_2() > > Method. Also exists example on this in the folder Examples/Common > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ohmitou at wanadoo.fr Mon Mar 28 17:43:41 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Mar 28 07:44:01 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: <457f2cdb8db422ccf9858ee08ed83811@bigpond.net.au> References: <457f2cdb8db422ccf9858ee08ed83811@bigpond.net.au> Message-ID: <20050328134341.25406@smtp.wanadoo.fr> Helo, I have the same problem as TIM... I can't update my database of data (1 to 2). 'Convert_1_2' crashs after the creation of the new database. It is impossible to open this last one with Valentina Studio or viSQL which crash before opening the base. tjames1@bigpond.net.au a ?crit le 28/03/05 : .... >Had success when I deleted 6 of 23 tables - but have not iterated the >testing to narrow the problem With a base containing less tables, the conversion is correctly made and Valentina Studio opens the converted database. Supplementary question: My base_1 is 'vdb, ind, dat' and the produced base_2 is ' vdb, ind, dat and blb'. Has there it a means so that the model of the converted base is that of the original base? Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon Mar 28 16:53:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 07:53:43 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: <457f2cdb8db422ccf9858ee08ed83811@bigpond.net.au> Message-ID: On 3/28/05 3:48 PM, "Tim James" wrote: > > Valentina_Convert_1_2... > PARAM: inOldDb = 26252944 > PARAM: inNewDb = 26253088 > PARAM: inLoadRecords = 1 > PARAM: inNewSegmentSize = 0 > > get crash and 'do you want to send error report to apple' Please send me log of crash -- 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] From sunshine at public.kherson.ua Mon Mar 28 16:54:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 07:55:04 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: <457f2cdb8db422ccf9858ee08ed83811@bigpond.net.au> Message-ID: On 3/28/05 3:48 PM, "Tim James" wrote: > Small question what does the boolean (3rd param) in > Valentina.Convert_1_2 indicate - any docs anywhere?? > > > TIA (again!!) Docs are in V4RB Ref.pdf, module Valentina If LoadRecords false, then only structure will be copied. -- 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] From sunshine at public.kherson.ua Mon Mar 28 16:57:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 07:57:37 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: <20050328134341.25406@smtp.wanadoo.fr> Message-ID: On 3/28/05 4:43 PM, "Thierry Nauze" wrote: Hi Thierry, > I have the same problem as TIM... > > I can't update my database of data (1 to 2). > > 'Convert_1_2' crashs after the creation of the new database. > > It is impossible to open this last one with Valentina Studio or viSQL > which crash before opening the base. > > tjames1@bigpond.net.au a ?crit le 28/03/05 : > .... >> Had success when I deleted 6 of 23 tables - but have not iterated the >> testing to narrow the problem > > With a base containing less tables, the conversion is correctly made and > Valentina Studio opens the converted database. Well, we need narrow down if problem just in number of tables Or it is in some specific table/field > Supplementary question: > My base_1 is 'vdb, ind, dat' and the produced base_2 is ' vdb, ind, > dat and blb'. > Has there it a means so that the model of the converted base is that of > the original base? So it was YOUR choice in 1.x to keep BLOBS in the DAT file? Which mode you use use in db.Create for 1.x ? Mode should be the same of course. -- 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] From ohmitou at wanadoo.fr Mon Mar 28 18:09:13 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Mar 28 08:09:41 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: References: Message-ID: <20050328140913.6954@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 28/03/05 : >Well, we need narrow down if problem just in number of tables It is not a problem of number of tables. I am making tests and an empty base was correctly converted -- Thierry Nauze Saint-Denis de la R?union From christer at ljusaideer.se Mon Mar 28 16:24:11 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Mar 28 08:24:35 2005 Subject: [V4RB] Updating fields with value from itself Message-ID: Should I be able to update a field in a table with a calculated value with something like: UPDATE myTable SET myFld = (myFld - 10) WHERE myFld2 = 'x' I want the field "MyFld" to be 10 less than it was before the Update. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Mon Mar 28 18:26:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 09:26:32 2005 Subject: [V4RB] Updating fields with value from itself In-Reply-To: Message-ID: On 3/28/05 5:24 PM, "Christer Olsson" wrote: > Should I be able to update a field in a table with a calculated value with > something like: > > UPDATE myTable SET myFld = (myFld - 10) WHERE myFld2 = 'x' > > I want the field "MyFld" to be 10 less than it was before the Update. Yes Christer, this should work. Please note, in fact SUBJECT is related to VSQL but not to V4RB -- 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] From christer at ljusaideer.se Mon Mar 28 17:40:33 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Mar 28 09:40:42 2005 Subject: [VSQL] Updating fields with value from itself In-Reply-To: References: Message-ID: >On 3/28/05 5:24 PM, "Christer Olsson" wrote: > >> Should I be able to update a field in a table with a calculated value with >> something like: >> >> UPDATE myTable SET myFld = (myFld - 10) WHERE myFld2 = 'x' >> >> I want the field "MyFld" to be 10 less than it was before the Update. > >Yes Christer, this should work. Well, it doesn't. It sets myFld to 0 in *all* records. myFld = 10 + 20 set myFld to 10 in records with myFld2 = 'x' myFld = 20 + 10 set myFld to 20 in records with myFld2 = 'x' >Please note, in fact SUBJECT is related to VSQL but not to V4RB OK. I changed it. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From christer at ljusaideer.se Mon Mar 28 17:53:36 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Mar 28 09:53:42 2005 Subject: Small error in VServer installer for Mac Message-ID: The plist in the installer for VServer for Mac is calling VServer_Office_Exec.pkg but the package in the image file is named VServer_exec.pkg Either the plist or the filename should obviously be corrected. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From maxprog at mac.com Mon Mar 28 18:49:22 2005 From: maxprog at mac.com (Stan Busk) Date: Mon Mar 28 10:49:32 2005 Subject: V24RB no longer creating databse files Message-ID: <30e05e34318ffb3f75a286d95ead0647@mac.com> Hi, I have been adapting an app during V2 beta period more or less successfully but with the hope of fixing stuff as time goes on but today after downloading final v2 it works less than ever. Actually the adapted version no longer creates the database file at startup. All the progress goes on with no errors but no file is created: Valentina_SetDebugLevel... PARAM: inLevel = 3 return Valentina_Init... PARAM: inCacheSize = 5242880 PARAM: inMacSN->CString() = "" PARAM: inWinSN->CString() = "" return Valentina_GetCacheSize... return (int) AllocatedSize = 5246976 Valentina_SetExtensions... PARAM: Desc = "vdb" PARAM: Dat = "dat" PARAM: Blb = "blb" PARAM: Ind = "ind" return Database_Ctor... PARAM: instance = 26129524 return Table_Ctor... PARAM: instance = 26628032 VAR: gCreateInCtor = 1 VAR: gDatabase = 0 return Table_SetName... PARAM: inTable = 26628032 PARAM: inNewName = "Transactions" return ... I just wonder if something has changed since last week beta as all was working well or it is something related with demo? I haven't upgraded yet... Stan From macsforever2000 at goodeast.com Mon Mar 28 10:11:21 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Mar 28 11:11:37 2005 Subject: V24RB no longer creating databse files In-Reply-To: <30e05e34318ffb3f75a286d95ead0647@mac.com> References: <30e05e34318ffb3f75a286d95ead0647@mac.com> Message-ID: <18845bde2a47086fc8f877c933871193@goodeast.com> Hi Stan, On Mar 28, 2005, at 9:49 AM, Stan Busk wrote: > I have been adapting an app during V2 beta period more or less > successfully but with the hope of fixing stuff as time goes on but > today after downloading final v2 it works less than ever. Actually the > adapted version no longer creates the database file at startup. All > the progress goes on with no errors but no file is created: > I just wonder if something has changed since last week beta as all was > working well or it is something related with demo? I haven't upgraded > yet... I see this problem too and it sure is a showstopper. I reported it and it is supposed to be fixed for 2.0.1. Best regards, Frank Schima From sunshine at public.kherson.ua Mon Mar 28 20:23:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 11:23:06 2005 Subject: [VSQL] Updating fields with value from itself In-Reply-To: Message-ID: On 3/28/05 6:40 PM, "Christer Olsson" wrote: >> Yes Christer, this should work. > > Well, it doesn't. It sets myFld to 0 in *all* records. > > myFld = 10 + 20 set myFld to 10 in records with myFld2 = 'x' > myFld = 20 + 10 set myFld to 20 in records with myFld2 = 'x' Ivan checking this issue now. Should work -- 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] From sunshine at public.kherson.ua Mon Mar 28 20:23:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 11:24:03 2005 Subject: Small error in VServer installer for Mac In-Reply-To: Message-ID: On 3/28/05 6:53 PM, "Christer Olsson" wrote: > The plist in the installer for VServer for Mac is calling > > VServer_Office_Exec.pkg > > but the package in the image file is named > > VServer_exec.pkg > > Either the plist or the filename should obviously be corrected. Thank you for point, Christer. -- 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] From ohmitou at wanadoo.fr Mon Mar 28 21:39:25 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Mar 28 11:39:47 2005 Subject: Error 365826 ;o( Message-ID: <20050328173925.20084@smtp.wanadoo.fr> Hello, ---- VKernel p 21 * If you choose the mode where .ind volume is created separately then you can re-build easy all indexes. For this you have to delete an index file and open a database once again. Valentina will automatically build all necessary indexes. ---- That it was true with the version 1. To resolve certain problems, it was enough to destroy the index. Now, with the version 2, the base does not open any more and gives the error: 365826. Is it definitive? Regards, -- Thierry Nauze Saint-Denis de la R?union From j.peters at valentina-db.de Mon Mar 28 19:48:31 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Mar 28 11:47:56 2005 Subject: Re. Studio bug Message-ID: <28badb5a020d9d888aee7a315dec179d@valentina-db.de> Hi Kem, as Ruslan have mentioned: It would be perfect if you would report this to Mantis. As i understand you have tried an ASCII-Import from a text file into a fresh new Valentina 2.0 database, right? You have used the Mac version of vStudio? What name have you specified for the new db? With or without extension? -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From bmurf at comcast.net Mon Mar 28 11:50:21 2005 From: bmurf at comcast.net (Brendan Murphy) Date: Mon Mar 28 11:50:30 2005 Subject: Is the paint still wet for version 2? In-Reply-To: <20050328172307.94DDC2F014E@edison.macserve.net> References: <20050328172307.94DDC2F014E@edison.macserve.net> Message-ID: <7f3f65a2c12ca7b2c74abb30e5d4b42c@comcast.net> I am considering upgrading to version 2 for REALbasic, but several things concern me as I read comments on this list. I am coming to the end of my development cycle for a large project and I am leery of making substantial changes to a VERY stable set up with v1.11. I have read over the conversion note and everything seems straight forward, so I have no problem with that part of the process. So I want to know peoples opinion on the stability of the version 2. Allegorically speaking, is the paint still a little to wet to risk a major conversion? Good and/or bad experiences? From sunshine at public.kherson.ua Mon Mar 28 21:01:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 12:01:44 2005 Subject: Is the paint still wet for version 2? In-Reply-To: <7f3f65a2c12ca7b2c74abb30e5d4b42c@comcast.net> Message-ID: On 3/28/05 8:50 PM, "Brendan Murphy" wrote: Hi Brendan, > I am considering upgrading to version 2 for REALbasic, but several > things concern me as I read comments on this list. I am coming to > the end of my development cycle for a large project and I am leery > of making substantial changes to a VERY stable set up with v1.11. Taking this into account I do not see sense change this project to 2.0 right now. Even not because of stability of 2.0, but simply this is not reasonable IMHO > I have read over the conversion note and everything seems straight > forward, so I have no problem with that part of the process. So I > want to know peoples opinion on the stability of the version 2. > Allegorically speaking, is the paint still a little to wet to risk > a major conversion? Good and/or bad experiences? -- 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] From christer at ljusaideer.se Mon Mar 28 20:47:22 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Mar 28 12:47:29 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: <489cd8378afaf683f1e6090a4b8a8d58@ljusaideer.se> > On 3/28/05 6:53 PM, "Christer Olsson" wrote: > >> The plist in the installer for VServer for Mac is calling >> >> VServer_Office_Exec.pkg >> >> but the package in the image file is named >> >> VServer_exec.pkg >> >> Either the plist or the filename should obviously be corrected. > > Thank you for point, Christer. Seems like something more is wrong. After installing the VServer_Office I can't connect to it with Valentina Studio. In Valentina Studio I get error message "533762" and in VServer_Office.log error message "ERROR 0x82502: Protocol version is too new." is written. I am using the demo license file installed by the installer on Mac OS 10.3.8, From sonicinema at yahoo.com Mon Mar 28 11:11:42 2005 From: sonicinema at yahoo.com (Capra J'neva) Date: Mon Mar 28 13:11:50 2005 Subject: Unsubscribe In-Reply-To: 6667 Message-ID: <20050328191142.12396.qmail@web50305.mail.yahoo.com> I couldn't find your subscription info anywhere. Please unsubscribe me, I cannot deal with this volume of e-mail. Capra __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs From sunshine at public.kherson.ua Mon Mar 28 22:24:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 13:24:19 2005 Subject: Unsubscribe In-Reply-To: <20050328191142.12396.qmail@web50305.mail.yahoo.com> Message-ID: On 3/28/05 10:11 PM, "Capra J'neva" wrote: > I couldn't find your subscription info anywhere. > Please unsubscribe me, I cannot deal with this volume > of e-mail. Strange, I do not see your email in database -- 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] From sunshine at public.kherson.ua Mon Mar 28 22:25:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 13:25:32 2005 Subject: Error 365826 ;o( In-Reply-To: <20050328173925.20084@smtp.wanadoo.fr> Message-ID: On 3/28/05 8:39 PM, "Thierry Nauze" wrote: Hi Thierry, > Now, with the version 2, the base does not open any more and gives the > error: 365826. > > Is it definitive? No. please add this into Mantis. Actually in our tests this works. So we need some way to reproduce this. -- 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] From sunshine at public.kherson.ua Mon Mar 28 22:40:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 13:40:59 2005 Subject: Small error in VServer installer for Mac In-Reply-To: <489cd8378afaf683f1e6090a4b8a8d58@ljusaideer.se> Message-ID: On 3/28/05 9:47 PM, "Christer Olsson" wrote: > Seems like something more is wrong. After installing the VServer_Office > I can't connect to it with Valentina Studio. As far as I know, Vstudio b4 do not work withy Vserver 2.0 Jochen, this is right ? Then this is big problem and the most urgent task! IMHO > In Valentina Studio I get > error message "533762" and in VServer_Office.log error message "ERROR > 0x82502: Protocol version is too new." is written. I am using the demo > license file installed by the installer on Mac OS 10.3.8, -- 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] From sunshine at public.kherson.ua Mon Mar 28 22:50:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 13:50:54 2005 Subject: V4MD (class VTable) go to a specific record and some API question In-Reply-To: <002f01c533c4$46ebeb00$38181e97@vmtcktzo3kwrv6> Message-ID: On 3/28/05 9:30 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > I am tryng the API methods instead of SQL cursor and I've some question: > 1. how can I go to n record (I look at pag.56-57 of Director Reference... > Table.firstRecord() etc. but I don't understand how to go to a specific > record...) Table.RecID = pos > 2. in general can you tell me and list the major differences between VCursor > and API method? API methods do not use SQL at all. Big difference? :-) > Now is better continue to use VCursor (like v.1.1) or pass to API method? All depend on task, your skill, your favor, I think RULE should be next: * exists many books and experts that know SQL and cursors. so if you have urgent project and other problematic issues then use SQL. * IF you want to study new API way, if you feel that SQL is not fast enough for you if you just like what you read about API way Then try this new style of db coding. > Where are some limits of API respect VCursor? API way is bad for REMOTE SERVERS. So if you plan to have client server then avoid API. In the same time we have implement API methods for server protocol also. We think that in local intranet it also can work fine. You know that new fast ethernet works sometimes even faster of HDDs. > And the performance... what is more fast? API Way of course. in the same time if you will think in SQL way and try do API coding in SQL way, then you will get problems. btw, Oliver have step over this barrier :-) Oliver may be you can add your story? for example, it is bad idea to do join using API methods. will be slower of SQL. API methods are intended for NAVIGATIONAL Database model. read about it in Valentina Kernel.pdf Navigational model require other thinking, other GUI, ... -- 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] From sunshine at public.kherson.ua Mon Mar 28 23:25:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 14:25:51 2005 Subject: [ANN] V4RB and V4MD MAC 2.0.1 Message-ID: kernel - 2.0.1 ============== - 0000547: [SQL] EscapeString ignores * -> assertion failure (Igor Gomon) - 0000596: [SQL] Count(field) function crashes the app (Ivan Smahin) - 0000595: [SQL] GROUP BY Sql clause does not allow aggregate functions in Select (Ivan Smahin) - 0000597: [SQL] Some UPDATE quries don't work properly. (Ivan Smahin) - 0000557: [API] Database/index corruption after deleting records (Ruslan Zasukhin) - 0000585: [Database] Work with db on CD glitches. (Igor Gomon) - 0000576: [API] Database corruption caused by delete (Ruslan Zasukhin) - 0000582: [SQL Parser] search for unicode chars -> exception (Serge) - 0000098: [Feature Request] Put .tmp file in Temporary Files folder (Ruslan Zasukhin) V4RB - 2.0.1 ============ - 0000591: [Database] Database.ErrString property is not reset (Ruslan Zasukhin) - 0000594: [RBDB API] New Valentina ... do not create db. (Ruslan Zasukhin) - 0000590: [API] [Chg] VField.FindAsArraySet() now have parameter inMaxCount. (Ruslan Zasukhin) - 0000579: [API] FindvalueAsArraySet does not work any more. (Ruslan Zasukhin) - 0000439: [API] Modifying string field length -> data still there, but can't be read (Ruslan Zasukhin) - 0000583: [Examples] Table_Create.rb Example Does Create a Database (Ruslan Zasukhin) - 0000586: [Class-way] Broken classes way in 2.0 (Ruslan Zasukhin) -- 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] From sunshine at public.kherson.ua Mon Mar 28 23:29:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 14:29:23 2005 Subject: Vale response In-Reply-To: <87ecd54adbd3adfeea06718f1fdcb4fb@tiscalinet.it> Message-ID: On 3/28/05 11:17 PM, "erne" wrote: > Wow! I've submitted 4 reports to Mantis today > and got them all resolved already! > > Great response from the Valentina team... thank you guys! :-) thank you for reports Erne! And once again I want ask everybody. Report any obvious bugs into our new bug tracking system - Mantis. This really help a lots to monitor, manage and fix bugs. > Cool Runnings, > Erne. > |er| musical box > |ne| a media store > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta -- 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] From sunshine at public.kherson.ua Tue Mar 29 00:23:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 15:23:28 2005 Subject: V4RB2 comparison model In-Reply-To: <60039f8da8273f3ec929e51a4ebb8b58@tiscalinet.it> Message-ID: On 3/29/05 12:20 AM, "erne" wrote: > Hello Ruslan, > > comparing an integer to a string data are coerced as real numbers > but comparing a Long field to a String field data are coerced as strings > > e.g. > let's have LongField = 50 and StringField = "50" > Select * from Table Where LongField = StringField > finds nothing > Select * from Table Where Trim(LongField) = StringField > finds the record > > is this the intended behaviour? I think no. bug. Integer is similar to long. > Moreover I feel the need here of data conversion functions like > Str(integer) as String and Val(string) as Real 2.0 support SQL's feature type cast. -- 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] From tjames1 at bigpond.net.au Tue Mar 29 07:51:44 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Mar 28 15:51:55 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: References: Message-ID: what log do you want me to send and where do I find it (not v4rb log txt I presume?) Tim On 28/03/2005, at 11:53 PM, Ruslan Zasukhin wrote: > On 3/28/05 3:48 PM, "Tim James" wrote: > >> >> Valentina_Convert_1_2... >> PARAM: inOldDb = 26252944 >> PARAM: inNewDb = 26253088 >> PARAM: inLoadRecords = 1 >> PARAM: inNewSegmentSize = 0 >> >> get crash and 'do you want to send error report to apple' > > Please send me log of crash > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From tjames1 at bigpond.net.au Tue Mar 29 07:56:34 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Mar 28 15:56:40 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: References: Message-ID: On 28/03/2005, at 11:54 PM, Ruslan Zasukhin wrote: > On 3/28/05 3:48 PM, "Tim James" wrote: > >> Small question what does the boolean (3rd param) in >> Valentina.Convert_1_2 indicate - any docs anywhere?? >> >> >> TIA (again!!) > > Docs are in V4RB Ref.pdf, module Valentina > > not in my copy - url for latest version pls Tim > If LoadRecords false, then only structure will be copied. > > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Mar 29 01:10:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 16:10:20 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: Message-ID: On 3/29/05 12:51 AM, "Tim James" wrote: > what log do you want me to send and where do I find it (not v4rb log > txt I presume?) System crash log. on crash you get dialog with ask: send to apple. copy this crash log and send to use/ > Tim > On 28/03/2005, at 11:53 PM, Ruslan Zasukhin wrote: > >> On 3/28/05 3:48 PM, "Tim James" wrote: >> >>> >>> Valentina_Convert_1_2... >>> PARAM: inOldDb = 26252944 >>> PARAM: inNewDb = 26253088 >>> PARAM: inLoadRecords = 1 >>> PARAM: inNewSegmentSize = 0 >>> >>> get crash and 'do you want to send error report to apple' >> >> Please send me log of crash -- 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] From sunshine at public.kherson.ua Tue Mar 29 01:11:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 16:11:08 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: Message-ID: On 3/29/05 12:56 AM, "Tim James" wrote: >>> Small question what does the boolean (3rd param) in >>> Valentina.Convert_1_2 indicate - any docs anywhere?? >>> >>> >>> TIA (again!!) >> >> Docs are in V4RB Ref.pdf, module Valentina >> > not in my copy - url for latest version pls Url on site of course. We will check docs. Then check example for now. It is simple function. -- 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] From ktekinay at mactechnologies.com Mon Mar 28 17:52:48 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Mar 28 16:52:54 2005 Subject: Creating dib files in v2 Message-ID: I can't seem to get V4RB v.2 to create database files. Even the example Table_Create.rb doesn't do it. No errors, just no files. What am I missing? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From ktekinay at mactechnologies.com Mon Mar 28 17:59:36 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Mar 28 17:00:08 2005 Subject: Creating dib files in v2 In-Reply-To: Message-ID: On 3/28/05 5:52 PM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > I can't seem to get V4RB v.2 to create database files. Even the example > Table_Create.rb doesn't do it. No errors, just no files. What am I missing? I'm missing the 2.0.1 update, of course. Please disregard that last. It's working now. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From macsforever2000 at goodeast.com Mon Mar 28 16:00:33 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Mar 28 17:00:41 2005 Subject: Creating dib files in v2 In-Reply-To: References: Message-ID: <2c57296a57612ea331ad9b001501b7f9@goodeast.com> Hi Kem, On Mar 28, 2005, at 3:52 PM, Kem Tekinay wrote: > I can't seem to get V4RB v.2 to create database files. Even the example > Table_Create.rb doesn't do it. No errors, just no files. What am I > missing? Re-download the installer and try again. The initial installer was hosed and was really 2.0.0. Ruslan just uploaded the new version. Now that problem is gone for me. Best regards, Frank Schima From sunshine at public.kherson.ua Tue Mar 29 02:00:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 28 17:01:03 2005 Subject: Creating dib files in v2 In-Reply-To: Message-ID: On 3/29/05 1:52 AM, "Kem Tekinay" wrote: > I can't seem to get V4RB v.2 to create database files. Even the example > Table_Create.rb doesn't do it. No errors, just no files. What am I missing? Please download 2.0.1 This is fixed -- 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] From tjames1 at bigpond.net.au Tue Mar 29 09:11:47 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Mar 28 17:11:57 2005 Subject: [FAQ] Converting V1 DB to V2 Format In-Reply-To: References: Message-ID: Spent time testing various theories, deleting tables etc Problem Solved ! I had a table Deliveries with obj ptrs to StockItems and Suppliers However StockItems also has a objptr to suppliers (clearly redundant - old DB ) Problem is solved by deleting all records from deliveries table OR altering schema to delete objptr in Deliveries to Suppliers Given it would be better that Convert_1_2 does not crash - I hope this is of some assistance Tim On 28/03/2005, at 11:53 PM, Ruslan Zasukhin wrote: > On 3/28/05 3:48 PM, "Tim James" wrote: > >> >> Valentina_Convert_1_2... >> PARAM: inOldDb = 26252944 >> PARAM: inNewDb = 26253088 >> PARAM: inLoadRecords = 1 >> PARAM: inNewSegmentSize = 0 >> >> get crash and 'do you want to send error report to apple' > > Please send me log of crash > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From tjames1 at bigpond.net.au Tue Mar 29 09:32:10 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Mar 28 17:32:15 2005 Subject: Further thoughts on Converting V1 DB to V2 format Message-ID: Since my last list I have been experimenting with various Db I have had lying around and it is clear that Db that work in the 1 environment will not easily input to Convert_1_2. What would be very valuable is a diagnose utility that applies the rules/discipline to work in Convert_1_2 to V1 DB.(Diagnose in Valentina Carbon throws no errors yet conversion crashes) Or is a better strategy to build a new empty Db in Studio and then import Data from export from Valentina Carbon - issue of objptrs is of course the major problem - is there an easy solution to this? TIA Tim From ktekinay at mactechnologies.com Mon Mar 28 22:36:57 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Mar 28 21:37:03 2005 Subject: What's wrong with SQLSelect? Message-ID: I have a zip code database on which I use the following RB code: if find = "" then sql = "SELECT * FROM Zip_Codes" else sql = "SELECT * FROM Zip_Codes WHERE " + _ "Zip_Code LIKE '" + find + "%' " + _ "OR City LIKE '" + find + "%' " + _ "OR State LIKE '" + find +"%'" end if try curs = gDB.SQLSelect( sql, EVCursorLocation.kClientSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly ) catch err as VException MsgBox gDB.ErrString end try The problem is, while the search is fine when I use a zip code value, it fails when I use a value found in City or State (both indexed). The same search works fine in the REALdatabase. What have I missed? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From ktekinay at mactechnologies.com Mon Mar 28 22:58:39 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Mar 28 21:58:45 2005 Subject: Field.value speed Message-ID: I am doing a side-by-side comparison of the REALdatabase to V4RB 2 and found something I did not expect: The REALdatabase is faster at pulling values out of a RecordSet than Valentina is at pulling data from a Vcursor. Or is there a faster way to do what I am doing? Here is the scenario: I run a search on a database using SQLSelect and then loop through the cursor to pull the values out of one field into an array. Basically, it is no more than a loop that calls field.Value, then cursor.NextRecord. The code is almost exactly the same in both versions of my test, but Valentina takes (subjectively) about twice as long. I found this especially odd since I can use Vcursor.Position with Valentina while I had to write a wrapper class to handle this for the RecordSet. Any thoughts on this? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From gaseous1 at mac.com Mon Mar 28 22:52:26 2005 From: gaseous1 at mac.com (Eric Werner, MD) Date: Mon Mar 28 22:52:37 2005 Subject: REALbasic Objects and RBDB_2 Message-ID: Ruslan, Thanks for the rapid fixes in v2.01 ? Creation of the Valentina DB from the REALbasic API works. I?ve discovered some other problems using the API, however: ? RedID?s are not returned when a bound Rbobject?s recordset is created using SQL (and using a query like ?Select RecID,* from...?. The field which should contain the RecID contains Nil. This is the case with the databasequery and the datacontrol object. ? Similarly, the databasename property of these objects fails to return the database name. -- Regards, Eric From giacomo at way-out.it Tue Mar 29 09:28:50 2005 From: giacomo at way-out.it (Giacomo Vernoni) Date: Tue Mar 29 01:29:12 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: <4ac8f3d2807716eba62ad76e1f15fb9f@way-out.it> References: <4ac8f3d2807716eba62ad76e1f15fb9f@way-out.it> Message-ID: Hi Ruslan, can you compile the corrected Windows version of V4MD 1.11? the one one the server is still september 29 2004 and has got the SQLexecute UPDATE bug. Thank you! Giacomo On 25 mar 2005, at 15:35, Giacomo Vernoni wrote: > I think you can compile the Windows version... I will do some more > tests during the week-end and I will eventually let you know next week > if there is any problem. > > Just let me know when the file is available on the server. > > Thank you very much, Ruslan. > > Giacomo From ernestogiannotta at tiscalinet.it Tue Mar 29 09:56:00 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Mar 29 01:56:27 2005 Subject: V4RB2 comparison model In-Reply-To: Message-ID: on 28-03-2005 23:23, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> comparing an integer to a string data are coerced as real numbers >> but comparing a Long field to a String field data are coerced as strings >> >> e.g. >> let's have LongField = 50 and StringField = "50" >> Select * from Table Where LongField = StringField >> finds nothing >> Select * from Table Where Trim(LongField) = StringField >> finds the record >> >> is this the intended behaviour? > > I think no. bug. > Integer is similar to long. > OK, I'll tell it to Mantis... >> Moreover I feel the need here of data conversion functions like >> Str(integer) as String and Val(string) as Real > > 2.0 support SQL's feature type cast. > please explain, how does this work? what syntax? I've searched the SQL docs but couldn't find anything about this Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From sunshine at public.kherson.ua Tue Mar 29 11:02:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:03:00 2005 Subject: [V4MD] VClient Shockwave safe In-Reply-To: Message-ID: On 3/29/05 10:08 AM, "Peter Salomon" wrote: Hi Peter, > because of those information i got VServer_2 and V4MD_2 from your new > web site, btw congratulations - much better than the earlier version... > it seems, that you have a lot of examples in for demonstration in V4MD, > but they do not work on my computer... > what i did: > ? shut down VServer 1.x > ? dragged VServer 1.x folders out of Library folder > ? installed VServer 2.0 > ? found new VServer folder in my Library Folder > ? edited VServer.ini file to VerboseLevel=3 You work on mac as I see. ok > when i look into my processes, VServer is still running ? You mean vserver 1.x or 2.0 ? > My System is Mac G5 MacOSX 10.3.8 > > when i start Director MX with installed Xtra V4MD_Carbon.Xtr built on > march, 24th 2005 21:42, but also version 2.0.1 built at March, 28th, > 21:56, i can only do the following: In fact you should REMOVE V4MD 1.x !! > getting a reference on Xtra Valentina, > setting the debuglevel to #kLogParams > telling ValentinaReference to initClient > getting Valentina.version > > all without Errormessages > ANY further methods will cause crash, Director quits without any > errormessage. Also trying to set > Also trying to init ValentinaXtra in Local mode e.g. in the given > examples results in crash... > > Am i doing something wrong? Did you check Mac Version of V4MD? Yes. Let's doc next: 1) just install V4MD 2. remove V4MD 1.x from Xtra folder. now simply run examples. this will work with LOCAL DATABASE without any server. works ? 2) after you get working 1). you can install Vserver 2.0 (or you can have it already.) now to make examples working to server you need change just one global variable to be true. gClient = true Now the same examples should work with server. Note, that after examples most probably under server you will get many dbs created by examples. To trash them you need shutdwon server. > Btw, the Informaion Window of OSX Finder gives no version information > about Xtra... Yes we should fix that. -- 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] From sunshine at public.kherson.ua Tue Mar 29 11:09:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:09:48 2005 Subject: Further thoughts on Converting V1 DB to V2 format In-Reply-To: Message-ID: On 3/29/05 2:32 AM, "Tim James" wrote: > Since my last list I have been experimenting with various Db I have had > lying around and it is clear that Db that work in the 1 environment > will not easily input to Convert_1_2. > > What would be very valuable is a diagnose utility that applies the > rules/discipline to work in Convert_1_2 to V1 DB.(Diagnose in Valentina > Carbon throws no errors yet conversion crashes) Tim, Convert_1_2() must be able convert ANY database. That is the target. So send us your database. Or better project which generate it. We will debug here. > Or is a better strategy to build a new empty Db in Studio and then > import Data from export from Valentina Carbon - issue of objptrs is of > course the major problem - is there an easy solution to this? If you are single user of db, and you need only ONCE do this work, then you can do import/export of course. Also you can try XML way. Also should work/ Convert_1_2 is made for developers who have distribute app to users, So they need way automatically convert exists 1.x ds. -- 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] From sunshine at public.kherson.ua Tue Mar 29 11:11:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:11:43 2005 Subject: [VSQL] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 6:36 AM, "Kem Tekinay" wrote: > I have a zip code database on which I use the following RB code: PLEASE PEOPLE !!! Use in the subject prefixes [V4RB] text [V4MD] text [VSQL] text [VSRV] text [VKERNEL] text Then we here can better filter questions. -- 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] From don at flisz.nl Tue Mar 29 09:12:20 2005 From: don at flisz.nl (D.Croes [Redbike]) Date: Tue Mar 29 02:12:54 2005 Subject: Making a UML data diagram or ER diagram Message-ID: <20050329081249.5F6482F0AB5@edison.macserve.net> Hello everyone, For my design / technical document I want to make a UML diagram( / ER diagram.) I've tried several options: - Made a SQL dump with Valentina app for Mac en imported in Acces but it only gave me the four standard tables, not the tables that are defined in the DB. - Made a SQL dump with Valentina studio (I work on a Windows machine), but I encounterd a bug which caused Valentina studio to crash. Is there a way that I can export my Database (i.e. with Valentina studio) and import this in a DB tool. And eventually make UML data/class diagram (In Acces automatically a diagram is made with all the relations etc) Regards, Don From sunshine at public.kherson.ua Tue Mar 29 11:15:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:16:13 2005 Subject: What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 6:36 AM, "Kem Tekinay" wrote: > I have a zip code database on which I use the following RB code: > > if find = "" then > sql = "SELECT * FROM Zip_Codes" > else > sql = "SELECT * FROM Zip_Codes WHERE " + _ > "Zip_Code LIKE '" + find + "%' " + _ > "OR City LIKE '" + find + "%' " + _ > "OR State LIKE '" + find +"%'" > end if > > try > curs = gDB.SQLSelect( sql, EVCursorLocation.kClientSide, > EVLockType.kReadOnly, EVCursorDirection.kForwardOnly ) > catch err as VException > MsgBox gDB.ErrString > end try > > The problem is, while the search is fine when I use a zip code value, it > fails when I use a value found in City or State (both indexed). The same > search works fine in the REALdatabase. I am sorry I have not understand where is problem. Search is fine, BUT ? -- 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] From sunshine at public.kherson.ua Tue Mar 29 11:18:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:18:38 2005 Subject: Making a UML data diagram or ER diagram In-Reply-To: <20050329081249.5F6482F0AB5@edison.macserve.net> Message-ID: On 3/29/05 8:12 PM, "D.Croes [Redbike]" wrote: > Hello everyone, > > For my design / technical document I want to make a UML diagram( / ER > diagram.) > > I've tried several options: > > - Made a SQL dump with Valentina app for Mac en imported in Acces but it > only gave me the four standard tables, not the tables that are defined in > the DB. > > - Made a SQL dump with Valentina studio (I work on a Windows machine), but I > encounterd a bug which caused Valentina studio to crash. > > Is there a way that I can export my Database (i.e. with Valentina studio) > and import this in a DB tool. And eventually make UML data/class diagram (In > Acces automatically a diagram is made with all the relations etc) Hi You can dump Valentina database using SQL DUMP from your code. Just one line of code >From code this is db.Dump( path, kSQL ) Check docs Btw, you use 1.x or 2.0 version ? -- 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] From sunshine at public.kherson.ua Tue Mar 29 11:21:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:21:32 2005 Subject: Field.value speed In-Reply-To: Message-ID: On 3/29/05 6:58 AM, "Kem Tekinay" wrote: > I am doing a side-by-side comparison of the REALdatabase to V4RB 2 and found > something I did not expect: The REALdatabase is faster at pulling values out > of a RecordSet than Valentina is at pulling data from a Vcursor. Or is there > a faster way to do what I am doing? > > Here is the scenario: I run a search on a database using SQLSelect and then > loop through the cursor to pull the values out of one field into an array. > Basically, it is no more than a loop that calls field.Value, then > cursor.NextRecord. The code is almost exactly the same in both versions of > my test, but Valentina takes (subjectively) about twice as long. I found > this especially odd since I can use Vcursor.Position with Valentina while I > had to write a wrapper class to handle this for the RecordSet. Hi Kim, How many fields are selected in cursor? If you can try reduce fields number. -- 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] From sunshine at public.kherson.ua Tue Mar 29 11:22:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:22:14 2005 Subject: SQLexecute UPDATE error (V4MD 1.11) In-Reply-To: Message-ID: On 3/29/05 10:28 AM, "Giacomo Vernoni" wrote: > Hi Ruslan, > can you compile the corrected Windows version of V4MD 1.11? the one one > the server is still september 29 2004 and has got the SQLexecute UPDATE > bug. Hi Giacomo, It is already done, soon it will be on ftp -- 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] From don at flisz.nl Tue Mar 29 10:27:58 2005 From: don at flisz.nl (D.Croes [Redbike]) Date: Tue Mar 29 02:28:16 2005 Subject: Making a UML data diagram or ER diagram In-Reply-To: Message-ID: <20050329082814.21B1C2F0BCE@edison.macserve.net> Okidoi! I use the 2.0 version... I'll give the code a try And .... silly me, look through the docs and the awnser is there, sorry:S:D -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: dinsdag 29 maart 2005 0:19 Aan: valentina@lists.macserve.net Onderwerp: Re: Making a UML data diagram or ER diagram On 3/29/05 8:12 PM, "D.Croes [Redbike]" wrote: > Hello everyone, > > For my design / technical document I want to make a UML diagram( / ER > diagram.) > > I've tried several options: > > - Made a SQL dump with Valentina app for Mac en imported in Acces but it > only gave me the four standard tables, not the tables that are defined in > the DB. > > - Made a SQL dump with Valentina studio (I work on a Windows machine), but I > encounterd a bug which caused Valentina studio to crash. > > Is there a way that I can export my Database (i.e. with Valentina studio) > and import this in a DB tool. And eventually make UML data/class diagram (In > Acces automatically a diagram is made with all the relations etc) Hi You can dump Valentina database using SQL DUMP from your code. Just one line of code >From code this is db.Dump( path, kSQL ) Check docs Btw, you use 1.x or 2.0 version ? -- 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] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Mar 29 11:36:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 02:36:19 2005 Subject: REALbasic Objects and RBDB_2 In-Reply-To: Message-ID: On 3/29/05 7:52 AM, "Eric Werner, MD" wrote: Hi Eric, > Thanks for the rapid fixes in v2.01 ? Creation of the Valentina DB from the > REALbasic API works. You mean RBDB ? > I?ve discovered some other problems using the API, however: > > ? RedID?s are not returned when a bound Rbobject?s recordset is created > using SQL (and using a query like ?Select RecID,* from...?. The field which > should contain the RecID contains Nil. Aha, I think bug. > This is the case with the > databasequery and the datacontrol object. You have not add it to Mantis ? > ? Similarly, the databasename property of these objects fails to return > the database name. Can you send us small project that reproduce this ? -- 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] From wonderfef at noos.fr Tue Mar 29 11:24:32 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Mar 29 03:24:55 2005 Subject: Vserver and RB : can't even try version 2 Message-ID: Hello, I was so pleased to see that the final release of Valentina 2 was out, that I wanted to try it right away. So I remove Valentina Server 1 from my computer (Windows 2000 pro) and I installed the new version ; I then copied my database to the new location and tryed to launch the service, but Windows told me "can't launch service... Error 1053, service did not answer fast enough..." (translation from French). What's wrong ? I am used to develop my application (made with RB) with a Vserver installed on my PC, and if everything is allright, I install my new version. The true PC server runs Windows Server 2003. Moreover, what are the step when upgrading from v1 to v2. It seems that there is a db conversion procedure... Is that true ? To finish, I bought a 250 connection licence for Vserver beta release, being told I would get a free upgrade to the final release. Do I need a new license file ? Thanks all for your help. From giv at tlc.kherson.ua Tue Mar 29 12:35:17 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Mar 29 03:35:46 2005 Subject: Vserver and RB : can't even try version 2 References: Message-ID: <004601c53442$9e520b30$3b04a8c0@giv> Hi Eric, > So I remove Valentina Server 1 from my computer (Windows 2000 pro) and I > installed the new version ; I then copied my database to the new location > and tryed to launch the service, but Windows told me "can't launch > service... Error 1053, service did not answer fast enough..." (translation > from French). > What's wrong ? You cannot simply copy 1.x databases to Valentina 2 Server. You must convert it first to the 2.x format (see docs on it). Maybe this is caused problems with VServer start. Try to remove 1.x database from the Databases folder and start VServer again. It should start now. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Mar 29 12:39:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 03:39:52 2005 Subject: Vserver and RB : can't even try version 2 In-Reply-To: Message-ID: On 3/29/05 12:24 PM, "Eric Ferrer" wrote: > To finish, I bought a 250 connection licence for Vserver beta release, being > told I would get a free upgrade to the final release. Do I need a new > license file ? No, license the same Eric. -- 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] From wonderfef at noos.fr Tue Mar 29 11:45:42 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Mar 29 03:45:51 2005 Subject: Vserver and RB : can't even try version 2 In-Reply-To: <004601c53442$9e520b30$3b04a8c0@giv> Message-ID: Thanks Igor for your fast answer, but... > You cannot simply copy 1.x databases to Valentina 2 Server. > You must convert it first to the 2.x format (see docs on it). What docs? Vserver one? The link on the website is broken... And I can't find anything about conversion in the kernel, SQL and RB docs (all the ones I was able to download) > Maybe this is caused problems with VServer start. > Try to remove 1.x database from the Databases folder and start > VServer again. It should start now. I tried this, but same problem. My "Databases" directory is empty (there is no master.vdb default file, is that normal?). There is also no errors log... :-( Eric From sunshine at public.kherson.ua Tue Mar 29 13:19:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 04:19:35 2005 Subject: Vserver and RB : can't even try version 2 In-Reply-To: Message-ID: On 3/29/05 12:45 PM, "Eric Ferrer" wrote: >> You cannot simply copy 1.x databases to Valentina 2 Server. >> You must convert it first to the 2.x format (see docs on it). > What docs? Vserver one? The link on the website is broken... Link broken ?! I will check. Docs of V4RB I think... -- 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] From sunshine at public.kherson.ua Tue Mar 29 14:23:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 05:23:48 2005 Subject: [V4MD-MAC] Hmm, Examples do not work if in Xtra folder ?! In-Reply-To: Message-ID: On 3/29/05 12:14 PM, "Peter Salomon" wrote: >> 1) just install V4MD 2. >> remove V4MD 1.x from Xtra folder. >> >> now simply run examples. >> this will work with LOCAL DATABASE without any server. >> >> works ? >> > > i tried with another machine, also MacOSX 10.3.8, G4 > > Installed V4MD_2, version 2.0.1. Started example file as downloaded > "Init_Shutdown.dir" in local mode --> crash of Director > hmm.. > > what should we check next? I have check and really director crashes. IF to move folder Examples outside of Director, then they work... On windows there is no such problem. So it looks to be bug of Director MAC... -- 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] From sunshine at public.kherson.ua Tue Mar 29 14:41:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 05:43:02 2005 Subject: V4MD WIN ShockWave package uploaded Message-ID: Hi Director users, http://paradigmasoft.com/en/products/developer/adk/V4MD On this page you can download Windows version of Director SW package. This is V4MD Client only. It require Valentina Server. Please inform us how it works for you. -- 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] From rjb at robelko.com Tue Mar 29 14:00:35 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Mar 29 06:06:04 2005 Subject: [VSQL] What's wrong with SQLSelect? In-Reply-To: References: Message-ID: >On 3/29/05 6:36 AM, "Kem Tekinay" wrote: > >> I have a zip code database on which I use the following RB code: > >PLEASE PEOPLE !!! > >Use in the subject prefixes > > [V4RB] text > [V4MD] text > [VSQL] text > > [VSRV] text > > [VKERNEL] text > >Then we here can better filter questions. > > > >-- >Best regards, > >Ruslan Zasukhin >VP Engineering and New Technology >Paradigma Software, Inc > may be even for products that have version 2 released [V4RB] --> [V4RB1] or [V4RB2] [V4MD] --> [V4MD1] or [V4MD2] Robert From sunshine at public.kherson.ua Tue Mar 29 15:06:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 06:07:08 2005 Subject: [V4MD-MAC] Hmm, Examples do not work if in Xtra folder ?! In-Reply-To: Message-ID: On 3/29/05 2:23 PM, "Ruslan Zasukhin" wrote: > I have check and really director crashes. > > IF to move folder Examples outside of Director, then they work... > > On windows there is no such problem. > So it looks to be bug of Director MAC... Aha, I have found problem. Installer have assign permissions to system, So examples cannot create any db files. I will upload fixed installers in nearest 10-20 minutes. -- 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] From sunshine at public.kherson.ua Tue Mar 29 15:11:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 06:11:28 2005 Subject: [VSQL] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 3:00 PM, "Robert Brenstein" wrote: > may be even for products that have version 2 released > > [V4RB] --> [V4RB1] or [V4RB2] > [V4MD] --> [V4MD1] or [V4MD2] Yes good idea Robert! this also will help! -- 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] From christer at ljusaideer.se Tue Mar 29 14:24:52 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 06:24:59 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: >On 3/28/05 9:47 PM, "Christer Olsson" wrote: > >> Seems like something more is wrong. After installing the VServer_Office >> I can't connect to it with Valentina Studio. > >As far as I know, Vstudio b4 do not work withy Vserver 2.0 To me it seems like VServr_Office isn't starting up properly. My old installation reported at startup time: *************************************************************************************/ Tue Mar 29 2005 12:29:37.133518 ValentinaServer (2.0a62, Protocol 1.1, Kernel 1.10) The maximum number of connections: 5 If I use the startup item (/Library/StartupItems/VServer_Office/VServer_Office ) 2.0 and 2.0.1 reports: Starting Valentina Server Is there any way I can check if the server actually *is* running? -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From rjb at robelko.com Tue Mar 29 14:19:44 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Mar 29 06:26:01 2005 Subject: [Valentina TIP] //Re: RB and database capabilities In-Reply-To: <1100207652-28585828@lindbergh.macserve.net> References: <1100207652-28585828@lindbergh.macserve.net> Message-ID: >Hi Guys, > >Valentina 2.0 is really fantastic and unique by its features. >It will require many pages just to list all its new features and its new >cool features which you will not find in any other DBMS. > >I want underline that Valentina is result of own theoretical developments in >database area. We are NOT just another db engine. > >I think we will send to this list TIP-letters which will inform about >different features of Valentina 2.0 > Ruslan, it would be great if these TIP letters to the list evolved into a series of white papers on your web site that outline the features and the technology behind it. This may help Valentina to differentiate itself or position itself better in the market. Robert From sunshine at public.kherson.ua Tue Mar 29 15:32:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 06:32:17 2005 Subject: Small error in VServer installer for Mac In-Reply-To: Message-ID: On 3/29/05 3:24 PM, "Christer Olsson" wrote: > To me it seems like VServr_Office isn't starting up properly. My old > installation reported at startup time: > > ****************************************************************************** > *******/ > Tue Mar 29 2005 12:29:37.133518 ValentinaServer (2.0a62, Protocol 1.1, Kernel > 1.10) > The maximum number of connections: 5 > > If I use the startup item (/Library/StartupItems/VServer_Office/VServer_Office > ) 2.0 and 2.0.1 reports: > > Starting Valentina Server Look into .ini file. VerboseLevel = 1 You can set it to 2 or even 3 to see more output. > Is there any way I can check if the server actually *is* running? Yes, Application/Utilities/ActivityMonitor Here choose in menu Show All processes or Show System processes You will see Valentina Server if it runs -- 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] From christer at ljusaideer.se Tue Mar 29 14:57:53 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 06:58:03 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: >On 3/29/05 3:24 PM, "Christer Olsson" wrote: > >> To me it seems like VServr_Office isn't starting up properly. My old >> installation reported at startup time: >> >> ****************************************************************************** >> *******/ >> Tue Mar 29 2005 12:29:37.133518 ValentinaServer (2.0a62, Protocol 1.1, Kernel >> 1.10) >> The maximum number of connections: 5 >> >> If I use the startup item (/Library/StartupItems/VServer_Office/VServer_Office >> ) 2.0 and 2.0.1 reports: >> >> Starting Valentina Server > > >Look into .ini file. > > VerboseLevel = 1 > >You can set it to 2 or even 3 to see more output. I have set it to 3 and I still only getting this singel line: Starting Valentina Server Is it supposed to report back more? >> Is there any way I can check if the server actually *is* running? > >Yes, > > Application/Utilities/ActivityMonitor :-) That way I know, and top in the terminal, too. I was thinking more of a direct command to Valentina, giving back a status. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Tue Mar 29 16:52:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 07:52:29 2005 Subject: Small error in VServer installer for Mac In-Reply-To: Message-ID: On 3/29/05 3:57 PM, "Christer Olsson" wrote: > I have set it to 3 and I still only getting this singel line: > > Starting Valentina Server > > Is it supposed to report back more? Yes. I am right now checking I also see > Starting Valentina Server But when I have set VerboseLevel to 2 or 3 it show me as expected: Tue Mar 29 2005 16:52:14.674784 VServer_Office (2.0, Protocol 2.0, Kernel 2.0.1) Maximum number of connections: 5 16:52:14.685220 (2684396012): Database engine inited 16:52:14.735910 (2684396012): Server started at 15432 port -- 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] From joerg at folckers.de Tue Mar 29 15:57:16 2005 From: joerg at folckers.de (Joerg Folckers) Date: Tue Mar 29 07:57:36 2005 Subject: [V4MD-MAC] Hmm, Examples do not work if in Xtra folder ?! In-Reply-To: References: Message-ID: Hi, its possibly due to incorrect rights. the examples-folder is owned by the "System" and the user only has readonly rights. I did not find it out before, because i installed it into the predefined directory (the HDs top level) and copied the stuff into my working-directory. i had to enter the root-pw for installation and deleting the installed folder. regards, J?rg At 14:23 +0300 29.03.2005, Ruslan Zasukhin wrote: >On 3/29/05 12:14 PM, "Peter Salomon" wrote: > >>> 1) just install V4MD 2. >>> remove V4MD 1.x from Xtra folder. >>> >>> now simply run examples. >>> this will work with LOCAL DATABASE without any server. >>> >>> works ? >>> >> >> i tried with another machine, also MacOSX 10.3.8, G4 >> >> Installed V4MD_2, version 2.0.1. Started example file as downloaded >> "Init_Shutdown.dir" in local mode --> crash of Director >> hmm.. >> >> what should we check next? > >I have check and really director crashes. > >IF to move folder Examples outside of Director, then they work... > >On windows there is no such problem. >So it looks to be bug of Director MAC... > > >-- >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] > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Mar 29 17:00:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 08:00:16 2005 Subject: [V4MD-MAC] Hmm, Examples do not work if in Xtra folder ?! In-Reply-To: Message-ID: On 3/29/05 4:57 PM, "Joerg Folckers" wrote: > Hi, > its possibly due to incorrect rights. Yes! Fixed installer already on FTP > the examples-folder is owned by the "System" and the user only has > readonly rights. > > I did not find it out before, because i installed it into the > predefined directory (the HDs top level) and copied the stuff > into my working-directory. > i had to enter the root-pw for installation and deleting > the installed folder. -- 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] From giulio at cantoberon.it Tue Mar 29 16:51:07 2005 From: giulio at cantoberon.it (Giulio) Date: Tue Mar 29 08:51:19 2005 Subject: shouldn't Vdatabase be cross-platform In-Reply-To: <20050328024937.3E6772EF86E@edison.macserve.net> References: <20050328024937.3E6772EF86E@edison.macserve.net> Message-ID: <5c7e7a2c09e9f9580007ddde3aea6136@cantoberon.it> Maybe I'm missing something, byt I'm trying to open a DB created with valentina studio for mac on windows environment and Vstudio crashes, and the same if I try on a mac to open a db created on Vstudio for windows. shouldn't them be cross- platform? thank you, Giulio From ktekinay at mactechnologies.com Tue Mar 29 10:35:03 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Mar 29 09:35:09 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 3:15 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I am sorry I have not understand where is problem. > > Search is fine, BUT ? Let me try again with a better example. Again, my REALbasic code is this: if find = "" then sql = "SELECT * FROM Zip_Codes" else sql = "SELECT * FROM Zip_Codes WHERE " + _ "Zip_Code LIKE '" + find + "%' " + _ "OR City LIKE '" + find + "%' " + _ "OR State LIKE '" + find +"%'" end if try curs = gDB.SQLSelect( sql, EVCursorLocation.kClientSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly ) catch err as VException MsgBox gDB.ErrString end try My database has 7 fields with 84,000 records, but, for this example, we'll say it has 3 fields and three records: Zip_Code City State 10454 Bronx NY 10530 Hartsdale NY 10532 Hawthorne NY If I set the find variable to "105", the SQL command becomes: SELECT * FROM Zip_Codes WHERE Zip_Code LIKE '105%' OR City LIKE '105%' OR State LIKE '105%' This properly selects two records in both Valentina and REALdatabase. Now I set find = "NY", making the SQL command: SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'NY%' OR City LIKE 'NY%' OR State LIKE 'NY%' This properly finds three records in REALdatabase, but finds nothing in Valentina. And that's the problem. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From ktekinay at mactechnologies.com Tue Mar 29 11:03:42 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Mar 29 10:03:59 2005 Subject: [V4RB2] Field.value speed In-Reply-To: Message-ID: On 3/29/05 3:21 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > How many fields are selected in cursor? Seven. > If you can try reduce fields number. That would not work in this example. The point of this project is to show Valentina and the REALdatabase side-by-side doing the same things in equivalent ways. So, this brings me back to my original question: Do we know why it's slower getting the information out of the Vcursor than the RecordSet? And if the answer is, "because it is," I'll accept that. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Tue Mar 29 19:39:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 10:39:48 2005 Subject: Vserver and RB : can't even try version 2 In-Reply-To: <001601c5346b$b8d72660$3b04a8c0@giv> Message-ID: On 3/29/05 5:29 PM, "Igor Gomon" wrote: >> :-) it works ! >> Now, I have no v2 db files to feed my brand new Vserver. >> >> Since we started trying to find what was wrong with my PC, I 've been trying >> to convert my db from v1 to v2, but helplessly. Any clue ? Is there a >> downloadable application ? Eric, Look into V4RB Examples/Common/Convert_1_2.rb This example give you GUI to easy convert any 1.x db -- 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] From sunshine at public.kherson.ua Tue Mar 29 19:41:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 10:41:04 2005 Subject: shouldn't Vdatabase be cross-platform In-Reply-To: <5c7e7a2c09e9f9580007ddde3aea6136@cantoberon.it> Message-ID: On 3/29/05 5:51 PM, "Giulio" wrote: > Maybe I'm missing something, > > byt I'm trying to open a DB created with valentina studio for mac on > windows environment and Vstudio crashes, and the same if I try on a mac > to open a db created on Vstudio for windows. > > shouldn't them be cross- platform? Hi Gulio. In ReadMe it is said that this is known issue. We have yet one not resolved tasks for cross-platform files. Will be fixed in 2.0.2 or 2.0.3 -- 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] From sunshine at public.kherson.ua Tue Mar 29 19:41:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 10:41:47 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 6:35 PM, "Kem Tekinay" wrote: > On 3/29/05 3:15 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> I am sorry I have not understand where is problem. >> >> Search is fine, BUT ? > > Let me try again with a better example. > > Again, my REALbasic code is this: > > if find = "" then > sql = "SELECT * FROM Zip_Codes" > else > sql = "SELECT * FROM Zip_Codes WHERE " + _ > "Zip_Code LIKE '" + find + "%' " + _ > "OR City LIKE '" + find + "%' " + _ > "OR State LIKE '" + find +"%'" > end if > > try > curs = gDB.SQLSelect( sql, EVCursorLocation.kClientSide, > EVLockType.kReadOnly, EVCursorDirection.kForwardOnly ) > catch err as VException > MsgBox gDB.ErrString > end try > > My database has 7 fields with 84,000 records, but, for this example, we'll > say it has 3 fields and three records: > > Zip_Code City State > 10454 Bronx NY > 10530 Hartsdale NY > 10532 Hawthorne NY > > If I set the find variable to "105", the SQL command becomes: > > SELECT * FROM Zip_Codes WHERE Zip_Code LIKE '105%' OR City LIKE '105%' > OR State LIKE '105%' > > This properly selects two records in both Valentina and REALdatabase. > > Now I set find = "NY", making the SQL command: > > SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'NY%' OR City LIKE 'NY%' > OR State LIKE 'NY%' > > This properly finds three records in REALdatabase, but finds nothing in > Valentina. And that's the problem. Kem, can you send us your test database, So we can check in viSQL ? -- 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] From sunshine at public.kherson.ua Tue Mar 29 19:44:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 10:44:32 2005 Subject: [V4RB2] Field.value speed In-Reply-To: Message-ID: On 3/29/05 7:03 PM, "Kem Tekinay" wrote: > On 3/29/05 3:21 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> How many fields are selected in cursor? > > Seven. > >> If you can try reduce fields number. > > That would not work in this example. The point of this project is to show > Valentina and the REALdatabase side-by-side doing the same things in > equivalent ways. Great target! > So, this brings me back to my original question: Do we know why it's slower > getting the information out of the Vcursor than the RecordSet? This should NOT be. If it happens we need this project + db + steps, And we will study where is problem. > And if the answer is, "because it is," I'll accept that. I wonder, Have you enable Valentina.DebugLevel ? Please check folder of your project. Does it have V4RB_Log file ? If yes this can be source of big slow down. If no, then please again send us this project. -- 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] From wonderfef at noos.fr Tue Mar 29 19:00:00 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Mar 29 11:00:03 2005 Subject: Vserver 2 and V4RB2 : I can't make it work! Message-ID: Hello all, After having big issues installing Vserver V2 on my PC, I now have these problems: ? Convert_1_2.rb just crashes after a while ? I can't compile Convert_1_2.rb for Windows "Cannot load Windows version of plugin V4RB:128" ? the DEFRAGMENT and COMPACT functions both corrupt my database (-39 error when I want to re-open it) ? Valentina Studio creates db files with weird extensions (mode 5 => "mydatabase." and "mydatabase..ind" instead of "mydatabase.vdb" and "mydatabase.ind") ? Valentina Studio : Load XML is only available if I have a v1 database opened (is that normal?) ? Valentina Studio : Load XML generates a 19 kernel error right away. ? maybe I have forgotten other errors and crashes I had today while trying v2 for the first time ? I have struggled all day long and I still don't have Vserver hosting my db :-( Eric From sonicinema at yahoo.com Tue Mar 29 09:21:31 2005 From: sonicinema at yahoo.com (Capra J'neva) Date: Tue Mar 29 11:21:33 2005 Subject: unsubscribe In-Reply-To: 6667 Message-ID: <20050329172131.10352.qmail@web50310.mail.yahoo.com> Really, Please unsubscribe me. Capra __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From ohmitou at wanadoo.fr Tue Mar 29 21:21:26 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Tue Mar 29 11:21:50 2005 Subject: [V4RB2] Dump SQL no works Message-ID: <20050329172126.11105@smtp.wanadoo.fr> Hello, db.dump(file,evDumpType.kSQL,evDumpData.kRecordsOnly,true) db.dump(file,evDumpType.kSQL,evDumpData.kStructureAndRecords,true) db.dump(file,evDumpType.kSQL,evDumpData.kStructureOnly,true) create an empty file . On the other hand db.dump(file,evDumpType.kXML,evDumpData.kStructureAndRecords,true) works fine. Regards, -- Thierry Nauze Saint-Denis de la R?union From christer at ljusaideer.se Tue Mar 29 19:32:31 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 11:33:00 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: >On 3/29/05 3:57 PM, "Christer Olsson" wrote: > >> I have set it to 3 and I still only getting this singel line: >> >> Starting Valentina Server >> >> Is it supposed to report back more? > >Yes. I am right now checking > > >I also see > >> Starting Valentina Server > >But when I have set VerboseLevel to 2 or 3 it show me as expected: > > >Tue Mar 29 2005 16:52:14.674784 VServer_Office (2.0, Protocol 2.0, Kernel >2.0.1) >Maximum number of connections: 5 > > 16:52:14.685220 (2684396012): Database engine inited > 16:52:14.735910 (2684396012): Server started at 15432 port Sorry, but that's not happening for me. I have installed VServer_Office on both my G5 Desktop and my Powerboook, and it doesn't work on either of them. system.log says "SystemStarter: Waiting for Valentina Initialization" -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Tue Mar 29 21:20:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 12:20:19 2005 Subject: [V4RB2] Dump SQL no works In-Reply-To: <20050329172126.11105@smtp.wanadoo.fr> Message-ID: On 3/29/05 8:21 PM, "Thierry Nauze" wrote: > Hello, > > > db.dump(file,evDumpType.kSQL,evDumpData.kRecordsOnly,true) > db.dump(file,evDumpType.kSQL,evDumpData.kStructureAndRecords,true) > db.dump(file,evDumpType.kSQL,evDumpData.kStructureOnly,true) > create an empty file . > > On the other hand > db.dump(file,evDumpType.kXML,evDumpData.kStructureAndRecords,true) > works fine. Igor should check this... -- 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] From sunshine at public.kherson.ua Tue Mar 29 21:22:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 12:22:50 2005 Subject: Small error in VServer installer for Mac In-Reply-To: Message-ID: On 3/29/05 8:32 PM, "Christer Olsson" wrote: Hi Christer, >> I also see >> >>> Starting Valentina Server >> >> But when I have set VerboseLevel to 2 or 3 it show me as expected: >> >> >> Tue Mar 29 2005 16:52:14.674784 VServer_Office (2.0, Protocol 2.0, Kernel >> 2.0.1) >> Maximum number of connections: 5 >> >> 16:52:14.685220 (2684396012): Database engine inited >> 16:52:14.735910 (2684396012): Server started at 15432 port > > Sorry, but that's not happening for me. I have installed VServer_Office on > both my G5 Desktop and my Powerboook, and it doesn't work on either of them. > > system.log says "SystemStarter: Waiting for Valentina Initialization" System log ? I run vserver from the Terminal window do see that. And I think system.log will not show you anything else. - you should use Terminal to debug with Vserver in live mode. - or you can check Vserver.log which is in the folder of Library/Vserver_Office -- 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] From sun2 at public.kherson.ua Tue Mar 29 21:32:23 2005 From: sun2 at public.kherson.ua (Serg) Date: Tue Mar 29 12:35:09 2005 Subject: REALbasic Objects and RBDB_2 In-Reply-To: Message-ID: Hi Eric, >> I?ve discovered some other problems using the API, however: >> >> ? RedID?s are not returned when a bound Rbobject?s recordset is created >> using SQL (and using a query like ?Select RecID,* from...?. The field which >> should contain the RecID contains Nil. > > Aha, I think bug. Fixed. > >> ? Similarly, the databasename property of these objects fails to return >> the database name. ss = datacontrol1.Database.DatabaseName If the problem is ss = "" than I think that RB doesn't support this, because I tried the same with RealDataBase and ss = "" again. -- Best regards, Serge From christer at ljusaideer.se Tue Mar 29 21:04:54 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 13:05:02 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: > > Hi Christer, > >>> I also see >>> >>>> Starting Valentina Server >>> >>> But when I have set VerboseLevel to 2 or 3 it show me as expected: >>> >>> >>> Tue Mar 29 2005 16:52:14.674784 VServer_Office (2.0, Protocol 2.0, >>> Kernel >>> 2.0.1) >>> Maximum number of connections: 5 >>> >>> 16:52:14.685220 (2684396012): Database engine inited >>> 16:52:14.735910 (2684396012): Server started at 15432 port >> >> Sorry, but that's not happening for me. I have installed >> VServer_Office on >> both my G5 Desktop and my Powerboook, and it doesn't work on either >> of them. >> >> system.log says "SystemStarter: Waiting for Valentina Initialization" > > System log ? > > I run vserver from the Terminal window do see that. > > And I think system.log will not show you anything else. > > - you should use Terminal to debug with Vserver in live mode. If I start VServer by /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ ValentinaServer I get no messages at all in Terminal If I start VServer by sudo /Library/StartupItems/VServer_Office/VServer_Office I get Starting Valentina Server in terminal, but nothing more. > - or you can check Vserver.log which is in the folder of > Library/Vserver_Office VServer.log is empty. And log level is set to 3: [Logging] LogToConsole=3; enables logging to the console LogToFile=3; enables logging to the file From ktekinay at mactechnologies.com Tue Mar 29 14:19:06 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Mar 29 13:19:29 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 10:35 AM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > Now I set find = "NY", making the SQL command: > > SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'NY%' OR City LIKE 'NY%' > OR State LIKE 'NY%' And here is where the problem is. My e-mail reads like the above, but, in actuality, my select command read like this: SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'ny%' OR City LIKE 'ny%' OR State LIKE 'ny%' It turns out that Valentina is case-sensitive, so I have to change it to this: SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'ny%' OR lower(City) LIKE 'ny%' OR lower(State) LIKE 'ny%' This works, but is there a way to tell Valentina to always do case-insensitive searches? BTW, for what it's worth, this search takes about 115 ticks, but the same search in REALdatabase takes around 40 ticks. I'm starting to think that I must be missing some setting in Valentina. And, no, it's not the debug level which is set to log nothing. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Tue Mar 29 22:21:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 29 13:21:29 2005 Subject: Small error in VServer installer for Mac In-Reply-To: Message-ID: On 3/29/05 10:04 PM, "Christer Olsson" wrote: >> - or you can check Vserver.log which is in the folder of >> Library/Vserver_Office > > VServer.log is empty. And log level is set to 3: > > [Logging] > LogToConsole=3; enables logging to the console > LogToFile=3; enables logging to the file MISTAKE ! We talk about VerboseLevel = 3 parameter -- 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] From christer at ljusaideer.se Tue Mar 29 21:57:01 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 13:57:09 2005 Subject: Small error in VServer installer for Mac In-Reply-To: References: Message-ID: <505c3224dd7c77c1768ede323da0e57f@ljusaideer.se> > On 3/29/05 10:04 PM, "Christer Olsson" wrote: > >>> - or you can check Vserver.log which is in the folder of >>> Library/Vserver_Office >> >> VServer.log is empty. And log level is set to 3: >> >> [Logging] >> LogToConsole=3; enables logging to the console >> LogToFile=3; enables logging to the file > > MISTAKE ! > > We talk about > > VerboseLevel = 3 > > parameter OK. Sorry about the confusion. Now I get the same info as I used to with 2.0a62. Good. But I still can't connect to VServer with Valentina Studio, or my own project. I get "ERROR 0x82502: Protocol version is too new." in both cases. Should projects compiled with V4RB_Client 2.0a62 be able to connect to VServer 2.0.1? From macsforever2000 at goodeast.com Tue Mar 29 11:07:45 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Mar 29 14:02:32 2005 Subject: [V4RB2] Field.value speed In-Reply-To: References: Message-ID: <63e29a7818622ceea58e995d8b446442@goodeast.com> Hi Kem, On Mar 29, 2005, at 9:03 AM, Kem Tekinay wrote: > So, this brings me back to my original question: Do we know why it's > slower > getting the information out of the Vcursor than the RecordSet? And if > the > answer is, "because it is," I'll accept that. Can you post your code for getting information out of a VCursor including the code that creates the cursor? Maybe the answer lies there. Best regards, Frank Schima From christer at ljusaideer.se Tue Mar 29 22:29:04 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Mar 29 14:29:13 2005 Subject: V4RB docs not complete? Message-ID: I just downloaded the V4RB_Reference_2_en.pdf, and it seems to contain only the contents pages (4 pages). The rets of the 173 or so pages are missing. From ktekinay at mactechnologies.com Tue Mar 29 15:38:15 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Mar 29 14:38:23 2005 Subject: [V4RB2] Field.value speed In-Reply-To: <63e29a7818622ceea58e995d8b446442@goodeast.com> Message-ID: On 3/29/05 1:07 PM, Frank Schima at macsforever2000@goodeast.com wrote: > Can you post your code for getting information out of a VCursor > including the code that creates the cursor? Maybe the answer lies > there. Sure. Here is the code that creates the cursor: dim find, sql as string dim curs as VCursor dim startTicks, endTicks as integer dim b as boolean find = lowercase( fldSearch.Text ) if find = "" then sql = "SELECT * FROM Zip_Codes" else sql = "SELECT * FROM Zip_Codes WHERE " + _ "Zip_Code LIKE '" + find + "%' " + _ "OR lower(City) LIKE '" + find + "%' " + _ "OR lower(State) LIKE '" + find +"%'" end if startTicks = ticks b = gDB.TblZipCodes.Zip_Code.FindStartsWith( find ) try curs = gDB.SQLSelect( sql, EVCursorLocation.kClientSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly ) catch err as VException MsgBox gDB.ErrString end try endTicks = ticks if curs <> nil then zRecSet = nil zRecSet = curs curs = nil fldRecordCount.Text = format( self.zRecSet.RecordCount, "#," ) lbZips.Reset( self.zRecSet.RecordCount ) fldSearchTicks.Text = format( endTicks - startTicks, "#,0" ) + " ticks" else fldSearchTicks.Text = "" end if Here is the code that reads information from the cursor: zRecSet.Position = dataRow + 1 if column < 3 then result = zSortField.Value else result = format( zSortField.Value.DoubleValue + 1000 , "000,000.000" ) // Compensate for negative numbers end if result = result + " " + str( dataRow ) // Keep it unique The variable dataRow represents a 0-based index for the record. The variable zSortField is set as follows: zSortField = zRecSet.Field( me.Heading( column ) ) __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From wpurvis7 at bellsouth.net Tue Mar 29 15:40:21 2005 From: wpurvis7 at bellsouth.net (Walter Purvis) Date: Tue Mar 29 14:40:34 2005 Subject: V4RB documentation? In-Reply-To: Message-ID: <20050329204022.DEBZ2063.imf21aec.mail.bellsouth.net@HP> I downloaded the V4RB documentation, but it's only 4 pages long -- it's just the table of contents, with no actual contents. Is the full document going to be uploaded soon? From macsforever2000 at goodeast.com Tue Mar 29 14:43:07 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Mar 29 15:43:17 2005 Subject: V4RB documentation? In-Reply-To: <20050329204022.DEBZ2063.imf21aec.mail.bellsouth.net@HP> References: <20050329204022.DEBZ2063.imf21aec.mail.bellsouth.net@HP> Message-ID: <5aa424f2f013d8cbde63de0d2e55b2b8@goodeast.com> Hi Walter, On Mar 29, 2005, at 1:40 PM, Walter Purvis wrote: > I downloaded the V4RB documentation, but it's only 4 pages long -- > it's just > the table of contents, with no actual contents. > > Is the full document going to be uploaded soon? Maybe it was just uploaded, but this link works fine for me: 173 pages. Best regards, Frank Schima From macsforever2000 at goodeast.com Tue Mar 29 15:15:27 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Mar 29 16:15:38 2005 Subject: [V4RB2] Field.value speed In-Reply-To: References: Message-ID: Hi Kem, Here's a few things to try: On Mar 29, 2005, at 1:38 PM, Kem Tekinay wrote: > zSortField = zRecSet.Field( me.Heading( column ) ) You might try getting it based on Index instead of name. I'm assuming this is not inside any loop? > if column < 3 then > result = zSortField.Value Is result a string? I think you should be casting before you get the Value, otherwise it is returning a variant which is slow. So if the Field is a VarChar field then: result = VVarChar(zSortField).Value Better yet, if you want a string just do this: result = zSortField.GetString Even better, pass the proper field type from the beginning like so: zSortField = zRecSet.VarCharField(x) Of course zSortField better be the right type. > else > result = format( zSortField.Value.DoubleValue + 1000 , > "000,000.000" ) This is inefficient I think. I'm not even sure what .DoubleValue is. But casting is a better way to go here: result = format( VDouble(zSortField).Value + 1000 , "000,000.000" ) Again, having a VDouble field already would have been good too. zSortField = zRecSet.DoubleField(x) > // Compensate for negative numbers > end if When filling a Listbox, I pass an entire VCursor so I can cast the fields from the start so I can manipulate for display. Using GetString for text fields works fine though without casting. Best regards, Frank Schima From gregkowalski at earthlink.net Tue Mar 29 23:16:17 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Mar 29 22:17:38 2005 Subject: Multiple table search Message-ID: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> Hello, This is my first foray into multiple table searches and would greatly appreciate some guidance. As an example lets say I have two table with following content: : aTable fieldone fieldtwo 1001 1002 bTable fieldthree fieldfour 1003 1004 I want to query fieldtwo and fieldfour at once for a value (1004). I tried: whichSearch = "select * FROM aTable, bTable where fieldtwo = '"&"1004"&"' OR fieldfour = '"&"1004"&"' " but it crashes. I also tried whichSearch = "select * FROM aTable, bTable where atable.fieldtwo = '"&"1004"&"' OR bTable.fieldfour = '"&"1004"&"' " and it also crashes. What is the correct syntax? Thank you Greg From Claudius at sailer-online.de Wed Mar 30 06:19:14 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Mar 29 22:19:23 2005 Subject: V4RB2 running application? Message-ID: Hi, with 1.x I compiled my RB-Application and V4RB was included and it rans. What do I have to do by using V4RB2? I am using only RB for MacOS X but I build Carbon-Apps. Thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.1 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From macsforever2000 at goodeast.com Tue Mar 29 21:36:31 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Mar 29 22:36:40 2005 Subject: V4RB2 running application? In-Reply-To: References: Message-ID: <0760777787550b356694ae98e830b614@goodeast.com> Hi Claudius, On Mar 29, 2005, at 9:19 PM, Claudius Sailer wrote: > with 1.x I compiled my RB-Application and V4RB was included and it > rans. > > What do I have to do by using V4RB2? > I am using only RB for MacOS X but I build Carbon-Apps. If I understand you correctly, you need to: 1. Install V4RB2 with the installer, remove the V4RB 1.x plugin and place V4RB2 into the plugins folder. 2. Convert any existing databases to Valentina 2 format. There are a few ways to do that: 2a. Use the existing Convert_1_2 function in V4RB2. See the V4RB docs about this. 2b. Export the database with SQL in Val 1 and import the SQL using VStudio or ViSQL with Val 2. 2c. Possibly export into XML format, but I think the XML formats are not compatible so forget about this. 3. Convert your project to use Val 2 syntax. This has been explained on other threads and I will not repeat it here. Search the archives to find these posts. Hmmm, I cannot seem to find the archives anymore. If you do not have the last post by Ruslan about this, I can forward it to you. HTH, Frank Schima From Claudius at sailer-online.de Wed Mar 30 06:46:41 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Mar 29 22:46:52 2005 Subject: V4RB2 running application? In-Reply-To: <0760777787550b356694ae98e830b614@goodeast.com> References: <0760777787550b356694ae98e830b614@goodeast.com> Message-ID: <2394ed72eaef6585a0587dedb516fee0@sailer-online.de> Hi Frank, Am 30. Mrz 2005 um 06:36 Uhr schrieb Frank Schima: > Hi Claudius, > > > On Mar 29, 2005, at 9:19 PM, Claudius Sailer wrote: > >> with 1.x I compiled my RB-Application and V4RB was included and it >> rans. >> >> What do I have to do by using V4RB2? >> I am using only RB for MacOS X but I build Carbon-Apps. > > If I understand you correctly, you need to: > > 1. Install V4RB2 with the installer, remove the V4RB 1.x plugin and > place V4RB2 into the plugins folder. > > 2. Convert any existing databases to Valentina 2 format. There are a > few ways to do that: > 2a. Use the existing Convert_1_2 function in V4RB2. See the V4RB docs > about this. > 2b. Export the database with SQL in Val 1 and import the SQL using > VStudio or ViSQL with Val 2. > 2c. Possibly export into XML format, but I think the XML formats are > not compatible so forget about this. > > 3. Convert your project to use Val 2 syntax. This has been explained > on other threads and I will not repeat it here. Search the archives to > find these posts. Hmmm, I cannot seem to find the archives anymore. If > you do not have the last post by Ruslan about this, I can forward it > to you. that was not the problem. What do I ned to get a running app with V4RB2. Is it neccessary to send VComponents to user to, where do they have to install them ... what I have to do to make V4RB2 applications on my system is known and works. bye Claudius From macsforever2000 at goodeast.com Tue Mar 29 23:01:56 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Mar 30 00:02:05 2005 Subject: V4RB2 running application? In-Reply-To: <2394ed72eaef6585a0587dedb516fee0@sailer-online.de> References: <0760777787550b356694ae98e830b614@goodeast.com> <2394ed72eaef6585a0587dedb516fee0@sailer-online.de> Message-ID: <462d1bf8603ae055b20cb011249e4ca6@goodeast.com> Hi Claudius, On Mar 29, 2005, at 9:46 PM, Claudius Sailer wrote: > that was not the problem. > What do I ned to get a running app with V4RB2. > Is it neccessary to send VComponents to user to, where do they have to > install them ... > > what I have to do to make V4RB2 applications on my system is known and > works. Ah. You want to know how to deploy your application. Now i understand. Yes, you need to install the VComponents onto the user machines. Of course you can install the VComponents folder onto the user's machine in /Library/CFMSupport/ or ~/Library/CFMSupport/. You can create your own installer to install these along with your application to make it easy for your users. But also, I think there is a way to embed the VComponents into the application itself (Mach-O only) or at least you may put them into the same folder as the Application (which is not Mac-like anymore). We will have to wait for Ruslan to respond about this. -Frank Schima From kgrob at mus.ch Wed Mar 30 10:03:51 2005 From: kgrob at mus.ch (Karl Grob) Date: Wed Mar 30 02:04:14 2005 Subject: V4RB2 UTF-8 and UTF-16 Message-ID: <1cd58bb66dadce13636525b3df1ff41e@mus.ch> I experience the following problem: Just for information: Function toValDB(s As string) As String if s.Encoding = NIL then s = s.DefineEncoding(Encodings.SystemDefault) else s = s.ConvertEncoding(Encodings.UTF16) end if return s End Function -------------- and now the problem: tmp is just for Debugging purposes Database is UTF-16 s = "M?ller" // = UTF-8 tmp = toValDB(s) cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp -> Leaves the string-Field empty tmp = NthField(s) cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp -> String-Fields are filled, but M?ller becomes M ller (in Valentina Studio) It seems that the Database does not accept UTF-16-Strings if itself is UTF-16 and that the encoding of other strings is not correct? Database is UTF-8: Valentina Studio crashes immediately, no chance to check. Has anyone a guess? Thanks Karl ------ Karl Grob Glockengasse 4 CH-8001 Z?rich kgrob@mus.ch From peter.salomon at gmx.net Wed Mar 30 10:07:14 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Wed Mar 30 02:07:16 2005 Subject: =?iso-8859-1?q?=5BV4MD_MAC=5D_Can=B4t_access_to_VServer=5F2_with?= =?iso-8859-1?q?_example_files_and_V4MD=5F2?= Message-ID: <623151788da01e0606514e6748565a3a@gmx.net> First: thanks for solving problems caused by permission parameters of installer. Now i can open and work with example files of V4MD_2 in LOCAL mode. But now i can?t access to VServer_2: VServer 2 is still runing, started manually in the terminal with verboselevel = 3 - only one ValentinaS process is active - everything seems to be fine.. If i try to set variable in example files to CLIENT mode, valentinaXtra seems to try to connect VServer_2. Without any errormessage director crashes, Terminal doesn?t show any connections and V4MD_Log.txt is empty. I even can?t connect to the VServer by using ValentinaStudio. Errormessage is: 61 which is OSX error: -61 File not open with write permission. ok, but which file is meant? All directorys and files of VServer have writepermission and also directorys of example files. Is it possible. that valentina creates database files without writepermission to their own? any ideas? From IvanSmahin at public.kherson.ua Wed Mar 30 11:07:26 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Mar 30 02:07:37 2005 Subject: Multiple table search In-Reply-To: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> References: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> Message-ID: <1743739511.20050330110726@public.kherson.ua> Hello Gregory, Wednesday, March 30, 2005, 7:16:17 AM, you wrote: GK> Hello, GK> This is my first foray into multiple table searches and would greatly GK> appreciate some guidance. GK> As an example lets say I have two table with following content: : GK> aTable GK> fieldone fieldtwo GK> 1001 1002 GK> bTable GK> fieldthree fieldfour GK> 1003 1004 It seems you need just get inner join for two tables. BTW - take a look on our sql-tutorial. There is detailed description and examples. But anyway you need some condition which is "join condition". In your example it might be recIDs - say "first record from first table logically linked to first record in the second table, and so on..." GK> I also tried GK> whichSearch = "select * FROM aTable, bTable where atable.fieldtwo = GK> '"&"1004"&"' OR bTable.fieldfour = '"&"1004"&"' " GK> and it also crashes. We check this point - it must be no crashes anyway. GK> What is the correct syntax? select * FROM aTable, bTable where atable.fieldtwo = bTable.fieldfour It's just for INNER JOIN. Or another syntax for same thing is: select * FROM aTable INNER JOIN bTable ON fieldtwo = fieldfour GK> _______________________________________________ GK> Valentina mailing list GK> Valentina@lists.macserve.net GK> http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From kgrob at mus.ch Wed Mar 30 10:08:03 2005 From: kgrob at mus.ch (Karl Grob) Date: Wed Mar 30 02:08:12 2005 Subject: V4RB2 UTF-8 and UTF-16 In-Reply-To: <1cd58bb66dadce13636525b3df1ff41e@mus.ch> References: <1cd58bb66dadce13636525b3df1ff41e@mus.ch> Message-ID: <022fe041a3bf2baaadd00ba1565d1a8f@mus.ch> > > tmp = NthField(s) > Must of course be tmp = s Sorry Karl ------ Karl Grob Glockengasse 4 CH-8001 Z?rich kgrob@mus.ch From giv at tlc.kherson.ua Wed Mar 30 11:40:41 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 30 02:40:45 2005 Subject: =?iso-8859-1?q?Re=3A_=5BV4MD_MAC=5D_Can=B4t_access_to_VServer=5F?= =?iso-8859-1?q?2_with_example_files_and_V4MD=5F2?= References: <623151788da01e0606514e6748565a3a@gmx.net> Message-ID: <000601c53504$27f6e380$3b04a8c0@giv> Hi Peter, > But now i can?t access to VServer_2: > VServer 2 is still runing, started manually in the terminal with > verboselevel = 3 - only one ValentinaS process is active - everything > seems to be fine.. > > If i try to set variable in example files to CLIENT mode, valentinaXtra > seems to try to connect VServer_2. Without any errormessage director > crashes, Terminal doesn?t show any connections and V4MD_Log.txt is > empty. Please open ValentinaGlobals cast in the example movie and change code on the line 48 to this: Valentina.logToFile(true, true) This tells V4MD to flush each write to the V4MD log file. Then run the example again and see what will be in the V4MD_Log.txt. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From ssa at sevenrays.ru Wed Mar 30 12:50:22 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Wed Mar 30 02:50:34 2005 Subject: V4MD 2.0 & Unicode References: Message-ID: <001701c53505$91f4b810$0905a8c0@develop.nd.ru> Hello, What advantages gives Unicode support in V2 in Macromedia Director? Director doesn't support Unicode itself, so how text fields from database can be translated to Director text members? With best regards, Alexey From sunshine at public.kherson.ua Wed Mar 30 12:05:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:05:50 2005 Subject: Test ignore Message-ID: -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:06:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:06:54 2005 Subject: V4RB2 running application? In-Reply-To: <462d1bf8603ae055b20cb011249e4ca6@goodeast.com> Message-ID: On 3/30/05 9:01 AM, "Frank Schima" wrote: >> that was not the problem. >> What do I ned to get a running app with V4RB2. >> Is it neccessary to send VComponents to user to, where do they have to >> install them ... >> >> what I have to do to make V4RB2 applications on my system is known and >> works. > > Ah. You want to know how to deploy your application. Now i understand. > Yes, you need to install the VComponents onto the user machines. > > Of course you can install the VComponents folder onto the user's > machine in /Library/CFMSupport/ or ~/Library/CFMSupport/. You can > create your own installer to install these along with your application > to make it easy for your users. This is way ONE, and I think app developers will not like it. > But also, I think there is a way to embed the VComponents into the > application itself (Mach-O only) Right, Vstudio and Vserver do this > or at least you may put them into the > same folder as the Application (which is not Mac-like anymore). We will > have to wait for Ruslan to respond about this. For REALBasic-made carbon applications, you can simply do MyAppFolder MyApplication kernel.dll vclient.dll icu.dll resources This way is common for pre-package time. Jon, am I right that you have use THIS way in your BookEnds ? And of course we will try enable other ways also. -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:06:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:07:00 2005 Subject: V4RB2 UTF-8 and UTF-16 In-Reply-To: <1cd58bb66dadce13636525b3df1ff41e@mus.ch> Message-ID: On 3/30/05 11:03 AM, "Karl Grob" wrote: > tmp is just for Debugging purposes > Database is UTF-16 > > s = "M?ller" // = UTF-8 > tmp = toValDB(s) > cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp > -> Leaves the string-Field empty > > tmp = NthField(s) > cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp > -> String-Fields are filled, but M?ller becomes M ller (in Valentina > Studio) > > It seems that the Database does not accept UTF-16-Strings if itself is > UTF-16 and that the encoding of other strings is not correct? > > Database is UTF-8: > Valentina Studio crashes immediately, no chance to check. Hi Karl, NOTE: * right now you can use only db.StorageEncoding = UTF16 this is default in fact. do not set here UTF8 for now * all strings to V4RB must go as UTF8 and you get back UTF8 strings -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:06:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:07:06 2005 Subject: Multiple table search In-Reply-To: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> Message-ID: On 3/30/05 7:16 AM, "Gregory Kowalski" wrote: Hi Gregory > whichSea rch = "select * FROM aTable, bTable where atable.fieldtwo = > '"&"1004"&"' OR bTable.fieldfour = '"&"1004"&"' " > > and it also crashes. > > What is the correct syntax? Small ask: it will be more simple to read the final SQL string, without & & -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:08:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:08:23 2005 Subject: Small error in VServer installer for Mac In-Reply-To: <505c3224dd7c77c1768ede323da0e57f@ljusaideer.se> Message-ID: On 3/29/05 10:57 PM, "Christer Olsson" wrote: > OK. Sorry about the confusion. Now I get the same info as I used to > with 2.0a62. Good. Yes good > But I still can't connect to VServer with Valentina > Studio, or my own project. Vstudio as I see do not work with 2.0 server. Jochen should fix this asap. > I get "ERROR 0x82502: Protocol version is > too new." Yes I also have see this > in both cases. Should projects compiled with V4RB_Client > 2.0a62 be able to connect to VServer 2.0.1? No. IF you use Vserver 2.0 then you should use V4RB 2.0. Note, in V4RB 2.0 there is no separate V4RB_Client. Instead we have single V4RB plugin and 2 DLLs: kernel and client. -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:08:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:08:32 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/29/05 10:19 PM, "Kem Tekinay" wrote: >> Now I set find = "NY", making the SQL command: >> >> SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'NY%' OR City LIKE 'NY%' >> OR State LIKE 'NY%' > > And here is where the problem is. My e-mail reads like the above, but, in > actuality, my select command read like this: > > SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'ny%' OR City LIKE 'ny%' > OR State LIKE 'ny%' Just wonder, ZIP CODE field contains only numbers... Or this is your general purpose algorithm ? > It turns out that Valentina is case-sensitive, so I have to change it to > this: > > SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'ny%' OR lower(City) LIKE > 'ny%' OR lower(State) LIKE 'ny%' > > This works, but is there a way to tell Valentina to always do > case-insensitive searches? Check feature db.CollationAttribute() Describe in kernel.pdf and V4RB Refs. You can e.g. For db assign db.CollationAttrinute( kStrength ) = kPrimary Then all sorting and searches will ignore case and accents. In the same time I think LIKE search will ignore this. I think it is good idea to make LIKE search aware about that settings also. > BTW, for what it's worth, this search takes about 115 ticks, but the same > search in REALdatabase takes around 40 ticks. I'm starting to think that I > must be missing some setting in Valentina. :-) you have really interesting project on hands! Valentina use UTF16, so files will be 2 times bigger. But this still not explain I think. We need profile this query to see where is breaks. -- 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] From sunshine at public.kherson.ua Wed Mar 30 12:09:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:09:12 2005 Subject: [V4MD MAC] Can =?iso-8859-1?q?=B4?= t access to VServer_2 with example files and V4MD_2 In-Reply-To: <623151788da01e0606514e6748565a3a@gmx.net> Message-ID: On 3/30/05 11:07 AM, "Peter Salomon" wrote: > First: thanks for solving problems caused by permission parameters of > installer. > > Now i can open and work with example files of V4MD_2 in LOCAL mode. > > But now i can?t access to VServer_2: > VServer 2 is still runing, started manually in the terminal with > verboselevel = 3 - only one ValentinaS process is active - everything > seems to be fine.. > > If i try to set variable in example files to CLIENT mode, valentinaXtra > seems to try to connect VServer_2. Without any errormessage director > crashes, Terminal doesn?t show any connections and V4MD_Log.txt is > empty. > > I even can?t connect to the VServer by using ValentinaStudio. > Errormessage is: 61 which is OSX error: -61 File not open with write > permission. > > ok, but which file is meant? All directorys and files of VServer have > writepermission and also directorys of example files. > Is it possible. that valentina creates database files without > writepermission to their own? I will run examples here and let you know. -- 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] From peter.salomon at gmx.net Wed Mar 30 11:09:34 2005 From: peter.salomon at gmx.net (peter salomon) Date: Wed Mar 30 03:09:42 2005 Subject: [V4MD MAC] =?iso-8859-1?q?Can=B4t_access_to_VServer=5F2_with_?= =?iso-8859-1?q?example_files_and_V4MD=5F2?= In-Reply-To: <000601c53504$27f6e380$3b04a8c0@giv> References: <623151788da01e0606514e6748565a3a@gmx.net> <000601c53504$27f6e380$3b04a8c0@giv> Message-ID: <424A6CCE.3000108@gmx.net> Hi Igor, >Please open ValentinaGlobals cast in the example movie and >change code on the line 48 to this: >Valentina.logToFile(true, true) >This tells V4MD to flush each write to the V4MD log file. >Then run the example again and see what will be in the V4MD_Log.txt. > > I?ve already done setting (true ,true) for logToFile. V4MD_Log.txt is still empty. I think it is empty because of wrong writepermissions? Although the FinderInfo tells that i have writepermission on this folder, file and all higher directories. The codeline where Director crashes is where Valeentina asks for cacheSize to check , if Valentina is inited properly. From sunshine at public.kherson.ua Wed Mar 30 12:11:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 03:11:45 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: <001701c53505$91f4b810$0905a8c0@develop.nd.ru> Message-ID: On 3/30/05 11:50 AM, "Alexey Starchikhin" wrote: > Hello, > > What advantages gives Unicode support in V2 in Macromedia Director? > Director doesn't support Unicode itself, so how text fields from database > can be translated to Director text members? Hi Alexey, We have discuss this questions with other V4md users. It seems there is no any nice way to foolish Director. So V4MD Xtra just get from director ANSI strings, convert them to UTF16, And store in db. Somebody have told that may be from Flash we can get some advantages... -- 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] From kgrob at mus.ch Wed Mar 30 11:19:03 2005 From: kgrob at mus.ch (Karl Grob) Date: Wed Mar 30 03:19:12 2005 Subject: V4RB2 UTF-8 and UTF-16 In-Reply-To: References: Message-ID: <01cf3858d2cd9f5736506ffff64161ae@mus.ch> Thanks But why does Valentina Studio not show the correct encoding? s is UTF8 >> tmp = s >> cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp >> -> String-Fields are filled, but M?ller becomes M ller (in Valentina >> Studio) Am 30.03.2005 um 11:06 schrieb Ruslan Zasukhin: > On 3/30/05 11:03 AM, "Karl Grob" wrote: > >> tmp is just for Debugging purposes >> Database is UTF-16 >> >> s = "M?ller" // = UTF-8 >> tmp = toValDB(s) >> cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp >> -> Leaves the string-Field empty >> >> tmp = NthField(s) >> cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = tmp >> -> String-Fields are filled, but M?ller becomes M ller (in Valentina >> Studio) >> >> It seems that the Database does not accept UTF-16-Strings if itself is >> UTF-16 and that the encoding of other strings is not correct? >> >> Database is UTF-8: >> Valentina Studio crashes immediately, no chance to check. > > Hi Karl, > > NOTE: > > * right now you can use only > > db.StorageEncoding = UTF16 > > this is default in fact. > do not set here UTF8 for now > > > * all strings to V4RB must go as UTF8 > and you get back UTF8 strings > > > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > ------ Karl Grob Glockengasse 4 CH-8001 Z?rich kgrob@mus.ch From bibiko at eva.mpg.de Wed Mar 30 11:20:43 2005 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Mar 30 03:21:06 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: References: Message-ID: <424A6F6B.8060602@eva.mpg.de> Ruslan Zasukhin wrote: > On 3/30/05 11:50 AM, "Alexey Starchikhin" wrote: > > >>Hello, >> >>What advantages gives Unicode support in V2 in Macromedia Director? >>Director doesn't support Unicode itself, so how text fields from database >>can be translated to Director text members? > > > Hi Alexey, > > We have discuss this questions with other V4md users. > It seems there is no any nice way to foolish Director. > > So V4MD Xtra just get from director ANSI strings, convert them to UTF16, > And store in db. > > Somebody have told that may be from Flash we can get some advantages... > > One way to use Unicode within Director could be, use a Flash-Inputfield, use a Javascript-function (not a lingo funtion) to save this data in Valentina and the other way get some data from Valentina using Javascript put these data in a Flash-Textarea. I did not try it out but it would be worth to check it. Unfortunately this time I have not enough time to check it by myself, but I hope that I will find some time next month. All the best Hans From joerg at folckers.de Wed Mar 30 11:23:12 2005 From: joerg at folckers.de (Joerg Folckers) Date: Wed Mar 30 03:23:23 2005 Subject: =?iso-8859-1?q?Re=3A_=5BV4MD_MAC=5D_Can=B4t_access_to_VServer=5F?= =?iso-8859-1?q?2_with_example_files_and=0D=0A_V4MD=5F2?= In-Reply-To: <000601c53504$27f6e380$3b04a8c0@giv> References: <623151788da01e0606514e6748565a3a@gmx.net> <000601c53504$27f6e380$3b04a8c0@giv> Message-ID: Hi, somehow i never managed to get an output under Mac OS X in the "V4MD_Log.txt" using the below statements etc Valentina.debugLevel = #kLogParams Valentina.logToMessageWindow = false Valentina.logToFile(true, true) sometimes it is created but nothing written into. maybe i'm doing something wrong. regards, J?rg At 11:40 +0300 30.03.2005, Igor Gomon wrote: >Hi Peter, > >> But now i can?t access to VServer_2: >> VServer 2 is still runing, started manually in the terminal with >> verboselevel = 3 - only one ValentinaS process is active - everything >> seems to be fine.. >> >> If i try to set variable in example files to CLIENT mode, valentinaXtra >> seems to try to connect VServer_2. Without any errormessage director >> crashes, Terminal doesn?t show any connections and V4MD_Log.txt is >> empty. >Please open ValentinaGlobals cast in the example movie and >change code on the line 48 to this: >Valentina.logToFile(true, true) >This tells V4MD to flush each write to the V4MD log file. >Then run the example again and see what will be in the V4MD_Log.txt. > >-- >Best regards, >Igor Gomon >------------------------------------------------------------- >e-mail: giv@tlc.kherson.ua >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://listserv.macserve.net/mailman/listinfo/valentina > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From ssa at sevenrays.ru Wed Mar 30 13:42:12 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Wed Mar 30 03:42:03 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: References: Message-ID: <139710368.20050330134212@sevenrays.ru> Hello Ruslan, Wednesday, March 30, 2005, 1:11:32 PM, you wrote: RZ> On 3/30/05 11:50 AM, "Alexey Starchikhin" wrote: >> Hello, >> >> What advantages gives Unicode support in V2 in Macromedia Director? >> Director doesn't support Unicode itself, so how text fields from database >> can be translated to Director text members? RZ> Hi Alexey, RZ> We have discuss this questions with other V4md users. RZ> It seems there is no any nice way to foolish Director. RZ> So V4MD Xtra just get from director ANSI strings, convert them to UTF16, RZ> And store in db. RZ> Somebody have told that may be from Flash we can get some advantages... And how about db to Director, UNF16 to ANSI? I'm working on dictionaries now, last time it was Russian - Czech, and the only way to have both in one base with all special symbols was : reboot to Czech codepage, import data, reboot back to Russian, import another data, and then combine fields via Valentina API. And soon will be another languages.. I just need to know, how to make this task more simple with V2? -- Best regards, Alexey mailto:ssa@sevenrays.ru From IvanSmahin at public.kherson.ua Wed Mar 30 12:55:40 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Mar 30 03:55:45 2005 Subject: Multiple table search In-Reply-To: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> References: <7639E566-A0D2-11D9-95AF-000393DAB46A@earthlink.net> Message-ID: <1282497112.20050330125540@public.kherson.ua> Hello Gregory, Wednesday, March 30, 2005, 7:16:17 AM, you wrote: GK> As an example lets say I have two table with following content: : GK> aTable GK> fieldone fieldtwo GK> 1001 1002 GK> bTable GK> fieldthree fieldfour GK> 1003 1004 GK> I want to query fieldtwo and fieldfour at once for a value (1004). In other words you want to select some records from both tables which have the same values in fieldtwo and fieldfour fields and this value should be 1004. select * FROM aTable, bTable where fieldtwo = fieldfour and fieldtwo = 1004 Another syntax for this query is: select * FROM aTable INNER JOIN bTable ON fieldtwo = fieldfour where fieldtwo = 1004 Or you want just collect some records from both tables which have 1004 in some fields. There is rather different query, because here is nothing like join is needed. UNION seems to be appropriate solution: select * FROM aTable where fieldtwo = 1004 union select * FROM bTable where fieldfour = 1004 -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From wonderfef at noos.fr Wed Mar 30 12:17:51 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Mar 30 04:17:54 2005 Subject: V4RB2 does anyone have successfully converted dbs? Message-ID: Hello, I've been struggling with R4RB v2 since yesterday, but I can't convert my v1 vdb to v2. Convert_1_2 crashes after a while Dump/load xml does not work... If you have any clue... Thanks in advance Eric From sunshine at public.kherson.ua Wed Mar 30 13:24:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 04:24:39 2005 Subject: V4RB2 UTF-8 and UTF-16 In-Reply-To: <01cf3858d2cd9f5736506ffff64161ae@mus.ch> Message-ID: On 3/30/05 12:19 PM, "Karl Grob" wrote: > Thanks > But why does Valentina Studio not show the correct encoding? > > s is UTF8 What is s ? -- 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] From sunshine at public.kherson.ua Wed Mar 30 13:28:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 04:28:07 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: <424A6F6B.8060602@eva.mpg.de> Message-ID: On 3/30/05 12:20 PM, "Hans-Joerg Bibiko" wrote: >> > One way to use Unicode within Director could be, use a Flash-Inputfield, use a > Javascript-function > (not a lingo funtion) to save this data in Valentina and the other way get > some data from Valentina > using Javascript put these data in a Flash-Textarea. I did not try it out but > it would be worth to > check it. Unfortunately this time I have not enough time to check it by > myself, but I hope that I > will find some time next month. In any case we will need then some help from you to build example Which try something do, and make it working. Right now V4MD expect from Director ANSI strings. -- 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] From sunshine at public.kherson.ua Wed Mar 30 13:29:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 04:29:12 2005 Subject: FIXED: [V4MD MAC] Can =?iso-8859-1?q?=B4?= t access to VServer_2 with example files and V4MD_2 In-Reply-To: <623151788da01e0606514e6748565a3a@gmx.net> Message-ID: On 3/30/05 11:07 AM, "Peter Salomon" wrote: Hi Peter, This was fresh bug of V4MD MAC FIXED. Please download archive again In the cast Valentina Globals you need set gClient = true To make it working as client -- 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] From sunshine at public.kherson.ua Wed Mar 30 13:32:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 04:32:31 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: <139710368.20050330134212@sevenrays.ru> Message-ID: On 3/30/05 12:42 PM, "Alexey Starchikhin" wrote: > > RZ> Hi Alexey, > > RZ> We have discuss this questions with other V4md users. > RZ> It seems there is no any nice way to foolish Director. > > RZ> So V4MD Xtra just get from director ANSI strings, convert them to UTF16, > RZ> And store in db. > > RZ> Somebody have told that may be from Flash we can get some advantages... > > And how about db to Director, UNF16 to ANSI? But V4MD do this self of course. > I'm working on dictionaries now, last time it was Russian - Czech, and the > only way to have both in one base with all special symbols was : reboot to > Czech codepage, import data, reboot back to Russian, import another data, > and then combine fields via Valentina API. > > And soon will be another languages.. I just need to know, how to make this > task more simple with V2? Alexey, actually we INVITE you to think with us. Tell us your dream, and we will try to find solution. You see? Director + unicode == is dark side. In REALbasic I think you could do easy this tasks. -- 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] From IvanSmahin at public.kherson.ua Wed Mar 30 13:37:43 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Mar 30 04:37:50 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: References: Message-ID: <13688016.20050330133743@public.kherson.ua> Hello Ruslan, Wednesday, March 30, 2005, 12:08:28 PM, you wrote: RZ> On 3/29/05 10:19 PM, "Kem Tekinay" RZ> wrote: >>> Now I set find = "NY", making the SQL command: >>> >>> SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'NY%' OR City LIKE 'NY%' >>> OR State LIKE 'NY%' >> >> And here is where the problem is. My e-mail reads like the above, but, in >> actuality, my select command read like this: >> >> SELECT * FROM Zip_Codes WHERE Zip_Code LIKE 'ny%' OR City LIKE 'ny%' >> OR State LIKE 'ny%' BTW, you can use 'RegEx' engine instead of 'Like'. It can be something like this: SELECT * FROM Zip_Codes WHERE Zip_Code RegEx '(?i)ny' ... -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ssa at sevenrays.ru Wed Mar 30 15:08:31 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Wed Mar 30 05:08:23 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: References: Message-ID: <1088395915.20050330150831@sevenrays.ru> Hello Ruslan, Wednesday, March 30, 2005, 2:32:26 PM, you wrote: RZ> On 3/30/05 12:42 PM, "Alexey Starchikhin" wrote: >> >> RZ> Hi Alexey, >> >> RZ> We have discuss this questions with other V4md users. >> RZ> It seems there is no any nice way to foolish Director. >> >> RZ> So V4MD Xtra just get from director ANSI strings, convert them to UTF16, >> RZ> And store in db. >> >> RZ> Somebody have told that may be from Flash we can get some advantages... >> >> And how about db to Director, UNF16 to ANSI? RZ> But V4MD do this self of course. >> I'm working on dictionaries now, last time it was Russian - Czech, and the >> only way to have both in one base with all special symbols was : reboot to >> Czech codepage, import data, reboot back to Russian, import another data, >> and then combine fields via Valentina API. >> >> And soon will be another languages.. I just need to know, how to make this >> task more simple with V2? RZ> Alexey, actually we INVITE you to think with us. RZ> Tell us your dream, and we will try to find solution. RZ> You see? RZ> Director + unicode == is dark side. RZ> In REALbasic I think you could do easy this tasks. I see. :) My dream, in this case, is to import whole Access file with different languages in one step. That will be easy now, i think. But the next step - displaying results in Director, will be more difficult. Well, i'll keep experimenting with this matter, and will publish the results. -- Best regards, Alexey mailto:ssa@sevenrays.ru From rjb at robelko.com Wed Mar 30 13:14:25 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Mar 30 05:32:15 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: <1088395915.20050330150831@sevenrays.ru> References: <1088395915.20050330150831@sevenrays.ru> Message-ID: > > I see. :) > My dream, in this case, is to import whole Access file with > different languages in one step. That will be easy now, i think. > > But the next step - displaying results in Director, will be more > difficult. Well, i'll keep experimenting with this matter, and will > publish the results. > > > >-- >Best regards, > Alexey Well, is there a requirement to use Director? Sounds like you are saying that it is not an optimal tool for your task and yet you seem determined to continue using it. Robert From kgrob at mus.ch Wed Mar 30 13:49:06 2005 From: kgrob at mus.ch (Karl Grob) Date: Wed Mar 30 05:49:16 2005 Subject: V4RB2 UTF-8 and UTF-16 In-Reply-To: References: Message-ID: <6036ce3fc20954fe995a8e221e6d27b7@mus.ch> s is a string variable with encoding UTF-8 >> s = "M?ller" >> cur.StringField(HKKAdb.Rec_Benutzer.Fld_BenName.Name).Value = s >> -> String-Fields are filled, but M?ller becomes M ller (in Valentina >> Studio) This could be a problem of Val.Studio, but I have to be shure that a sort is correct. I have not yet checked this. Am 30.03.2005 um 12:24 schrieb Ruslan Zasukhin: > On 3/30/05 12:19 PM, "Karl Grob" wrote: > >> Thanks >> But why does Valentina Studio not show the correct encoding? >> >> s is UTF8 > > What is s ? > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > ------ Karl Grob Glockengasse 4 CH-8001 Z?rich kgrob@mus.ch From ssa at sevenrays.ru Wed Mar 30 15:50:33 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Wed Mar 30 05:50:24 2005 Subject: V4MD 2.0 & Unicode In-Reply-To: References: <1088395915.20050330150831@sevenrays.ru> Message-ID: <116537327.20050330155033@sevenrays.ru> Hello Robert, Wednesday, March 30, 2005, 3:14:25 PM, you wrote: >> >> I see. :) >> My dream, in this case, is to import whole Access file with >> different languages in one step. That will be easy now, i think. >> >> But the next step - displaying results in Director, will be more >> difficult. Well, i'll keep experimenting with this matter, and will >> publish the results. >> >> >> >>-- >>Best regards, >> Alexey RB> Well, is there a requirement to use Director? Sounds like you are RB> saying that it is not an optimal tool for your task and yet you seem RB> determined to continue using it. RB> Robert RB> _______________________________________________ RB> Valentina mailing list RB> Valentina@lists.macserve.net RB> http://lists.macserve.net/mailman/listinfo/valentina I'm strong in Director, and i have build own programm engine to easy accomplish such tasks. It's greate tool, but i've build language application for the first time, so i never met with such problems before. Anyway, project is already created in Director, and all i need is to adopt it to another languages in the future. -- Best regards, Alexey mailto:ssa@sevenrays.ru From jda at his.com Wed Mar 30 07:10:21 2005 From: jda at his.com (jda) Date: Wed Mar 30 06:10:37 2005 Subject: V4RB2 does anyone have successfully converted dbs? In-Reply-To: References: Message-ID: >I've been struggling with R4RB v2 since yesterday, but I can't convert my v1 >vdb to v2. >Convert_1_2 crashes after a while >Dump/load xml does not work... > >If you have any clue... >Thanks in advance >Eric > Hi Eric, I have converted dbs, and it works fairly well. There are still many problems, though, that I have reported that have not been dealt with. One is conversion of non-ASCII characters. Another, more serious, is that at least one table seems to be damaged in conversion and I can't figure out how, because I can't access the data (even though diagnose says the db is OK). I suggest you report this on Mantis and send Ruslan a db that you are trying to convert... Jon From ktekinay at mactechnologies.com Wed Mar 30 07:26:15 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Mar 30 06:26:24 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/30/05 4:08 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > You can e.g. For db assign > > db.CollationAttrinute( kStrength ) = kPrimary > > Then all sorting and searches will ignore case and accents. > > In the same time I think LIKE search will ignore this. > I think it is good idea to make LIKE search aware about that settings also. Where and how do I make the LIKE search aware of this? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From wonderfef at noos.fr Wed Mar 30 15:19:30 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Mar 30 07:19:38 2005 Subject: V4RB2 does anyone have successfully converted dbs? In-Reply-To: Message-ID: Jon, > I have converted dbs, and it works fairly well. There are still many > problems, though, that I have reported that have not been dealt with. > One is conversion of non-ASCII characters. Ooops, my db is full of non-ASCII characters... > I suggest you report this on Mantis and send Ruslan a db that you are > trying to convert... I've dealt about my problems with Ruslan. He told me to wait for a new release, which would come soon. Another important issue for me is that the current RB plugin can't compile for Windows. This makes too many issues for me to test v2. I've just given up, I'll get back to v2 later... Thanks for your help Eric From christer at ljusaideer.se Wed Mar 30 16:15:50 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Wed Mar 30 08:15:59 2005 Subject: [V4RB] So far not so good Message-ID: Even the simplest project (and every example project I have tried) is resulting in a crash, even with debuglevel set to 3, when trying to open a database as a client to VServer (client is craching, not server). - - - Sample code: dim f as folderitem dim db as VDatabase Valentina.InitClient() Valentina.DebugLevel = 3 f = GetFolderItem( "test" ) db = new VDataBase( "", "sa", "sa" ) db.Open(f) - - - V4RB_Log.txt: Valentina_SetDebugLevel... PARAM: inLevel = 3 return Database_Ctor... PARAM: instance = 26264440 - - - No debug messages is shown in Terminal /*************************************************************************************/ Wed Mar 30 2005 16:13:58.887530 VServer_Office (2.0, Protocol 2.0, Kernel 2.0.1) Maximum number of connections: 5 16:13:58.927420 (2684396012): Database engine inited 16:13:59.045083 (2684396012): Server started at 15432 port - - - -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From gregkowalski at earthlink.net Wed Mar 30 09:54:52 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Mar 30 08:56:13 2005 Subject: Multiple table search Message-ID: Hi Ivan, Thank you very much for your help. Could you please give a link for the sql-tutorial you mentioned? Again thanks Greg > It seems you need just get inner join for two tables. BTW - take a > look on our sql-tutorial. > There is detailed description and examples. From IvanSmahin at public.kherson.ua Wed Mar 30 18:07:07 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Mar 30 09:07:13 2005 Subject: Multiple table search In-Reply-To: References: Message-ID: <325021162.20050330180707@public.kherson.ua> Hello Gregory, Wednesday, March 30, 2005, 5:54:52 PM, you wrote: GK> Could you please give a link for GK> the sql-tutorial you mentioned? http://www.paradigmasoft.com/docs/ValentinaSQL_2_en.pdf -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From carpe_diem at mac.com Wed Mar 30 11:38:09 2005 From: carpe_diem at mac.com (Ricardo Rojas) Date: Wed Mar 30 09:38:20 2005 Subject: Question on scope of V4RB Message-ID: <200503301538.j2UFc95h020745@rs25s9.datacenter.cha.cantv.net> With OS10.3.8, RB v5.5.5 and REALdatabase I can produce small apps that run on windows. With OS10.3.8, RB v5.5.5 and V4RB(mac), can I still compile to windows? or do I need to buy V4RB(mac+win)? TIA, >>>?<< From sunshine at public.kherson.ua Wed Mar 30 18:42:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 09:42:15 2005 Subject: [V4RB2] What's wrong with SQLSelect? In-Reply-To: Message-ID: On 3/30/05 3:26 PM, "Kem Tekinay" wrote: > On 3/30/05 4:08 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> You can e.g. For db assign >> >> db.CollationAttrinute( kStrength ) = kPrimary >> >> Then all sorting and searches will ignore case and accents. >> >> In the same time I think LIKE search will ignore this. >> I think it is good idea to make LIKE search aware about that settings also. > > Where and how do I make the LIKE search aware of this? LIKE will ignore this for now. Ivan right now work to improve this and allow LIKE to see our db/table collations settings. Also we have found that LIKE (as well) as REGEX can be speedup a lots if a field is indexed. This task also will be solved in the nearest days. -- 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] From sunshine at public.kherson.ua Wed Mar 30 18:43:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 09:43:31 2005 Subject: Question on scope of V4RB In-Reply-To: <200503301538.j2UFc95h020745@rs25s9.datacenter.cha.cantv.net> Message-ID: On 3/30/05 6:38 PM, "Ricardo Rojas" wrote: > With OS10.3.8, RB v5.5.5 and REALdatabase I can produce small apps that > run on windows. > > With OS10.3.8, RB v5.5.5 and V4RB(mac), can I still compile to windows? > or do I need to buy V4RB(mac+win)? Hi Ricardo, You will be able compile for Windows from MAC. But in 2.0.2 or 2.0.3 -- 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] From sunshine at public.kherson.ua Wed Mar 30 18:46:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 09:46:35 2005 Subject: [V4RB] So far not so good In-Reply-To: Message-ID: On 3/30/05 5:15 PM, "Christer Olsson" wrote: Hi Christer, > Even the simplest project (and every example project I have tried) is > resulting in a crash, even with debuglevel set to 3, when trying to open a > database as a client to VServer (client is craching, not server). Aha! Right. Sorry, Christer. Igor say that we was need to broke V4RB client to make Classes-way work with V4RB local. We have stick into one bad dependency of Vdatabase constructors which we have not see before. We are thinking how to resolve this problem. I think in next build we will fix V4RB Client part. > - - - > > Sample code: > > dim f as folderitem > dim db as VDatabase > > Valentina.InitClient() > Valentina.DebugLevel = 3 > > f = GetFolderItem( "test" ) > db = new VDataBase( "", "sa", "sa" ) > > db.Open(f) > > - - - > > V4RB_Log.txt: > > Valentina_SetDebugLevel... > PARAM: inLevel = 3 > return > > Database_Ctor... > PARAM: instance = 26264440 > > - - - > > No debug messages is shown in Terminal > > /***************************************************************************** > ********/ > Wed Mar 30 2005 16:13:58.887530 VServer_Office (2.0, Protocol 2.0, Kernel > 2.0.1) > Maximum number of connections: 5 > > 16:13:58.927420 (2684396012): Database engine inited > 16:13:59.045083 (2684396012): Server started at 15432 port -- 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] From giv at tlc.kherson.ua Wed Mar 30 19:33:09 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 30 10:33:17 2005 Subject: V4MD search in API way and cXtraStringGrid example request References: <000701c53536$b7562770$db081e97@vmtcktzo3kwrv6> Message-ID: <001a01c53546$28d68f20$3b04a8c0@giv> Hi Paolo, > I'm trying API way, buto I don't understand how display some "selected" > field... > e.g. > Table: STUDENTS > Field: Name, LastName, Andress, Phone, and so on > I want find a student with "Paolo" name and I want display only name of > STUDENTS table > in SQL this is easy: SELECT FieldName from STUDENTS... > but in API way? Just use such syntax: students = db.table("students") fName = students.field("name") or simply: fName = db.table("students").field("name") > I've copied my code for display data with cXtraStringGrid (only for > windows), I ask you if in the next week it's possible to create a > dir-example for this useful xtra. The code of example works...but it has > been hard to understand like the iterator works... The iterator is new and > not easy for now; in the docs I don't see many explanations... 1) Iterator is designed to iterate through the table records - not table 's fields. 2) To clarify: so you want me to write new example which displays data from the table (using VSetIterator Xtra) using some third-party Xtra? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From lfredricks at proactive-intl.com Wed Mar 30 08:42:43 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Mar 30 10:42:59 2005 Subject: Question on scope of V4RB In-Reply-To: <200503301538.j2UFc95h020745@rs25s9.datacenter.cha.cantv.net> Message-ID: <20050330164245.D74B4E4014@knife.dreamhost.com> > With OS10.3.8, RB v5.5.5 and REALdatabase I can produce small > apps that run on windows. > > With OS10.3.8, RB v5.5.5 and V4RB(mac), can I still compile > to windows? > or do I need to buy V4RB(mac+win)? I don't think Ruslan quite understood. You will need V4RB (mac+win), because you want to compile to both platforms. Best regards, Lynn Fredricks President Paradigma Software, Inc From ohmitou at wanadoo.fr Wed Mar 30 20:53:06 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Wed Mar 30 10:53:27 2005 Subject: [V4RB2] vString[12] or vString(24] ? Message-ID: <20050330165306.23153@smtp.wanadoo.fr> hello, I am modifying my program to adapt it to V4RB2. I work by defaut: UTF8 in the program and UTF16 in the database. With V4RB1, I have a vString [12 ] : 12 characters. To work with V4RB2, do I have to convert it into vString [24] or keep the size vString[12]? Thank you beforehand -- Thierry Nauze Saint-Denis de la R?union From christer at ljusaideer.se Wed Mar 30 18:59:04 2005 From: christer at ljusaideer.se (Christer Olsson) Date: Wed Mar 30 10:59:14 2005 Subject: [V4RB] So far not so good In-Reply-To: References: Message-ID: >On 3/30/05 5:15 PM, "Christer Olsson" wrote: > >Hi Christer, > >> Even the simplest project (and every example project I have tried) is >> resulting in a crash, even with debuglevel set to 3, when trying to open a >> database as a client to VServer (client is craching, not server). > >Aha! Right. > >Sorry, Christer. > >Igor say that we was need to broke V4RB client to make Classes-way work with >V4RB local. > >We have stick into one bad dependency of Vdatabase constructors which we >have not see before. > >We are thinking how to resolve this problem. > >I think in next build we will fix V4RB Client part. Looking forward to that. Thank you so far. After reading the docs today, 2.0 is even more impressive. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Wed Mar 30 20:03:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 11:03:22 2005 Subject: [V4RB2] vString[12] or vString(24] ? In-Reply-To: <20050330165306.23153@smtp.wanadoo.fr> Message-ID: On 3/30/05 7:53 PM, "Thierry Nauze" wrote: Hi Thierry, > I am modifying my program to adapt it to V4RB2. > I work by defaut: UTF8 in the program and UTF16 in the database. ok > With V4RB1, I have a vString [12 ] : 12 characters. > To work with V4RB2, do I have to convert it into vString [24] or keep the > size vString[12]? No. String[12] with UTf16 storage, will use 2 bytes per character -- 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] From gregkowalski at earthlink.net Wed Mar 30 13:53:07 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Mar 30 12:54:32 2005 Subject: multiple table search Message-ID: Hello again Ivan, I tried the code you suggested and got no crash, but when I do getrecordcount(gmycursor) I only get 1 result when in fact I should get two (one record in fieldtwo (ATable) and one record in fieldfour (BTable)). I have a situation where I have a DB with many tables for different categories of products. What I want to do is be able to query all the tables in the DB for a product number. So, say I want to look for product number 1004, then I want to query all tables for that number. Is the syntax you propose god for that? Thanks Greg > select * > FROM > aTable > where > fieldtwo = 1004 > union > select * > FROM > bTable > where > fieldfour = 1004 From sunshine at public.kherson.ua Wed Mar 30 22:00:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 13:01:06 2005 Subject: V4MD search in API way and cXtraStringGrid example request In-Reply-To: <000601c5354c$4e7bf3e0$ee141e97@vmtcktzo3kwrv6> Message-ID: On 3/30/05 8:17 PM, "info@vallemediatime.com" wrote: > Hi Igor > I want explain better my problem, I don't understand if your suggest is > right for me, sorry. > > Table STUDENTS > -------------------------- > ID | Name | Phone | ... > -------------------------- > 1 Paolo 111 > 2 Anna 222 > 3 Igor 333 > ... > > I search for "Paolo" in field Name and I want display only two column (ID > and Name): NOT the Phone and other column, > how can I do this in API WAY? > -------------- > ID | Name | > -------------- > 1 Paolo > ... Paolo, API way do NOT care about this. With API way you have found that record 1 is what you need. Now you use YOUR Table to go to that record and read its values. If you want show only 2 fields of your table then you need program this in you code Table.RecID = i show Table.Field( "ID" ).value show Table.Field( "Name" ).value -- 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] From giv at tlc.kherson.ua Wed Mar 30 22:05:37 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 30 13:05:48 2005 Subject: V4MD search in API way and cXtraStringGrid example request References: <000701c53536$b7562770$db081e97@vmtcktzo3kwrv6><001a01c53546$28d68f20$3b04a8c0@giv> <000601c5354c$4e7bf3e0$ee141e97@vmtcktzo3kwrv6> Message-ID: <007301c5355b$7595ba10$3b04a8c0@giv> > I want explain better my problem, I don't understand if your suggest is > right for me, sorry. > > Table STUDENTS > -------------------------- > ID | Name | Phone | ... > -------------------------- > 1 Paolo 111 > 2 Anna 222 > 3 Igor 333 > ... > > I search for "Paolo" in field Name and I want display only two column (ID > and Name): NOT the Phone and other column, > how can I do this in API WAY? > -------------- > ID | Name | > -------------- > 1 Paolo > ... on X --.... fName = table.field("Name") -- Find all the records in the table's field "Name" equal to "Paolo" resultSet = fName.findValue("Paolo") if CheckValError() then exit -- Create set iterator on selection rsIter = resultSet.makeNewIterator() if CheckValError() then exit -- Now iterate over resulting selection using set iterator. if rsIter.firstItem() then repeat while true -- Go to the next record in the result set. recID = rsIter.value table.recId = recID -- Get string value from the "Name" only field. s = fName.getString() -- Do with it whatever you want. put s -- Check for result set end. if not setIter.nextItem() then exit repeat end if end repeat end if --Clean up. rsIter = 0 resultSet = 0 end X -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From IvanSmahin at public.kherson.ua Wed Mar 30 22:30:03 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Mar 30 13:30:08 2005 Subject: multiple table search In-Reply-To: References: Message-ID: <89222758.20050330223003@public.kherson.ua> Hello Gregory, Wednesday, March 30, 2005, 9:53:07 PM, you wrote: GK> I tried the code you suggested and got no crash, but when I do GK> getrecordcount(gmycursor) GK> I only get 1 result when in fact I should get two (one record in GK> fieldtwo (ATable) and one record in fieldfour (BTable)). Strange. I guess you used "union" case? What about checked-field types in that tables. Let's consider your project or particular query offlist. It seems to be something wrong there. I checked example you described here - and got the expected result. GK> I have a situation where I have a DB with many tables for different GK> categories of products. GK> What I want to do is be able to query all the tables in the DB for a GK> product number. GK> So, say I want to look for product number 1004, then I want to query GK> all tables for that number. Is the syntax you propose god for that? In this case UNION seems to be a best solution. But if you have any ability you should consider some normalizing for the database to have such product numbers - all together - in the separate "refference" table. Other tables will point to records in this one using the links. Valentina has 3 link types - not only key-based (RDB) one. In this case you get the ability to use table-joins and your query becomes much more clear - just "give me all linked to this product number records". You can find more details in the docs. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From K.Klamp at t-online.de Wed Mar 30 21:40:57 2005 From: K.Klamp at t-online.de (Kurt Klamp) Date: Wed Mar 30 13:41:18 2005 Subject: Example V2 Database Message-ID: <1gu9aqb.18zk995wo1doaM%K.Klamp@t-online.de> Hi Ruslan, some days ago you announced a version 2 example database (the same as described in the docs) for download. I searched the site but could not find it. Best, Kurt From sunshine at public.kherson.ua Wed Mar 30 23:57:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 14:57:49 2005 Subject: multiple table search // Redesign structure In-Reply-To: Message-ID: On 3/30/05 9:53 PM, "Gregory Kowalski" wrote: > I have a situation where I have a DB with many tables for different > categories of products. > > What I want to do is be able to query all the tables in the DB for a > product number. > > So, say I want to look for product number 1004, then I want to query > all tables for that number. Is the syntax you propose god for that? Hi Gregory, In fact may be you need change structure of your tables. Look, you say that you want search several Tables for the same value. And even union results. For me it sounds like you need EXTRACT from these tables one CENTRAL table, Which will have ProductNumber. And only this table will have product Number. All other tables must have pointers to this one table. Having this your task become simple and clean. -- 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] From sunshine at public.kherson.ua Wed Mar 30 23:58:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 14:58:41 2005 Subject: multiple table search In-Reply-To: <89222758.20050330223003@public.kherson.ua> Message-ID: On 3/30/05 10:30 PM, "Ivan Smahin" wrote: Aha! Ivan suggests the same. Gregory, you really should re-think your structure. > In this case UNION seems to be a best solution. But if you have any ability > you should consider some normalizing for the database to have such product > numbers > - all together - in the separate "refference" table. Other tables > will point to records in this one using the links. Valentina has 3 link types > - not only key-based (RDB) one. In this case you get the ability to use > table-joins and your query becomes much more clear - just "give me all linked > to this product number records". > > > > You can find more details in the docs. > -- 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] From sunshine at public.kherson.ua Thu Mar 31 00:02:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 15:02:32 2005 Subject: Development Team grow. // Example V2 Database In-Reply-To: <1gu9aqb.18zk995wo1doaM%K.Klamp@t-online.de> Message-ID: On 3/30/05 10:40 PM, "Kurt Klamp" wrote: Sorry Kurt, I have told that it is good idea to make it. I did not say that we have made it. But I have some good news. We get 3 new C++ developers which will take part in the development of Valentina Studio together with Jochen. So there is hope that Vstudio will grow much faster now. Therefore we have now 4 C++ developers that work on Valentina kernel and other products. And 4 C++ developers will work on Vstudio. > Hi Ruslan, > some days ago you announced a version 2 example database (the same as > described in the docs) for download. > I searched the site but could not find it. -- 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] From carpe_diem at mac.com Wed Mar 30 17:29:50 2005 From: carpe_diem at mac.com (Ricardo Rojas) Date: Wed Mar 30 15:29:54 2005 Subject: Question on scope of V4RB Message-ID: <200503302129.j2ULTmEI024900@rs25s12.datacenter.cha.cantv.net> Me: >>> With OS10.3.8, RB v5.5.5 and REALdatabase I can produce small >>> apps that run on windows. >>> >>> With OS10.3.8, RB v5.5.5 and V4RB(mac), can I still compile >>> to windows? or do I need to buy V4RB(mac+win)? Ruslan: >>You will be able compile for Windows from MAC. >>But in 2.0.2 or 2.0.3 Lynn: >I don't think Ruslan quite understood. You will need V4RB (mac+win), because >you want to compile to both platforms. Hmmm, Looks from his answer that he did (windows *from* Mac). So, I'll re-ask again: Hardware: G4, OS 10.3.8 (no wintel machines whatsoever) Software: RB v5.5.5 + RB database I can: create apps that run on both mac/windows platforms. Hardware: G4, OS 10.3.8 (no wintel machines whatsoever) Software: RB v5.5.5 + V4RB(mac) could I: create apps that run on both mac/windows platforms? According to Ruslan yes, according to you, no. Both of you belong to paradigma software so please clarify. TIA, >>>?<< From K.Klamp at t-online.de Wed Mar 30 23:30:21 2005 From: K.Klamp at t-online.de (Kurt Klamp) Date: Wed Mar 30 15:30:18 2005 Subject: Development Team grow. // Example V2 Database In-Reply-To: Message-ID: <1gu9fif.9b552h1wrgj4qM%K.Klamp@t-online.de> Ruslan Zasukhin wrote: > On 3/30/05 10:40 PM, "Kurt Klamp" wrote: > > Sorry Kurt, > > I have told that it is good idea to make it. > I did not say that we have made it. Seems that i misunderstood. What sense to print out a example db in the docs if there is no use of it. Please put it on the web site (and for the example db i think there is no need for c++ developers). If you print it out it must exist, if not you have certainly some test db's which you can publish. > > But I have some good news. > > We get 3 new C++ developers which will take part in the development of > Valentina Studio together with Jochen. So there is hope that Vstudio will > grow much faster now. > > Therefore we have now 4 C++ developers that work on Valentina kernel and > other products. And 4 C++ developers will work on Vstudio. Very nice to hear. I'm eagerly waiting for a reliable working (and basic comfortable) version of vStudio. Best, Kurt From peter.salomon at gmx.net Wed Mar 30 23:32:47 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Wed Mar 30 15:32:55 2005 Subject: =?iso-8859-1?q?=5BV4MD_MAC=5D_Can=B4t_access_to_VServer=5F2_with?= =?iso-8859-1?q?_example_files_and_V4MD=5F2?= Message-ID: Hi Ruslan, Igor i downloaded the files again to give V4MD a go hoping the best but ... nothing changed (for me)! Director crashes when "valentina.cacheSize" is called. I used example "Database_CreateCloseOpen". Just to be sure to use actual valentina i installed fresh VServer 2.0.1 and V4MD both MAC. Again while VServer active, first automaticly started, later manually started in Terminal, debuglevel = #logParams Console log gives me message: "GUSI: (ent) -- assertion failed." V4MD_Log.txt exists but remains empty Also VServer Log is empty I set also logToMessageWindow to true, can see two outputs but can?t read them - Director crashes immediately... hmm again, what can i do? best regards, Peter > Hi Peter, > > This was fresh bug of V4MD MAC > > FIXED. > > Please download archive again > > > In the cast Valentina Globals you need set > > gClient = true > > To make it working as client From sunshine at public.kherson.ua Thu Mar 31 00:32:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 15:33:03 2005 Subject: Question on scope of V4RB In-Reply-To: <200503302129.j2ULTmEI024900@rs25s12.datacenter.cha.cantv.net> Message-ID: On 3/31/05 12:29 AM, "Ricardo Rojas" wrote: > Ruslan: >>> You will be able compile for Windows from MAC. >>> But in 2.0.2 or 2.0.3 > > Lynn: >> I don't think Ruslan quite understood. You will need V4RB (mac+win), because >> you want to compile to both platforms. > > Hmmm, Looks from his answer that he did (windows *from* Mac). So, I'll > re-ask again: > According to Ruslan yes, according to you, no. Both of you belong to > paradigma software so please clarify. Lynn is correct. Just I have think about __technical__ side of question. You want deploy to windows, so you will need Windows Serial. Therefore you need V4RB mac + win -- 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] From sunshine at public.kherson.ua Thu Mar 31 00:37:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 30 15:37:43 2005 Subject: [V4MD MAC] Can =?iso-8859-1?q?=B4?= t access to VServer_2 with example files and V4MD_2 In-Reply-To: Message-ID: On 3/31/05 12:32 AM, "Peter Salomon" wrote: > Hi Ruslan, Igor > > i downloaded the files again to give V4MD a go hoping the best but ... > nothing changed (for me)! > > Director crashes when "valentina.cacheSize" is called. Right, and this is where was bug and what we have to fix today morning ... Strange... It needs to check archive building again... -- 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] From lfredricks at proactive-intl.com Wed Mar 30 14:01:02 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Mar 30 16:01:15 2005 Subject: Question on scope of V4RB In-Reply-To: <200503302129.j2ULTmEI024900@rs25s12.datacenter.cha.cantv.net> Message-ID: <20050330220104.77730175126@whisk.dreamhost.com> > Hmmm, Looks from his answer that he did (windows *from* Mac). > So, I'll re-ask again: He answers the tech questions, I answer the business questions. > Hardware: G4, OS 10.3.8 (no wintel machines whatsoever) > Software: RB v5.5.5 + RB database > I can: create apps that run on both mac/windows platforms. > > Hardware: G4, OS 10.3.8 (no wintel machines whatsoever) > Software: RB v5.5.5 + V4RB(mac) > could I: create apps that run on both mac/windows platforms? > > According to Ruslan yes, according to you, no. Both of you > belong to paradigma software so please clarify. Its possible to cross compile with REALbasic's cross compiler. However if you want to deploy on Windows, then you need the Windows version as well. If you are running RB 5.5.5 Pro + V4RB (mac), you can compile applications for any REALbasic supported platform (mac, windows), but if you want to compile to Windows and deploy the Valentina runtime on Windows, you need a V4RB (win) developer code, too. If you want to upgrade to V4RB 2 Professional (mac + windows + Valentina Studio), and you only have V4RB 1.1 (mac), contact me offlist as we don't have that configuration in the store -- but we can work it out :-) Best regards, Lynn Fredricks President Paradigma Software, Inc From Claudius at sailer-online.de Thu Mar 31 06:04:49 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Mar 30 22:04:58 2005 Subject: V4RB2 Method-Question Message-ID: <47d489a5a777f5e78c15ab200f3a31fd@sailer-online.de> Hi, you can see, that I use in following database table class a method. It is possible that LastValue gets as value 0 or NULL and then I should have division by 0 or NULL. Brings this trouble and I should make an if-statement around or is it okay to let method as it is in the moment? name="Currencies" CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed) Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable + EVOnDeletion.kRestrict) LastValue=new VLong("LastValue",EVFlag.fNullable) QuotationUnit=new VULong("QuotationUnit") QuotationMode=new VBoolean("QuotationMode") NValue=new VFloat("NValue", EVFlag.fNone, "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ 10000)/QuotationUnit))") Sortierung=new VULong("Sortierung") thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.1 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Thu Mar 31 10:35:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 01:36:03 2005 Subject: V4RB2 Method-Question In-Reply-To: <47d489a5a777f5e78c15ab200f3a31fd@sailer-online.de> Message-ID: On 3/31/05 7:04 AM, "Claudius Sailer" wrote: Hi Claudius, > you can see, that I use in following database table class a method. It > is possible that LastValue gets as value 0 or NULL and then I should > have division by 0 or NULL. Brings this trouble and I should make an > if-statement around or is it okay to let method as it is in the moment? If you try do any illegal operation as DIV on zero, The result will be NULL. So you can use it as is > name="Currencies" > CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) > CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed) > Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) > Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable + > EVOnDeletion.kRestrict) > LastValue=new VLong("LastValue",EVFlag.fNullable) > QuotationUnit=new VULong("QuotationUnit") > QuotationMode=new VBoolean("QuotationMode") > NValue=new VFloat("NValue", EVFlag.fNone, > "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ > 10000)/QuotationUnit))") > Sortierung=new VULong("Sortierung") -- 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] From cbpelto at pcisys.net Thu Mar 31 04:57:25 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 05:57:42 2005 Subject: Import Example Message-ID: <0e15028f6e838ef24cc69a9d0d9ec9ff@pcisys.net> Anybody have a good example of how to employ the ImportText() function in V4RB1? Regards, Chuck From sunshine at public.kherson.ua Thu Mar 31 15:47:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 06:48:10 2005 Subject: Import Example In-Reply-To: <0e15028f6e838ef24cc69a9d0d9ec9ff@pcisys.net> Message-ID: On 3/31/05 2:57 PM, "Chuck Pelto" wrote: > Anybody have a good example of how to employ the ImportText() function > in V4RB1? I think you can find this in viSQL project -- 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] From cbpelto at pcisys.net Thu Mar 31 06:51:15 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 07:51:22 2005 Subject: Import Example In-Reply-To: References: Message-ID: Morning (here) Ruslan, Found the example. Have a question or two.... In the code segement... dim theImportFile as FolderItem dim theImportCursor as VCursor dim iError as Integer theImportCursor = app.mDataBase.SqlSelect(SQLString.Text) theImportFile = GetOpenFolderItem("text") if theImportFile <> nil then theImportCursor.ImportText(theImportFile) iError = app.mDatabase.ErrNumber eError.Text = str(iError) eError.Text = getError(iError) 'eError.Text = app.mDatabase.ErrString if iError = 0 then doSQL else msgBox "Import Failed! (Error " + str(iError) + ")" end if end if What is the function of doing the SQLSelect() or a VCursor()? And if I wanted to import to all fields in the table, what would I enter for the search criteria? [Note: I think I'd rather use the VCursor call, than the SQLSelect.] Regards, Chuck On Mar 31, 2005, at 5:47 AM, Ruslan Zasukhin wrote: > On 3/31/05 2:57 PM, "Chuck Pelto" wrote: > >> Anybody have a good example of how to employ the ImportText() function >> in V4RB1? > > I think you can find this in viSQL project > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Thu Mar 31 07:50:07 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 08:50:14 2005 Subject: VStudio & Generate Code In-Reply-To: References: Message-ID: <7cd1277959beff61f5ba9e73339b065c@pcisys.net> When do you anticipate VStudio will be able to generate XML code for V4RB? Regards, Chuck Pelto CIO/CTO Da Vinci Seclorum, Inc. From giv at tlc.kherson.ua Thu Mar 31 18:49:38 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Mar 31 09:49:50 2005 Subject: [V4MD] API way: search in all fields References: <002801c535f4$f6c90a30$df0a1e97@vmtcktzo3kwrv6><009601c535f9$c8e3d370$3b04a8c0@giv> <002701c535fb$d165a490$df0a1e97@vmtcktzo3kwrv6> Message-ID: <00c901c53609$3f28ef20$3b04a8c0@giv> Paolo, > I have already read with attention your examples > but in Examples/API_Way/Field_Find.dir > you use one table "Person" not multiple tables, right? Right. You can, of course, use API way for multicolumn and even for multitable searches. But this way will (often) require extra coding from you. You will need to create link between tables, then to use navigational methods (like, VTable.findLinked()) to navigate from records of one table to the linked records from the second (linked) table (for example, in 1:M relationship). So this way may be good when you want to show explicit relationship between objects (records in the table). For example, in your application GUI you can easily display relationship between two linked entities, using, for example, two windows. When user selects object from one window then he/she see related objects in the second window. You can easily do such tasks with API way. This way is called "Navigational model". Instead, SQL-queries is "Relational model". In SQL way you always work with record sets. This way is convenient to get linear results from, for example, multitable searches that uses joins between tables, and to display then result as a flat table with records. So for your case, I think, will be more convenient and easy to use SQL way because your task is good fit into relational model tasks. Actually, when you solve this task with API way you will do the same steps that SQL way does for you (in this case) implicitly. Also, early on this list already was dissussion on when and where to use SQL & API way. Unfortunately I cannot find this letter. > I wait an answer for two yesterday question: > -- cXtraStringGrid example I think we can do this a bit later because currently I am busy on different tasks. But you can go to the cXtraStringGrid web site and search for examples on how to display data from the database in this control. AFAIK, there were examples on the web-site that displays use of this Xtra to display data from the Valentina 1.x database. > -- limit (I think) of actually iterator I think that you, probably misunderstood destination on VSetIterator Xtra. It was designed to iterate through *record sets* not *field sets*. Again you can use SQL way to select to only needed fields. P.S. Please, send you letters to the main Valentina list (valentina@lists.macserve.net). This list is for the beta-discussions. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From gaseous1 at mac.com Thu Mar 31 10:23:06 2005 From: gaseous1 at mac.com (Eric Werner, MD) Date: Thu Mar 31 10:23:16 2005 Subject: REALbasic Objects and RBDB_2 In-Reply-To: Message-ID: Serg, I have had a chance to test what I think is v2.01 of V4RB and I am not seeing any change in the behavior of the problem noted below. I have attached two projects, one based on the RealDB engine and the other on Valentina. Valentina still is not returning RecID #'s via the REALbasic API. The projects are very simple. They use a databasequery which is linked to a listbox. The results of the query should automatically populate the listbox, and they do, except for the RecID from Valentina. I've also noted that I can't drag and drop a vDatabase onto the REALbasic project window (the file fails to "get" the db icon in REALbasic, and the database can't be opened). Opening the file via the dialog works as expected. I'd appreciate your comments. On 3/29/05 12:32 PM, "Serg" wrote: > Hi Eric, > >>> I?ve discovered some other problems using the API, however: >>> >>> ? RedID?s are not returned when a bound Rbobject?s recordset is created >>> using SQL (and using a query like ?Select RecID,* from...?. The field which >>> should contain the RecID contains Nil. >> >> Aha, I think bug. > > Fixed. -- Regards, Eric From listmail at gearyweb.com Thu Mar 31 10:02:37 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Mar 31 11:02:44 2005 Subject: Converting V1 DB to V2 Format (V4MD?) In-Reply-To: <4e8b29e2630179a346a2e6a3245d698b@bigpond.net.au> References: <4e8b29e2630179a346a2e6a3245d698b@bigpond.net.au> Message-ID: <406ff18f383091e1e8be48e5e2fb4c5f@gearyweb.com> Hi All, Convert_1_2 appears to only be a method in RealBasic. Is there an easy way to convert a DB using either vStudio or Director? thanks, michael geary On Mar 27, 2005, at 7:26 PM, Tim James wrote: > Is there currently any way to relatively easily load data from a DB > created in 1.10 to the new 2 format. > > (I presume Valentina.Convert_1_2 is still an unreleased feature and it > appears you cannot dumpxml from 1 and then restore into 2) > > > TIA > > Tim James > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From cbpelto at pcisys.net Thu Mar 31 10:26:04 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 11:26:12 2005 Subject: Best Way to Do Relational Imports Message-ID: <2b183d857b80b93e2eb1f583d64e32ac@pcisys.net> Using VStudio, what is the best way to do imports of related records? Regards, Chuck Pelto CIO/CTO Da Vinci Seclorum, Inc. From sunshine at public.kherson.ua Thu Mar 31 22:59:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 13:59:59 2005 Subject: Converting V1 DB to V2 Format (V4MD?) In-Reply-To: <406ff18f383091e1e8be48e5e2fb4c5f@gearyweb.com> Message-ID: On 3/31/05 8:02 PM, "michael geary" wrote: > Hi All, > > Convert_1_2 appears to only be a method in RealBasic. Is there an easy > way to convert a DB using either vStudio or Director? Hi Michael, Igor will add this function to V4MD for next build -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:02:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:02:57 2005 Subject: SQL, Classses, API ways. What is better. Message-ID: Hi Guys, I will try to make some text about this issue for docs in the nearest days. API way -- is for strong developers. it is probably harder for development. So if you are not sure that you can do this, then be careful. Again, API way do not like SQL-style of GUI and thinking. -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:05:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:05:51 2005 Subject: Import Example In-Reply-To: Message-ID: On 3/31/05 4:51 PM, "Chuck Pelto" wrote: > Morning (here) Ruslan, > > Found the example. > > Have a question or two.... > > In the code segement... > > dim theImportFile as FolderItem > dim theImportCursor as VCursor > dim iError as Integer > > theImportCursor = app.mDataBase.SqlSelect(SQLString.Text) > > theImportFile = GetOpenFolderItem("text") > if theImportFile <> nil then > theImportCursor.ImportText(theImportFile) > > iError = app.mDatabase.ErrNumber > eError.Text = str(iError) > eError.Text = getError(iError) > 'eError.Text = app.mDatabase.ErrString > > if iError = 0 then > doSQL > else > msgBox "Import Failed! (Error " + str(iError) + ")" > end if > end if > > What is the function of doing the SQLSelect() or a VCursor()? Not sure I see what you ask. To create cursor you should use db.SqlSelect() method. > And if I > wanted to import to all fields in the table, what would I enter for the > search criteria? Usually cursor for import should have no records on start. So you need built it using query select * from T where false > [Note: I think I'd rather use the VCursor call, than > the SQLSelect.] No. SqlSelect() is better way. At least this is how we all do it. -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:06:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:06:41 2005 Subject: VStudio & Generate Code In-Reply-To: <7cd1277959beff61f5ba9e73339b065c@pcisys.net> Message-ID: On 3/31/05 5:50 PM, "Chuck Pelto" wrote: > When do you anticipate VStudio will be able to generate XML code for > V4RB? XML code for V4RB ? You mean XML dump ? I think VS already can do that -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:07:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:07:36 2005 Subject: Best Way to Do Relational Imports In-Reply-To: <2b183d857b80b93e2eb1f583d64e32ac@pcisys.net> Message-ID: On 3/31/05 8:26 PM, "Chuck Pelto" wrote: > Using VStudio, what is the best way to do imports of related records? Related HOW ? If using Relational model, then you nothing have to do. Just import table by table. Values link records self. Btw, about VS better ask on its list. -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:08:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:09:00 2005 Subject: REALbasic Objects and RBDB_2 In-Reply-To: Message-ID: On 3/31/05 7:23 PM, "Eric Werner, MD" wrote: > Serg, > > I have had a chance to test what I think is v2.01 of V4RB and I am not > seeing any change in the behavior of the problem noted below. I have > attached two projects, one based on the RealDB engine and the other on > Valentina. Valentina still is not returning RecID #'s via the REALbasic API. Hi Eric, I think RecID issue was not included into 2.0.1 -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:10:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:10:18 2005 Subject: REALbasic Objects and RBDB_2 In-Reply-To: Message-ID: On 3/31/05 7:23 PM, "Eric Werner, MD" wrote: > I've also noted that I can't drag and drop a vDatabase onto the REALbasic > project window (the file fails to "get" the db icon in REALbasic, and the > database can't be opened). Opening the file via the dialog works as > expected. > > I'd appreciate your comments. Hi Eric, As I remember: only REAL DB can do this. for example SQL Lite plugin also not work in this way, And really. How REALbasic can know that you drag a database but not something else. You see ? -- 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] From cbpelto at pcisys.net Thu Mar 31 13:15:16 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 14:15:23 2005 Subject: VStudio & Generate Code In-Reply-To: References: Message-ID: <14e30d1c9c2890b5378118c467466734@pcisys.net> Hi Ruslan, The XML dump as being compatible with RB might work. I'll give it a try. However, just for clarification, is it the same thing as that I presume is supposed to happen when one selects File > Generate SourceCode > REALbasic? That item is shadowed-out for the time being. It gives one the impression that there is a functionality yet-to-come that is supposed to generate the source code for a REALbasic application. Regards, Chuck On Mar 31, 2005, at 1:06 PM, Ruslan Zasukhin wrote: > On 3/31/05 5:50 PM, "Chuck Pelto" wrote: > >> When do you anticipate VStudio will be able to generate XML code for >> V4RB? > > XML code for V4RB ? > > You mean XML dump ? > > I think VS already can do that > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Mar 31 23:18:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:18:20 2005 Subject: [V4MD] API way: search in all fields In-Reply-To: <001001c53614$d864aed0$c0081e97@vmtcktzo3kwrv6> Message-ID: On 3/31/05 8:11 PM, "info@vallemediatime.com" wrote: > I've understand the destination of iterator but I hope in a way for iterate > through *field sets* :-). > If this is not possible I must return to some SQL query. Paolo, I do not understand what problem you see. Make some function: this is ala code to show idea: ShowTable( Set, ListOfField ) -- loop by records Table.RecId = N -- loop by fields from list for each item in list do show filed ---------------- So later you can do set = tblPerson.Field("Name").Find( "something" ) ShowTable( set, ["f1", "f2", "f3"] ) -- 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] From cbpelto at pcisys.net Thu Mar 31 13:19:09 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Mar 31 14:19:12 2005 Subject: Best Way to Do Relational Imports In-Reply-To: References: Message-ID: <07bcce17c0006f518a472f4304c0b1fa@pcisys.net> Related in terms of VObjectPtrs. Suppose I have two tables. One a child of the other. These done in, for the sake of argument, FileMaker Pro. If I export the two files and their relationship fields as well, what is the best way to import the data into the Valentina tables? In order to insure that the data matches up well between them in the REALbasic application? [1] Use the Import function in Valentina? [2] Use the Import function inside of VStudio? [3] Create an ad hoc RB application to import data? Regards, Chuck Pelto CIO/CTO Da Vinci Seclorum, Inc. On Mar 31, 2005, at 1:07 PM, Ruslan Zasukhin wrote: > On 3/31/05 8:26 PM, "Chuck Pelto" wrote: > >> Using VStudio, what is the best way to do imports of related records? > > Related HOW ? > > If using Relational model, then you nothing have to do. > Just import table by table. Values link records self. > > Btw, about VS better ask on its list. > > -- > 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Mar 31 23:41:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:41:24 2005 Subject: VStudio & Generate Code In-Reply-To: <14e30d1c9c2890b5378118c467466734@pcisys.net> Message-ID: On 3/31/05 11:15 PM, "Chuck Pelto" wrote: Hi Chuck, > The XML dump as being compatible with RB might work. I'll give it a > try. However, just for clarification, is it the same thing as that I > presume is supposed to happen when one selects File > Generate > SourceCode > REALbasic? No, that is idea to generate sources of REALBasic from Valentina Studio. For lazy developers :-)) > That item is shadowed-out for the time being. It seems SQL and V4MD items work. That was just draft of idea. > It gives one the impression that there is a functionality yet-to-come > that is supposed to generate the source code for a REALbasic > application. right -- 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] From sunshine at public.kherson.ua Thu Mar 31 23:43:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 14:43:47 2005 Subject: Best Way to Do Relational Imports In-Reply-To: <07bcce17c0006f518a472f4304c0b1fa@pcisys.net> Message-ID: On 3/31/05 11:19 PM, "Chuck Pelto" wrote: > Related in terms of VObjectPtrs. Where from you get this ? For ObjectPtrs it is better to use XML. I do not remember if we have implment case, when XML have one record of T1 linked to 5 records of T2. Igor ? > Suppose I have two tables. One a child of the other. These done in, for > the sake of argument, FileMaker Pro. If I export the two files and > their relationship fields as well, what is the best way to import the > data into the Valentina tables? In order to insure that the data > matches up well between them in the REALbasic application? > > [1] Use the Import function in Valentina? > [2] Use the Import function inside of VStudio? Vstudio is not helper for you users, right? > [3] Create an ad hoc RB application to import data? The most possible way -- 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] From macsforever2000 at goodeast.com Thu Mar 31 13:54:57 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Mar 31 14:55:19 2005 Subject: Import Example In-Reply-To: References: Message-ID: <8465ee1cf5cd1a9dfd617737ca7dde84@goodeast.com> On Mar 31, 2005, at 1:05 PM, Ruslan Zasukhin wrote: > On 3/31/05 4:51 PM, "Chuck Pelto" wrote: > >> What is the function of doing the SQLSelect() or a VCursor()? > > Not sure I see what you ask. > > To create cursor you should use db.SqlSelect() method. I think he's asking why we need to do that. The reason is because you have to tell the Import method which fields to dump the data and in what order. The SELECT fields have to match with the data in the import text file. In a table with 10 fields, you might only be importing into 5 fields. -Frank Schima From gregkowalski at earthlink.net Thu Mar 31 16:24:07 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Thu Mar 31 15:25:31 2005 Subject: Question about UNION Message-ID: <373EC5E4-A22B-11D9-A695-000393DAB46A@earthlink.net> Hi, I'm using V4MD 1.1 MAC OSX and would like to know if you can use UNION. I tried but keep getting bad results. For example: aTable fieldone fieldtwo 1001 1004 bTable fieldthree fieldfour 1003 1004 The following syntax: Select * FROM aTable where fieldtwo = 1004 UNION select * from bTable where fieldfour = 1004 gives me a result of one record instead of two. If union doesn't work, what are my options to query several tables - besides having to create several cursors, of course. Thanks for any help Greg From cmsheffield at gmail.com Thu Mar 31 14:55:57 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu Mar 31 15:56:17 2005 Subject: older VServer and VXCMD downloads? Message-ID: <1d93d94b05033113554f163160@mail.gmail.com> Hi Ruslan, Are these older downloads still available somewhere from your new web site? I just want to check my versions to make sure I have the very latest. I can't use VServer 2.0 yet since there's still no XCMD to go with it. Thanks, Chris Sheffield Read Naturally From delong at redcort.com Thu Mar 31 14:28:47 2005 From: delong at redcort.com (Keith DeLong) Date: Thu Mar 31 16:29:19 2005 Subject: older VServer and VXCMD downloads? In-Reply-To: Message-ID: Hi Ruslan, > All 1.x archives are in folder > http://www.paradigmasoft.com/download/v1/ This link gives the following error: Forbidden You don't have permission to access /download/v1/ on this server. Apache/1.3.33 Server at www.paradigmasoft.com Port 80 It would be nice to access the v1 folder to see all files that are available. Thanks, Keith DeLong From jda at his.com Thu Mar 31 17:35:09 2005 From: jda at his.com (jda) Date: Thu Mar 31 16:35:22 2005 Subject: [V4RB] RB2005 Message-ID: Hi Ruslan, I still can't run RB2005 beta with the V2.0.1 plug-in (before couldn't compile, now crashes on launch). Is this a problem you are having with RB2005, or have you just not had a chance to get around to it yet? Jon From listmail at gearyweb.com Thu Mar 31 15:39:20 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Mar 31 16:39:25 2005 Subject: Group BY: what's wrong with this? Message-ID: using V4MD: sql = select authors.* from authors GROUP BY authors.email ORDER BY authors.lastName asc results in the error: "In the SELECT clause you can use only fields listed in the GROUP BY and aggregative functions." In MySQL this query works just fine. What am I doing wrong in Valentina? thanks, michael From macsforever2000 at goodeast.com Thu Mar 31 16:03:43 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Mar 31 17:03:52 2005 Subject: Group BY: what's wrong with this? In-Reply-To: References: Message-ID: <10671464c7cd744585ca3c642470675d@goodeast.com> On Mar 31, 2005, at 3:39 PM, michael geary wrote: > using V4MD: > > sql = select authors.* from authors GROUP BY authors.email ORDER BY > authors.lastName asc > > results in the error: > "In the SELECT clause you can use only fields listed in the GROUP BY > and aggregative functions." > > In MySQL this query works just fine. What am I doing wrong in > Valentina? While MySQL does return a result, it is hardly valid. You are asking for one value for each group for each field when there can be many due to the GROUP BY. Which one to return? MySQL seems to return the first value, but I fail to see how that means anything. In fact, I think it is an error in MySQL. When you use GROUP BY, you must only select the GROUP BY fields. select authors.lastName from authors GROUP BY authors.email ORDER BY authors.lastName asc You can select aggregate functions too. select authors.lastName, sum(amount), count(*) from authors GROUP BY authors.email ORDER BY authors.lastName asc After all, that is the purpose of GROUP BY. If you wanted to select all fields, then surely you must want all values and hence why are you using GROUP BY in the first place? HTH, Frank Schima From listmail at gearyweb.com Thu Mar 31 16:14:17 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Mar 31 17:14:23 2005 Subject: Group BY: what's wrong with this? In-Reply-To: <10671464c7cd744585ca3c642470675d@goodeast.com> References: <10671464c7cd744585ca3c642470675d@goodeast.com> Message-ID: <68c698dc8b531d7bcf96a93232ee8a1d@gearyweb.com> >> using V4MD: >> >> sql = select authors.* from authors GROUP BY authors.email ORDER BY >> authors.lastName asc >> >> results in the error: >> "In the SELECT clause you can use only fields listed in the GROUP BY >> and aggregative functions." >> >> In MySQL this query works just fine. What am I doing wrong in >> Valentina? > > While MySQL does return a result, it is hardly valid. You are asking > for one value for each group for each field when there can be many due > to the GROUP BY. Which one to return? MySQL seems to return the first > value, but I fail to see how that means anything. In fact, I think it > is an error in MySQL. > > When you use GROUP BY, you must only select the GROUP BY fields. > > select authors.lastName from authors GROUP BY authors.email ORDER > BY authors.lastName asc > > You can select aggregate functions too. > > select authors.lastName, sum(amount), count(*) from authors GROUP > BY authors.email ORDER BY authors.lastName asc > > After all, that is the purpose of GROUP BY. If you wanted to select > all fields, then surely you must want all values and hence why are you > using GROUP BY in the first place? > Hi Frank, Yes, I agree with your point. However, it still leaves me without a fast workaround. :c) In this particular situation, I've got an "authors" table with redundant rows. I intended to use the email field as a mechanism to identify unique individuals, so in this situation, the MySQL behavior of returning the first of the aggregated rows would suit me just fine. So, can anyone propose an SQL statement that gives me the first row of each group of rows with a common column value? Otherwise I've either got to munge through my data (which is bogus anyway), or do it in Lingo. Thanks, michael geary From ktekinay at mactechnologies.com Thu Mar 31 22:56:19 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Mar 31 21:56:24 2005 Subject: [V4RB2] Holy crap, what a speed difference! Message-ID: I am converting my project from the SQL method, using a Vcursor, to the Table method, using bitsets, and the difference is remarkable! Searches that took over a second or two before are practically instant now. And sorts are incredibly fast too. Where before I was finding that the REALdatabase was similar to, or faster than, Valentina, now I find there is no comparison, but only if I use the Table method. The only place where I still find Valentina slower is in retrieving data from records in a loop, but perhaps the people at Paradigma can help me optimize this once I'm ready to release my project. BTW, I see that Valentina created an index on-the-fly when I sorted on a non-indexed field. This is a very nice touch, but I wonder how I can turn that feature off if I want to? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com