From sunshine at public.kherson.ua Fri Apr 1 00:47:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 15:48:04 2005 Subject: Question about UNION In-Reply-To: <373EC5E4-A22B-11D9-A695-000393DAB46A@earthlink.net> Message-ID: On 4/1/05 12:24 AM, "Gregory Kowalski" wrote: > Hi, > > I'm using V4MD 1.1 MAC OSX and would like to know if you can use UNION. Wait a moment. You use 1.11 ? But it do not support UNION and other new features of 2.0. > 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 -- 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 Fri Apr 1 00:59:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 31 15:59:53 2005 Subject: older VServer and VXCMD downloads? In-Reply-To: <1d93d94b05033113554f163160@mail.gmail.com> Message-ID: On 4/1/05 12:55 AM, "Chris Sheffield" wrote: > 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. All 1.x archives are in folder http://www.paradigmasoft.com/download/v1/ For example: http://www.paradigmasoft.com/download/v1/vserver_macho_beta.sit.bin http://www.paradigmasoft.com/download/v1/V4MD_Client_beta.sit.bin http://www.paradigmasoft.com/download/v1/V4MD_Client_Carbon_beta.sit.bin http://www.paradigmasoft.com/download/v1/V4MD_Client_Win_beta.zip -- 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 info at vallemediatime.com Fri Apr 1 08:34:28 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 1 00:34:39 2005 Subject: [V4MD] API string search, dir example request Message-ID: <001201c53684$dae99010$4e1d1e97@vmtcktzo3kwrv6> Hi Ruslan ann Igor, I need to know if is possible to make this common search method: 1a. search in ONE TABLE in ALL FIELDS and show ALL fields 1b. search in ONE TABLE in ALL FIELDS and show custom list of fields (F1, F4, F7...) 2a. search in TWO (or more) LINK BINARY TABLE and show ALL fields 2b. search in TWO (or more) LINK BINARY TABLE and show only custom list of fields (F1, F4, F7...) >From the previous your answer I understand that it's possible but with more repeat-loop code, it's right? Can yuou make some example... the actualy example are basic... Actually the dir example that you have made are: -- search in ONE TABLE in ONE or TWO FIELDS (with union etc) and show always ALL table's fields Last question: It's possible set the case insensitive for API string seaching? Thanks Paolo -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From sunshine at public.kherson.ua Fri Apr 1 10:17:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 01:18:24 2005 Subject: [V4RB2] Holy crap, what a speed difference! In-Reply-To: Message-ID: On 4/1/05 6:56 AM, "Kem Tekinay" wrote: Hi Kem, > 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. Well, I think in 2.0 SQL parser takes many time. Because it is bigger. And Because it is not hand-made. We use ANTLR. Its developer promise to summer release ANTLR 3.0 They say it will be much faster of ANTLR 2.0. Another point. In fact we have not spend yet even an hour to OPTIMIZE Valentina 2.0. We work for now on correctness. > 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. Loop on table I assume. Here also we can try to make optimizations yet. > 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? In future versions it should be able sort on non indexed fields. In Mantis exists such feature request. Although this will be slower 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 sunshine at public.kherson.ua Fri Apr 1 10:22:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 01:22:18 2005 Subject: [V4MD] API string search, dir example request In-Reply-To: <001201c53684$dae99010$4e1d1e97@vmtcktzo3kwrv6> Message-ID: On 4/1/05 9:34 AM, "info@vallemediatime.com" wrote: > Hi Ruslan ann Igor, > I need to know if is possible to make this common search method: > 1a. search in ONE TABLE in ALL FIELDS and show ALL fields > 1b. search in ONE TABLE in ALL FIELDS and show custom list of fields (F1, F4, > F7...) Paolo, You still cannot see one simple thing. API way do not care about fields! Stop and listen me again: * let you have T1. let it have 20 or 50 or 100 fields. NEVER MIND. * you do search and get SET of found records., SET -- this is just an array of RecIDs for example: [ 1, 3, 5 ] * when you come to record with RecId 3 it is UP TO YOU what to do now with this records. you can show 1 filed, or 10 or 100. UP TO your algorithm. 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 sunshine at public.kherson.ua Fri Apr 1 10:27:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 01:27:22 2005 Subject: [V4MD] API string search, dir example request In-Reply-To: <001201c53684$dae99010$4e1d1e97@vmtcktzo3kwrv6> Message-ID: On 4/1/05 9:34 AM, "info@vallemediatime.com" wrote: > Hi Ruslan ann Igor, > I need to know if is possible to make this common search method: > 1a. search in ONE TABLE in ALL FIELDS and show ALL fields > 1b. search in ONE TABLE in ALL FIELDS and show custom list of fields (F1, F4, > F7...) > 2a. search in TWO (or more) LINK BINARY TABLE and show ALL fields > 2b. search in TWO (or more) LINK BINARY TABLE and show only custom list of > fields (F1, F4, F7...) Paolo, You always think in SQL way. you ask me: If I can do JOIN in API way. Answer is: in API way you MUST NOT do joins. If you need joins or IF you like joins then use SQL way. API way -- this is navigational way. you have one record in T1. you find N linked records in T2. you go to first of that record. ... >> From the previous your answer I understand that it's possible but with more >> repeat-loop code, it's right? > > Can yuou make some example... the actualy example are basic... > Actually the dir example that you have made are: > -- search in ONE TABLE in ONE or TWO FIELDS (with union etc) and show always > ALL table's fields I wonder, have you see this my ala-code for you. You want NOT ALL fields? Then make function which get LIST of filed names And show only that fields. What problems ? See below: ---------------------- 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 sunshine at public.kherson.ua Fri Apr 1 10:27:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 01:28:04 2005 Subject: [V4RB] RB2005 In-Reply-To: Message-ID: On 4/1/05 1:35 AM, "jda" wrote: > > 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? I will debug this soon. May be even today. -- 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 Fri Apr 1 10:36:10 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Apr 1 01:36:12 2005 Subject: Group BY: what's wrong with this? In-Reply-To: <68c698dc8b531d7bcf96a93232ee8a1d@gearyweb.com> References: <10671464c7cd744585ca3c642470675d@goodeast.com> <68c698dc8b531d7bcf96a93232ee8a1d@gearyweb.com> Message-ID: <983252684.20050401103610@public.kherson.ua> Hello michael, Friday, April 1, 2005, 2:14:17 AM, you wrote: mg> Yes, I agree with your point. However, it still leaves me without a mg> fast workaround. :c) Indeed, some RDBMS has soft restriction regarding GroupBy, but AFAIK there is no magic - just all select-list elements placed into group_by clause implicitly. I think here is no advantages at all. Moreover such query seems to be a wrong ( and it's really wrong ) for others. Actually it might be not so usual case because - what the reason to have the table which has so much the same data? Would you think about normalizing? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From vidal_olivier at yahoo.fr Fri Apr 1 11:38:43 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Apr 1 03:39:33 2005 Subject: [V4MD] API string search, dir example request //RULES OF API WAY Message-ID: Hi Paolo, I do not know V4MD but I DEEPLY advise you to look in valentina's list archives at e-mails having the following subject: SQL and API methods + benchs (24 january) API methods on binary link // Philosophy (!!) (25 january) API methods + binary link + M:M tables (31 january) BinaryLink vs ObectPtr (24 january) E-mails while dealing as V4RB but who can be VERY useful for you to understand the API. Here are SOME extracts: ------------------------------- API methods on binary link // Philosophy (!!) (mail of 25 january) It seems to me, that your task better solve in the SQL. You need do joins, you need sort joins, you need display results of joins to user in the table. Navigational model, as I have told, oriented on other tasks. It is good for tasks when algorithm require navigation from record to record, to do some calculations... Or may be you need change your mind a little, and way how work your app. *********************************************** ** Now I want to make VERY IMPORTANT points: ** *********************************************** * the main idea of relational model is that you split data into different tables, then you combine them back using JOINs. * how looks join usually? One record of parent table is MANY times joined with records from child table. T1.f1 T1.f2 T2.aaa1 T2.aaa2 T1.f1 T1.f2 T2.bbb1 T2.bbb2 T1.f1 T1.f2 T2.ccc1 T2.ccc2 T1.f1 T1.f2 T2.ddd1 T2.ddd2 * What you get as join table? apples + oranges Look on your table: Paris + street But may be it is better to show to user list of cities: AND the parent list of streets? In this case PARIS will present only once on monitor. And streets will be show in other datagrid. This solution CAN BE much better because 1) you do not spend time to build JOIN table. 2) you do not eat any bytes for JOIN. 3) on monitor you eat less space for duplicates of PARIS. 4) it will work much faster, because you - display at first cities. - IF user click some city then you FIND only linked streets. You see? You do much less of work!!!! --------------------------------------------- SQL and API methods + benchs // Philosophy of API way. More (mail of 25 january) In my prev letter I have show the main difference of SQL and Navigational worlds. SQL *MUST* do joins. JOIN in fact is very heavy operation! If you will correctly make GUI of app. Then Navigational way can do much less of work to get the same data to display for user. btw, have you see 4D ? 4D and FM have so-called Related-View. Remember? It is easy to see that this is because both 4D and FM, do not use SQL way. ** Your main problem is that you really try find *equivalent* of SQL In the API way. But this is bad idea. API way this is OTHER world. It require different GUI, different coding, different thinking. ------------------------------------- BinaryLink vs ObectPtr (mail of 24 january) > Hi Ruslan, > > There is a big section in your notes about Abstraction Links, which > mentions > Foreign Keys, ObjPtr Fields and Binary Links. Are there any other > kinds of > links or keys? Of course, we support a primary key, right? Yes we support PRIMARY KEY. This is Relational model. PK + FOREIGN KEY = this is Relational model. This is the only what have all other RDBMS. Valentina 1.x also did have ObjectPtr, Although 1.x did not support PK+FK completely. Valentina 2.0 support 3 kinds of links. FK ObjectPtr BinaryLink. ObjectPtr -- this is analog of DIRECT POINTER from Navigational model, although it differ. FK -- this is pointer by value. BianryLink -- this is totally new thing. Nobody have it. it is best then both above ----------------------------------------------------------------------- On 12/30/04 11:55 PM, "Lynn Fredricks" wrote: > Hi Ruslan, > > In your doc, you mention that ObjectPtr fields are up to 4 x faster > than > foreign keys. But what are the advantages of using a Binary Link (is > there > anything other than M:M)? * M : M this is already HUGE advantage! * I am going write many text on this in docs, because this thing is not describe in books. * another main advantage is DESIGN of db structure. Look, with FK and ObjectPtr to link 2 tables you must insert FK field into one of them, which play role of pointer to the parent record. The you have T1 which point T2. T1 have 3 own fields that describe it info (its real world object). Now you need add 1 pointer field to establish link. If around T1 you have 5 tables which must be linked, then you will have 3 + 5 fields in T1. Look, 3 fields which keep ESSENTIAL DATA of this table, And 5 fields which keep LINK information. LINK information is NOT a property of T1 object, But Relational model push you insert this info into T1. This means that IF you change db structure, you will MUST change structure of already existed tables to add links. It is obvious that this is bad. All programming languages try isolate one part of code from other. BinaryLink (as well as Link abstraction) DO THIS for DBMS world. You will have in T1 3 fields. Always. (of course if you use BinaryLinks only :-) If you add/remove linked tables, then you just add T3 and new BinaryLink. T1 is not touched. ----------------------------------------------------------------------- >> FK >> ObjectPtr >> BinaryLink. >> >> ObjectPtr -- this is analog of DIRECT POINTER from Navigational model, >> although it differ. >> >> FK -- this is pointer by value. >> >> BianryLink -- this is totally new thing. Nobody have it. >> it is best then both above > > Best for what? Speed? That is what I need to understand -- in > marketing 2.0, > I need to convey why this new type is better. SPEED also. And BinaryLink will use about 2 times less disk space then trick with third table to establish M : M link as do RDBMS world. ----------------------------------------------------------------------- >> The you have T1 which point T2. >> T1 have 3 own fields that describe it info (its real world object). >> >> Now you need add 1 pointer field to establish link. >> If around T1 you have 5 tables which must be linked, then you >> will have 3 + 5 fields in T1. >> >> Look, 3 fields which keep ESSENTIAL DATA of this table, And 5 >> fields which keep LINK information. > > There is where Im getting confused. > > There are three fields of real world data in T1. > > There are five tables which must be linked to T1, so therefore, T1 has > 3 > fields (of real data) + 5 link fields (to connect to each of the five > other > tables) = 8 fields. Correct. And in RDBMS, these 5 fields are FOREIGN KEY fields. Also note, may happens that 5 tables POINT TO T1, In this case each of them get this additional FK field, but T1 have 3 fields. In any case, db have 5 more fields in total. >> LINK information is NOT a property of T1 object, But >> Relational model push you insert this info into T1. > > With Binary Links, where is the information stored to make the link, > if it > is not in T1? It is stored in the NEW SPECIAL structure -- Binary Link. Internally this is NOT a table. It is quite other format (similar to indexes). -------------------------------------- NOTE: in RDBS, developer also can have T1 with 3 fields, and T2..T6 tables around it. to get better design developer can make links as additional tables with 2 fields each: T12 -- link T1 and T2 T13 -- link T1 and T3 ... in case of M : M developer simply MUST to use additional table. NOTE2: in pure Relational model exists ONLY tables. even indexes not exists, so strictly speaking all RDBMS as MS, mySQL are not pure Relational. * So we do step forward and add one more abstraction LINK. * and we have 3 kinds of links. So as I have told, BinaryLink is not a T12 table. This is special kind structure. It is smaller and faster. And the main, it act as abstraction LINK. >> This means that IF you change db structure, you will MUST >> change structure of already existed tables to add links. >> >> It is obvious that this is bad. >> All programming languages try isolate one part of code from other. >> >> >> BinaryLink (as well as Link abstraction) DO THIS for DBMS world. >> You will have in T1 3 fields. Always. >> (of course if you use BinaryLinks only :-) >> >> If you add/remove linked tables, then you just add T3 and new >> BinaryLink. T1 is not touched. > > So is the Binary Link data stored in its own sort of table and contain > all > information related to the linked tables? Yes. Close to true. Just it is not table. You can think about Binary link as array of pairs { 3, 5 } rec 3 of T1 is linked to rec 5 of T2. { 3, 7 } > And so if this is true, then no > linking information needs to be stored in T1, right? Right. --------------- Olivier From vidal_olivier at yahoo.fr Fri Apr 1 11:46:13 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Apr 1 03:46:42 2005 Subject: speed of API way Message-ID: Hi Ruslan, One day, you wrote: ///////////////// Actually SQL way have interesting feature: Let you have table with 20 fields, but you select only 4 fields. then Iteration of cursor will be 5 times faster of iteration of original table, because cursor will read only that 4 fields. For now we do not have way do the same trick in API. (in C++ we have in fact, just did not opened to V4RB.) //////////////////// I can put this feature in the mantis ? thank you olivier From sunshine at public.kherson.ua Fri Apr 1 12:50:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 03:50:51 2005 Subject: speed of API way In-Reply-To: Message-ID: On 4/1/05 12:46 PM, "Olivier" wrote: > Hi Ruslan, > > One day, you wrote: > > ///////////////// > Actually SQL way have interesting feature: > Let you have table with 20 fields, > but you select only 4 fields. > > then Iteration of cursor will be 5 times faster of iteration > of original table, because cursor will read only that 4 fields. > > For now we do not have way do the same trick in API. > (in C++ we have in fact, just did not opened to V4RB.) > //////////////////// > > I can put this feature in the mantis ? Yes Oliver, into kernel project please. -- 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 Fri Apr 1 11:51:36 2005 From: giulio at cantoberon.it (Giulio) Date: Fri Apr 1 03:51:53 2005 Subject: new web site - were are older downloads? In-Reply-To: <20050401063444.A10892F38E5@edison.macserve.net> References: <20050401063444.A10892F38E5@edison.macserve.net> Message-ID: I have started using Valentina for realbasic 2.0, but after installing it I'm today in need to open an RB project that uses the old 1.1 plugins, and I can't find them for download on paradigma web site... where can I find them? Thank you, Giulio From sunshine at public.kherson.ua Fri Apr 1 12:58:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 03:58:37 2005 Subject: new web site - were are older downloads? In-Reply-To: Message-ID: On 4/1/05 12:51 PM, "Giulio" wrote: > I have started using Valentina for realbasic 2.0, but after installing > it I'm today in need to open an RB project that uses the old 1.1 > plugins, and I can't find them for download on paradigma web site... > > where can I find them? we need enable links to them. -- 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 info at vallemediatime.com Fri Apr 1 12:09:17 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 1 04:09:24 2005 Subject: [V4MD] API string search, dir example request //RULES OF API WAY Message-ID: <000e01c536a2$dd9d90e0$5f091e97@vmtcktzo3kwrv6> Thanks Olivier, you give me a "sort list" of previous mail around this topic issues for V4RB (but the issues are the same). I read it with attention...now I hope to know better the API Philosophy.... and to succeed to work with it. I have a lot appreciated your contribution. Ciao Paolo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From ohmitou at wanadoo.fr Fri Apr 1 14:46:01 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 1 04:46:22 2005 Subject: [V4RB2] Speed or not speed ? Message-ID: <20050401104601.22190@smtp.wanadoo.fr> Hello, For the above loop : version V4RB1 : 0,4 s and version V4RB2 76 s ! With the same program (adapted), the "same" base (created and filled with my same way)... ...... res=curseur.firstRecord for i=1 to nbFiches (1) nom=deCode(curseur.field(1).getString) (1) kurseur=zeBase.SQLselect("SELECT id FROM individus WHERE nom='"+enCode(nom)+"' AND ("+critere+")",kvServeur,kvNoLocks) (2) nom=curseur.field(1).getString (2) kurseur=zeBase.SQLSelect("SELECT id FROM individus WHERE nom='"+echappe(nom)+"' AND ("+critere+")", EVCursorLocation.kServerSide, EVLockType.kNoLocks) if kurseur<> nil then listeNoms.addFolder nom+" : "+str(kurseur.recordCount) end res=curseur.nextRecord next ...... (1) : version V4RB1 : 0,40 s The database is endoding macRoman - deCode for translation macRoman to UTF8 - enCode for translation UTF8 to macRoman and to escape the ' and the " (2): version V4RB2 : 76 s The database is UTF16 and the translation is automatic - echappe only to escape the ' and the " Where is the problem ? Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Fri Apr 1 13:50:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 04:51:02 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: <20050401104601.22190@smtp.wanadoo.fr> Message-ID: On 4/1/05 1:46 PM, "Thierry Nauze" wrote: > Hello, > > For the above loop : version V4RB1 : 0,4 s and version V4RB2 76 s ! > > With the same program (adapted), the "same" base (created and filled with > my same way)... > > ...... > res=curseur.firstRecord > for i=1 to nbFiches > (1) nom=deCode(curseur.field(1).getString) > (1) kurseur=zeBase.SQLselect("SELECT id FROM individus WHERE > nom='"+enCode(nom)+"' AND ("+critere+")",kvServeur,kvNoLocks) > (2) nom=curseur.field(1).getString > (2) kurseur=zeBase.SQLSelect("SELECT id FROM individus WHERE > nom='"+echappe(nom)+"' AND ("+critere+")", EVCursorLocation.kServerSide, > EVLockType.kNoLocks) > if kurseur<> nil then > listeNoms.addFolder nom+" : "+str(kurseur.recordCount) > end > res=curseur.nextRecord > next > ...... > > (1) : version V4RB1 : 0,40 s > The database is endoding macRoman > - deCode for translation macRoman to UTF8 > - enCode for translation UTF8 to macRoman and to escape the ' and the " > > > (2): version V4RB2 : 76 s > The database is UTF16 and the translation is automatic > - echappe only to escape the ' and the " > > Where is the problem ? Send to me this project please. -- 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 Fri Apr 1 13:53:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 04:53:37 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: <20050401104601.22190@smtp.wanadoo.fr> Message-ID: On 4/1/05 1:46 PM, "Thierry Nauze" wrote: > Hello, > > For the above loop : version V4RB1 : 0,4 s and version V4RB2 76 s ! > > With the same program (adapted), the "same" base (created and filled with > my same way)... > > ...... > res=curseur.firstRecord > for i=1 to nbFiches > (1) nom=deCode(curseur.field(1).getString) > (1) kurseur=zeBase.SQLselect("SELECT id FROM individus WHERE > nom='"+enCode(nom)+"' AND ("+critere+")",kvServeur,kvNoLocks) > (2) nom=curseur.field(1).getString > (2) kurseur=zeBase.SQLSelect("SELECT id FROM individus WHERE > nom='"+echappe(nom)+"' AND ("+critere+")", EVCursorLocation.kServerSide, > EVLockType.kNoLocks) > if kurseur<> nil then > listeNoms.addFolder nom+" : "+str(kurseur.recordCount) > end > res=curseur.nextRecord > next > ...... * How many iterations in this loop? * Have you set search fields to be index ? v2 will NOT index field on search and will do NON-indexed search. * have you disabled V4RB_LOG file ? -- 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 Fri Apr 1 14:57:07 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 1 04:57:34 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: References: Message-ID: <20050401105708.19591@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 1/04/05 : >Send to me this project please. It is too big This Week-end, I am going to try to extract from it the routine and I send it to you. Regards, -- Thierry Nauze Saint-Denis de la R?union From ohmitou at wanadoo.fr Fri Apr 1 15:08:52 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 1 05:09:20 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: References: Message-ID: <20050401110852.2417@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 1/04/05 : >* How many iterations in this loop? More than 5000 >* Have you set search fields to be index ? > > v2 will NOT index field on search and will do NON-indexed search. NO, not of my part : nom = new vVarChar("nom",1022) But Valentina Studio say YES (!) : field 'nom' ... indexed Why this difference ? >* have you disabled V4RB_LOG file ? YES : Valentina.DebugLevel =EVDebugLevel.kLogNothing -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Fri Apr 1 14:20:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 05:20:22 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: <20050401110852.2417@smtp.wanadoo.fr> Message-ID: On 4/1/05 2:08 PM, "Thierry Nauze" wrote: >> * How many iterations in this loop? > > More than 5000 >> * Have you set search fields to be index ? >> >> v2 will NOT index field on search and will do NON-indexed search. > > NO, not of my part : nom = new vVarChar("nom",1022) > But Valentina Studio say YES (!) : field 'nom' ... indexed > Why this difference ? Valentina 2 can index field self only if you have made SORT on it >> * have you disabled V4RB_LOG file ? > YES : Valentina.DebugLevel =EVDebugLevel.kLogNothing -- 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 Fri Apr 1 16:26:08 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 1 06:26:28 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: References: Message-ID: <20050401122609.6994@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 1/04/05 : >On 4/1/05 2:08 PM, "Thierry Nauze" wrote: > >>> * How many iterations in this loop? >> >> More than 5000 With a datbase of 263 records, results are the same: 0,032 s >>> * Have you set search fields to be index ? >>> >>> v2 will NOT index field on search and will do NON-indexed search. >> >> NO, not of my part : nom = new vVarChar("nom",1022) >> But Valentina Studio say YES (!) : field 'nom' ... indexed >> Why this difference ? >Valentina 2 can index field self only if you have made SORT on it zeBase.locale="fr_FR" ? In V4RB1, the field is : nom = new vVarChar("nom",504,"French") A new database with more than 5000 record and without zeBase.locale="fr_FR" ... : 1,6 s !!!! The field is not indexed before the test. I leave and launch again the application : 80 s Between two tests, the field 'nom' was indexed. Precision: in this case (condition) is " id > 0 " where id: id = new vUMedium ("id", evFlag.fUnique) It is also indexed without my knowledge! Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Fri Apr 1 15:34:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 06:34:14 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: <20050401122609.6994@smtp.wanadoo.fr> Message-ID: On 4/1/05 3:26 PM, "Thierry Nauze" wrote: >> Valentina 2 can index field self only if you have made SORT on it > > zeBase.locale="fr_FR" ? > > In V4RB1, the field is : nom = new vVarChar("nom",504,"French") > > A new database with more than 5000 record and > without zeBase.locale="fr_FR" ... : 1,6 s !!!! > The field is not indexed before the test. > I leave and launch again the application : 80 s > Between two tests, the field 'nom' was indexed. I have not catch: - without locale FR it works much faster ? - what parameter force second time to be 80s ? > Precision: in this case (condition) is " id > 0 " where id: > id = new vUMedium ("id", evFlag.fUnique) > It is also indexed without my knowledge! -- 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 Fri Apr 1 15:39:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 06:39:12 2005 Subject: new web site - were are older downloads? In-Reply-To: Message-ID: On 4/1/05 12:51 PM, "Giulio" wrote: > I have started using Valentina for realbasic 2.0, but after installing > it I'm today in need to open an RB project that uses the old 1.1 > plugins, and I can't find them for download on paradigma web site... > > where can I find them? You can find them now on site. -- 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 Fri Apr 1 16:37:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 07:38:00 2005 Subject: FIXED problem of Valentina 2 and REALbasic 2005 Message-ID: Hi guys, I have found why Valentina 2 did not start with RB 2005. It was simple. REALbasic 2005 now have folder Resources. Valentina also have such folder in Vcomponents folder. So there was conflict. To resolve it, Valentina now will use name "VResources" You will get this fixed in 2.0.2 -- 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 Fri Apr 1 17:44:58 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 1 07:45:05 2005 Subject: [V4RB2] Speed or not speed ? Message-ID: <20050401134459.25705@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 1/04/05 : >On 4/1/05 3:26 PM, "Thierry Nauze" wrote: > >I have not catch: > > - without locale FR it works much faster ? ONCE but no TWICE > > - what parameter force second time to be 80s ? NON Method: I create a database with, in other tables, a table 'individus' with several fields of which: id = new vUMedium ("id", evFlag.fUnique) name = new vVarChar ("name", on 1022) The database is without 'locale'. I quit the program and I verify with V. Studio *: the field 'id' is indexed. Why? I launch the program and I import data from a file of type text. I launch the request on more than 5000 records : 2.5 s I quit the program and I verify with V. Studio *: the field 'id' is indexed... Abd the field 'nom' also ! Why? I launch again the program ant try again the same request : 105 s !!!! I modify program. Before the loop, I add: zeBase.mIndividus.id.isIndexed=false zeBase.mIndividus.nom.isIndexed=false And I try agin the resquest: 118 s ! * So that V. Studio does not modify databases, all the checks are made on copies. Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Fri Apr 1 17:19:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 08:19:51 2005 Subject: [V4RB2] Speed or not speed ? In-Reply-To: <20050401134459.25705@smtp.wanadoo.fr> Message-ID: On 4/1/05 4:44 PM, "Thierry Nauze" wrote: > Method: > I create a database with, in other tables, a table 'individus' > with several fields of which: > id = new vUMedium ("id", evFlag.fUnique) > name = new vVarChar ("name", on 1022) > The database is without 'locale'. > > > I quit the program and I verify with V. Studio *: the field 'id' is > indexed. Why? Because you cannot have UNIQUE field without index. -- 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 valentina-list at vermontsoftworks.com Fri Apr 1 09:26:42 2005 From: valentina-list at vermontsoftworks.com (Erik Mueller-Harder) Date: Fri Apr 1 08:26:51 2005 Subject: FIXED problem of Valentina 2 and REALbasic 2005 In-Reply-To: References: Message-ID: On Apr 1, 2005, at 08:37, Ruslan Zasukhin wrote: > REALbasic 2005 now have folder Resources. > Valentina also have such folder in Vcomponents folder. > > So there was conflict. > > To resolve it, Valentina now will use name "VResources" > > You will get this fixed in 2.0.2 Hooray! Thank you, Ruslan! -- Erik From Claudius at sailer-online.de Fri Apr 1 16:58:56 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Apr 1 08:59:16 2005 Subject: FIXED problem of Valentina 2 and REALbasic 2005 In-Reply-To: References: Message-ID: Am 01. Apr 2005 um 16:26 Uhr schrieb Erik Mueller-Harder: > On Apr 1, 2005, at 08:37, Ruslan Zasukhin wrote: > >> REALbasic 2005 now have folder Resources. >> Valentina also have such folder in Vcomponents folder. >> >> So there was conflict. >> >> To resolve it, Valentina now will use name "VResources" >> >> You will get this fixed in 2.0.2 > > Hooray! Thank you, Ruslan! Do we have to delete VComponents or is this doing installer? I don't use RB 2005 (too much hardcore bugs). bye 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 Claudius at sailer-online.de Fri Apr 1 17:25:58 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Apr 1 09:26:08 2005 Subject: #610 V4RB2.0.1 In-Reply-To: References: Message-ID: <7451330d5ec24200105ee0a71350eeff@sailer-online.de> Am 30. Mrz 2005 um 19:03 Uhr schrieb Ruslan Zasukhin: > On 3/30/05 7:01 PM, "Claudius Sailer" > wrote: > >> Hi, >> >> could I get a status? > >> I see that status of both calls doesn't changed. Do you have problems >> to reproduce, do you need further informations or tests or new >> database? > >> Tests with 2.0.1 brings also same results as described. > > I think tomorrow I will at last of end put hands on this tasks One more help thing. I believe same problem I have own Import-Export-Routine. Following code runs in DebugMode=ON absolutely fine. it is slow nut it works. When I now deactivate DEBUGMODE I geht following error message: Error Number: 627971 Varchar data "" is corrupted the case 7 has to import close to 7000 records. Other tables don't have problems they are extremly less records to import.. Is it possible that the number of records brings trouble to V4RB2. It would be nice when other user could test this, too. select case ImportDatenTyp case 7 //Buchungen auslesen if TextZeichen.countfields(chr(9))=9 then meineDatenbank.TBuchungen.SetBlank TheTrue=parseDate(TextZeichen.nthfield(chrb(9),2),CheckDate) meineDatenbank.TBuchungen.BDatum.set(CheckDate.year,CheckDate.month,Chec kDate.day) meineDatenbank.TBuchungen.Herk_Konto.value=RecIDIndex(3,TextZeichen.nthf ield(chrb(9),3).cdbl) meineDatenbank.TBuchungen.Ziel_Konto.value=RecIDIndex(3,TextZeichen.nthf ield(chrb(9),4).cdbl) meineDatenbank.TBuchungen.Kategorie_ID.value=RecIDIndex(4,TextZeichen.nt hfield(chrb(9),5).cdbl) meineDatenbank.TBuchungen.Betrag.value=RoundTextNumber(TextZeichen.nthfi eld(chrb(9),6)) if NOT CheckLeer(TextZeichen.nthfield(chrb(9),7)) then meineDatenbank.TBuchungen.Kommentar.value=ASCIIToUniCode(TextZeichen.nth field(chrb(9),7)) end if if TextZeichen.nthfield(chrb(9),8).cdbl = 1 then meineDatenbank.TBuchungen.Blocked.value=true else meineDatenbank.TBuchungen.Blocked.value=false end if if TextZeichen.nthfield(chrb(9),9).cdbl = 1 then meineDatenbank.TBuchungen.Deleted.value=true else meineDatenbank.TBuchungen.Deleted.value=false end if NewRecID=meineDatenbank.TBuchungen.addRecord RecIDIndex(5,TextZeichen.nthfield(chrb(9),1).cdbl)=meineDatenbank.TBuchu ngen.RecordCount else //es liegen nicht genuegend Felder zum importieren vor return false end if case 5 case 4 end select bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Fri Apr 1 18:28:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 09:28:19 2005 Subject: FIXED problem of Valentina 2 and REALbasic 2005 In-Reply-To: Message-ID: On 4/1/05 5:58 PM, "Claudius Sailer" wrote: >>> You will get this fixed in 2.0.2 >> >> Hooray! Thank you, Ruslan! > > Do we have to delete VComponents or is this doing installer? > I don't use RB 2005 (too much hardcore bugs). Installer cannot delete I think. I mean Apple PackageMaker.. So better will be to remove 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 cmsheffield at gmail.com Fri Apr 1 09:30:01 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri Apr 1 10:30:08 2005 Subject: new web site - were are older downloads? In-Reply-To: References: Message-ID: <1d93d94b05040108302a169727@mail.gmail.com> Ruslan, I'm still not seeing the older client version for Revolution. Can you point me to it, or is it still no up? Thanks, Chris Sheffield On Apr 1, 2005 5:39 AM, Ruslan Zasukhin wrote: > On 4/1/05 12:51 PM, "Giulio" wrote: > > > I have started using Valentina for realbasic 2.0, but after installing > > it I'm today in need to open an RB project that uses the old 1.1 > > plugins, and I can't find them for download on paradigma web site... > > > > where can I find them? > > You can find them now on site. > > -- > 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 Fri Apr 1 19:45:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 10:45:38 2005 Subject: new web site - were are older downloads? In-Reply-To: <1d93d94b05040108302a169727@mail.gmail.com> Message-ID: On 4/1/05 7:30 PM, "Chris Sheffield" wrote: > Ruslan, > > I'm still not seeing the older client version for Revolution. Can you > point me to it, or is it still no up? Hi Chris, Aha, I will add it. It seems the only thing I have forget -- 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 Fri Apr 1 11:46:15 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Apr 1 10:47:08 2005 Subject: [V4RB2] Error when compiling for Windows Message-ID: I am compiling my project on MacOS X using RB 5.5.5. I decided to create a Windows executable to try it out there, but get the following error: Cannot load Windows version of plugin "V4RB:128" I have the Pro version, but compiling with or without the registration numbers makes no difference, and I prefer without for this project. Is this a bug? __________________________________________________________________________ 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 Fri Apr 1 19:58:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 10:58:49 2005 Subject: [V4RB2] Error when compiling for Windows In-Reply-To: Message-ID: On 4/1/05 7:46 PM, "Kem Tekinay" wrote: Hi Kem, > I am compiling my project on MacOS X using RB 5.5.5. I decided to create a > Windows executable to try it out there, but get the following error: > > Cannot load Windows version of plugin "V4RB:128" > > I have the Pro version, but compiling with or without the registration > numbers makes no difference, and I prefer without for this project. > > Is this a bug? This is known issue. windows version will be added soon. -- 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 cmsheffield at gmail.com Fri Apr 1 11:28:33 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri Apr 1 12:28:42 2005 Subject: new web site - were are older downloads? In-Reply-To: References: <1d93d94b05040108302a169727@mail.gmail.com> Message-ID: <1d93d94b050401102861f59b2d@mail.gmail.com> Actually, there may be one more thing you'll want to check. I noticed same date inconsistencies in the archives. We are currently using what I thought was version 2.0a66 of VServer, but when I check my log file it shows it's version a65. Is this right? The date on the executable is 12/31/2004. Now when I went to your site to check the version there, it says it's version a67, but when I download it and install it, it also says a65. So which is correct? Is it really a67 and the build number just didn't get updated? Can you clarify? Thanks, Chris On Apr 1, 2005 9:45 AM, Ruslan Zasukhin wrote: > On 4/1/05 7:30 PM, "Chris Sheffield" wrote: > > > Ruslan, > > > > I'm still not seeing the older client version for Revolution. Can you > > point me to it, or is it still no up? > > Hi Chris, > > Aha, I will add it. It seems the only thing I have forget > > -- > 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 giulio at cantoberon.it Fri Apr 1 21:21:05 2005 From: giulio at cantoberon.it (Giulio) Date: Fri Apr 1 13:21:16 2005 Subject: Accessing a Vdb on a locked volume? In-Reply-To: <20050401164714.64E522F3F1C@edison.macserve.net> References: <20050401164714.64E522F3F1C@edison.macserve.net> Message-ID: I'm in need to develop an RB application that runs directly from a dvd and reads data from a Valentina db contained on the same support. my first attempt to burn app and db on a cd and run the app directly from the cd results on a -61 error, i imagine that the problem is caused by Valentina engina trying to create a .tmp on a locked volume. I'm doing something wrong? I there a solution to this problem? Thank you, Giulio From peter.salomon at gmx.net Fri Apr 1 21:56:49 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Fri Apr 1 13:57:11 2005 Subject: [V4MD MAC] throwout and unregister Message-ID: <2FA48622-A2E8-11D9-9A5B-00039300CB38@gmx.net> hi ruslan, It runs really! can now connect to vserver and log file works also. wonderful! now i was able to start playing a bit and started to convert older 1.x project to 2.x. and here are todays questions: throwout() deletes files in LOCAL mode. In Client mode not - so e.g. example runs "only" one time, the second time an error occurs, telling that db already exists which is correct. so i tried a small script: on unregisterDB VServer = new(xtra "Vserver", "localhost", "sa", "sa") if not objectP(VServer) then beep alert "Cannot set reference to VServer Xtra!" end if if objectP(gDb) then gDB.close() gDB=void end if VServer.unregisterDatabase("Database1.vdb") end the script gives me the error: ERROR: 394504 can i readout those errormessages via VServer? and how can i get rid of registered databases? regards, Peter From sunshine at public.kherson.ua Sat Apr 2 00:37:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 15:37:55 2005 Subject: Accessing a Vdb on a locked volume? In-Reply-To: Message-ID: On 4/1/05 10:21 PM, "Giulio" wrote: Hi Giulio, > I'm in need to develop an RB application that runs directly from a dvd > and reads data from a Valentina db contained on the same support. > > my first attempt to burn app and db on a cd and run the app directly > from the cd results on a -61 error, i imagine that the problem is > caused by Valentina engina trying to create a .tmp on a locked volume. > > I'm doing something wrong? > > I there a solution to this problem? Should work. Do you run on MAC? It seems yes. I know that Igor have make CDs with db on Windows. About Mac OS not remember. So if you see problem, we need test on mac also. Please add this into Mantis. kenrel + macos + cd -- 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 Sat Apr 2 00:43:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 15:43:42 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: <2FA48622-A2E8-11D9-9A5B-00039300CB38@gmx.net> Message-ID: On 4/1/05 10:56 PM, "Peter Salomon" wrote: Hi Peter, > It runs really! can now connect to vserver and log file works also. > wonderful! now i was able to start playing a bit and started to convert > older 1.x project to 2.x. Excellent! > and here are todays questions: > > throwout() deletes files in LOCAL mode. In Client mode not - so e.g. Yes, I think this was our target. Because that db can be used by other users... Igor, comments ? It seems to me we can throw out files of closed db... Or you want to say that db under server always is opened? > example runs "only" one time, the second time an error occurs, telling > that db already exists which is correct. It is possible to trash db files manually. So Vserver will create them again without complains. > so i tried a small script: > > on unregisterDB > VServer = new(xtra "Vserver", "localhost", "sa", "sa") > if not objectP(VServer) then > beep > alert "Cannot set reference to VServer Xtra!" > end if > if objectP(gDb) then > gDB.close() > gDB=void > end if > VServer.unregisterDatabase("Database1.vdb") > end > > the script gives me the error: ERROR: 394504 > > can i readout those errormessages via VServer? and how can i get rid of > registered databases? Igor ? -- 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 Sat Apr 2 00:46:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 15:46:17 2005 Subject: new web site - were are older downloads? In-Reply-To: <1d93d94b050401102861f59b2d@mail.gmail.com> Message-ID: On 4/1/05 9:28 PM, "Chris Sheffield" wrote: > Actually, there may be one more thing you'll want to check. I noticed > same date inconsistencies in the archives. We are currently using > what I thought was version 2.0a66 of VServer, but when I check my log > file it shows it's version a65. Is this right? The date on the > executable is 12/31/2004. I cannot see executable date, it is in the installer. Point is that files that WAS on ftp still are there. We have not change anything. Just move all 1.x archives to "v1" folder > Now when I went to your site to check the version there, it says it's > version a67, but when I download it and install it, it also says a65. > So which is correct? Of course server itself correct. It know own versions better :-) Just I have set a67 for all items today. > Is it really a67 and the build number just > didn't get updated? Can you clarify? Do not pay to this too many attention please. -- 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 Sat Apr 2 00:54:58 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 1 15:55:02 2005 Subject: [V4MD MAC] throwout and unregister References: Message-ID: <006801c53705$726d5860$3b04a8c0@giv> > Igor, comments ? > It seems to me we can throw out files of closed db... > Or you want to say that db under server always is opened? Actually we can do this if db is not in use, i.e. when number of active connections to this database is 0. Otherwise, database will be just marked as deleted and will be actually deleted only after disconnection of all clients. > > example runs "only" one time, the second time an error occurs, telling > > that db already exists which is correct. > > It is possible to trash db files manually. > So Vserver will create them again without complains. > > > so i tried a small script: > > > > on unregisterDB > > VServer = new(xtra "Vserver", "localhost", "sa", "sa") > > if not objectP(VServer) then > > beep > > alert "Cannot set reference to VServer Xtra!" > > end if > > if objectP(gDb) then > > gDB.close() > > gDB=void > > end if > > VServer.unregisterDatabase("Database1.vdb") > > end > > > > the script gives me the error: ERROR: 394504 > > > > can i readout those errormessages via VServer? and how can i get rid of > > registered databases? > > Igor ? I will check this. -- 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 Sat Apr 2 00:56:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 15:56:22 2005 Subject: [VSRV] DEMO license file links added Message-ID: Hi All, Now on Vserver Office and Vserver embedded download pages you can find links to demo license files. (for April). Do not wonder that it show 0.00 Mb size. Just file is too small. -- 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 jda at his.com Fri Apr 1 17:19:35 2005 From: jda at his.com (jda) Date: Fri Apr 1 16:19:49 2005 Subject: min value in a cursor Message-ID: If I already have a cursor, is there a simple command to extract the minimum value in a particular integer field? Or do I have to loop through the whole cursor to find it? Thanks, Jon From sunshine at public.kherson.ua Sat Apr 2 01:33:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 1 16:33:46 2005 Subject: min value in a cursor In-Reply-To: Message-ID: On 4/2/05 1:19 AM, "jda" wrote: > If I already have a cursor, is there a simple command to extract the > minimum value in a particular integer field? Or do I have to loop > through the whole cursor to find it? It is it not sorted then loop 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 ktekinay at mactechnologies.com Fri Apr 1 18:08:45 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Apr 1 17:08:51 2005 Subject: [V4RB2] Unable to make stand-alone apps Message-ID: I can't compile a standalone application in REALbasic with V4RB2. Or, rather, I can, but it won't run on a Mac that does not have V4RB installed. Such a Mac gets an assertion failure. I've confirmed that this is because it is looking for the VComponents folder. This is a bug, right? __________________________________________________________________________ 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 Fri Apr 1 23:57:44 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Apr 1 22:58:19 2005 Subject: [V4RB2] FindStartsWith crashes app Message-ID: I have the following code: bs = tblZip.Zip_Code.FindContains( find ) bs = bs.Union( tblZip.City.FindContains( find ) ) bs = bs.Union( tblZip.State.FindContains( find ) ) This works fine, and is mighty fast. But, if I switch each line to "FindStartsWith", the app crashes without so much as an exception being thrown. I realize I am supposed to report stuff like this through the bug system, but I don't have the address. Can someone provide it? Thanks. __________________________________________________________________________ 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 Fri Apr 1 22:39:45 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Fri Apr 1 23:39:59 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: References: Message-ID: <882bdfd34e2154fa85bdbd530f801cc4@goodeast.com> On Apr 1, 2005, at 9:57 PM, Kem Tekinay wrote: > I have the following code: > > bs = tblZip.Zip_Code.FindContains( find ) > bs = bs.Union( tblZip.City.FindContains( find ) ) > bs = bs.Union( tblZip.State.FindContains( find ) ) > > This works fine, and is mighty fast. > > But, if I switch each line to "FindStartsWith", the app crashes > without so > much as an exception being thrown. > > I realize I am supposed to report stuff like this through the bug > system, > but I don't have the address. Can someone provide it? -Frank Schima From sunshine at public.kherson.ua Sat Apr 2 10:13:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 01:13:13 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: Message-ID: On 4/2/05 7:57 AM, "Kem Tekinay" wrote: > I have the following code: > > bs = tblZip.Zip_Code.FindContains( find ) > bs = bs.Union( tblZip.City.FindContains( find ) ) > bs = bs.Union( tblZip.State.FindContains( find ) ) > > This works fine, and is mighty fast. > > But, if I switch each line to "FindStartsWith", the app crashes without so > much as an exception being thrown. > > I realize I am supposed to report stuff like this through the bug system, > but I don't have the address. Can someone provide it? Kem, We need A) crash log B) simple project to reproduce In fact please check our example API_way/IndexByWords It have this feature. Does example work 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 sunshine at public.kherson.ua Sat Apr 2 10:17:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 01:17:18 2005 Subject: [V4RB2] Unable to make stand-alone apps In-Reply-To: Message-ID: On 4/2/05 2:08 AM, "Kem Tekinay" wrote: > I can't compile a standalone application in REALbasic with V4RB2. Or, > rather, I can, but it won't run on a Mac that does not have V4RB installed. > Such a Mac gets an assertion failure. > > I've confirmed that this is because it is looking for the VComponents > folder. This is a bug, right? NO. You need - make myapp folder - put here My Application - copy right here files from VComponents folder. So you will get in your folder many files. You should send to user this folder. We cannot drop the whole VComponents folder int myapp folder Because Mac OS do not search for DLLs in the subfolders. Future we will try improve this issue. Jon, am I right? This is how you distribute your Bookends? -- 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 Claudius at sailer-online.de Sat Apr 2 10:25:29 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 02:25:37 2005 Subject: V4RB2 Error -47 can't open database Message-ID: <7da551d05579286fc0d7cdc53aba9549@sailer-online.de> Hi, what does this error message tells me. I closed database and when I tried to reopen I got this error message!! bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Sat Apr 2 11:35:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 02:35:39 2005 Subject: V4RB2 Error -47 can't open database In-Reply-To: <7da551d05579286fc0d7cdc53aba9549@sailer-online.de> Message-ID: On 4/2/05 11:25 AM, "Claudius Sailer" wrote: Hi Claudius, > what does this error message tells me. I closed database and when I > tried to reopen I got this error message!! -47 fBsyErr File is busy (delete); Section doing I/O Looks to be OS error. In worse case restart should help 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 Claudius at sailer-online.de Sat Apr 2 10:35:34 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 02:35:43 2005 Subject: V4RB2 updaterecord or updaterecord() Message-ID: Hi, until now I used UpdateRecord but in documentation I found now UpdateRecord(). Do I need to use now UpdateRecord()? bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Claudius at sailer-online.de Sat Apr 2 10:47:25 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 02:47:33 2005 Subject: V4RB2 Error -47 can't open database In-Reply-To: References: Message-ID: Am 02. Apr 2005 um 10:35 Uhr schrieb Ruslan Zasukhin: > On 4/2/05 11:25 AM, "Claudius Sailer" > wrote: > > Hi Claudius, > >> what does this error message tells me. I closed database and when I >> tried to reopen I got this error message!! > > -47 fBsyErr File is busy (delete); Section doing I/O > > Looks to be OS error. > > In worse case restart should help I think Thanks. I know now where it came. I have database open with application. In other folder I have copy of database (same name) tried to open with ViSQL. RESULT: same tmp-File in tmp-Folder? ;-)) *hmmm* not really good :-(( bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Sat Apr 2 11:53:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 02:53:52 2005 Subject: V4RB2 Error -47 can't open database In-Reply-To: Message-ID: On 4/2/05 11:47 AM, "Claudius Sailer" wrote: > Thanks. I know now where it came. > I have database open with application. In other folder I have copy of > database (same name) tried to open with ViSQL. > > RESULT: same tmp-File in tmp-Folder? ;-)) > *hmmm* not really good :-(( Aha! You have stick into this issue. Did not expect this so soon. :-)) Yes this should be 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 sunshine at public.kherson.ua Sat Apr 2 11:54:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 02:54:42 2005 Subject: V4RB2 updaterecord or updaterecord() In-Reply-To: Message-ID: On 4/2/05 11:35 AM, "Claudius Sailer" wrote: > Hi, > > until now I used UpdateRecord but in documentation I found now > UpdateRecord(). Do I need to use now UpdateRecord()? You mean () ? Does this matter in REALbasic ? It seems RB allow both syntaxes. -- 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 Claudius at sailer-online.de Sat Apr 2 10:59:59 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 03:00:07 2005 Subject: V4RB2 Insert instead of UPDATE Message-ID: <0b149b92b0c96aa2cc8f0079ba8f3b33@sailer-online.de> Hi, I have following code, but I didn't get an updated record. Old record is after that as it was but I get new record with changed values?? Do I have any error in my code? Code is not changed from 1.10 to 2.0.1. Only UpdateRecord() and .RecID= meineDatenbank.TBuchungen.RecID=BuchungSSatz Call parsedate(EditField1.text.trim,CheckDate) //Buchungentabelle und Anzeigentabelle aktualisieren meineDatenbank.TBuchungen.BDatum.Set(CheckDate.year, CheckDate.month, CheckDate.day) meineDatenbank.TBuchungen.Kategorie_ID.value=AktuelleKategorie if EditField4(0).text.cdbl<>0 then //Ausgabe meineDatenbank.TBuchungen.Betrag.value=RoundTextNumber(EditField4(0).tex t) meineDatenbank.TBuchungen.Herk_Konto.value=AktuellesKonto meineDatenbank.TBuchungen.Ziel_Konto.value=AktuellesGegenKonto else //Einnahme meineDatenbank.TBuchungen.Betrag.value=RoundTextNumber(EditField4(1).tex t) meineDatenbank.TBuchungen.Herk_Konto.value=AktuellesGegenKonto meineDatenbank.TBuchungen.Ziel_Konto.value=AktuellesKonto end if if CheckLeer(EditField5.text) then meineDatenbank.TBuchungen.Kommentar.setblank else meineDatenbank.TBuchungen.Kommentar.Value=EditField5.text.trim end if meineDatenbank.TBuchungen.Blocked.value=false meineDatenbank.TBuchungen.UpdateRecord() meineDatenbank.TBuchungen.flush bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Claudius at sailer-online.de Sat Apr 2 11:01:18 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 03:01:23 2005 Subject: V4RB2 updaterecord or updaterecord() In-Reply-To: References: Message-ID: <50549d513f72feb382d10fcfd0dbe5e7@sailer-online.de> Am 02. Apr 2005 um 10:54 Uhr schrieb Ruslan Zasukhin: > On 4/2/05 11:35 AM, "Claudius Sailer" > wrote: > >> Hi, >> >> until now I used UpdateRecord but in documentation I found now >> UpdateRecord(). Do I need to use now UpdateRecord()? > > You mean () ? > > Does this matter in REALbasic ? > > It seems RB allow both syntaxes. Okay, then I have other problem. You can see other eMail from me. bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 Sat Apr 2 12:44:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 03:44:25 2005 Subject: V4RB2 Insert instead of UPDATE In-Reply-To: <0b149b92b0c96aa2cc8f0079ba8f3b33@sailer-online.de> Message-ID: On 4/2/05 11:59 AM, "Claudius Sailer" wrote: > if CheckLeer(EditField5.text) then > meineDatenbank.TBuchungen.Kommentar.setblank > else > meineDatenbank.TBuchungen.Kommentar.Value=EditField5.text.trim > end if > meineDatenbank.TBuchungen.Blocked.value=false > meineDatenbank.TBuchungen.UpdateRecord() > > meineDatenbank.TBuchungen.flush Note, sure, but why setBlank here ? -- 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 Sat Apr 2 12:51:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 03:51:39 2005 Subject: How to report bugs Message-ID: Hi All, I see that several bug reports added, but we do have not get not crash logs, not projects to reproduce. We need this, guys. Because just search something in the dark room is not good idea. Please always try to send us something. Otherwise we simply cannot do anything and such report will just on hold until somebody else will be able reproduce the same and send us project. We have now 50 Examples! So first of all check them. Find example which do similar things to you. May be you will see own mistake. May be you will see that example work. Then try to change code of example to reproduce your bug. -- 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 Sat Apr 2 11:51:35 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sat Apr 2 03:51:48 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: References: Message-ID: hi ruslan, i?ll try o understand your intention of "trowout". let me repeat: in local mode: files are deleted from disk in remote mode: record of masterDB wich stores filename and filepath will be deleted files remain on disk > Because that db can be used by other users... may be i do not understand - but it does not seem to make sense for me. Other users (if they are in remote mode) cant use it, because its already registered out. if they should use db again, simple db.close() seems enough... does it make any sense to have dbfiles on disk which are not registered? if i need them open in local mode i simply open them, no? Am 01.04.2005 um 23:43 schrieb Ruslan Zasukhin: > On 4/1/05 10:56 PM, "Peter Salomon" wrote: > > Hi Peter, > >> It runs really! can now connect to vserver and log file works also. >> wonderful! now i was able to start playing a bit and started to >> convert >> older 1.x project to 2.x. > > Excellent! > >> and here are todays questions: >> >> throwout() deletes files in LOCAL mode. In Client mode not - so e.g. > > Yes, I think this was our target. > Because that db can be used by other users... > > Igor, comments ? > It seems to me we can throw out files of closed db... > Or you want to say that db under server always is opened? no no.. > >> example runs "only" one time, the second time an error occurs, telling >> that db already exists which is correct. > > It is possible to trash db files manually. > So Vserver will create them again without complains. you mean masterDB, right? yes, i tried that already, but what if i have multiple databases under control of VServer? And i want only ONE of them to be deleted... I would need to register all the others again if i trash masterDB... and also all users and passwords... And lets imagine that VServer and also all the databases are running on a remote system, e.g. at a isp homingservice or somewhere else. I have my admin rights and want to administer the db?s. If i call trowout, i want also the files to be deleted, no? otherwise i would call unregister... i expected the function to do the same in local mode but also in remote mode. > >> so i tried a small script: >> >> on unregisterDB >> VServer = new(xtra "Vserver", "localhost", "sa", "sa") >> if not objectP(VServer) then >> beep >> alert "Cannot set reference to VServer Xtra!" >> end if >> if objectP(gDb) then >> gDB.close() >> gDB=void >> end if >> VServer.unregisterDatabase("Database1.vdb") >> end now, where i read the code: do i need to call opensession first? i?ll give it a try... >> >> the script gives me the error: ERROR: 394504 >> >> can i readout those errormessages via VServer? and how can i get rid >> of >> registered databases? > > Igor ? > > > -- > 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 Sat Apr 2 12:57:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 03:57:52 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: Message-ID: On 4/2/05 12:51 PM, "Peter Salomon" wrote: Hi Peter, > i?ll try o understand your intention of "trowout". let me repeat: > > in local mode: > files are deleted from disk yes > in remote mode: > record of masterDB wich stores filename and filepath will be deleted > files remain on disk No. It should also remove from disk. Right now this not works. -- 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 Sat Apr 2 11:57:58 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sat Apr 2 03:58:03 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: <006801c53705$726d5860$3b04a8c0@giv> References: <006801c53705$726d5860$3b04a8c0@giv> Message-ID: Hi Igor, sorry, i answered ruslans mail before reading yours. Am 01.04.2005 um 23:54 schrieb Igor Gomon: >> Igor, comments ? >> It seems to me we can throw out files of closed db... >> Or you want to say that db under server always is opened? > Actually we can do this if db is not in use, i.e. when number of > active connections to this database is 0. Otherwise, database will > be just marked as deleted and will be actually deleted only after > disconnection of all clients. that sounds perfect... is VServer already doing this? or is it rulslan, trowout :-) my answer to you... regards, Peter From sunshine at public.kherson.ua Sat Apr 2 12:59:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 03:59:24 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: Message-ID: On 4/2/05 12:51 PM, "Peter Salomon" wrote: >> Because that db can be used by other users... > > may be i do not understand - but it does not seem to make sense for me. > Other users (if they are in remote mode) cant use it, because its > already registered out. > if they should use db again, simple db.close() seems enough... > > does it make any sense to have dbfiles on disk which are not registered? > if i need them open in local mode i simply open them, no? Peter, In fact db.ThrowOut() -- this is to trash db files. I think this is not what we want usually, right? :-) We have add this function in 2.0 for completeness. I bet you will NOT use it. So forget 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 Sat Apr 2 13:00:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 04:00:56 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: Message-ID: On 4/2/05 12:51 PM, "Peter Salomon" wrote: >> It is possible to trash db files manually. >> So Vserver will create them again without complains. > > you mean masterDB, right? NO. If you have MasterDB, then you create DB1, then Stop server. You can delete DB1 files (master db still have record about it) Run Vserver And again create DB1 files, and this will 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 Sat Apr 2 13:03:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 04:03:18 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: Message-ID: On 4/2/05 12:51 PM, "Peter Salomon" wrote: > yes, i tried that already, but what if i have multiple databases under > control of VServer? > And i want only ONE of them to be deleted... > I would need to register all the others again if i trash masterDB... > and also all users and passwords... You should NOT trash MasterDB !! Practically never. Read all my answers If still questions, then formulate please again in the next way: let I have this. I want do this. how ? -- 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 Sat Apr 2 12:10:33 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sat Apr 2 04:10:37 2005 Subject: [V4MD MAC] throwout and unregister In-Reply-To: References: Message-ID: <73219B30-A35F-11D9-886E-00039300CB38@gmx.net> hi ruslan, ups, vserver seems to be more intelligent than i expected, but now i understand functions ok, thanks peter From Claudius at sailer-online.de Sat Apr 2 12:52:17 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 04:52:27 2005 Subject: V4RB2 Insert instead of UPDATE In-Reply-To: References: Message-ID: <48bae0c06de1b67423c452597ac9d788@sailer-online.de> Am 02. Apr 2005 um 11:44 Uhr schrieb Ruslan Zasukhin: > On 4/2/05 11:59 AM, "Claudius Sailer" > wrote: > >> if CheckLeer(EditField5.text) then >> meineDatenbank.TBuchungen.Kommentar.setblank >> else >> meineDatenbank.TBuchungen.Kommentar.Value=EditField5.text.trim >> end if >> meineDatenbank.TBuchungen.Blocked.value=false >> meineDatenbank.TBuchungen.UpdateRecord() >> >> meineDatenbank.TBuchungen.flush > > Note, sure, but why setBlank here ? then it gets NULL otherwise it gets "" bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 ktekinay at mactechnologies.com Sat Apr 2 10:58:50 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat Apr 2 09:59:30 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: Message-ID: On 4/2/05 2:13 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > In fact please check our example API_way/IndexByWords > > It have this feature. > > Does example work for you ? Yes, it does. I'll send the crash log now in a note, and try to create a project later. BTW, I narrowed it down. When FindStartsWith does not find any matches, it returns nil. Attempting a union between a bitset and nil causes the crash. I'll attach this to the note as well. __________________________________________________________________________ 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 Sat Apr 2 18:20:57 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat Apr 2 19:08:23 2005 Subject: [V4RB2] FindLike is also case sensitive Message-ID: I assume that the case-sensitivity of the class-way fld.FindLike is related to the case sensitivity of the SQL-way LIKE? If not, I will report it as a separate bug. __________________________________________________________________________ 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 Claudius at sailer-online.de Sat Apr 2 18:43:46 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 2 20:10:34 2005 Subject: V4RB2 Insert instead of UPDATE In-Reply-To: <48bae0c06de1b67423c452597ac9d788@sailer-online.de> References: <48bae0c06de1b67423c452597ac9d788@sailer-online.de> Message-ID: <0ec31f9b4432df0810e9ac1b047eaab6@sailer-online.de> Am 02. Apr 2005 um 12:52 Uhr schrieb Claudius Sailer: > > Am 02. Apr 2005 um 11:44 Uhr schrieb Ruslan Zasukhin: > >> On 4/2/05 11:59 AM, "Claudius Sailer" >> wrote: >> >>> if CheckLeer(EditField5.text) then >>> meineDatenbank.TBuchungen.Kommentar.setblank >>> else >>> meineDatenbank.TBuchungen.Kommentar.Value=EditField5.text.trim >>> end if >>> meineDatenbank.TBuchungen.Blocked.value=false >>> meineDatenbank.TBuchungen.UpdateRecord() >>> >>> meineDatenbank.TBuchungen.flush >> >> Note, sure, but why setBlank here ? > > then it gets NULL otherwise it gets "" you can see Bug 624. Bug is in other SQL where RecID is not by the correct Record in Cursor. So I Update and mark as deleted wrong records. SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, null, B.Kommentar, B.Blocked FROM Buchungen B, Kategorien K, Konten KZ WHERE B.Kategorie_ID=K.RecID AND (B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='15') AND B.Deleted='0' UNION SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, null, B.Betrag, B.Kommentar, B.Blocked FROM Buchungen B, Kategorien K, Konten KZ WHERE B.Kategorie_ID=K.RecID AND (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='15') AND B.Deleted='0' ORDER BY B.BDatum, KZ.Konto_Name, K.Kategorie_Name bye Claudius -- G4/733 QS / MacOS X 10.3.8de / 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 mitsakos at helmug.gr Sun Apr 3 01:37:26 2005 From: mitsakos at helmug.gr (Dimitris Tsarouhas) Date: Sat Apr 2 20:10:39 2005 Subject: Valentina 2.0 and RB 5.5 In-Reply-To: References: Message-ID: <2c46c8ed381cf94a6d8ad8e0d89439a4@helmug.gr> On ??? 02, 2005, at 11:37 ??, Ruslan Zasukhin wrote: > On 4/2/05 11:31 PM, "Dimitris Tsarouhas" wrote: > >>>>> 6. What do I need to do to create and connect to a new valentina >>>>> 2.0 >>>>> db? >>>>> I currently (with RB database) do >>>>> >>>>> dim db as realdatabase >>>>> Dim f as FolderItem >>>>> >>>>> db=New REALdatabase >>>>> db.databaseFile=f >>>>> If db.CreateDatabaseFile then >>>>> //proceed with database operations... >>>>> >>>>> I downloaded a demo 'V4RB_2' and found a plugin inside, but I don't >>>>> know how to create a new valentina file via rb code. >>> >>> You should change 1 string in your code: >>> >>> Db = new VRBDataBase >>> >>> The rest of code must work. >>> >>> But it will work in 2.0.2 release. >>> I will try to prepare example. >> I tried this, and it does not work with 2.0.1 I 'll try again with 2.0.2 as you said >> 1. The Valentina database files are stored in a database folder, like >> REALDatabase? (so I assign a folder to the db.databasefile?) > > No. you can put Valentina db file(s) when you want. > so, the new file(s) are created and controlled automatically by the plugin? >> 2. Tables with indexed fields on REALDatabase are querried faster, but >> insert records slower. With valentina, is it a performance problem to >> have one or two fields per table always indexed, or is this a bad >> practice too? > > This is rule for ANY db. > You must have indexes. And often you should have a lots of indexes. > This is trade of. Do you advise me to never drop the two main table indexes? Currently I drop the indexes when I am in 'insert records' mode, to gain some speed, and I create again the indexes when I do 'querries' Is there anywhere on the net some 'general speed tips' for database operations that I could read? I have rather limited knowledge of databases and SQL :( > >> 3. Any performance tips for valentina and RB? (I want to use my RB app >> on some older slower machines (233Mhz macs and 500Mhz celerons) and >> still have decent performance. > > This is deep question. You will find asnwers step by step. > Here a lots of aspects. ok. thank you! :) From sunshine at public.kherson.ua Sun Apr 3 00:18:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 2 20:10:42 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: Message-ID: On 4/2/05 6:58 PM, "Kem Tekinay" wrote: > On 4/2/05 2:13 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> In fact please check our example API_way/IndexByWords >> >> It have this feature. >> >> Does example work for you ? > > Yes, it does. > > I'll send the crash log now in a note, and try to create a project later. > > BTW, I narrowed it down. When FindStartsWith does not find any matches, it > returns nil. Attempting a union between a bitset and nil causes the crash. > > I'll attach this to the note as well. So you mean that crash if PARAMETER of FindStartsWith() is null ? Ivan, please check this. Also please check all family of these functions. -- 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 Sat Apr 2 21:27:45 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat Apr 2 20:27:55 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: Message-ID: On 4/2/05 4:18 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > So you mean that crash if PARAMETER of FindStartsWith() is null ? No. If FindStartsWith does not find any matches, it returns nil. For example, if my data has "123" and "1234" in it, and I use fld.FindStartsWith("123"), I get a good VSet. But fld.FindStartsWith("567") returns nil. If I use fld.FindContains("888"), I properly get an empty VSet. The crash occurs is I try a Union with nil. For example, where bs is a valid VSet, bs.Union(nil) will crash. __________________________________________________________________________ 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 gregkowalski at earthlink.net Sat Apr 2 22:13:16 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Sat Apr 2 21:14:54 2005 Subject: V4MD 2 basic problems Message-ID: <529D3675-A3EE-11D9-B898-000393DAB46A@earthlink.net> Hello, I downloaded V4MD version 2 - unregistered - and am finding very difficult to do any testing. Most irritating is that code that worked a moment ago gives errors and stops working. I mean ALL the code... for example, none of the following works... on startmovie Valentina.debugLevel = #kLogParams Valentina.logToMessageWindow = true Valentina.logToFile(true, false) valentina.init ( 8 * 1024 * 1024, "", "") gdb = new(Xtra "VDatabase", #kLocal) end Every single line gives an error... Why? Thanks Greg From sunshine at public.kherson.ua Sun Apr 3 09:58:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 00:58:33 2005 Subject: Valentina 2.0 and RB 5.5 In-Reply-To: <1318c575e41dfe486f4f806356e2741a@helmug.gr> Message-ID: On 4/2/05 11:31 PM, "Dimitris Tsarouhas" wrote: >>>> 6. What do I need to do to create and connect to a new valentina 2.0 >>>> db? >>>> I currently (with RB database) do >>>> >>>> dim db as realdatabase >>>> Dim f as FolderItem >>>> >>>> db=New REALdatabase >>>> db.databaseFile=f >>>> If db.CreateDatabaseFile then >>>> //proceed with database operations... >>>> >>>> I downloaded a demo 'V4RB_2' and found a plugin inside, but I don't >>>> know how to create a new valentina file via rb code. >> >> You should change 1 string in your code: >> >> Db = new VRBDataBase >> >> The rest of code must work. >> >> But it will work in 2.0.2 release. >> I will try to prepare example. > > This is very very interesting! So I can upgrade with no time lost! > I will test 2.0.2. > > Until then, I have some questions: > 1. The Valentina database files are stored in a database folder, like > REALDatabase? (so I assign a folder to the db.databasefile?) No. you can put Valentina db file(s) when you want. > 2. Tables with indexed fields on REALDatabase are querried faster, but > insert records slower. With valentina, is it a performance problem to > have one or two fields per table always indexed, or is this a bad > practice too? This is rule for ANY db. You must have indexes. And often you should have a lots of indexes. This is trade of. > 3. Any performance tips for valentina and RB? (I want to use my RB app > on some older slower machines (233Mhz macs and 500Mhz celerons) and > still have decent performance. This is deep question. You will find asnwers step by step. Here a lots of aspects. > 4. When would I need to use the file 'DisableRBDB' ? You want to use RBDB, you YOU -- NEVER. > 5. If I start with the Valentina 2 for RB win+mac (single user) how > much would it be if I decide to upgrade to the client server valentina > 2 win+mac version? (for use with my RB application?) Lynn ? > Thank you in advance for your help > Dimitris Tsarouhas > >> -- >> Best regards, >> Serge >> > -- 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 Apr 3 10:25:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 01:25:50 2005 Subject: Valentina 2.0 and RB 5.5 In-Reply-To: <2c46c8ed381cf94a6d8ad8e0d89439a4@helmug.gr> Message-ID: On 4/3/05 1:37 AM, "Dimitris Tsarouhas" wrote: >>> 1. The Valentina database files are stored in a database folder, like >>> REALDatabase? (so I assign a folder to the db.databasefile?) >> >> No. you can put Valentina db file(s) when you want. >> > so, the new file(s) are created and controlled automatically by the > plugin? May be I do not correctly understand your question. Please formulate question again. Valentina put db files where you will specify in db.Create or db.open() >>> 2. Tables with indexed fields on REALDatabase are querried faster, but >>> insert records slower. With valentina, is it a performance problem to >>> have one or two fields per table always indexed, or is this a bad >>> practice too? >> >> This is rule for ANY db. >> You must have indexes. And often you should have a lots of indexes. >> This is trade of. > Do you advise me to never drop the two main table indexes? Of course no. Even do not pay many attention to this. Only if you will meet real problems then it needs study them. > Currently I > drop the indexes when I am in 'insert records' mode, to gain some > speed, Many inserts ? Ah, yes, this trick can work. Although you should do really many inserts comparing to the current record number. > and I create again the indexes when I do 'querries' > Is there anywhere on the net some 'general speed tips' for database > operations that I could read? I have rather limited knowledge of > databases and SQL :( Hard to say. Each db can have own "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 sunshine at public.kherson.ua Sun Apr 3 10:26:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 01:27:09 2005 Subject: [V4RB2] FindLike is also case sensitive In-Reply-To: Message-ID: On 4/3/05 2:20 AM, "Kem Tekinay" wrote: > I assume that the case-sensitivity of the class-way fld.FindLike is related > to the case sensitivity of the SQL-way LIKE? If not, I will report it as a > separate bug. Hi Kem, Actually Ivan have resolve this task. And next build will contains LIKE which look at Field.CollationAttribute -- 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 Sun Apr 3 10:45:22 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Sun Apr 3 01:45:36 2005 Subject: V4MD 2 basic problems References: <529D3675-A3EE-11D9-B898-000393DAB46A@earthlink.net> Message-ID: <000801c53821$17aa2530$3b04a8c0@giv> Hi Gregory, > I downloaded V4MD version 2 - unregistered - and am finding very > difficult to do any testing. > > Most irritating is that code that worked a moment ago gives errors and > stops working. > > I mean ALL the code... What is the exact error code you've got? -- 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 Sun Apr 3 11:05:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 03:05:28 2005 Subject: [V4RB2] FindStartsWith crashes app In-Reply-To: Message-ID: On 4/3/05 5:27 AM, "Kem Tekinay" wrote: > On 4/2/05 4:18 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> So you mean that crash if PARAMETER of FindStartsWith() is null ? > > No. If FindStartsWith does not find any matches, it returns nil. > > For example, if my data has "123" and "1234" in it, and I use > fld.FindStartsWith("123"), I get a good VSet. But fld.FindStartsWith("567") > returns nil. > > If I use fld.FindContains("888"), I properly get an empty VSet. Actually FindContains() also should return nil. It is better because then we eat LESS Memory. And we do not spend time to create/delete set objects. > The crash occurs is I try a Union with nil. For example, where bs is a valid > VSet, bs.Union(nil) will crash. Kem, It is YOUR responsibility to check nil pointers. But yes, bs.Union(nil) should not crash. Ivan fix this right now -- 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 Apr 3 11:08:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 03:08:13 2005 Subject: V4MD 2 basic problems In-Reply-To: <000801c53821$17aa2530$3b04a8c0@giv> Message-ID: On 4/3/05 10:45 AM, "Igor Gomon" wrote: > Hi Gregory, > >> I downloaded V4MD version 2 - unregistered - and am finding very >> difficult to do any testing. >> >> Most irritating is that code that worked a moment ago gives errors and >> stops working. >> >> I mean ALL the code... > What is the exact error code you've got? Gregory, Is this ERR_TIMEOUT ? If yes, then may be you have download it on start of 2.0 ? Check our site, there was fix for V4MD WIN that TIMEOUT error was throw too soon, Not after 10 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 Claudius at sailer-online.de Sun Apr 3 20:17:23 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Apr 3 14:08:21 2005 Subject: [V4RB2] - Can't build application with not-pro RB version In-Reply-To: <3cefffd30e5c42c8bc7789930760ac57@tiscalinet.it> References: <3cefffd30e5c42c8bc7789930760ac57@tiscalinet.it> Message-ID: Hello Erne, Am 03. Apr 2005 um 19:33 Uhr schrieb erne: > Hello Ruslan, > > trying to build ViSql with V4RB 2.0.1 RB complains that I can't build > an app using database access if I don't have the Pro version > > Does ViSql use the RB database api or we just can't use Vale with > non-pro RB anymore? do a file in the PlugIn-Folder of RB with the name DisableRBDB it doesn't matter what kind of file. This is running here. bye Claudius _______________________________________________ Valentina-beta mailing list Valentina-beta@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-beta From ktekinay at mactechnologies.com Sun Apr 3 16:32:05 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 3 15:32:12 2005 Subject: [V4RB2] Union problem Message-ID: I am having a problem with Union using the Class-way. The following code complains of a type mismatch error (expected VBitSet but got VSet): dim bs, bs1 as VBitSet bs = tbl.SelectNoneRecords // This is ok bs1 = tbl.fld.FindContains( something ) // This is ok if bs1 <> nil then bs = bs.Union( bs1 ) // Type mismatch error If I dim bs and bs1 as VSet instead, this works, but I don't know how to coerce bs into a VBitSet after that. The way the documentation reads, I should be able to do what I want to do as long as bs and bs1 are both of the same class. Have I missed something? __________________________________________________________________________ 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 Sun Apr 3 23:42:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 15:42:13 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/3/05 11:32 PM, "Kem Tekinay" wrote: > I am having a problem with Union using the Class-way. The following code > complains of a type mismatch error (expected VBitSet but got VSet): > > dim bs, bs1 as VBitSet > > bs = tbl.SelectNoneRecords // This is ok > bs1 = tbl.fld.FindContains( something ) // This is ok > if bs1 <> nil then bs = bs.Union( bs1 ) // Type mismatch error Strange. VBitSet is subclass of Vset. May be bug of RB ? You can try this if bs1 <> nil then bs = bs.Union( (VSet) bs1 ) // Type mismatch error > If I dim bs and bs1 as VSet instead, this works, but I don't know how to > coerce bs into a VBitSet after that. bs as VSet bs1 as VBitset To coerce one of syntaxes (not remember which one in RB works) bs1 = VBitset( bs ) Or bs1 = (Vbitset) bs > The way the documentation reads, I should be able to do what I want to do as > long as bs and bs1 are both of the same class. Have I missed something? -- 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 Apr 3 23:43:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 3 15:43:36 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/3/05 11:32 PM, "Kem Tekinay" wrote: > I am having a problem with Union using the Class-way. The following code > complains of a type mismatch error (expected VBitSet but got VSet): > > dim bs, bs1 as VBitSet > > bs = tbl.SelectNoneRecords // This is ok > bs1 = tbl.fld.FindContains( something ) // This is ok > if bs1 <> nil then bs = bs.Union( bs1 ) // Type mismatch error It complains because Union returns Vset. But you try assign to to bs which is VBitSet1 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 ktekinay at mactechnologies.com Sun Apr 3 16:50:24 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 3 15:50:45 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/3/05 4:42 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > To coerce one of syntaxes (not remember which one in RB works) > > bs1 = VBitset( bs ) > Or > bs1 = (Vbitset) bs It's the second syntax, and I should have been clear: I already tried that and I get and IllegalCastException at runtime. __________________________________________________________________________ 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 Sun Apr 3 17:09:59 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 3 16:10:05 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/3/05 4:43 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > It complains because Union returns Vset. > But you try assign to to bs which is VBitSet1 > > You see? Yes, but the Valentina_Kernel_2 documentation reads on page 89: > Union( inRightSet as VSet ) as Vset > > Executes a union of this set with the > inRightSet. The result becomes this set. Such an operation is said to be "in > place". > > NOTE: BOTH SETS MUST BE OF THE SAME TYPE (BITSET OR ARRAYSET). <<<---- The 4RB_Refeerence_2_en says the same thing on page 134. If you're telling me now that they must both be cast as VSet, that's fine, except, as I said in the last e-mail, I can't seem to find a way to turn a VSet into a VBitSet or a VArraySet without RB complaining. I think there should be constructors like VBitSet( inSet as VSet ) and VArraySet( inSet as VSet ) that would handle the conversion for me. Should I report this in Mantis and send a project? __________________________________________________________________________ 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 mitsakos at helmug.gr Mon Apr 4 01:39:06 2005 From: mitsakos at helmug.gr (Dimitris Tsarouhas) Date: Sun Apr 3 17:39:14 2005 Subject: Valentina 2.0 and RB 5.5 In-Reply-To: References: Message-ID: <294b1cbd2aa09b2c2b68adb2d53955bb@helmug.gr> On ??? 03, 2005, at 9:58 ??, Ruslan Zasukhin wrote: > >> 5. If I start with the Valentina 2 for RB win+mac (single user) how >> much would it be if I decide to upgrade to the client server valentina >> 2 win+mac version? (for use with my RB application?) > > Lynn ? > I can't find such upgrade path officially. I hope there is a way. From lfredricks at proactive-intl.com Sun Apr 3 16:14:12 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Apr 3 18:14:28 2005 Subject: Valentina 2.0 and RB 5.5 In-Reply-To: <294b1cbd2aa09b2c2b68adb2d53955bb@helmug.gr> Message-ID: <20050403231412.87FA3111D8A@ladle.dreamhost.com> > >> 5. If I start with the Valentina 2 for RB win+mac (single > user) how > >> much would it be if I decide to upgrade to the client server > >> valentina > >> 2 win+mac version? (for use with my RB application?) > > > > Lynn ? We don't have an upgrade path officially yet for that. I can certainly say that we can offer the same $100 off that v1 customers have. If you've only used V4RB 2 Pro for a short time (a couple of months at most) then Id just apply the entire cost of V4RB 2 Pro towards whatever VDN membership you wanted. V4RB 2 Pro is $299, and VDN Platform Edition is $599, or $499 if you already have any V4RB 1.x product. With Platform, you are getting everything in V4RB Pro, with two years worth of upgrades, royalty free distribution of Embedded Server (five connections) copies of Valentina Office Server for internal use, and reseller discounting on Valentina Office Server. Also, VDN feature requests and fixes are given a higher priority. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From gregkowalski at earthlink.net Sun Apr 3 19:25:10 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Sun Apr 3 18:27:17 2005 Subject: V4MD basic problems Message-ID: <9F8B0012-A497-11D9-9CBA-000393DAB46A@earthlink.net> > I downloaded V4MD version 2 - unregistered - and am finding very > difficult to do any testing. > > Most irritating is that code that worked a moment ago gives errors and > stops working. > > I mean ALL the code... >> What is the exact error code you've got? I solved the problem checking out your example files. It turns out that I have to create an instance that is nowhere in the documentation (but in the examples): valentina = new (xtra "valentina") It seems to me this vital piece of information should be mentioned in the docs. (or is it? I couldn't find it) But I am still having a strange problem with the valentina.logToFile(true, false) expression: here is what I have: valentina = new (Xtra "valentina") valentina.debugLevel = #klogfunctions valentina.logToMessageWindow = true valentina.logToFile(true, false) valentina.init ( 8 * 1024 * 1024, "", "") gdb = new(Xtra "VDatabase", #kLocal) gdb.open(the moviepath & "v2test.vdb") 1. I type the code in and run it - it works fine. 2. I quit Director (MX - MAC) then launch director again and run the movie - CRASH! (it worked fine a moment ago!!) 3. I do the above several times to make sure. Crash always occurs with "valentina.logToFile(true, false)" 4.I launch Director again, delete "valentina.logToFile(true, false)", run the movie - wonderful. 5. I add "valentina.logToFile(true, false)" again run the movie - great. 6. I quit director, relaunch it and run the movie - crash again at "valentina.logToFile(true, false)" Go figure... Everything is OK though without "valentina.logToFile(true, false)" Also no matter what I do my log file is always blank... I can only get the functions to appear in the message window. I guess that's enough for now. Thanks for your help and attention Greg From mitsakos at helmug.gr Mon Apr 4 02:52:41 2005 From: mitsakos at helmug.gr (Dimitris Tsarouhas) Date: Sun Apr 3 18:52:49 2005 Subject: Valentina Embedded Server 5 Connections (for ever?) Message-ID: Hi! Let's say I become a VDN member for 2 years. From paradigmasoft website: > ...As a Valentina Developer Network member, you can deploy Valentina 2 > Embedded Server royalty free.... So if I build 30 different REALbasic applications based on valentina 5 user embedded server, all 30 applications will be 5 user applications? is this correct? > When you application initializes the runtime, Embedded Server > automatically supports five simultaneous connections. These > connections are ?unnamed? so it doesn?t matter....... > So, when the 2 years are over, the 5-user-database-application I wrote (with realbasic and V4RB) will ???? stop working ???? for my clients? Thanks in advance! Dimitris Tsarouhas Greece From lfredricks at proactive-intl.com Sun Apr 3 19:15:03 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Apr 3 21:15:12 2005 Subject: Answers on Embedded Server Licensing (was RE: Valentina Embedded Server 5 Connections (for ever?)) In-Reply-To: Message-ID: <20050404021503.CE4F717D013@spatula.dreamhost.com> > Let's say I become a VDN member for 2 years. > > From paradigmasoft website: > > ...As a Valentina Developer Network member, you can deploy > Valentina 2 > > Embedded Server royalty free.... > > So if I build 30 different REALbasic applications based on > valentina 5 user embedded server, all 30 applications will be > 5 user applications? > is this correct? Yes. The Embedded Server is initialized to allow five simultaneous connections. What you do in your REALbasic app is up to you. > > When you application initializes the runtime, Embedded Server > > automatically supports five simultaneous connections. These > > connections are "unnamed" so it doesn't matter....... > > > > So, when the 2 years are over, the > 5-user-database-application I wrote (with realbasic and V4RB) > will ???? stop working ???? for my clients? No! At the end of 2 years, unless you renew, you will not be entitled to newest updates to Embedded Server. But *you can still keep compiling with the version of Embedded Server* you had while your membership was still active. We think having apps die is crazy! Best regards, Lynn Fredricks President Paradigma Software, Inc From sunshine at public.kherson.ua Mon Apr 4 08:54:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 00:54:47 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/4/05 12:09 AM, "Kem Tekinay" wrote: >> It complains because Union returns Vset. >> But you try assign to to bs which is VBitSet1 >> >> You see? > > Yes, but the Valentina_Kernel_2 documentation reads on page 89: > >> Union( inRightSet as VSet ) as Vset >> >> Executes a union of this set with the >> inRightSet. The result becomes this set. Such an operation is said to be "in >> place". >> >> NOTE: BOTH SETS MUST BE OF THE SAME TYPE (BITSET OR ARRAYSET). <<<---- > > The 4RB_Refeerence_2_en says the same thing on page 134. > > If you're telling me now that they must both be cast as VSet, that's fine, > except, as I said in the last e-mail, I can't seem to find a way to turn a > VSet into a VBitSet or a VArraySet without RB complaining. I think there > should be constructors like VBitSet( inSet as VSet ) and VArraySet( inSet as > VSet ) that would handle the conversion for me. Everything is correct in the docs. Look again on your code: ------------------------------------ dim bs, bs1 as VBitSet bs = tbl.SelectNoneRecords // This is ok bs1 = tbl.fld.FindContains( something ) // This is ok if bs1 <> nil then bs = bs.Union( bs1 ) // Type mismatch error ------------------------------------ This line bs = bs.Union( bs1 ) // Type mismatch error Kem, this part is CORRECT bs.Union( bs1 ) Mistake is next. Union returns Vset. See docs above. So you must assign it to Vset. This will work dim bs, bs1 as VBitSet dim set as VSet bs = tbl.SelectNoneRecords bs1 = tbl.fld.FindContains( something ) if bs1 <> nil then set = bs.Union( bs1 ) -- 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 Apr 4 08:59:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 00:59:42 2005 Subject: Answers on Embedded Server Licensing (was RE: Valentina Embedded Server 5 Connections (for ever?)) In-Reply-To: <20050404021503.CE4F717D013@spatula.dreamhost.com> Message-ID: On 4/4/05 5:15 AM, "Lynn Fredricks" wrote: >>> When you application initializes the runtime, Embedded Server >>> automatically supports five simultaneous connections. These >>> connections are "unnamed" so it doesn't matter....... >>> >> >> So, when the 2 years are over, the >> 5-user-database-application I wrote (with realbasic and V4RB) >> will ???? stop working ???? for my clients? > > No! At the end of 2 years, unless you renew, you will not be entitled to > newest updates to Embedded Server. But *you can still keep compiling with > the version of Embedded Server* you had while your membership was still > active. > > We think having apps die is crazy! Lynn, may be it needs write on web site directly something as: End of subscription means that you stop get new upgrades, but you still can use your latest version of products as long as you want. To get newer versions you need subscribe to the next period. It seems people very often think that their apps will stop 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 Apr 4 09:00:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 01:00:29 2005 Subject: V4MD basic problems In-Reply-To: <9F8B0012-A497-11D9-9CBA-000393DAB46A@earthlink.net> Message-ID: On 4/4/05 2:25 AM, "Gregory Kowalski" wrote: > I solved the problem checking out your example files. It turns out > that I have to create an instance that is nowhere in the documentation > (but in the examples): > > valentina = new (xtra "valentina") > > It seems to me this vital piece of information should be mentioned in > the docs. (or is it? I couldn't find it) Aha. Okay Gregory, we will improve docs right today. -- 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 Apr 4 09:02:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 01:02:49 2005 Subject: V4MD basic problems In-Reply-To: <9F8B0012-A497-11D9-9CBA-000393DAB46A@earthlink.net> Message-ID: On 4/4/05 2:25 AM, "Gregory Kowalski" wrote: > > But I am still having a strange problem with the > valentina.logToFile(true, false) expression: > > here is what I have: > > valentina = new (Xtra "valentina") > valentina.debugLevel = #klogfunctions > > valentina.logToMessageWindow = true > valentina.logToFile(true, false) > valentina.init ( 8 * 1024 * 1024, "", "") > gdb = new(Xtra "VDatabase", #kLocal) > gdb.open(the moviepath & "v2test.vdb") > > 1. I type the code in and run it - it works fine. > > 2. I quit Director (MX - MAC) then launch director again and run the > movie - CRASH! (it worked fine a moment ago!!) So please send us - log of crash - this project for test. > 3. I do the above several times to make sure. Crash always occurs with > "valentina.logToFile(true, false)" > > 4.I launch Director again, delete "valentina.logToFile(true, false)", > run the movie - wonderful. > > 5. I add "valentina.logToFile(true, false)" again run the movie - great. > > 6. I quit director, relaunch it and run the movie - crash again at > "valentina.logToFile(true, false)" > > Go figure... > > Everything is OK though without "valentina.logToFile(true, false)" > > Also no matter what I do my log file is always blank... I can only get > the functions to appear in the message window. > > I guess that's enough for now. Aha, Gregory. Please download again archive from site! Problem with blank log was fixed 4-5 days ago. I think other problem will go away 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 mitsakos at helmug.gr Mon Apr 4 10:13:21 2005 From: mitsakos at helmug.gr (Dimitris Tsarouhas) Date: Mon Apr 4 02:13:28 2005 Subject: Answers on Embedded Server Licensing (was RE: Valentina Embedded Server 5 Connections (for ever?)) In-Reply-To: References: Message-ID: On ??? 04, 2005, at 8:59 ??, Ruslan Zasukhin wrote: > On 4/4/05 5:15 AM, "Lynn Fredricks" > wrote: > >>>> When you application initializes the runtime, Embedded Server >>>> automatically supports five simultaneous connections. These >>>> connections are "unnamed" so it doesn't matter....... >>>> >>> >>> So, when the 2 years are over, the >>> 5-user-database-application I wrote (with realbasic and V4RB) >>> will ???? stop working ???? for my clients? >> >> No! At the end of 2 years, unless you renew, you will not be entitled >> to >> newest updates to Embedded Server. But *you can still keep compiling >> with >> the version of Embedded Server* you had while your membership was >> still >> active. >> >> We think having apps die is crazy! > Thank you very much! I understand now! VDN Platform buys me a pro single user database ADK (the REALBasic win+mac+linux ADK for me), multiuser feature for 5 simultaneus users, two years of updates. office server is still quite difficult to understand. The REALBasic VDN is for me if I need multiuser 5 users (for free for ever) (and up with additional cost for my client) The REALBasic win+mac costs less but is only single user. > Lynn, may be it needs write on web site directly something as: > > End of subscription means that you stop get new upgrades, > but you still can use your latest version of products > as long as you want. > > To get newer versions you need subscribe to the next period. > > It seems people very often think that their apps will stop work. > Today, on the paradigma website, on the page with the top reasons to get with VDN, I found this information (that maintenance is about newest updates, and not functionality of embedded server). From ralf at end-if.de Mon Apr 4 12:06:32 2005 From: ralf at end-if.de (Ralf Sander) Date: Mon Apr 4 05:06:21 2005 Subject: Where did the legendary speed of Valentina remain? In-Reply-To: References: Message-ID: <3b0b45d7f5df1251e6e0e80e3ff1e768@end-if.de> Hi Ruslan, I did some quick tests with your sql example "Single Table" in version 1.1 and the new version 2. And I really can't believe the results. Almost 10 times slower? Is there something wrong in my tests or did Valentina go the way of almost every new application? Here are the results: 100.000 Records: query / first and second call v1 / first and second call v2 /result select * from Person where byte_fld=100 0.014 - 0.009 / 0.5 - 0.2 --> ca 374 records select * from Person where byte_fld >100 0.05 - 0.08 / 0.5 - 0.2 --> ca 58000 records select * from Person where string_fld='line 101' 0.03- 0.01 / 0.3 - 0.3 --> 1 record 200.000 Records select * from Person where byte_fld=100 0.01 - 0.01 / 0.4 - 0.4 --> ca 758 records select * from Person where byte_fld >100 0.09 - 0.16 / 0.8 - 1.16 --> ca 116000 records select * from Person where string_fld='line 101' 0.08- 0.01 / 0.95 - 0.61 --> 2 records Cheers, Ralf From peter.salomon at gmx.net Mon Apr 4 12:12:49 2005 From: peter.salomon at gmx.net (peter salomon) Date: Mon Apr 4 05:13:11 2005 Subject: [V4MD ValentinaStudio Mac] some questions Message-ID: <42511321.9000902@gmx.net> hi there, i?ve some questions, perhaps someone can help: using Vserver and V4MD and ValentinaStudio all the latest version 1. permissions: a. Db files created by V4MD2 in LOCAL mode: i?m as user the owner and have readwrite permissions i can work on files. OK b. DBfiles created by V4MD in REMOTE mode: system is the owner, user has no writepermissions. if i want to work with Db ( local OR remote mode) ican?t. I always must change settings manually via FinderInfo. Is there a possibility to set permissions to readwrite to DB for user AND system after creation ( local AND remote mode)? 2. ValentinaStudio2 i never mangaged to access VServer via ValentinaStudio. VServer is up (works with v4MD) I want to connect on "localhost" as "sa" "sa". if this id is not nkown issue, i report errormessage this evening ( as i remember it was "connection could not established" or st. like this). Is it a known problem of Mac ValentinsStudio or is it me? 3. SQL - API Question: i have a table "t" with e.g. 50 fields, one of them is named "test" in "test" records contain strings, sometimes repeated, i do not know what is in there e.g.: id 1 "aaa" id 2 "bbb" id 3 "aaa" id 4 "ccc" id 5 "ddd" id 6 "aaa" id 7 "bbb" i want to have cursor OR VSet containing all strings only ONE time: --> "aaa" , "bbb" , "ccc" , "ddd" As i understood API way this could be my concept of consructing step 1: first find and readout string in firstrecord in this case "aaa" step 2: find all records with "aaa" gives me Set with records 1,3,6 step 3: invert selection from table so i have remaining records 2,4,5,7 step 4: repeat while table has records: steps 1+3 again to find other strings but sounds a little bit complicated. perhaps you have better suggestions? i somewhere read that it?s better to avoid API Way on remote Client Server concepts. Is this because API way?s results contain always complete record and not selection of fields? regards, Peter From IvanSmahin at public.kherson.ua Mon Apr 4 13:25:59 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Apr 4 05:26:00 2005 Subject: [V4MD ValentinaStudio Mac] some questions In-Reply-To: <42511321.9000902@gmx.net> References: <42511321.9000902@gmx.net> Message-ID: <553829360.20050404132559@public.kherson.ua> Hello peter, Monday, April 4, 2005, 1:12:49 PM, you wrote: ps> 3. SQL - API Question: ps> i have a table "t" with e.g. 50 fields, one of them is named "test" ps> in "test" records contain strings, sometimes repeated, i do not know ps> what is in there ps> e.g.: ps> id 1 "aaa" ps> id 2 "bbb" ps> id 3 "aaa" ps> id 4 "ccc" ps> id 5 "ddd" ps> id 6 "aaa" ps> id 7 "bbb" ps> i want to have cursor OR VSet containing all strings only ONE time: --> ps> "aaa" , "bbb" , "ccc" , "ddd" In SQL way you can use just DISTINCT keyword: select DISTINCT f2 from T1 -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Mon Apr 4 13:41:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 05:42:01 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 3:25 AM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > VSet defines the functions Union, Difference, Intersection, etc., and the > documentation specifies that the subclasses VBitSet and VArraySet can use > them if both sides of the assignment are of the same class. But these > functions will only compile when used with VSet, not VBitSet or VArraySet. > Otherwise, you get a Type Mismatch error. > > The problem is that there is no obvious way to coerce a VSet into a > VBitSet or, especially, VArraySet, so, while you can get a Union, you > cannot use the methods associated with the subclasses such as > VArraySet.ItemAt. Hi Kem, I think this is false report. We have all you need. In the examples I was able do everything I was need. ANSWER: you can convert bitset into ArraySet using constructor of class ArraySet ArraySet( inBitSet as VBiteSet ) Exmaple dim bs as VBitSet dim as as VArraySet bs = fld.find( something ) as = new VarraySet( bs ) -- 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 Apr 4 13:51:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 05:51:55 2005 Subject: Where did the legendary speed of Valentina remain? In-Reply-To: <3b0b45d7f5df1251e6e0e80e3ff1e768@end-if.de> Message-ID: On 4/4/05 1:06 PM, "Ralf Sander" wrote: Hi Ralf, > I did some quick tests with your sql example "Single Table" in version > 1.1 and the new version 2. And I really can't believe the results. > Almost 10 times slower? Is there something wrong in my tests or did > Valentina go the way of almost every new application? You mean Examples / 1_x_Examples / (1) Single Table Do not worry, we will return back all speed :-) Just for now we work on correctness. We have NOT spend yet almost any time to optimize what we have. And the main is that all new mechanisms that we have built potentially are much faster. Of 1.x By the way. It needs yet look what this example do. Important point is that 2.0 DO NOT index fields on search, only on sort yet. So, if that example do not set flag fIndexed for fields, Then v2 do non-indexed searches (which 1.x cannot do at all btw). You can check this self. And it looks to be true. You do NON-indexed searches for 2.0. Because time of first and second run are comparable. > Here are the results: > 100.000 Records: > > query / first and second call v1 / first and second call v2 /result > select * from Person where byte_fld=100 0.014 - 0.009 / 0.5 - 0.2 > --> ca 374 records > select * from Person where byte_fld >100 0.05 - 0.08 / 0.5 - 0.2 > --> ca 58000 records > select * from Person where string_fld='line 101' 0.03- 0.01 / 0.3 > - 0.3 --> 1 record > > 200.000 Records > > select * from Person where byte_fld=100 0.01 - 0.01 / 0.4 - 0.4 > --> ca 758 records > select * from Person where byte_fld >100 0.09 - 0.16 / 0.8 - 1.16 > --> ca 116000 records > select * from Person where string_fld='line 101' 0.08- 0.01 / 0.95 > - 0.61 --> 2 records -- 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 ralf at end-if.de Mon Apr 4 13:26:31 2005 From: ralf at end-if.de (Ralf Sander) Date: Mon Apr 4 06:26:04 2005 Subject: Where did the legendary speed of Valentina remain? In-Reply-To: References: Message-ID: <01d6df104c8c55246579134523cd3a43@end-if.de> Hi Ruslan, Puh, it took a load of my mind. :-) I am acustomedc to be pained with decreased speed of new app versions, but did't expect it from Valentina. And it looks like I was right. You are right, the fields are not indexed. With index on, I get aproximately old values. For an unindex search, the results were quite fast, I think. Cheers, Ralf > On 4/4/05 1:06 PM, "Ralf Sander" wrote: > > Hi Ralf, > >> I did some quick tests with your sql example "Single Table" in version >> 1.1 and the new version 2. And I really can't believe the results. >> Almost 10 times slower? Is there something wrong in my tests or did >> Valentina go the way of almost every new application? > > You mean > Examples / 1_x_Examples / (1) Single Table > > Do not worry, we will return back all speed :-) > > Just for now we work on correctness. > We have NOT spend yet almost any time to optimize what we have. > > And the main is that all new mechanisms that we have built potentially > are > much faster. Of 1.x > > By the way. It needs yet look what this example do. > Important point is that 2.0 DO NOT index fields on search, > only on sort yet. > > So, if that example do not set flag fIndexed for fields, > Then v2 do non-indexed searches (which 1.x cannot do at all btw). > > You can check this self. And it looks to be true. You do NON-indexed > searches for 2.0. Because time of first and second run are comparable. > > >> Here are the results: >> 100.000 Records: >> >> query / first and second call v1 / first and second call v2 /result >> select * from Person where byte_fld=100 0.014 - 0.009 / 0.5 - 0.2 >> --> ca 374 records >> select * from Person where byte_fld >100 0.05 - 0.08 / 0.5 - 0.2 >> --> ca 58000 records >> select * from Person where string_fld='line 101' 0.03- 0.01 / 0.3 >> - 0.3 --> 1 record >> >> 200.000 Records >> >> select * from Person where byte_fld=100 0.01 - 0.01 / 0.4 - 0.4 >> --> ca 758 records >> select * from Person where byte_fld >100 0.09 - 0.16 / 0.8 - >> 1.16 >> --> ca 116000 records >> select * from Person where string_fld='line 101' 0.08- 0.01 / >> 0.95 >> - 0.61 --> 2 records > > -- > 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 ktekinay at mactechnologies.com Mon Apr 4 09:23:57 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 4 08:24:12 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/4/05 1:54 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > So you must assign it to Vset. > This will work > > dim bs, bs1 as VBitSet > dim set as VSet > > bs = tbl.SelectNoneRecords > bs1 = tbl.fld.FindContains( something ) > if bs1 <> nil then > set = bs.Union( bs1 ) Yes, this does work. Thank you. But I still need help with the next part. How do I turn the VSet into a VArraySet? I've tried: dim arrSet as VArraySet arrSet = new VArraySet(set) // Wrong parameter arrSet = VArraySet(set) // Compiles, but IllegalCastException at runtime __________________________________________________________________________ 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 Mon Apr 4 16:33:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 08:33:36 2005 Subject: [V4RB2] Union problem In-Reply-To: Message-ID: On 4/4/05 4:23 PM, "Kem Tekinay" wrote: > On 4/4/05 1:54 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> So you must assign it to Vset. >> This will work >> >> dim bs, bs1 as VBitSet >> dim set as VSet >> >> bs = tbl.SelectNoneRecords >> bs1 = tbl.fld.FindContains( something ) >> if bs1 <> nil then >> set = bs.Union( bs1 ) > > Yes, this does work. Thank you. > > But I still need help with the next part. How do I turn the VSet into a > VArraySet? I've tried: > > dim arrSet as VArraySet > > arrSet = new VArraySet(set) // Wrong parameter > arrSet = VArraySet(set) // Compiles, but IllegalCastException at runtime Hi Kem, But what is set ? Where from and HOW you have get it? As result of search ? Then I assume this is VBitSet. So let's check your code: > dim arrSet as VArraySet > arrSet = new VArraySet(set) // Wrong parameter This not works because NOT exists constructor of VArraySet that accept Vset. Exists constructor which access VBitSet. This is why compiler complains. I think you can make it working usng arrSet = new VArraySet( VBitSet(set) ) > arrSet = VArraySet(set) // Compiles, but IllegalCastException at runtime It fails because you have BY FORCE told compiler That set is VArraySet, but I think in reality it is VBitSet. This is why you get exception at runtime. THE BEST WAY is: dim bs as VBitSet dim as as VArraySet bs = fld.Find() // get result as VBitSet. Do not cast it to Vset. as = new ArraySet( bs ) -- 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 Apr 4 09:40:21 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 4 08:41:02 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 6:41 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I think this is false report. > We have all you need. > > In the examples I was able do everything I was need. > > ANSWER: > > you can convert bitset into ArraySet using constructor > of class ArraySet > > ArraySet( inBitSet as VBiteSet ) > > Exmaple > > dim bs as VBitSet > dim as as VArraySet > > bs = fld.find( something ) > > as = new VarraySet( bs ) No, no, not a VBitSet into a VArraySet. I know that works, but that's NOT the report. I can't turn a *VSET* into a VArraySet. How do I get the VSet returned by Union, Difference, etc., into a VArraySet? The example above should be: dim bitset1, bitset2 as VBitSet dim set1 as VSet dim arrSet as VArraySet bitset1 = fld.FindStartsWith( something ) bitset2 = fld.FindStartsWith( somethingElse ) set1 = bitset1.Union( bitset2 ) // So far, so good arrSet = VArraySet( set1 ) // IllegalCastException at runtime arrSet = new VArraySet( set1 ) // Wrong type of parameter And, frankly, this seems the wrong behavior anyway. If I create a Union between two VArraySet, why should my result be a VSet rather than a VArraySet? This is especially true since the VSet is an abstract class according to the Kernel reference. I'm sorry if I'm being a pain about this, but the only solution I can come up with is to create a VSetIterator and place all the recIDs into my own array, but that seems like a slow way to do it. __________________________________________________________________________ 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 Mon Apr 4 16:45:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 08:45:07 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 4:40 PM, "Kem Tekinay" wrote: > I can't turn a *VSET* into a VArraySet. Kem, but NOT exists just a Vset. Vset -- this is abstract class. You cannot have objects of Vset class. You can have only objects of VBitSet or VArraySet. > How do I get the VSet returned by > Union, Difference, etc., into a VArraySet? > > The example above should be: > > > dim bitset1, bitset2 as VBitSet > dim set1 as VSet > dim arrSet as VArraySet > > bitset1 = fld.FindStartsWith( something ) > bitset2 = fld.FindStartsWith( somethingElse ) > > set1 = bitset1.Union( bitset2 ) // So far, so good ^^^^^ this is VBitSet object in reality. I think if you will open it in RB debugger right here you will see that this is VBitSet. > arrSet = VArraySet( set1 ) // IllegalCastException at runtime > arrSet = new VArraySet( set1 ) // Wrong type of parameter Correct line: arrSet = new VArraySet( VBitSet(set1) ) > And, frankly, this seems the wrong behavior anyway. If I create a Union > between two VArraySet, why should my result be a VSet rather than a > VArraySet? This is especially true since the VSet is an abstract class > according to the Kernel reference. > > I'm sorry if I'm being a pain about this, but the only solution I can come > up with is to create a VSetIterator and place all the recIDs into my own > array, but that seems like a slow way to 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 ktekinay at mactechnologies.com Mon Apr 4 09:55:31 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 4 08:55:41 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 9:45 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Kem, but NOT exists just a Vset. > > Vset -- this is abstract class. You cannot have objects of Vset class. > > You can have only objects of VBitSet or VArraySet. AAARRGGH! Didn't you just tell me, in an e-mail this morning, that the way to use Union was to assign it to a VSet??? In fact, you wrote: > This line > > bs = bs.Union( bs1 ) // Type mismatch error > > Kem, this part is CORRECT > > bs.Union( bs1 ) > > Mistake is next. Union returns Vset. See docs above. > So you must assign it to Vset. <<<<<-----************ > This will work > > dim bs, bs1 as VBitSet > dim set as VSet > > bs = tbl.SelectNoneRecords > bs1 = tbl.fld.FindContains( something ) > if bs1 <> nil then > set = bs.Union( bs1 ) > So now I'm back to the problem I reported: Union returns a VSet, and there is no way to turn that VSet into a VArraySet. Your recommendation does NOT work: > Correct line: > > arrSet = new VArraySet( VBitSet(set1) ) This results in an IllegalCastException. __________________________________________________________________________ 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 maxprog at mac.com Mon Apr 4 16:41:46 2005 From: maxprog at mac.com (Stan Busk) Date: Mon Apr 4 09:41:57 2005 Subject: [V4RB] Valentina Studio 1 still available? Message-ID: <2b763920825ef1ef6e0ba925380e7473@mac.com> Is Valentina Studio 1 available somewhere? I need to check a v1 database but I can't find it anymore. tia, stan From j.peters at valentina-db.de Mon Apr 4 16:52:37 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Apr 4 09:52:51 2005 Subject: [V4MD ValentinaStudio Mac] some questions Message-ID: <22e5dff18991eed6c54659ae07846734@valentina-db.de> Hi Peter, the current Valentina Studio Beta can NOT connect to the latest Valentina Server! I am just working on this issue! A new Valentina Studio version will be available soon which will fix this issue. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Mon Apr 4 18:15:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 10:15:10 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 4:55 PM, "Kem Tekinay" wrote: > So now I'm back to the problem I reported: Union returns a VSet, and there > is no way to turn that VSet into a VArraySet. Your recommendation does NOT > work: > >> Correct line: >> >> arrSet = new VArraySet( VBitSet(set1) ) > > This results in an IllegalCastException. Send me 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 sunshine at public.kherson.ua Mon Apr 4 18:15:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 10:15:16 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 4:55 PM, "Kem Tekinay" wrote: >> Kem, but NOT exists just a Vset. >> >> Vset -- this is abstract class. You cannot have objects of Vset class. >> >> You can have only objects of VBitSet or VArraySet. > > AAARRGGH! > > Didn't you just tell me, in an e-mail this morning, that the way to use > Union was to assign it to a VSet??? In fact, you wrote: I have told that Union() returns Vset. This is very logical, because Union() works for both, VBitSet and VArraySet. So we return the Vset class which is parent of both. -- 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 Apr 4 14:36:18 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 4 13:37:16 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 11:15 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I have told that Union() returns Vset. > > This is very logical, because Union() works for both, VBitSet and VArraySet. > So we return the Vset class which is parent of both. Ruslan, We seem to be going around in a circle, so let me see if I can summarize this issue: - Doing a Find (like fld.FindStartsWith) returns a VBitSet. - Doing a Union with the results of that find (bs.Union(bs1)) returns a VSet. - Once you have the VSet, you cannot convert it back to a VBitSet or a VArraySet. If I am wrong, please provide the code that searches one field, searches another field, combines the results of those searches (Union), and then returns the result as a VArraySet. It seems to me that the problem is that Union returns VSet, an abstract class that we really shouldn't be using. Ideally it would return the same class as was used in the Union, or, at least, a VBitSet so we can convert that to a VArraySet if necessary. I have already sent you a project illustrating this, but I will soon send another, better one. __________________________________________________________________________ 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 Mon Apr 4 21:50:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 13:50:20 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 9:36 PM, "Kem Tekinay" wrote: >> I have told that Union() returns Vset. >> >> This is very logical, because Union() works for both, VBitSet and VArraySet. >> So we return the Vset class which is parent of both. > > Ruslan, > > We seem to be going around in a circle, so let me see if I can summarize > this issue: > > - Doing a Find (like fld.FindStartsWith) returns a VBitSet. > > - Doing a Union with the results of that find (bs.Union(bs1)) returns a > VSet. > > - Once you have the VSet, you cannot convert it back to a VBitSet or a > VArraySet. No. you can cast it back to VBitSet. this is very simply operation. Actually ZERO TIME. And you can CONVERT VBitSet into ArraySet. This is more complex operation. It require create new arraySet, then copy into it values from VBitSet. > If I am wrong, please provide the code that searches one field, searches > another field, combines the results of those searches (Union), and then > returns the result as a VArraySet. I have made this several times. This is again, and I add here bitset3 varaible to split operations into several lines. dim bitset1, bitset2, bitset3 as VBitSet dim set1 as VSet dim arrSet as VArraySet bitset1 = fld.FindStartsWith( something ) bitset2 = fld.FindStartsWith( somethingElse ) set1 = bitset1.Union( bitset2 ) bitset3 = VBitSet( set1 ) // this line just do cast. ZERO TIME. arrSet = new VArraySet( bitset3 ) // this line convert bitset into // array set > It seems to me that the problem is that Union returns VSet, an abstract > class that we really shouldn't be using. Ideally it would return the same > class as was used in the Union, or, at least, a VBitSet so we can convert > that to a VArraySet if necessary. I agree. It needs improve something here... > I have already sent you a project illustrating this, but I will soon send > another, better one. -- 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 Apr 4 15:13:13 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 4 14:13:23 2005 Subject: [V4RB 0000631]: VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. In-Reply-To: Message-ID: On 4/4/05 2:50 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > bitset3 = VBitSet( set1 ) // this line just do cast. ZERO TIME. As I have tried to explain several times, you CANNOT do this. This results in an IllegalCastException. I am sending you a small project now. If I am wrong, please send it back to me so it will run. __________________________________________________________________________ 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 gregkowalski at earthlink.net Mon Apr 4 15:13:12 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Mon Apr 4 14:15:18 2005 Subject: V4MD basic problem. In-Reply-To: <20050404100625.766762F6600@edison.macserve.net> References: <20050404100625.766762F6600@edison.macserve.net> Message-ID: <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> On Apr 4, 2005, at 6:06 AM, valentina-request@lists.macserve.net wrote: >> >> But I am still having a strange problem with the >> valentina.logToFile(true, false) expression: >> >> here is what I have: >> >> valentina = new (Xtra "valentina") >> valentina.debugLevel = #klogfunctions >> >> valentina.logToMessageWindow = true >> valentina.logToFile(true, false) >> valentina.init ( 8 * 1024 * 1024, "", "") >> gdb = new(Xtra "VDatabase", #kLocal) >> gdb.open(the moviepath & "v2test.vdb") >> >> 1. I type the code in and run it - it works fine. >> >> 2. I quit Director (MX - MAC) then launch director again and run the >> movie - CRASH! (it worked fine a moment ago!!) > > So please send us > > - log of crash > - this project for test. > >> 3. I do the above several times to make sure. Crash always occurs with >> "valentina.logToFile(true, false)" >> >> 4.I launch Director again, delete "valentina.logToFile(true, false)", >> run the movie - wonderful. >> >> 5. I add "valentina.logToFile(true, false)" again run the movie - >> great. >> >> 6. I quit director, relaunch it and run the movie - crash again at >> "valentina.logToFile(true, false)" >> >> Go figure... >> >> Everything is OK though without "valentina.logToFile(true, false)" >> >> Also no matter what I do my log file is always blank... I can only get >> the functions to appear in the message window. >> >> I guess that's enough for now. > > Aha, Gregory. Please download again archive from site! > Problem with blank log was fixed 4-5 days ago. > I think other problem will go away also. > > Hi again, I downloaded the xtra again only to find that it is the same version as the one i was using. The problems therefore persist. I'll be happy to send you the project, but all you have to do is paste the following few lines into a movie script, run it and watch it crash. global gDb global valentina on startmovie valentina = new (Xtra "valentina") valentina.debugLevel = #klogfunctions valentina.logToMessageWindow = true valentina.logToFile(true, false) valentina.init ( 8 * 1024 * 1024, "", "") gdb = new(Xtra "VDatabase", #kLocal) end on stopmovie gDb.close() valentina.shutdown() gdb = 0 end One more question: Where can I find info about Vcomponents and publishing? Do these have to be shipped with final product and installed??? Or does V4MD2 work just with the xtra as V4MD 1.1 did? Thanks Greg From gregkowalski at earthlink.net Mon Apr 4 15:22:10 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Mon Apr 4 14:24:14 2005 Subject: V4MD basic problems Message-ID: Forgot to mention I'm using V4MD2 MAC with Director MX. Greg From sunshine at public.kherson.ua Mon Apr 4 22:30:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 14:30:34 2005 Subject: V4MD basic problems In-Reply-To: Message-ID: On 4/4/05 10:22 PM, "Gregory Kowalski" wrote: > Forgot to mention I'm using V4MD2 MAC with Director MX. Just only was going to ask... -- 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 Apr 4 22:31:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 14:32:03 2005 Subject: V4MD basic problem. In-Reply-To: <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> Message-ID: On 4/4/05 10:13 PM, "Gregory Kowalski" wrote: Hi Gregory, > One more question: > > Where can I find info about Vcomponents and publishing? Do these have > to be shipped with final product and installed??? Or does V4MD2 work > just with the xtra as V4MD 1.1 did? You need just copy all files from VComponents folder into your Appfolder Which contains projector. -- 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 Apr 4 22:37:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 14:37:55 2005 Subject: V4MD basic problem. In-Reply-To: <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> Message-ID: On 4/4/05 10:13 PM, "Gregory Kowalski" wrote: > Hi again, > > I downloaded the xtra again only to find that it is the same version as > the one i was using. The problems therefore persist. > > I'll be happy to send you the project, but all you have to do is paste > the following few lines into a movie script, run it and watch it crash. > > > global gDb > global valentina > > on startmovie > valentina = new (Xtra "valentina") > valentina.debugLevel = #klogfunctions > > valentina.logToMessageWindow = true > valentina.logToFile(true, false) > valentina.init ( 8 * 1024 * 1024, "", "") > gdb = new(Xtra "VDatabase", #kLocal) > end > > > > on stopmovie > gDb.close() > valentina.shutdown() > gdb = 0 > end So what steps to see problem? Run 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 giv at tlc.kherson.ua Mon Apr 4 22:57:48 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Apr 4 14:57:51 2005 Subject: V4MD basic problem. References: <20050404100625.766762F6600@edison.macserve.net> <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> Message-ID: <005b01c53950$9356bfb0$3b04a8c0@giv> Hi Gregory, Just to clarify: have you downloaded the installer for V4MD 2 and installed it first? Also make sure you have only one Valentina Xtra in the Director folder. You cannot mix Valentina 1.x & Valentina 2.x Xtras. Does Valentina 2.x examples works for you? -- 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 Mon Apr 4 23:23:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 15:23:33 2005 Subject: V4MD basic problem. In-Reply-To: <005b01c53950$9356bfb0$3b04a8c0@giv> Message-ID: On 4/4/05 10:57 PM, "Igor Gomon" wrote: > Hi Gregory, > > Just to clarify: have you downloaded the installer for V4MD 2 > and installed it first? Yes he have do > Also make sure you have only one Valentina Xtra in the Director > folder. You cannot mix Valentina 1.x & Valentina 2.x Xtras. > > Does Valentina 2.x examples 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 sunshine at public.kherson.ua Mon Apr 4 23:37:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 15:37:49 2005 Subject: V4MD basic problem. In-Reply-To: <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> Message-ID: On 4/4/05 10:13 PM, "Gregory Kowalski" wrote: > > I'll be happy to send you the project, but all you have to do is paste > the following few lines into a movie script, run it and watch it crash. Gregory, Believe me, If I will try o this, I can do something In other way, And I will not see your problem. Please make this simple project and send to me. Write STEPS TO DO to see 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 peter.salomon at gmx.net Mon Apr 4 22:44:00 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Mon Apr 4 15:44:07 2005 Subject: V4MD basic problem. In-Reply-To: <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> References: <20050404100625.766762F6600@edison.macserve.net> <96C06C12-A53D-11D9-A4F3-000393DAB46A@earthlink.net> Message-ID: <525846db91faa6d16798828e3927b1b5@gmx.net> Hi Gregory, i tried your moviescript with the same result: crash! test this way, it works fine on my machine: global gDb global valentina on startmovie valentina = new (Xtra "valentina") valentina.init ( 8 * 1024 * 1024, "", "") valentina.logToFile(true, false) valentina.debugLevel = #klogfunctions valentina.logToMessageWindow = true gdb = new(Xtra "VDatabase", #kLocal) end on stopmovie gDb.close() valentina.shutdown() gdb = 0 end Am 04.04.2005 um 21:13 schrieb Gregory Kowalski: > but all you have to do is paste the following few lines into a movie > script, run it and watch it crash. > > > global gDb > global valentina > > on startmovie > valentina = new (Xtra "valentina") > valentina.debugLevel = #klogfunctions > > valentina.logToMessageWindow = true > valentina.logToFile(true, false) > valentina.init ( 8 * 1024 * 1024, "", "") > gdb = new(Xtra "VDatabase", #kLocal) > end > > > > on stopmovie > gDb.close() > valentina.shutdown() > gdb = 0 > end > From sunshine at public.kherson.ua Mon Apr 4 23:58:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 15:58:20 2005 Subject: V4MD basic problem. In-Reply-To: <525846db91faa6d16798828e3927b1b5@gmx.net> Message-ID: On 4/4/05 11:44 PM, "Peter Salomon" wrote: > Hi Gregory, > i tried your moviescript with the same result: crash! > > test this way, it works fine on my machine: > > > global gDb > global valentina > > on startmovie > valentina = new (Xtra "valentina") > valentina.init ( 8 * 1024 * 1024, "", "") > valentina.logToFile(true, false) > valentina.debugLevel = #klogfunctions > valentina.logToMessageWindow = true > gdb = new(Xtra "VDatabase", #kLocal) > end Aha, yes of course! Valentina.Init() MUST BE the first call to engine. Especially on Mac OS. Thank you Peter for 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 peter.salomon at gmx.net Mon Apr 4 23:56:19 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Mon Apr 4 16:56:25 2005 Subject: [V4MD] diagnose Message-ID: <185b9924663282f7fc09398353cc00f7@gmx.net> hi all, which is the correct syntax for diagnose a db? as i understood, DIAGNOSE is an SQL command, so i used gDB.sqlexecute("diagnose mydb") i get error ERROR: 462848 and even if i find corrupted file - what is to do next? regards, peter From sunshine at public.kherson.ua Tue Apr 5 01:01:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 4 17:01:36 2005 Subject: [V4MD] diagnose In-Reply-To: <185b9924663282f7fc09398353cc00f7@gmx.net> Message-ID: On 4/5/05 12:56 AM, "Peter Salomon" wrote: > hi all, > > which is the correct syntax for diagnose a db? DIAGNOSE DATABASE [ normal | high | veryhigh ] DIAGNOSE Table tblname [ normal | high | veryhigh ] DIAGNOSE Field tbl.fld [ normal | high | veryhigh ] > as i understood, DIAGNOSE is an SQL command, so i used > gDB.sqlexecute("diagnose mydb") > i get error > ERROR: 462848 No need set name gDB.sqlexecute("diagnose database" ) ^^^^ object know which db > and even if i find corrupted file - what is to do next? Rebuild db Get from backup Xml load dump -- 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 Tue Apr 5 07:13:17 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Tue Apr 5 00:13:25 2005 Subject: [V4RB] Valentina Studio 1 still available? Message-ID: <28483.62.154.199.179.1112677997.squirrel@webmail3.server-einstellung.de> Hi Stan, you can use the latest Valentina Studio 2b4 to open Valentina 1.x files. You do not need an older version! -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From Kurt.Klamp at abdnb.bayern.de Tue Apr 5 08:05:09 2005 From: Kurt.Klamp at abdnb.bayern.de (Klamp, Kurt) Date: Tue Apr 5 01:07:01 2005 Subject: AW: [V4RB] Valentina Studio 1 still available? Message-ID: <21674C363854D511B526006008F6B9CD01312B1E@ABDN-6.dir.abdnb.bayern.de> Hi Jochen, but you should add that there is a problem, which leads vStudio to show not all fields in structure browser (esp. method fields). Best, Kurt -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Jochen Peters Gesendet: Dienstag, 5. April 2005 07:13 An: maxprog@mac.com Cc: valentina@lists.macserve.net Betreff: Re: [V4RB] Valentina Studio 1 still available? Hi Stan, you can use the latest Valentina Studio 2b4 to open Valentina 1.x files. You do not need an older version! ----------------------------------- ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ From sunshine at public.kherson.ua Tue Apr 5 10:28:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 5 02:28:49 2005 Subject: Project for bug report 631 - better project In-Reply-To: Message-ID: On 4/4/05 11:10 PM, "Kem Tekinay" wrote: I see bug. Union really returns Vset object. But must return VBitSet. Argh. I will fix this now > The enclosed project shows how you can't run a search on two fields, do a > Union, and convert the result to a VArraySet or even a VBitSet. > > I sent another copy to ruslan@paradigmasoft.com. > > The project isn't urgent or a show-stopper because the actual project is > just an example of how to use Valentina with the ListBox subclass I am about > to market. I just want to make sure you acknowledge that there is a problem > so it can be fixed eventually. -- 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 Apr 5 11:06:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 5 03:06:44 2005 Subject: FIXED: problem with Union and sets Message-ID: Read more info on Mantis Now this code works dim tbl as VTbl_ZipCodes dim bitset1, bitset2, or_bitset as VBitSet dim arrSet as VArraySet tbl = gDB.TblZipCodes bitset1 = tbl.Zip_Code.FindStartsWith( "00210" ) bitset2 = tbl.Zip_Code.FindStartsWith( "00211" ) or_bitset = bitset1.Union( bitset2 ) // convert into ArraySet arrSet = new VArraySet( or_bitset ) -- 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 Tue Apr 5 11:05:22 2005 From: peter.salomon at gmx.net (peter salomon) Date: Tue Apr 5 04:05:32 2005 Subject: [V4MD Mac] importText Message-ID: <425254D2.6080603@gmx.net> hi all, i have a txt file, generated by EXCEL, export as TAB separated text. to fill one table of my database i use cursor funktion "importText". this works nice so farr. i get the complete table in correct order but my records contain wrong encoding words like "m%ller" i tried do to 1. setting db.encoding to "utf-8" import txt via importText: --> records contain wrong encoding words like "m%ller" 2. converting txt file to utf-16 using mac?s TextEdit import txt via importText: --> records contain wrong encoding words like "m%ller" --> order of columns is wrong so - what ca i do to import my excel sheet into Vtable correctly? any ideas? From sunshine at public.kherson.ua Tue Apr 5 12:46:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 5 04:46:35 2005 Subject: [V4MD Mac] importText In-Reply-To: <425254D2.6080603@gmx.net> Message-ID: On 4/5/05 12:05 PM, "peter salomon" wrote: > hi all, > > i have a txt file, generated by EXCEL, export as TAB separated text. > > to fill one table of my database i use cursor funktion "importText". > this works nice so farr. i get the complete table in correct order > > but my records contain wrong encoding words like "m%ller" > > i tried do to > 1. > setting db.encoding to "utf-8" > import txt via importText: > --> records contain wrong encoding words like "m%ller" > > 2. > converting txt file to utf-16 using mac?s TextEdit > import txt via importText: > --> records contain wrong encoding words like "m%ller" > --> order of columns is wrong > > so - what ca i do to import my excel sheet into Vtable correctly? any ideas? Hi Peter, 1) Can you send us THIS file, or its first lines? 2) what is actual encoding of this text file? Do you know this ? If you can please send us small project which make db and try import. This will speed up bug fix. -- 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 Apr 5 11:51:56 2005 From: giulio at cantoberon.it (Giulio) Date: Tue Apr 5 04:52:03 2005 Subject: Accessing a Vdb on a locked volume - addendum In-Reply-To: <20050401223351.44DBA2F42D9@edison.macserve.net> References: <20050401223351.44DBA2F42D9@edison.macserve.net> Message-ID: <3d7ea28c93d578b1c3ff64a0a4c9e2dd@cantoberon.it> following my post about trying to acces a valentina DB from an REALBasic app having both burned on a CD or DVD, I've found a on the documentation a db property called isreadonly: "Returns TRUE if this database is read only, i.e. it is located on the locked volume or files of databases are marked as read only." So can I assume that a db can be opened only for read from a burned support, right? But then how can I avoid to have an exception opening such a db? Thank you, Giulio From sunshine at public.kherson.ua Tue Apr 5 12:57:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 5 04:57:19 2005 Subject: Accessing a Vdb on a locked volume - addendum In-Reply-To: <3d7ea28c93d578b1c3ff64a0a4c9e2dd@cantoberon.it> Message-ID: On 4/5/05 12:51 PM, "Giulio" wrote: Hi Giulio, I afraid with CD can be still an issue(s). Just yesterday was fixed bug in Compressed BLOBs, which could affect also work with CD. We will again all test here with CDs. > following my post about trying to acces a valentina DB from an > REALBasic app having both burned on a CD or DVD, I've found a on the > documentation a db property called isreadonly: > > "Returns TRUE if this database is read only, i.e. it is located on the > locked volume or files of databases are marked as read only." > > So can I assume that a db can be opened only for read from a burned > support, right? YES OF COURSE. Only for Read. > But then how can I avoid to have an exception opening such a db? I think this is bug. Tell me please which field types you use ? Do you use compressed BLOBs? Pictures? Do you use SQL? Joins? GROUP BY ? Any other info ? -- 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 Tue Apr 5 12:50:57 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Apr 5 11:53:10 2005 Subject: RE V4MD basic problem In-Reply-To: <20050405060707.6F3932F7091@edison.macserve.net> References: <20050405060707.6F3932F7091@edison.macserve.net> Message-ID: > > test this way, it works fine on my machine: > > > global gDb > global valentina > > on startmovie > valentina = new (Xtra "valentina") > valentina.init ( 8 * 1024 * 1024, "", "") > valentina.logToFile(true, false) > valentina.debugLevel = #klogfunctions > valentina.logToMessageWindow = true > gdb = new(Xtra "VDatabase", #kLocal) > end > > > > on stopmovie > gDb.close() > valentina.shutdown() > gdb = 0 > end Thank you for your help, Peter. One question: my log file is always blank. Does yours log properly? Greg From peter.salomon at gmx.net Tue Apr 5 22:45:27 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Tue Apr 5 15:45:38 2005 Subject: RE V4MD basic problem In-Reply-To: References: <20050405060707.6F3932F7091@edison.macserve.net> Message-ID: Hi Greg, yes it normally does, i?ve set (true,true) for logfilefuction. But i?m not sure if it works in the way i sent to the list. in my initscripts functions are called in that way: Valentinaref.logToMessageWindow = true ValentinaRef.debugLevel = #kLogParams ValentinaRef.logToFile(true, true) sometimes logToMessageWindow does not work, it helps to type the line into the messageWindow again after valentina is started Make sure, thatyou use the latest version of V4MD, look into finder info, the date must be: 31.5.2005, 15.01, the earlier version had a bug with the logfile. regards, peter Am 05.04.2005 um 18:50 schrieb Gregory Kowalski: >> >> >> global gDb >> global valentina >> >> on startmovie >> valentina = new (Xtra "valentina") >> valentina.init ( 8 * 1024 * 1024, "", "") >> valentina.logToFile(true, false) >> valentina.debugLevel = #klogfunctions >> valentina.logToMessageWindow = true >> gdb = new(Xtra "VDatabase", #kLocal) >> end >> > > Thank you for your help, Peter. > > One question: my log file is always blank. Does yours log properly? > > Greg > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gregkowalski at earthlink.net Tue Apr 5 23:18:50 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Apr 5 22:20:58 2005 Subject: Obsolete Getref in V4MD2? Message-ID: <98A3BA62-A64A-11D9-AEC0-000393DAB46A@earthlink.net> Hello, There is an error in the V4MD_Reference_2_en.pdf documentation on page 95. it is for new (xtra "Vcursor"...) The example in the doc: set SQLstring to the text of member "SQLquery" setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), SQLstring) setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), SQLstring,kClient, kReadOnly, kForwardOnly ) is wrong. The "GetRef" expression will give an error. It looks like it's obsolete. It should be only "gMyDataBase" without "GetRef" set SQLstring to the text of member "SQLquery" setgCursor = new ( Xtra "VCursor", gMyDataBase, SQLstring) setgCursor = new ( Xtra "VCursor", gMyDataBase, SQLstring,kClient, kReadOnly, kForwardOnly) Greg From Claudius at sailer-online.de Wed Apr 6 06:38:23 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Apr 5 23:38:36 2005 Subject: Handling of Mantis Message-ID: <546aab5e2781028cc85ebbecb79d7c2f@sailer-online.de> Hi Mantis-Users, it would be nice when fixed calls/bugs from the users set to closed (after testing and when it is really fixed). So it is easier to decide, is something in status fixed and I want to do the same and have now to test completely or to know that this is tested and bug is really fixed. Thanks to all bye Claudius From Claudius at sailer-online.de Wed Apr 6 06:46:12 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Apr 5 23:46:20 2005 Subject: V4RB2 SQLSelect and SQLExecute Message-ID: Hi, I need on a lot of parts in my RB-Code SQLSelect and SQLExecute. How are you doing that? The same way or do you have a function where you have once SQLSelect/SQLExecute and as result the cursor? (makes it possibly eaier to catch VExeptions) thanks Claudius From sunshine at public.kherson.ua Wed Apr 6 10:27:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 02:27:54 2005 Subject: Obsolete Getref in V4MD2? In-Reply-To: <98A3BA62-A64A-11D9-AEC0-000393DAB46A@earthlink.net> Message-ID: On 4/6/05 6:18 AM, "Gregory Kowalski" wrote: > Hello, > > There is an error in the V4MD_Reference_2_en.pdf documentation on page > 95. > > it is for new (xtra "Vcursor"...) > > The example in the doc: > > set SQLstring to the text of member "SQLquery" > setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), SQLstring) > setgCursor = new ( Xtra "VCursor", GetRef( gMyDataBase), > SQLstring,kClient, kReadOnly, kForwardOnly ) > > is wrong. Argh, really wrong. Thank you, we will fix this > The "GetRef" expression will give an error. It looks like it's > obsolete. It should be only "gMyDataBase" without "GetRef" > > set SQLstring to the text of member "SQLquery" > setgCursor = new ( Xtra "VCursor", gMyDataBase, SQLstring) > setgCursor = new ( Xtra "VCursor", gMyDataBase, SQLstring,kClient, > kReadOnly, kForwardOnly) -- 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 Apr 6 10:31:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 02:32:07 2005 Subject: V4RB2 SQLSelect and SQLExecute In-Reply-To: Message-ID: On 4/6/05 7:46 AM, "Claudius Sailer" wrote: > Hi, > > I need on a lot of parts in my RB-Code SQLSelect and SQLExecute. > > How are you doing that? > The same way or do you have a function where you have once > SQLSelect/SQLExecute and as result the cursor? > (makes it possibly eaier to catch VExeptions) Hi Claudius, I think it is a good idea wrap them into single call. -- 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 Wed Apr 6 09:40:29 2005 From: giulio at cantoberon.it (Giulio) Date: Wed Apr 6 02:40:40 2005 Subject: Valentina Digest, Vol 28, Issue 14 In-Reply-To: <20050406072758.92B6C2F7CEE@edison.macserve.net> References: <20050406072758.92B6C2F7CEE@edison.macserve.net> Message-ID: <44595de7ac1f5c43fd83a8437969f853@cantoberon.it> Il giorno 06/apr/05, alle 9:27 AM, valentina-request@lists.macserve.net ha scritto: > > Hi Giulio, > > I afraid with CD can be still an issue(s). > > Just yesterday was fixed bug in Compressed BLOBs, which could affect > also > work with CD. > > We will again all test here with CDs. >> >> So can I assume that a db can be opened only for read from a burned >> support, right? > > YES OF COURSE. > > Only for Read. > >> But then how can I avoid to have an exception opening such a db? > > I think this is bug. > > Tell me please which field types you use ? > Do you use compressed BLOBs? Pictures? yes, I have a table with two picture fields > Do you use SQL? Joins? GROUP BY ? I use SQL, but I have the error ( -61 ) just at the beginning, trying to open the db > Any other info ? tryed on Mac OS X, RB 5.5.5, Valentina 2, I'm gojng to try also on Windows environment thank you, Giulio > -- > 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 b.seurot at laposte.net Wed Apr 6 10:15:01 2005 From: b.seurot at laposte.net (b.seurot) Date: Wed Apr 6 03:15:16 2005 Subject: V4MD, UTF8 & javascript ??? Message-ID: Is it possible to manipulate a Valentina database with the javascript syntax ? I tried, and don't success... for exemple, these simples : Valentina = new xtra("Valentina") Valentina.init(8 * 1024 * 1024, "my_mac_key", "my_Win_Key") the first line give me a valid object, but the second line give me an error : "Valentina.init is not a function" Could you help me ? Thanks ! :-) Acc?dez au courrier ?lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34?/mn) ; t?l : 08 92 68 13 50 (0,34?/mn) From sunshine at public.kherson.ua Wed Apr 6 15:27:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 07:27:58 2005 Subject: V4MD, UTF8 & javascript ??? In-Reply-To: Message-ID: On 4/6/05 11:15 AM, "b.seurot" wrote: > Is it possible to manipulate a Valentina database with the javascript syntax ? IN MACROMEDIA Director ? > I tried, and don't success... for exemple, these simples : > Valentina = new xtra("Valentina") > Valentina.init(8 * 1024 * 1024, "my_mac_key", "my_Win_Key") > the first line give me a valid object, but the second line give me an error : > "Valentina.init is not a function" You work in the Director ? As I see this is LINGO....so why you have ask before about javascript ? Aha, Igor say, that Director 2004 have support of JavaScript and Lingo. I do not think that JS will be able use V4MD Xtra. Only If Macromedia self can call any Xtra ? Anybody know? Java Script can use ANY Xtra automatically ? Or must be made some special work ? FYI: One of our developers have start integrate Valentina an JavaScript. Primary task for Valentina studio. Also I think we will use this in the Vserver as "stored procedures language". -- 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 Apr 6 15:35:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 07:35:35 2005 Subject: FIXED: Accessing a Vdb on a locked volume - addendum In-Reply-To: <3d7ea28c93d578b1c3ff64a0a4c9e2dd@cantoberon.it> Message-ID: On 4/5/05 12:51 PM, "Giulio" wrote: > following my post about trying to acces a valentina DB from an > REALBasic app having both burned on a CD or DVD, I've found a on the > documentation a db property called isreadonly: > > "Returns TRUE if this database is read only, i.e. it is located on the > locked volume or files of databases are marked as read only." > > So can I assume that a db can be opened only for read from a burned > support, right? > > But then how can I avoid to have an exception opening such a 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 joerg at folckers.de Wed Apr 6 14:56:59 2005 From: joerg at folckers.de (Joerg Folckers) Date: Wed Apr 6 07:57:13 2005 Subject: V4MD, UTF8 & javascript ??? In-Reply-To: References: Message-ID: Hi, Director MX 2004 understands JavaScript Syntax beside of Lingo. One can choose to use Lingo or JavaScript for a ScriptWindow. But this should not prove a problem. Maybe the Syntax in this case is simply different. J?rg At 15:27 +0300 06.04.2005, Ruslan Zasukhin wrote: >On 4/6/05 11:15 AM, "b.seurot" wrote: > >> Is it possible to manipulate a Valentina database with the javascript syntax ? > >IN MACROMEDIA Director ? > > >> I tried, and don't success... for exemple, these simples : > >> Valentina = new xtra("Valentina") >> Valentina.init(8 * 1024 * 1024, "my_mac_key", "my_Win_Key") > >> the first line give me a valid object, but the second line give me an error : >> "Valentina.init is not a function" > >You work in the Director ? > >As I see this is LINGO....so why you have ask before about javascript ? > >Aha, Igor say, that Director 2004 have support of JavaScript and Lingo. >I do not think that JS will be able use V4MD Xtra. >Only If Macromedia self can call any Xtra ? > >Anybody know?? > >Java Script can use ANY Xtra automatically ? >Or must be made some special work ? > > > >FYI: One of our developers have start integrate Valentina an JavaScript. >Primary task for Valentina studio. Also I think we will use this in the >Vserver as "stored procedures language". > > > > >-- >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 b.seurot at laposte.net Wed Apr 6 16:03:32 2005 From: b.seurot at laposte.net (b.seurot) Date: Wed Apr 6 09:03:47 2005 Subject: V4MD, UTF8 & javascript ??? Message-ID: Yes, I use javascript in director, because I have to work in UTF-8 and Lingo does not support it. Valentina = new xtra("Valentina"); is the syntax for javascript (the syntax for Lingo is Valentina=new (Xtra "Valentina")) the problem seems to come from the function init() Valentina.init(8*1024*1024, "", ""); so : - Valentina is not compatible with JS syntax - or the function is not the same in JS and in Lingo note : for exemple, with the FileIO extra,this exemple works : obj = new xtra("fileio"); ret=obj.openFile("path", 0); Acc?dez au courrier ?lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34?/mn) ; t?l : 08 92 68 13 50 (0,34?/mn) From sunshine at public.kherson.ua Wed Apr 6 17:11:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 09:11:26 2005 Subject: V4MD, UTF8 & javascript ??? In-Reply-To: Message-ID: On 4/6/05 5:03 PM, "b.seurot" wrote: > Yes, I use javascript in director, because I have to work in UTF-8 and Lingo > does not support it. Intresting. V4MD 2.0 was made with Lingo in mind, So we have not enable unicode for V4MD. Again, if this is possible then we must check this and enable unicode! > Valentina = new xtra("Valentina"); is the syntax for javascript > (the syntax for Lingo is Valentina=new (Xtra "Valentina")) > > the problem seems to come from the function init() > Valentina.init(8*1024*1024, "", ""); > so : > - Valentina is not compatible with JS syntax > - or the function is not the same in JS and in Lingo What about other functions from Valentina Xtra ? > note : for exemple, with the FileIO extra,this exemple works : > obj = new xtra("fileio"); > ret=obj.openFile("path", 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 b.seurot at laposte.net Wed Apr 6 17:21:58 2005 From: b.seurot at laposte.net (b.seurot) Date: Wed Apr 6 10:22:12 2005 Subject: V4MD 2.0 and UTF-8 Message-ID: There is no way for Valentina users who wants to use Unicode in their applications. Lingo does not support unicode, it was known. And from the next little test, the javascript syntax can't save the situation : function mouseUp(me){ myFlashTextArea.text=myFlashTextInput.text; } When I type Hindi or Japanese character in the flash-Textinput, flash can display them. but after pushing the button and the function being called, I get some ????? in the Flash Text Area... So If you can't write on the disk, there is no way for you... If you have this wonderfull chance, you could export an xml from your database and request in the xml with flash, integrated in your director application. Acc?dez au courrier ?lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34?/mn) ; t?l : 08 92 68 13 50 (0,34?/mn) From sunshine at public.kherson.ua Wed Apr 6 21:37:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 13:37:46 2005 Subject: V4MD 2.0 and UTF-8 In-Reply-To: Message-ID: On 4/6/05 6:21 PM, "b.seurot" wrote: > There is no way for Valentina users who wants to use Unicode in their > applications. Lingo does not support unicode, it was known. And from the next > little test, the javascript syntax can't save the situation : > > function mouseUp(me){ > myFlashTextArea.text=myFlashTextInput.text; > } > When I type Hindi or Japanese character in the flash-Textinput, flash can > display them. but after pushing the button and the function being called, I > get some ????? in the Flash Text Area... But I have told you, that V4MD right now NOT send unicode strings. We have TODO this thinking about JavaScript way... > So If you can't write on the disk, there is no way for you... > If you have this wonderfull chance, you could export an xml from your database > and request in the xml with flash, integrated in your director application. I think we will enable way that strings will go in unicode to JS -- 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 Wed Apr 6 22:13:18 2005 From: joerg at folckers.de (Joerg Folckers) Date: Wed Apr 6 15:13:32 2005 Subject: V4MD 2.0 and UTF-8 In-Reply-To: References: Message-ID: Hi! There is the "romanLingo" flag for switching between single and double-byte charactersets in Lingo. i did not test it ... this flag is connected to the "inlineImeEnabled" flag. also the xml-parser xtra seems to support utf-8 and utf-16, but i did not test it. http://www.macromedia.com/support/director/internet/using_xml_parser_xtra/using_xml_parser_xtra08.html this is regarding mac/iso conversion: http://www.macromedia.com/go/tn_14299 J?rg At 21:37 +0300 06.04.2005, Ruslan Zasukhin wrote: >On 4/6/05 6:21 PM, "b.seurot" wrote: > >> There is no way for Valentina users who wants to use Unicode in their >> applications. Lingo does not support unicode, it was known. And from the next >> little test, the javascript syntax can't save the situation : >> >> function mouseUp(me){ >> myFlashTextArea.text=myFlashTextInput.text; >> } > >> When I type Hindi or Japanese character in the flash-Textinput, flash can >> display them. but after pushing the button and the function being called, I >> get some ????? in the Flash Text Area... > >But I have told you, that V4MD right now NOT send unicode strings. > >We have TODO this thinking about JavaScript way... > >> So If you can't write on the disk, there is no way for you... > >> If you have this wonderfull chance, you could export an xml from your database >> and request in the xml with flash, integrated in your director application. > >I think we will enable way that strings will go in unicode to JS > > >-- >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 info at vallemediatime.com Wed Apr 6 23:22:34 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Apr 6 16:22:38 2005 Subject: [V4MD 2] cursor.getRecord Message-ID: <001201c53aee$bfce6850$050b1e97@vmtcktzo3kwrv6> Hi all list In Valentina 1.1 this code: repeat with i = 1 to RecCount fields = cursor.getRecord(i) put fields -- ["firstFld string", "secondFld string", "", ""] in Valentina 2 with the same code I've: -- ["firstFld string", "secondFld string", , ] I need of empty string like v.1.1, how can I do it? Thanks Paolo -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005 From sunshine at public.kherson.ua Thu Apr 7 00:40:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 16:40:27 2005 Subject: [V4MD 2] cursor.getRecord In-Reply-To: <001201c53aee$bfce6850$050b1e97@vmtcktzo3kwrv6> Message-ID: On 4/7/05 12:22 AM, "info@vallemediatime.com" wrote: > Hi all list > > In Valentina 1.1 this code: > repeat with i = 1 to RecCount > fields = cursor.getRecord(i) > put fields > -- ["firstFld string", "secondFld string", "", ""] > > in Valentina 2 with the same code I've: > -- ["firstFld string", "secondFld string", , ] > I need of empty string like v.1.1, how can I do it? Peter also have report similar VOID problem, Paolo, can you send simple project to reproduce 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 joerg at folckers.de Wed Apr 6 23:51:02 2005 From: joerg at folckers.de (Joerg Folckers) Date: Wed Apr 6 16:51:09 2005 Subject: [V4MD 2] cursor.getRecord In-Reply-To: <001201c53aee$bfce6850$050b1e97@vmtcktzo3kwrv6> References: <001201c53aee$bfce6850$050b1e97@vmtcktzo3kwrv6> Message-ID: Hi, are the values stored in the 2 other fields NULL-values or empty strings? J?rg At 23:22 +0200 06.04.2005, wrote: >Hi all list > >In Valentina 1.1 this code: >repeat with i = 1 to RecCount >fields = cursor.getRecord(i) >put fields >-- ["firstFld string", "secondFld string", "", ""] > > in Valentina 2 with the same code I've: > -- ["firstFld string", "secondFld string", , ] >I need of empty string like v.1.1, how can I do it? > >Thanks Paolo > >Content-Type: text/plain; x-avg=cert; charset=us-ascii >Content-Disposition: inline >Content-Description: "AVG certification" > >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005 > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From gregkowalski at earthlink.net Wed Apr 6 18:19:29 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Apr 6 17:21:36 2005 Subject: VCursor question Message-ID: Hello, V4MD2 MAC I have this: gDB = new(Xtra "VDatabase", #kLocal) query = "SELECT * FROM Atable" gMyCursor = new(Xtra "VCursor", gDB, query) reccount = gMyCursor.RecordCount Can someone please tell me why "recordcount" gives me an error? Director gives me a #recordcount PROPERTY NOT FOUND error. If I use gmycursor = gdb.sqlselect(query) it works OK Thank you Greg From sunshine at public.kherson.ua Thu Apr 7 01:26:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 6 17:26:43 2005 Subject: VCursor question In-Reply-To: Message-ID: On 4/7/05 1:19 AM, "Gregory Kowalski" wrote: Hi Gregory, > V4MD2 MAC > > I have this: > > gDB = new(Xtra "VDatabase", #kLocal) > query = "SELECT * FROM Atable" > > gMyCursor = new(Xtra "VCursor", gDB, query) > > reccount = gMyCursor.RecordCount > Can someone please tell me why "recordcount" gives me an error? > Director gives me a #recordcount PROPERTY NOT FOUND error. > > If I use gmycursor = gdb.sqlselect(query) it works OK Gregory, gdb.SqlSelect() -- this is new CORRECT WAY. The first way you show gMyCursor = new(Xtra "VCursor", gDB, query) Is deprecated. We have use it in the V4MD 1.x. All other products use DB.SqlSelect() way, Which is logical. We say: Hey database. Please do this SQL query and give me cursor as result of 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 info at vallemediatime.com Thu Apr 7 02:11:03 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Apr 6 19:11:10 2005 Subject: [V4MD 2] gCursor.position Message-ID: <000701c53b06$497b5830$c9081e97@vmtcktzo3kwrv6> Hi, all list I get this on MX2004 put gCursor.position -- OK gCursor.position = 2 -- ERROR (new method in v2 doc ???) GoToRecord(gCursor, 2) -- OK (method in v1.1. doc) where I do mistake? P.S. For Ruslan I receive only Valentina Digest, not the single message and I can't answer correctly... Is possible modify this issue? Tnx Paolo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005 From ktekinay at mactechnologies.com Thu Apr 7 00:49:07 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 6 23:49:15 2005 Subject: [V4RB2] Complete contents of a field Message-ID: Is there a way to get the contents of a field of every record in a table without iterating over the whole table? For example, if my data is: Zip_Code City State 10002 Something NY 10003 Elsewhere NY 10004 Destiny NY I would like to be able to ask Valentina to give me every City and get an array that looks like ("Something", "Elsewhere", "Destiny"). If that command could be restricted by a VSet, even better. Is there such a thing? __________________________________________________________________________ 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 Thu Apr 7 09:24:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 01:24:08 2005 Subject: [V4MD 2] gCursor.position In-Reply-To: <000701c53b06$497b5830$c9081e97@vmtcktzo3kwrv6> Message-ID: On 4/7/05 3:11 AM, "info@vallemediatime.com" wrote: > P.S. For Ruslan > I receive only Valentina Digest, not the single message and I can't answer > correctly... > Is possible modify this issue? done -- 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 Apr 7 09:24:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 01:24:25 2005 Subject: [V4MD 2] gCursor.position In-Reply-To: <000701c53b06$497b5830$c9081e97@vmtcktzo3kwrv6> Message-ID: On 4/7/05 3:11 AM, "info@vallemediatime.com" wrote: > Hi, all list > > I get this on MX2004 > > put gCursor.position -- OK > gCursor.position = 2 -- ERROR (new method in v2 doc ???) > GoToRecord(gCursor, 2) -- OK (method in v1.1. doc) > > where I do mistake? Igor, please check -- 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 Apr 7 09:28:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 01:29:10 2005 Subject: [V4RB2] Complete contents of a field In-Reply-To: Message-ID: On 4/7/05 7:49 AM, "Kem Tekinay" wrote: Hi Kem, > Is there a way to get the contents of a field of every record in a table > without iterating over the whole table? > > For example, if my data is: > > Zip_Code City State > 10002 Something NY > 10003 Elsewhere NY > 10004 Destiny NY > > I would like to be able to ask Valentina to give me every City and get an > array that looks like ("Something", "Elsewhere", "Destiny"). If that command > could be restricted by a VSet, even better. > > Is there such a thing? I afraid I have not understand question. 1) I do not see sense return ARRAY from V4RB. btw, REAL do not allow this for now. plugin cannot build array and even if we could, what sense ? to reduce number of lines in code ? what will happens if you catch million items ? you see why this is bad ? 2) Vset .... What you mean ? -- 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 Thu Apr 7 04:42:22 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 7 03:42:30 2005 Subject: [V4RB2] Complete contents of a field In-Reply-To: Message-ID: On 4/7/05 2:28 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I afraid I have not understand question. > > 1) I do not see sense return ARRAY from V4RB. > btw, REAL do not allow this for now. > plugin cannot build array > > and even if we could, what sense ? > to reduce number of lines in code ? > > what will happens if you catch million items ? > you see why this is bad ? OK, thanks. > 2) Vset .... What you mean ? Since the answer to the first question was "no," this doesn't matter. __________________________________________________________________________ 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 Thu Apr 7 14:49:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 06:49:21 2005 Subject: FIXED: [V4MD 2] gCursor.position In-Reply-To: <000701c53b06$497b5830$c9081e97@vmtcktzo3kwrv6> Message-ID: On 4/7/05 3:11 AM, "info@vallemediatime.com" wrote: > put gCursor.position -- OK > gCursor.position = 2 -- ERROR (new method in v2 doc ???) -- 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 Thu Apr 7 14:50:28 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 7 13:50:48 2005 Subject: [V4RB2] Time trials vs. MySQL Message-ID: I know I am new to the party, but I've just been blown away by Valentina's speed, so I thought I'd share. I've been doing some comparisons, and last night I decided to tackle MySQL. Mind you, I've never dealt with MySQL before and there could be many optimizations that I am missing. Suggestions are welcome. These test were run using Valentina for RB 2.01 with the class-way using the IDE, and MySQL 4.0.21 from the command line. Valentina times are a result of my own code while MySQL is as reported on the command line. The test database has 7 fields, and the fields used here are indexed. There are 168,768 rows which is the result of about 42,000 U.S. zip codes imported 4 times. Since MySQL does searching and sorting in one command, I had to combine the search and sort times where relevant in Valentina. The test machine is a PowerMac G5 dual-2.5 GHz with quite a few other apps running in the background. What I found is that Valentina is frightening fast, and certainly faster than MySQL, except when it comes to LIKE searches. I'm guessing those will improve as the new release is optimized. Select all records (168,768 rows) Valentina: 0.00 secs MySQL: 3.71 secs Select all records, order by City: Valentina: 0.30 secs MySQL: 7.38 secs City, State or Zip start with '105' (292 rows): Valentina: 0.00 secs MySQL: 0.20 secs City, State or Zip start with '105', order by City: Valentina: 0.00 secs MySQL: 0.17 secs City, State or Zip end with '9' (14,636 rows): Valentina: 0.02 secs MySQL: 0.53 secs City, State or Zip end with '9', order by City: Valentina: 0.05 secs MySQL: 0.91 secs City, State or Zip end with 'k' (10,136 rows): Valentina: 0.03 secs MySQL: 0.40 secs City, State or Zip end with 'k', order by City: Valentina: 0.05 secs MySQL: 0.57 secs (Here is where the difference is) City, State or Zip LIKE '1%9' (1,508 rows): Valentina: 1.48 secs MySQL: 0.22 secs City, State or Zip LIKE '1%9', order by City: Valentina: 1.45 secs MySQL: 0.22 secs __________________________________________________________________________ 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 Claudius at sailer-online.de Thu Apr 7 21:57:20 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Apr 7 14:57:49 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: References: Message-ID: <77edb82fd703cb26b41ded328c3f5052@sailer-online.de> Hi, Am 07. Apr 2005 um 20:50 Uhr schrieb Kem Tekinay: > I know I am new to the party, but I've just been blown away by > Valentina's > speed, so I thought I'd share. > > I've been doing some comparisons, and last night I decided to tackle > MySQL. > Mind you, I've never dealt with MySQL before and there could be many > optimizations that I am missing. Suggestions are welcome. > > These test were run using Valentina for RB 2.01 with the class-way > using the > IDE, and MySQL 4.0.21 from the command line. Valentina times are a > result of > my own code while MySQL is as reported on the command line. > > The test database has 7 fields, and the fields used here are indexed. > There > are 168,768 rows which is the result of about 42,000 U.S. zip codes > imported > 4 times. Since MySQL does searching and sorting in one command, I had > to > combine the search and sort times where relevant in Valentina. > > The test machine is a PowerMac G5 dual-2.5 GHz with quite a few other > apps > running in the background. > > What I found is that Valentina is frightening fast, and certainly > faster > than MySQL, except when it comes to LIKE searches. I'm guessing those > will > improve as the new release is optimized. V4RB is really fast, but with 2.0.1 it is in my tests slower as 1.10. SQL to fill cursor takes between 2-3sec in 1.10 it was 0,5sec Reading from Cursor and filling listbox takes between 1,8-2,9sec in 1.10 it takes maximum 1sec. I know 2.0.1 is not optimized (when I understood Ruslan correct) and there will be a lot of work to do so I know they make a really good job and so V4RB2 will be faster or as fast as 1.10 and this was also faster as MySQL. So I think you will have in future Valentina versions also some more speed benefits bye Claudius From Claudius at sailer-online.de Thu Apr 7 22:09:52 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Apr 7 15:09:58 2005 Subject: V4RB2 running application? In-Reply-To: References: Message-ID: Hi Ruslan, Am 30. Mrz 2005 um 11:06 Uhr schrieb Ruslan Zasukhin: > For REALBasic-made carbon applications, you can simply do > > MyAppFolder > MyApplication > > kernel.dll > vclient.dll > icu.dll I can't find these files. This are the files in CFMSupport/VComponents in /Library. but files with your names I can't find. icuio30_cw.shlb icuin30_cw.shlb icudt30b_cw.shlb icudt30b.dat MSL_All_Carbon.Shlb Kernel_Carbon_Final.shlb icuuc30_cw.shlb vshared_carbon_cw.shlb VDK_PPC.shlb vclient_carbon_cw.shlb resources Components_Readme.txt bye Claudius From ktekinay at mactechnologies.com Thu Apr 7 16:24:45 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 7 15:25:12 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: <77edb82fd703cb26b41ded328c3f5052@sailer-online.de> Message-ID: On 4/7/05 3:57 PM, Claudius Sailer at Claudius@sailer-online.de wrote: > So I think you will have in future Valentina versions also some more > speed benefits I think you're right. That's why I wanted to be clear that I am using the class-way, not SQL. My early tests showed me that, right now, Valentina SQL is not fast at all. __________________________________________________________________________ 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 Fri Apr 8 00:57:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 16:57:16 2005 Subject: V4RB2 running application? In-Reply-To: Message-ID: On 4/7/05 11:09 PM, "Claudius Sailer" wrote: Hi Claudius > Am 30. Mrz 2005 um 11:06 Uhr schrieb Ruslan Zasukhin: > >> For REALBasic-made carbon applications, you can simply do >> >> MyAppFolder >> MyApplication >> >> kernel.dll >> vclient.dll >> icu.dll > > I can't find these files. This are the files in CFMSupport/VComponents > in /Library. but files with your names I can't find. > > icuio30_cw.shlb > icuin30_cw.shlb > icudt30b_cw.shlb > icudt30b.dat > MSL_All_Carbon.Shlb > Kernel_Carbon_Final.shlb > icuuc30_cw.shlb > vshared_carbon_cw.shlb > VDK_PPC.shlb > vclient_carbon_cw.shlb > resources > Components_Readme.txt Right, just drop all this files into your app folder. Well, you can skip * Components_Readme.txt * VDK_PPC.shlb -- if you not use Convert_1_2 * vclient_carbon_cw.shlb if you not use server -- 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 Fri Apr 8 01:07:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 7 17:07:15 2005 Subject: [ANN] V4RB MAC 2.0.2 FINAL CANDIDATE Message-ID: Hi All, You can download this final candidate here: http://paradigmasoft.com/download/V4RB_202fc_mac.dmg Fixed most of reported bugs. Please try this build ASAP on your projects and let us know. Dimitris, we make RBDB-way example using REALBasic example of "doctors", but we have found that this example is broken even for REALdb, so Sergey now try to fix it. I hope that in release 2.0.2 we will make example. For now you can use it as you know. --------------------------------------------------------------------------- kernel - 2.0.2 ============== - 0000288: [Files] Byte Swapping for cross-platform movement (Igor Gomon) - 0000635: [Files] Db with Locked files or db on CD throw -61 error (Ruslan Zasukhin) - 0000615: [API] Delete several records in a loop -> index corrupted (Ruslan Zasukhin) - 0000622: [SQL Parser] Crash after wrong SQL (Serge) - 0000610: [SQL] SQL crashes application (Ivan Smahin) - 0000634: [Fields] If create in table with records new VarChar field and close db => corruption. (Igor Gomon) - 0000612: [Fields] LIKE ignores db/table/field case-sensitive settings. (Ivan Smahin) - 0000603: [Database] Convert_1_2 crash in some circumstances with ObjectPtrs. (Ivan Smahin) - 0000614: [API] Delete many records -> corruption (Ruslan Zasukhin) - 0000624: [SQL] Wrong RecID by SQL-Select (Ivan Smahin) - 0000625: [SQL] Escaped underscore does not work (Serge) V4RB - 2.0.2 ============ - 0000636: [Other] Do not work with REALBasic 2005 (Ruslan Zasukhin) - 0000592: [Installation] V4RB 2.0 plugin file is missing the version info (Ruslan Zasukhin) - 0000593: [Sets] ArraySets don't sort properly after record is modified (Ruslan Zasukhin) - 0000627: [Class-way] Creating VSet leaks memory (Ivan Smahin) - 0000633: [API] [CHG] Union(), Intersection(), Difference() methods moved to VBitSet and VArraySet classes. (Ruslan Zasukhin) - 0000631: [Class-way] VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. (Ruslan Zasukhin) - 0000608: [RBDB API] RecID field are not returned values (Serge) - 0000583: [Examples] Table_Create.rb Example Does Create a Database (Ruslan Zasukhin) - 0000620: [Class-way] FindStartsWith crashes app without an exception (Ivan Smahin) -- 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 info at vallemediatime.com Fri Apr 8 00:37:58 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Apr 7 17:38:17 2005 Subject: [V4MD 2] gCursor.RecID Message-ID: <000701c53bc2$72e435e0$ba201e97@vmtcktzo3kwrv6> Hi all list I don't find in the docs how get the in v1.1 this code works: repeat with i = 1 to recCount myStudent = string(gCursor.RecID) && member("sF2").text && member("sF3").text myList.append(myStudent) gS_Manager.mMoveNext() end repeat for gCursor.RecID I get Null value How can I do this in v2? Tnx Paolo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 06/04/2005 From ktekinay at mactechnologies.com Fri Apr 8 00:45:20 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 7 23:45:31 2005 Subject: [V4RB2] Different results for search between Valentina and MySQL Message-ID: I am able to run a search that yields different results in Valentina and MySQL, and I don't know which one is doing it correctly (although I think it's MySQL). If I have the zip codes 10597 and 10579, MySQL will find both if I use fld LIKE '105%9%' and Valentina will find only 10579 if I use fld.FindLike( "105%9%" ). Is this a bug in Valentina, MySQL, or just different implementations of SQL? __________________________________________________________________________ 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 Claudius at sailer-online.de Fri Apr 8 06:52:04 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Apr 7 23:52:11 2005 Subject: [ANN] V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: References: Message-ID: Am 08. Apr 2005 um 00:07 Uhr schrieb Ruslan Zasukhin: > Hi All, > > You can download this final candidate here: > > ????http://paradigmasoft.com/download/V4RB_202fc_mac.dmg > > Fixed most of reported bugs. > Please try this build ASAP on your projects and let us know. I marked fixed BUGs as fixed. #535 is fixed too (it was not set status to fixed but I closed). But #619, in my point of view a very important bug, is still open. could someone have a look at it? really good job. Thanks Claudius -- G4/733 QS / MacOS X 10.3.8de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.2 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Apr 8 09:03:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 01:03:33 2005 Subject: [V4RB2] Different results for search between Valentina and MySQL In-Reply-To: Message-ID: On 4/8/05 7:45 AM, "Kem Tekinay" wrote: > I am able to run a search that yields different results in Valentina and > MySQL, and I don't know which one is doing it correctly (although I think > it's MySQL). > > If I have the zip codes 10597 and 10579, MySQL will find both if I use fld > LIKE '105%9%' and Valentina will find only 10579 if I use fld.FindLike( > "105%9%" ). > > Is this a bug in Valentina, MySQL, or just different implementations of SQL? Ivan, Please check this issue and inform us. Test it also on MS and Sybase. -- 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 Fri Apr 8 09:06:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 01:07:18 2005 Subject: [V4MD 2] gCursor.RecID In-Reply-To: <000701c53bc2$72e435e0$ba201e97@vmtcktzo3kwrv6> Message-ID: On 4/8/05 1:37 AM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi all list > > I don't find in the docs how get the > in v1.1 this code works: > > repeat with i = 1 to recCount > myStudent = string(gCursor.RecID) && member("sF2").text && ^^^^^^^^^^^^^^^^^ this works ??? > member("sF3").text > myList.append(myStudent) > gS_Manager.mMoveNext() > end repeat > > for gCursor.RecID I get Null value > How can I do this in v2? Actually you should use this way gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" ) And now you can reach RecID to any field of cursor. RecID field have ULONG type. -- 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 Fri Apr 8 08:51:17 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Apr 8 02:02:25 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: <77edb82fd703cb26b41ded328c3f5052@sailer-online.de> References: <77edb82fd703cb26b41ded328c3f5052@sailer-online.de> Message-ID: >> >>What I found is that Valentina is frightening fast, and certainly faster >>than MySQL, except when it comes to LIKE searches. I'm guessing those will >>improve as the new release is optimized. > >V4RB is really fast, but with 2.0.1 it is in my tests slower as 1.10. >SQL to fill cursor takes between 2-3sec in 1.10 it was 0,5sec >Reading from Cursor and filling listbox takes between 1,8-2,9sec in >1.10 it takes maximum 1sec. > Considering that SQL code in V2 is no longer custom developed by Ruslan, how realistic is getting performance anywhere close to what V1 had? I expect improvement but I doubt V2 will ever be so fast. Having to give up some performance may be a tradeoff of having a more standard-compliant parser, though. Robert From sunshine at public.kherson.ua Fri Apr 8 10:09:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 02:09:38 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: Message-ID: On 4/8/05 9:51 AM, "Robert Brenstein" wrote: >> V4RB is really fast, but with 2.0.1 it is in my tests slower as 1.10. >> SQL to fill cursor takes between 2-3sec in 1.10 it was 0,5sec >> Reading from Cursor and filling listbox takes between 1,8-2,9sec in >> 1.10 it takes maximum 1sec. >> > > Considering that SQL code in V2 is no longer custom developed by > Ruslan, how realistic is getting performance anywhere close to what > V1 had? I expect improvement but I doubt V2 will ever be so fast. > Having to give up some performance may be a tradeoff of having a more > standard-compliant parser, though. I think we have many chances, Robert, 1) ANTLR developer promise that 3.0 will be much faster of 2.7 2) we SELF can yet profile ANTLR and try improve it. I have see major problems in their code. I have told them many times. but they just say: way want correctness. optimization is devil... Few guys on their list have told they was able easy enough speed up ANTLR in 5-8-10 times doing some tricks. -- 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 info at vallemediatime.com Fri Apr 8 09:17:50 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 8 02:17:58 2005 Subject: [V4MD 2] gCursor.RecID References: Message-ID: <000801c53c0b$12ebd780$6a0a1e97@vmtcktzo3kwrv6> Hi Ruslan, > > myStudent = string(gCursor.RecID) && member("sF2").text && > ^^^^^^^^^^^^^^^^^ > this works ??? oh, sorry, I've copyed a my test loop from v2 ... this is the right code that works in v1.1: ID_Student = getField(gCursor, "RecID") myStudent = string(ID_Student) && member("sF2").text && member("sF3").text > Actually you should use this way > gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" ) this is not good for me, I need to get f1 to f2 strings for make a drop-menu like: 1 Zasukhin Ruslan 2 Gomon Igor .... an do son other way, for get directly the (gCursor, "RecID") like string? Tnx Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, April 08, 2005 8:06 AM Subject: Re: [V4MD 2] gCursor.RecID > On 4/8/05 1:37 AM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > Hi all list > > > > I don't find in the docs how get the > > in v1.1 this code works: > > > > repeat with i = 1 to recCount > > myStudent = string(gCursor.RecID) && member("sF2").text && > ^^^^^^^^^^^^^^^^^ > this works ??? > > > member("sF3").text > > myList.append(myStudent) > > gS_Manager.mMoveNext() > > end repeat > > > > for gCursor.RecID I get Null value > > How can I do this in v2? > > Actually you should use this way > > gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" ) > > And now you can reach RecID to any field of cursor. > RecID field have ULONG type. > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 06/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 06/04/2005 From sunshine at public.kherson.ua Fri Apr 8 10:23:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 02:23:49 2005 Subject: [V4MD 2] gCursor.RecID In-Reply-To: <000801c53c0b$12ebd780$6a0a1e97@vmtcktzo3kwrv6> Message-ID: On 4/8/05 10:17 AM, "info@vallemediatime.com" wrote: >> Actually you should use this way >> gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" ) > this is not good for me, I need to get f1 to f2 strings for make a drop-menu > like: > 1 Zasukhin Ruslan > 2 Gomon Igor > .... an do son > > other way, for get directly the (gCursor, "RecID") like string? No. but what problems. Make it last them select f1, f2, recid -- 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 vidal_olivier at yahoo.fr Fri Apr 8 09:27:02 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Apr 8 02:28:01 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: References: <77edb82fd703cb26b41ded328c3f5052@sailer-online.de> Message-ID: <99D6D532-A7FF-11D9-890C-000D93C35C66@yahoo.fr> Le 8 avr. 05, ? 08:51, Robert Brenstein a ?crit : > Considering that SQL code in V2 is no longer custom developed by > Ruslan, how realistic is getting performance anywhere close to what V1 > had? I expect improvement but I doubt V2 will ever be so fast. Having > to give up some performance may be a tradeoff of having a more > standard-compliant parser, though. OK but in that case, there is a problem. All the marketing of Valentina is at present built on its extreme speed. Its reputation and the advertisements (in RB developer for example) speak a great deal of its very important speed. Many developers chose and choose Valentina because they needed a really very fast database. it risks to have a lot of disappointment on the performances there are sharply less good than with Valentina 1. I hope that the team of Ruslan will manage to optimize Valentina 2 to approach performances of Valentina 1. In my case, I chose to use API of Valentina rather than SQL so that my application is the fastest possible. But it is sometimes necessary to use SQL. So for all the network applications and all the applications already developed with Valentina 1. I think that for all the developers which are not Japanese, the use of the UTF8 will already improve the performances (many? I do not know). In the magazine RB developer number 3.3 (in January February, 2005), page 32, Paul Lefebvre made benchmarks on SQLitePro (and the database interns of RB 5.5), it would be interesting to see already (before optimizations) which are the performances of Valentina 2. Anybody knows Paul Lefebvre ? We could ask him to make the same tests with Valentina 2 or to ask him for its database of test. olivier From sunshine at public.kherson.ua Fri Apr 8 10:44:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 02:44:12 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: <99D6D532-A7FF-11D9-890C-000D93C35C66@yahoo.fr> Message-ID: On 4/8/05 10:27 AM, "Olivier" wrote: Hi guys, Let me repeat once one idea: version 2 is designed to be FASTER of 1.x If we have some bottlenecks now, we will resolve them. POINT. We are going just after we ship 2.0.2 or 2.0.3 and close major show stopper bugs/issues for Valentina developers to build own benchmarks. And for big dbs also, up to 4GB -- size of DVD > OK but in that case, there is a problem. All the marketing of Valentina > is at present built on its extreme speed. > Its reputation and the advertisements (in RB developer for example) > speak a great deal of its very important speed. > Many developers chose and choose Valentina because they needed a really > very fast database. > it risks to have a lot of disappointment on the performances there are > sharply less good than with Valentina 1. > I hope that the team of Ruslan will manage to optimize Valentina 2 to > approach performances of Valentina 1. > > In my case, I chose to use API of Valentina rather than SQL so that my > application is the fastest possible. > But it is sometimes necessary to use SQL. So for all the network > applications and all the applications already developed with Valentina > 1. > I think that for all the developers which are not Japanese, the use of > the UTF8 will already improve the performances (many? I do not know). > > In the magazine RB developer number 3.3 (in January February, 2005), > page 32, Paul Lefebvre made benchmarks on SQLitePro (and the database > interns of RB 5.5), it would be interesting to see already (before > optimizations) which are the performances of Valentina 2. > Anybody knows Paul Lefebvre ? > We could ask him to make the same tests with Valentina 2 or to ask him > for its database of test. -- 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 info at vallemediatime.com Fri Apr 8 09:51:23 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 8 02:51:29 2005 Subject: [V4MD 2] gCursor.RecID References: Message-ID: <001001c53c0f$c2475d40$6a0a1e97@vmtcktzo3kwrv6> I think that you don't understand me :-) I don't need to use SELECT I need only RecID string in V1.1 (e.g. with moveNext) put getField(gCursor, "RecID") -- "1" -- "2" etc. in V2 put gCursor.RecID -- If possible, can you add this method in v2 too? Tnx Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, April 08, 2005 9:23 AM Subject: Re: [V4MD 2] gCursor.RecID > On 4/8/05 10:17 AM, "info@vallemediatime.com" > wrote: > > >> Actually you should use this way > >> gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" ) > > this is not good for me, I need to get f1 to f2 strings for make a drop-menu > > like: > > 1 Zasukhin Ruslan > > 2 Gomon Igor > > .... an do son > > > > other way, for get directly the (gCursor, "RecID") like string? > > No. but what problems. > > Make it last them > > select f1, f2, recid > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Fri Apr 8 10:51:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 02:51:48 2005 Subject: [V4RB2] Different results for search between Valentina and MySQL In-Reply-To: <971224392.20050408104239@public.kherson.ua> Message-ID: On 4/8/05 10:42 AM, "Ivan Smahin" wrote: >>> I am able to run a search that yields different results in Valentina and >>> MySQL, and I don't know which one is doing it correctly (although I think >>> it's MySQL). >>> >>> If I have the zip codes 10597 and 10579, MySQL will find both if I use fld >>> LIKE '105%9%' and Valentina will find only 10579 if I use fld.FindLike( >>> "105%9%" ). >>> >>> Is this a bug in Valentina, MySQL, or just different implementations of SQL? > > RZ> Ivan, > > RZ> Please check this issue and inform us. > RZ> Test it also on MS and Sybase. > > > MS test: > ---------- > create table likeTest ( f1 char(20)) > insert into likeTest values ( '10597') > insert into likeTest values ( '10579') > > select * from likeTest where f1 LIKE '105%9%' > Result: BOTH values selected in the result. > > select * from likeTest where f1 LIKE '105%9' > Result: '10579' value selected in the result. > > Valentina SQL: > -------------- > The same test for Valentina gets THE SAME result!!! Kem, I also have check above 4 SQL commands in viSQL. And get correct result as MS and mySQL. So please test all again. We cannot reproduce your report. -- 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 vidal_olivier at yahoo.fr Fri Apr 8 09:53:22 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Apr 8 02:54:01 2005 Subject: [V4RB2] Time trials vs. MySQL In-Reply-To: References: Message-ID: <47C8D317-A803-11D9-890C-000D93C35C66@yahoo.fr> Le 8 avr. 05, ? 09:44, Ruslan Zasukhin a ?crit : > version 2 is designed to be FASTER of 1.x > > If we have some bottlenecks now, we will resolve them. POINT. good ! olivier From sunshine at public.kherson.ua Fri Apr 8 11:06:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 03:06:59 2005 Subject: [V4MD 2] gCursor.RecID In-Reply-To: <001001c53c0f$c2475d40$6a0a1e97@vmtcktzo3kwrv6> Message-ID: On 4/8/05 10:51 AM, "info@vallemediatime.com" wrote: > I think that you don't understand me :-) > I don't need to use SELECT > I need only RecID string > > in V1.1 (e.g. with moveNext) > put getField(gCursor, "RecID") > -- "1" > -- "2" etc. > in V2 > put gCursor.RecID > -- Hmm, if you do not use SELECT, then how you get Cursor ??? Or may be you talk about API way ? And may be you ask about Vtable class ? For API way should work tblPerson.Field( "RecID" ).GetString() > If possible, can you add this method in v2 too? I believe it is here. Just clarify what way you use? If API then why you write gCursor in code ?? -- 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 Roger at logram.com Fri Apr 8 10:45:15 2005 From: Roger at logram.com (Roger Amar) Date: Fri Apr 8 03:46:03 2005 Subject: TR: ImportAscii Message-ID: <028383377603B34D9728A1E80EA9B43B06C869@srv.Logram.local> Sorry was sent to Ruslan in spite of the list... Roger; De : Roger Amar Envoy? : vendredi 8 avril 2005 10:24 ? : 'Ruslan Zasukhin' Objet : ImportAscii Hi Ruslan, I cannot make importFile working on the pc. I converted a table from Access to txt. This table has never seen a Mac and I get error 2. Please tell me what is the ascii code of the line ends required by your function. Thanks, Roger; On 2/27/05 12:49 AM, "Roger Amar" wrote: > Hi Ruslan, > > ImportAscii works on MacOS, not on Win32. > This is an example of a file I cannot import. > Please let me know what do you think about. Hi Roger, As far as I see, this file has MAC line ends. I see this in the CodeWarrior on my MAC. You say that this file is generated by Excel on Windows?? Check this point! Save this file with Win-line ends. Then it should work -- 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 info at vallemediatime.com Fri Apr 8 11:02:53 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 8 04:03:01 2005 Subject: [V4MD 2] gCursor.RecID References: Message-ID: <000a01c53c19$bf4ef940$6a0a1e97@vmtcktzo3kwrv6> I use a simple SELECT in SQL way, but now, with this code I am finally successful to obtain the record's RecID string , but... how can you see the line code are increased :-( not good... repeat with i = 1 to max currRec = value(member("dRecPos").text) fieldsValue = gCursor.getRecord(currRec) ID_Student = getAt(fieldsValue, 1) myStudent = string(ID_Studente) && member("sF2").text && member("sF3").text myList.append(myStudent) gS_Manager.mMoveNext() end repeat if I had the same code can become: repeat with i = 1 to max currRec = value(member("dRecPos").text) myStudent = string(gCursor.RecID) && member("sF2").text && member("sF3").text myList.append(myStudent) gS_Manager.mMoveNext() end repeat Other way... in SQL? Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, April 08, 2005 10:06 AM Subject: Re: [V4MD 2] gCursor.RecID > On 4/8/05 10:51 AM, "info@vallemediatime.com" > wrote: > > > I think that you don't understand me :-) > > I don't need to use SELECT > > I need only RecID string > > > > in V1.1 (e.g. with moveNext) > > put getField(gCursor, "RecID") > > -- "1" > > -- "2" etc. > > > in V2 > > put gCursor.RecID > > -- > > Hmm, if you do not use SELECT, then how you get Cursor ??? > > Or may be you talk about API way ? > And may be you ask about Vtable class ? > > For API way should work > > tblPerson.Field( "RecID" ).GetString() > > > > If possible, can you add this method in v2 too? > > I believe it is here. > > Just clarify what way you use? > If API then why you write gCursor in code ?? > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Fri Apr 8 12:20:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 04:20:30 2005 Subject: [ANN] V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: On 4/8/05 7:52 AM, "Claudius Sailer" wrote: > But #619, in my point of view a very important bug, is still open. > could someone have a look at it? Claudius, But have you check self: this bug still here in last 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 wonderfef at noos.fr Fri Apr 8 11:47:05 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Apr 8 04:47:23 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE Message-ID: Hello all, I turned back to V4RB and Valentina Office Server to try late releases of V2 and here are my problems : - The Valentina Office Server installer for Windows still do not install the Vcomponents folder... - Convert_1_2 still crashes... - V4RV v2 does not compile for Windows yet Eric From sunshine at public.kherson.ua Fri Apr 8 12:47:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 04:47:30 2005 Subject: [V4MD 2] gCursor.RecID In-Reply-To: <000a01c53c19$bf4ef940$6a0a1e97@vmtcktzo3kwrv6> Message-ID: On 4/8/05 12:02 PM, "info@vallemediatime.com" wrote: > I use a simple SELECT in SQL way, > > but now, with this code I am finally successful to obtain the record's RecID > string , > but... how can you see the line code are increased :-( > not good... > > repeat with i = 1 to max > currRec = value(member("dRecPos").text) > fieldsValue = gCursor.getRecord(currRec) > ID_Student = getAt(fieldsValue, 1) > myStudent = string(ID_Studente) && member("sF2").text && member("sF3").text > myList.append(myStudent) > gS_Manager.mMoveNext() > end repeat > > if I had the same code can become: > > repeat with i = 1 to max > currRec = value(member("dRecPos").text) > myStudent = string(gCursor.RecID) && member("sF2").text && > member("sF3").text > myList.append(myStudent) > gS_Manager.mMoveNext() > end repeat > > Other way... in SQL? No other way. We cannot use gCursor.RecID, because how it works then in case you have join of 2 - 3 tables ? Only way to SELECT the RecId. You can select it in any order and even several times. -- 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 Fri Apr 8 13:00:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 05:00:25 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: On 4/8/05 12:47 PM, "Eric Ferrer" wrote: > Hello all, > > I turned back to V4RB and Valentina Office Server to try late releases of V2 > and here are my problems : > > - The Valentina Office Server installer for Windows still do not install the > Vcomponents folder... > - Convert_1_2 still crashes... > - V4RV v2 does not compile for Windows yet Eric, But in subject said: V4RB MAC So you cannot test it on Windows yet. -- 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 Fri Apr 8 12:31:01 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Apr 8 05:31:04 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: Ruslan, > But in subject said: V4RB MAC > So you cannot test it on Windows yet. OK, OK, OK, you're right... Will there be a dedicated Windows plugin even if RB is running on a Mac? I use RB for Mac and I compile for Mac & Windows... And, as you wrote me: > We have not put V4RB WIN into mac version yet. > This is not big problems. Soon we do. I thought that this "final candidate" will support Windows builds... I'll be patient. Eric From sunshine at public.kherson.ua Fri Apr 8 14:00:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 06:00:16 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: On 4/8/05 1:31 PM, "Eric Ferrer" wrote: > Ruslan, > >> But in subject said: V4RB MAC >> So you cannot test it on Windows yet. > > OK, OK, OK, you're right... > Will there be a dedicated Windows plugin even if RB is running on a Mac? > I use RB for Mac and I compile for Mac & Windows... > And, as you wrote me: >> We have not put V4RB WIN into mac version yet. >> This is not big problems. Soon we do. > I thought that this "final candidate" will support Windows builds... Still not done...Eric, add this to Mantis please. Then I will see this task each time. -- 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 thomas at startmovie.net Fri Apr 8 13:12:27 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Fri Apr 8 06:12:53 2005 Subject: Pre 2.x Version: How to get the last RecID? Message-ID: Hi all, in Director I am trying to get the RecID used for an sqlExecute(DB,"INSERT INTO...."). Any idea how to do it? I am totally lost right now. Regards, Thomas From sunshine at public.kherson.ua Fri Apr 8 14:36:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 06:36:45 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: Message-ID: On 4/8/05 2:12 PM, "Thomas Biedorf" wrote: Hi Thomas, > in Director I am trying to get the RecID used for an > sqlExecute(DB,"INSERT INTO...."). Any idea how to do it? > I am totally lost right now. It seems there is no such way now. Yes Ivan ? Ivan, please add into Mantis TODO something as last_row() Thomas, if to use Vcursor, then AddRecord() returns the RecId of new record. -- 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 Fri Apr 8 14:46:37 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Apr 8 06:46:40 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: References: Message-ID: <1471879620.20050408144637@public.kherson.ua> Hello Ruslan, Friday, April 8, 2005, 2:36:39 PM, you wrote: RZ> On 4/8/05 2:12 PM, "Thomas Biedorf" wrote: RZ> Hi Thomas, >> in Director I am trying to get the RecID used for an >> sqlExecute(DB,"INSERT INTO...."). Any idea how to do it? >> I am totally lost right now. RZ> It seems there is no such way now. Yes Ivan ? RZ> Ivan, please add into Mantis TODO something as RZ> last_row() RZ> Thomas, if to use Vcursor, then AddRecord() returns the RecId of new record. It seems so. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From thomas at startmovie.net Fri Apr 8 13:52:53 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Fri Apr 8 06:53:03 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: References: Message-ID: Am 08.04.2005 um 13:36 schrieb Ruslan Zasukhin: > Thomas, if to use Vcursor, then AddRecord() returns the RecId of new > record. I thought AddRecord() returns true or false (succesful/unsuccesful)?? Regards, Thomas From sunshine at public.kherson.ua Fri Apr 8 14:59:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 06:59:58 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: Message-ID: On 4/8/05 2:52 PM, "Thomas Biedorf" wrote: > > Am 08.04.2005 um 13:36 schrieb Ruslan Zasukhin: > >> Thomas, if to use Vcursor, then AddRecord() returns the RecId of new >> record. > > I thought AddRecord() returns true or false (succesful/unsuccesful)?? That was in 1.x Now it returns new RecID -- 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 thomas at startmovie.net Fri Apr 8 14:14:31 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Fri Apr 8 07:14:39 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: References: Message-ID: <1c594ee3f4614874b71c59aa777671d6@startmovie.net> Am 08.04.2005 um 13:59 schrieb Ruslan Zasukhin: > That was in 1.x > > Now it returns new RecID Looks like I need a newer PDF-Reference.... Any chance to convert the RecID to something better than the long negative numbers? An example: pCur = new( Xtra "Vcursor", GetRef(gUDB), "SELECT RecID FROM table") returns values like 1,2,3,4,5,.... AddRecord() returns something like -2164573 Additional I encountered an error 310, which is not described in the PDF-Docs. Regards, Thomas From wonderfef at noos.fr Fri Apr 8 14:43:57 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Apr 8 07:44:00 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: >>> We have not put V4RB WIN into mac version yet. >>> This is not big problems. Soon we do. >> I thought that this "final candidate" will support Windows builds... > > Still not done...Eric, add this to Mantis please. > Then I will see this task each time. Mantis ? What or who is it? Eric From ayu8 at cdc.gov Fri Apr 8 08:52:39 2005 From: ayu8 at cdc.gov (Sims, John) Date: Fri Apr 8 07:52:11 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Eric Ferrer > Sent: Friday, April 08, 2005 8:44 AM > To: Valentina Developers > Subject: Re : Re : Notes about V4RB MAC 2.0.2 FINAL CANDIDATE > > > >>> We have not put V4RB WIN into mac version yet. > >>> This is not big problems. Soon we do. > >> I thought that this "final candidate" will support Windows > builds... > > > > Still not done...Eric, add this to Mantis please. > > Then I will see this task each time. > > Mantis ? > What or who is it? > > Eric > Hi Eric, It is the bug/feature request tracking system Paradigma is using for Valentina. You can find it here. -John From sunshine at public.kherson.ua Fri Apr 8 15:52:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 07:52:40 2005 Subject: Pre 2.x Version: How to get the last RecID? In-Reply-To: <1c594ee3f4614874b71c59aa777671d6@startmovie.net> Message-ID: On 4/8/05 3:14 PM, "Thomas Biedorf" wrote: >> Now it returns new RecID > > Looks like I need a newer PDF-Reference.... > > Any chance to convert the RecID to something better than the long > negative numbers? > > An example: > > pCur = new( Xtra "Vcursor", GetRef(gUDB), "SELECT RecID FROM table") You use V4MD 2 ? Then you should write in new style: curs = gUDB.SqlSelect( "SELECT RecID FROM table" ) > returns values like 1,2,3,4,5,.... > > AddRecord() returns something like -2164573 > > Additional I encountered an error 310, which is not described in the > PDF-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 Fri Apr 8 15:53:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 07:53:03 2005 Subject: Notes about V4RB MAC 2.0.2 FINAL CANDIDATE In-Reply-To: Message-ID: On 4/8/05 3:43 PM, "Eric Ferrer" wrote: >>>> We have not put V4RB WIN into mac version yet. >>>> This is not big problems. Soon we do. >>> I thought that this "final candidate" will support Windows builds... >> >> Still not done...Eric, add this to Mantis please. >> Then I will see this task each time. > > Mantis ? > What or who is it? Our bug tracking system http://paradigma.ukrcom.kherson.ua/bt/ -- 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 Fri Apr 8 16:00:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 08:00:54 2005 Subject: [V4RB 0000611]: NextRecord() does not works In-Reply-To: Message-ID: On 4/8/05 3:56 PM, "Olivier" wrote: > OK, thank you Ruslan, it works effectively in my small project. > > But in my true application, I had effectively also "table.firstrecord". > Nevertheless, in some tests, it did not work. > I found the problem, it is curious. > There is a problem ONLY in the debugger AND if the window of the > properties of the table (where we see the recid) is displayed. > > For example: > 1-I puts a "pointbreak" in my code in the line "do". (I have already > put it in the project which I send you with this e-mail) > 2-I launch my project > 3-I click on " create DB with nextRecord " > 4-the debugger appears > 5-I display the window of properties of the table " ZipCity " (with > RecId) (window1 - > base - > ZipCity) > 6-I advance step by step in the debugger > 7-in the first passage of the loop RecId is effectively 2 > 8-but in all the following passages, it always jams in 2 > > The same operation but with "recId=recId+1" as a replacement of > "Nextrecord" works this time this very well! > > It is not very important because the problem is only in debugger mode > (AND that the window of the properties of the table is displayed !) but > it is strange and boring for the tests in the debugger. Hi Oliver, I also have see a couple of times that RB debugger gives SIDE EFFECTS. IMHO this is bugs of RB Debugger. -- 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 Fri Apr 8 16:03:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 08:03:05 2005 Subject: FIXED 619 In-Reply-To: Message-ID: On 4/8/05 7:52 AM, "Claudius Sailer" wrote: > But #619, in my point of view a very important bug, is still open. > could someone have a look at it? FIXED. Claudius, You also get so long time for this union query on your 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 ohmitou at wanadoo.fr Fri Apr 8 18:08:48 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 8 09:08:54 2005 Subject: [V4RB2] [#602] Convering V1 to V2 : still crash Message-ID: <20050408140848.20880@smtp.wanadoo.fr> Hello, I have just tried to convert my base ( V1) to ( V2). Convert 1_2 still crash I modified some records ... Miracle: Convert_1_2 worked But V. Studio can not open it. VISQL opened it. It is very unpredictable! How every customer has his own base, I do not how see taking out it! Import-export of cursors ? Regards, -- Thierry Nauze Saint-Denis de la R?union From ktekinay at mactechnologies.com Fri Apr 8 10:18:18 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Apr 8 09:19:04 2005 Subject: [V4RB2] Different results for search between Valentina and MySQL In-Reply-To: Message-ID: On 4/8/05 3:51 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I also have check above 4 SQL commands in viSQL. > And get correct result as MS and mySQL. > > So please test all again. > > We cannot reproduce your report. Sorry I wasn't clear, but I was running the tests using the class-way (fld.FindLike). I see now that the results are different even within Valentina between the class-way and the SQL-way. The SQL-way returns the correct result. I am filing a report on Mantis and will send you a project that shows 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 IvanSmahin at public.kherson.ua Fri Apr 8 17:37:35 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Apr 8 09:37:39 2005 Subject: [V4RB2] [#602] Convering V1 to V2 : still crash In-Reply-To: <20050408140848.20880@smtp.wanadoo.fr> References: <20050408140848.20880@smtp.wanadoo.fr> Message-ID: <771111922.20050408173735@public.kherson.ua> Hello Thierry, Friday, April 8, 2005, 5:08:48 PM, you wrote: TN> Hello, TN> I have just tried to convert my base ( V1) to ( V2). TN> Convert 1_2 still crash TN> I modified some records ... TN> Miracle: Convert_1_2 worked What sort of changes did you perform? Is it possible to localize the problem? If no - we need your 1.x db for testing. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From info at vallemediatime.com Fri Apr 8 16:54:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 8 09:55:00 2005 Subject: [V4MD 2] Primary key Message-ID: <001001c53c4a$ece62780$a4221e97@vmtcktzo3kwrv6> Hi Ruslan. I need a simple help (the docs not always help me) in V1 set StudentRef = MakeNewBaseObject(gDB, "STUDENT") set fldRef = addField(gDB, StudentRef , "sF1", #kTypeString, 36) setFieldFlag(gDB, fldRef, 2, TRUE) -- Primary key in V2 StudentRef = gDb.createTable("STUDENT") and now? I've tried with this bad line but don't works: StudentRef.createStringField("sF1", 24, [#fUnique]) Tnx Paolo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Fri Apr 8 18:49:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 10:49:29 2005 Subject: [V4RB2] [#602] Convering V1 to V2 : still crash In-Reply-To: <20050408140848.20880@smtp.wanadoo.fr> Message-ID: On 4/8/05 5:08 PM, "Thierry Nauze" wrote: > Hello, > > I have just tried to convert my base ( V1) to ( V2). > > Convert 1_2 still crash > > > I modified some records ... > Miracle: Convert_1_2 worked > But V. Studio can not open it. VISQL opened it. > > It is very unpredictable! > > How every customer has his own base, I do not how see taking out it! > Import-export of cursors ? No, you should send us db which you cannot convert. -- 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 Fri Apr 8 19:02:31 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 8 11:02:37 2005 Subject: [V4MD 2] Primary key References: <001001c53c4a$ece62780$a4221e97@vmtcktzo3kwrv6> Message-ID: <001901c53c54$5f010930$3b04a8c0@giv> Hi Paolo, > I've tried with this bad line but don't works: > StudentRef.createStringField("sF1", 24, [#fUnique]) This syntax is correct. What does not work for you? For example, the same syntax is used to create foreign key in the Examples\API_way\Link_ForeignKey.dir example. Have you checked it? -- 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 Claudius at sailer-online.de Fri Apr 8 18:18:21 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Apr 8 11:18:35 2005 Subject: FIXED 619 In-Reply-To: References: Message-ID: Am 08. Apr 2005 um 15:03 Uhr schrieb Ruslan Zasukhin: > On 4/8/05 7:52 AM, "Claudius Sailer" wrote: > >> But #619, in my point of view a very important bug, is still open. >> could someone have a look at it? > > FIXED. Fixed in 2.0.2 fc where I could load this morning? I made tests with this version and ViSQL crashed after 3 times pressing SQL Button. I will test again. > Claudius, > > You also get so long time for this union query on your db ? I am only using UNION query. It takes 2-3 seconds for following code. #if DebugBuild then StartTick=ticks #Endif //Anzeigen des Fortschrittsbalkens und des dazugeh?rigen Textes StaticText2.text=TextDatenErmitteln ProgressBar1.visible=true StaticText2.refresh select case FuellIndex case 1 //PopupMenu und Buttons deaktivieren ButtonAktivDeaktiv 2 EingabeFelderAktivDeaktiv false case 2 //ListBox nach ?endern, L?schen, Hinzuf?gen //Hier muss nix gemacht werden!!!!! //Konten auf ?berziehungen pr?fen,wenn nicht schon gepr?ft wird if bitwiseand(BuchungenCalc,3)=2 then ThreadBeginn.run end if end select //Listbox vorbereiten SQLString=SQLBuilder(33,false,cstr(AktuellesKonto)) CurBuchungen=V4RBSQLSelect(meineDatenbank,SQLString) Ende=CurBuchungen.RecordCount #if DebugBuild then FehlerMeldung("Information", "Cursor aufbauen ben?tigte Sekunden: " + CStr((ticks - StartTick)/60)) #Endif In 1.10 following code need 0.5sec #if DebugBuild then StartTick=ticks #Endif //Anzeigen des Fortschrittsbalkens und des dazugeh?rigen Textes StaticText2.text=TextDatenErmitteln ProgressBar1.visible=true StaticText2.refresh select case FuellIndex case 1 //PopupMenu und Buttons deaktivieren ButtonAktivDeaktiv 2 EingabeFelderAktivDeaktiv false //Zwischentabelle fuellen //Ausgaben uebergeben meineDatenbank.TAnzeige.DeleteAllRecords meineDatenbank.TAnzeige.flush //ParserArbeiten //Ausgaben SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Ausgabe, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) //Einnahmen SQLString="SELECT B.RecID, B.BDatum, KO.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KO" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Herk_Konto=KO.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Ziel_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Einnahme, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) meineDatenbank.Tanzeige.flush #if DebugBuild then FehlerMeldung("Information", "Datenbank umf?llen Ben?tigte Sekunden: " + CStr((ticks - StartTick)/60)) #Endif both in RB DebugMode bye Claudius From ohmitou at wanadoo.fr Fri Apr 8 20:19:55 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Apr 8 11:20:06 2005 Subject: [V4RB2] [#602] Convering V1 to V2 : still crash Message-ID: <20050408161955.6424@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 8/04/05 : >On 4/8/05 5:08 PM, "Thierry Nauze" wrote: > >> Hello, >> >> I have just tried to convert my base ( V1) to ( V2). >> >> Convert 1_2 still crash >> >> >> I modified some records ... >> Miracle: Convert_1_2 worked >> But V. Studio can not open it. VISQL opened it. >> >> It is very unpredictable! >> >> How every customer has his own base, I do not how see taking out it! >> Import-export of cursors ? I am ending the last version of my software using V1 and I implemented various exports in case problem would not be resolved for the next version with V2. > >No, you should send us db which you cannot convert. > I sent to Ivan Regards, -- Thierry Nauze Saint-Denis de la R?union From Claudius at sailer-online.de Fri Apr 8 18:20:37 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Apr 8 11:20:43 2005 Subject: FIXED 619 In-Reply-To: References: Message-ID: Am 08. Apr 2005 um 18:18 Uhr schrieb Claudius Sailer: > SQLString=SQLBuilder(33,false,cstr(AktuellesKonto)) I Forgot SQLString is following Code SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, null, B.Kommentar, B.Blocked FROM Buchungen B, Kategorien K, Konten KZ WHERE B.Kategorie_ID=K.RecID AND (B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='13') AND B.Deleted='0' UNION SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, null, B.Betrag, B.Kommentar, B.Blocked FROM Buchungen B, Kategorien K, Konten KZ WHERE B.Kategorie_ID=K.RecID AND (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='13') AND B.Deleted='0' ORDER BY B.BDatum, KZ.Konto_Name, K.Kategorie_Name bye Claudius From sunshine at public.kherson.ua Fri Apr 8 19:37:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 11:37:08 2005 Subject: FIXED 619 In-Reply-To: Message-ID: On 4/8/05 7:18 PM, "Claudius Sailer" wrote: > Am 08. Apr 2005 um 15:03 Uhr schrieb Ruslan Zasukhin: > >> On 4/8/05 7:52 AM, "Claudius Sailer" wrote: >> >>> But #619, in my point of view a very important bug, is still open. >>> could someone have a look at it? >> >> FIXED. > > Fixed in 2.0.2 fc where I could load this morning? > I made tests with this version and ViSQL crashed after 3 times pressing > SQL Button. > I will test again. No, fixed AFTER your todays report . -- 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 Fri Apr 8 22:48:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 14:48:47 2005 Subject: FIXED: [V4RB2] [#602] Convering V1 to V2 : still crash In-Reply-To: <5102941.20050408193940@public.kherson.ua> Message-ID: On 4/8/05 7:39 PM, "Thierry Nauze" wrote: There was problem in 1.x DLL, It have crash in case your db cause any C++ exception. -- 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 andrew at learningware.com Fri Apr 8 15:37:54 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Apr 8 15:38:26 2005 Subject: DEFAULT in CREATE TABLE? In-Reply-To: References: Message-ID: <4256EBA2.1040308@learningware.com> In version 1, is it possible to indicate a DEFAULT value for a string: eg: CREATE TABLE questions ( ... qType String(50,'ASCII') NOT NULL DEFAULT 'test', ... ... ); When I do this, I get an error "comma expected". From info at vallemediatime.com Fri Apr 8 22:56:16 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Apr 8 15:56:30 2005 Subject: [V4MD 2] Primary key References: <001001c53c4a$ece62780$a4221e97@vmtcktzo3kwrv6> <001901c53c54$5f010930$3b04a8c0@giv> Message-ID: <000b01c53c7d$68954a00$b9141e97@vmtcktzo3kwrv6> Hi Igor, > For example, the same syntax is used to create foreign key in the > Examples\API_way\Link_ForeignKey.dir example. I've tryed the example and I've modify your line with this: fNumber = phones.createStringField("Number", 40 , [#fUnique]) When I start the example I get this alert ERROR: ERR_DYNAMIC_SQL_ERROR() Ciao Paolo ----- Original Message ----- From: "Igor Gomon" To: "Valentina Developers" Sent: Friday, April 08, 2005 6:02 PM Subject: Re: [V4MD 2] Primary key > Hi Paolo, > > > I've tried with this bad line but don't works: > > StudentRef.createStringField("sF1", 24, [#fUnique]) > This syntax is correct. > What does not work for you? > > For example, the same syntax is used to create foreign key in the > Examples\API_way\Link_ForeignKey.dir example. > > Have you checked it? > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From IvanSmahin at public.kherson.ua Sat Apr 9 00:52:42 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Apr 8 16:52:46 2005 Subject: DEFAULT in CREATE TABLE? In-Reply-To: <4256EBA2.1040308@learningware.com> References: <4256EBA2.1040308@learningware.com> Message-ID: <1399645024.20050409005242@public.kherson.ua> Hello Andrew, Friday, April 8, 2005, 11:37:54 PM, you wrote: AS> In version 1, is it possible to indicate a DEFAULT value for a string: AS> eg: AS> CREATE TABLE questions ( AS> ... AS> qType String(50,'ASCII') NOT NULL DEFAULT 'test', AS> ... AS> ... AS> ); You can try this way: CREATE TABLE questions ( ... qType String(50) DEFAULT 'test' NOT NULL, ... ... ); And put this issue to the mantis please. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From softil at onlinehome.de Sat Apr 9 00:10:35 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Apr 8 17:11:21 2005 Subject: [VNET] unknown Kernel error -39 References: Message-ID: <002201c53c87$e0b4bd40$d31bbf54@ipsbasis> Hi Ruslan, if i try to delete an record from my database I get the kernel error -39 return. What does this mean? I can't find anything about this error number. Best regards Carsten BTW: Can you say something about an update for the the VNET-Version of Valentina? I already wait for over six months for it. From sunshine at public.kherson.ua Sat Apr 9 01:35:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 8 17:35:35 2005 Subject: DEFAULT in CREATE TABLE? In-Reply-To: <4256EBA2.1040308@learningware.com> Message-ID: On 4/8/05 11:37 PM, "Andrew Sinning" wrote: > In version 1, is it possible to indicate a DEFAULT value for a string: > > eg: > CREATE TABLE questions ( > ... > qType String(50,'ASCII') NOT NULL DEFAULT 'test', > ... > ... > ); > > When I do this, I get an error "comma expected". Version 1.x DO NOT support DEFAULT. -- 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 ssa at sevenrays.ru Sat Apr 9 03:27:39 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Fri Apr 8 18:28:02 2005 Subject: LIKE Search References: Message-ID: <006301c53c92$8e7b8a80$2101a8c0@AudialHome> Hello! In V4MD (1) i need a LIKE search. I have a field with multiple ID's in format "|23|45|21|" e.t.c. So i use "SELECT * FROM Dress WHERE (Type_id LIKE '|23|') " This works perfectly in MS Access, but in Valentina it returns ALL records of table. Why? Alexey From vidal_olivier at yahoo.fr Sat Apr 9 08:40:57 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Sat Apr 9 01:41:39 2005 Subject: app to create Mac Bundles Message-ID: <53F83732-A8C2-11D9-A0C2-000D93C35C66@yahoo.fr> Hi Ruslan and list, Seen on the Realbasic list : App Bundler http://www.bitjuggler.com/products/appbundler/ Small application it donationware (delivered with Realbasic code source) allowing to make Mac bundles very simply. I began to test it this morning, it is really very simple and seems effective. A simple solution to make bundles (for Mac) including "Vcomponents" (Valentina 2) and the different resources of the application (the application itself, the databases already create, xml, text, pictures files....) ? olivier From sunshine at public.kherson.ua Sat Apr 9 10:39:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 02:39:58 2005 Subject: LIKE Search In-Reply-To: <006301c53c92$8e7b8a80$2101a8c0@AudialHome> Message-ID: On 4/9/05 2:27 AM, "Alexey Starchikhin" wrote: > Hello! > > In V4MD (1) i need a LIKE search. I have a field with multiple ID's > in format "|23|45|21|" e.t.c. > > So i use "SELECT * FROM Dress WHERE (Type_id LIKE '|23|') " This works > perfectly in MS Access, but in Valentina it returns ALL records of table. > Why? Hi Alexey, 1.x have LIKE keyword, but it do in fact REGEX search. So you should use syntax of REGEX WHERE fld LIKE '\|12\|' | this is control symbol of REGEX, so it should be escaped. In 2.0 we have LIKE and REGEX commands -- 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 Sat Apr 9 10:43:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 02:43:07 2005 Subject: app to create Mac Bundles In-Reply-To: <53F83732-A8C2-11D9-A0C2-000D93C35C66@yahoo.fr> Message-ID: On 4/9/05 9:40 AM, "Olivier" wrote: Hi Oliver, > Seen on the Realbasic list : > > App Bundler > http://www.bitjuggler.com/products/appbundler/ > > Small application it donationware (delivered with Realbasic code > source) allowing to make Mac bundles very simply. > I began to test it this morning, it is really very simple and seems > effective. > > A simple solution to make bundles (for Mac) including "Vcomponents" > (Valentina 2) and the different resources of the application (the > application itself, the databases already create, xml, text, pictures > files....) ? Probably, although I still think REALbasic itself should do bundles. Btw, if I not mistake RB can do bundle if you build app as OS X only. I.e. In the MACHO format. Well, I think we can also provide V4RB_MACHO, as separate archive of course... BTW, anybody have try to run CARBON applications made with V4RB2 on OS 9? I think this can 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 Sat Apr 9 10:45:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 02:45:52 2005 Subject: [VNET] unknown Kernel error -39 In-Reply-To: <002201c53c87$e0b4bd40$d31bbf54@ipsbasis> Message-ID: On 4/9/05 1:10 AM, "SoftIl" wrote: Hi Carsten, > Hi Ruslan, > if i try to delete an record from my database I get the kernel error -39 > return. > What does this mean? I can't find anything about this error number. -39 eof error. Bad corruption. You should try rebuild db I think, > Best regards > Carsten > > BTW: > Can you say something about an update for the the VNET-Version of Valentina? > I already wait for over six months for it. Plan is next, we will finish polishing of V4RB and V4MD, in 2.0.2 and 2.0.3 Then we will need ship C++, XCMD, and .NET versions of Valentina. VCOM even after VNET. Interesting how many people have switch from VB6 to VB7. -- 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 ssa at sevenrays.ru Sat Apr 9 12:05:03 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Sat Apr 9 03:05:13 2005 Subject: LIKE Search References: Message-ID: <002f01c53cda$d5f18700$2101a8c0@AudialHome> Thanks, everything is ok now. This project is about to complete, so it's too dangerous for me to switch it to V2 now. I'll do this for the next one. :) Alexey ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, April 09, 2005 11:39 AM Subject: Re: LIKE Search > On 4/9/05 2:27 AM, "Alexey Starchikhin" wrote: > > > Hello! > > > > In V4MD (1) i need a LIKE search. I have a field with multiple ID's > > in format "|23|45|21|" e.t.c. > > > > So i use "SELECT * FROM Dress WHERE (Type_id LIKE '|23|') " This works > > perfectly in MS Access, but in Valentina it returns ALL records of table. > > Why? > > Hi Alexey, > > 1.x have LIKE keyword, but it do in fact REGEX search. > > So you should use syntax of REGEX > > WHERE fld LIKE '\|12\|' > > | this is control symbol of REGEX, so it should be escaped. > > > In 2.0 we have LIKE and REGEX commands > > > -- > 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 Claudius at sailer-online.de Sat Apr 9 11:39:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 9 04:39:27 2005 Subject: Performance Question Message-ID: <954a6ab23ef4d55b8e63ee39611659bb@sailer-online.de> Hi, is my understanding correct. Performance is coming from VComponents? V4RB2-PlugIn is only transfer mechanizem or is Performance part of PlugIn too? So when working on other modules (working on V4RB2 is on hold) this could effect V4RB too during VComponents? So from time to time it would be good decision to download new VComponents? by Claudius -- G4/733 QS / MacOS X 10.3.8de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.2 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat Apr 9 12:46:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 04:46:21 2005 Subject: Performance Question In-Reply-To: <954a6ab23ef4d55b8e63ee39611659bb@sailer-online.de> Message-ID: On 4/9/05 12:39 PM, "Claudius Sailer" wrote: > Hi, > > is my understanding correct. Performance is coming from VComponents? > V4RB2-PlugIn is only transfer mechanizem or is Performance part of > PlugIn too? Mainly VComponents of course. We have yet idea to provide second V4RB plugin, Which will be compiled with absolutely OFF the LOG methods. I think this may give add a few percents in case you do a lots of small calls, such as in API way. > So when working on other modules (working on V4RB2 is on hold) this > could effect V4RB too during VComponents? So from time to time it would > be good decision to download new VComponents? Wait a moment, VComponents now are included into installer of 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 sunshine at public.kherson.ua Sat Apr 9 14:24:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 06:24:47 2005 Subject: [V4MD 2] Primary key In-Reply-To: <000b01c53c7d$68954a00$b9141e97@vmtcktzo3kwrv6> Message-ID: On 4/8/05 11:56 PM, "info@vallemediatime.com" wrote: > Hi Igor, > >> For example, the same syntax is used to create foreign key in the >> Examples\API_way\Link_ForeignKey.dir example. > I've tryed the example and I've modify your line with this: > fNumber = phones.createStringField("Number", 40 , [#fUnique]) > > When I start the example I get this alert > ERROR: ERR_DYNAMIC_SQL_ERROR() > Ciao Paolo Please try save this example, and restart director. -- 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 info at vallemediatime.com Sat Apr 9 14:15:49 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Apr 9 07:16:24 2005 Subject: [V4MD 2] Primary key References: Message-ID: <000c01c53cfd$de030720$31191e97@vmtcktzo3kwrv6> > Please try save this example, and restart director. Made and in the V4MD Log.txt I get: * V4MD *: VTable.setBlank()... * V4MD *: VTable.addRecord()... ERROR: 2 The alert is the same :( It seems to me that the error is in the addRecord Also in my project I get the error at the same handler PS I wait also for the other problem, (I send you the director example file... remember?) In Valentina 1.1 this code: repeat with i = 1 to RecCount fields = cursor.getRecord(i) put fields -- ["firstFld string", "secondFld string", "", ""] in Valentina 2 with the same code I've: -- ["firstFld string", "secondFld string", , ] Have you some news? Tnx Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, April 09, 2005 1:24 PM Subject: Re: [V4MD 2] Primary key > On 4/8/05 11:56 PM, "info@vallemediatime.com" > wrote: > > > Hi Igor, > > > >> For example, the same syntax is used to create foreign key in the > >> Examples\API_way\Link_ForeignKey.dir example. > > I've tryed the example and I've modify your line with this: > > fNumber = phones.createStringField("Number", 40 , [#fUnique]) > > > > When I start the example I get this alert > > ERROR: ERR_DYNAMIC_SQL_ERROR() > > Ciao Paolo > > Please try save this example, and restart director. > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Sat Apr 9 15:39:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 07:39:20 2005 Subject: [V4MD 2] Primary key In-Reply-To: <000c01c53cfd$de030720$31191e97@vmtcktzo3kwrv6> Message-ID: On 4/9/05 3:15 PM, "info@vallemediatime.com" wrote: > in Valentina 2 with the same code I've: > -- ["firstFld string", "secondFld string", , ] > > Have you some news? VOID was fixed You can see in Mantis -- 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 Sat Apr 9 15:39:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 07:39:31 2005 Subject: [V4MD 2] Primary key In-Reply-To: <000c01c53cfd$de030720$31191e97@vmtcktzo3kwrv6> Message-ID: On 4/9/05 3:15 PM, "info@vallemediatime.com" wrote: >> Please try save this example, and restart director. > Made and in the V4MD Log.txt I get: > > * V4MD *: VTable.setBlank()... > * V4MD *: VTable.addRecord()... > ERROR: 2 > > The alert is the same :( > > It seems to me that the error is in the addRecord > Also in my project I get the error at the same handler > > PS > I wait also for the other problem, (I send you the director example file... > remember?) > In Valentina 1.1 this code: > repeat with i = 1 to RecCount > fields = cursor.getRecord(i) > put fields > -- ["firstFld string", "secondFld string", "", ""] Please send us project which cause you problems -- 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 Sat Apr 9 16:38:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 08:38:24 2005 Subject: [V4MD2] Primary Key In-Reply-To: <00f701c53d04$91e896f0$74161e97@vmtcktzo3kwrv6> Message-ID: On 4/9/05 4:03 PM, "info@vallemediatime.com" wrote: >>> Please send us project which cause you problems > Done, > but I don't undestand if this is the right andress :-) > Paolo We have found mistake. V4MD code contains #fIndexUnique. We have fix this. So right now you can use #fIndexUnique But with new version you will need change to #fUnique -- 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 Claudius at sailer-online.de Sat Apr 9 17:43:41 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 9 10:43:52 2005 Subject: V4RB2: isNull function Message-ID: <343c9329a5af6da28d463d55f53ccc36@sailer-online.de> Hi, from Sybase I know follwoing isnull(FieldName,40) when FieldName is NULL result is 40 else result is FieldName do we have this in Valentina 2.0 too? bye Claudius From info at vallemediatime.com Sat Apr 9 17:48:53 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Apr 9 10:49:07 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request Message-ID: <000701c53d1b$a19bc9c0$690a1e97@vmtcktzo3kwrv6> Hi Ruslan and Igor I look for make example to prevent that a Phones comes assigned to the same person... I think that I must do a third table... right? PERSON 1 Ruslan 2 Igor 3 somebody PHONES 1 11111 2 22222 3 xyz PERSON_PHONES 1 PersonPtr -- is a virtual value? 2 PhonesPtr 3 Person+Phones (CONCATE...) ??? How I can assign the PersonPtr and PhonesPtr from a GUI menu? If I delete one person I must delete his Phone and Ive undestand that I must use (cascade deletion, etc.), right? I would appreciate a your example and some help to me. Thanks Paolo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From IvanSmahin at public.kherson.ua Sat Apr 9 18:57:43 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Apr 9 10:57:45 2005 Subject: V4RB2: isNull function In-Reply-To: <343c9329a5af6da28d463d55f53ccc36@sailer-online.de> References: <343c9329a5af6da28d463d55f53ccc36@sailer-online.de> Message-ID: <13104620.20050409185743@public.kherson.ua> Hello Claudius, Saturday, April 9, 2005, 6:43:41 PM, you wrote: CS> Hi, CS> from Sybase I know follwoing CS> isnull(FieldName,40) CS> when FieldName is NULL result is 40 else result is FieldName CS> do we have this in Valentina 2.0 too? Certainly, we have such functions. We use IFNULL for the same purpose as isnull in Sybase. The one of the reason is: isNULL is very similar to the "IS NULL" statement. Also we have COALESCE and NULLIf in this function category. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Sat Apr 9 19:03:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 9 11:03:35 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request In-Reply-To: <000701c53d1b$a19bc9c0$690a1e97@vmtcktzo3kwrv6> Message-ID: On 4/9/05 6:48 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan and Igor > I look for make example to prevent that a Phones comes assigned to the same > person... > I think that I must do a third table... right? right > PERSON > 1 Ruslan > 2 Igor > 3 somebody > > PHONES > 1 11111 > 2 22222 > 3 xyz > > PERSON_PHONES > 1 PersonPtr -- is a virtual value? ^^^^^^^^^^^^^^^^^^^^ why? No. Regular ObjectPtr > 2 PhonesPtr > 3 Person+Phones (CONCATE...) ??? I see. You can make third field as person_phones of ULLONG type, unique as method (PersonPtr << 32) + PhonesPtr > How I can assign the PersonPtr and PhonesPtr from a GUI menu? GUI of what ? > If I delete one person I must delete his Phone and Ive undestand that I must > use (cascade deletion, etc.), right? You can set CASCADE for PersonePtr. But this will force deletion of records for PERSON_PHONES only. Records of Phone table cannot be forced to be deleted, because PhonesPtr point as M to 1. WOW. We have discover another advantage of BIANRY LINK ! Binary link can do M : M and can kill phone records. Paolo, do you want to study this new feature of 2.0 ? Then check our examples about binary link, and read docs about it Using binary link you just DO NOT need third table. WOW2: guys, this bring us to new parameter of BinaryLink: allow duplicate pairs. -- 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 Claudius at sailer-online.de Sat Apr 9 18:16:31 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 9 11:16:43 2005 Subject: V4RB2 Checking date in SQL Message-ID: <6b74b7bece6a5d49c3375b2564be785f@sailer-online.de> Hi, I use follwoing Coding SELECT B.BDatum, HK.Konto_Typ, ZK.Konto_Typ, K.Kategorie_Name, K.Kategorie_Art, SF.SYM_NAME, F.ID, F.FName, K.LfdNr, CASE WHEN HK.Konto_Typ=true AND K.Kategorie_Art=1 THEN B.Betrag * (-1) WHEN HK.Konto_Typ=false AND K.Kategorie_Art=2 THEN B.Betrag * (-1) ELSE B.Betrag END FROM Buchungen B, Konten HK, Konten ZK, Kategorien K, Steuerfuchsfelder SF, Formulare F WHERE B.Herk_Konto=HK.RecID AND B.Ziel_Konto=ZK.RecID AND B.Kategorie_ID=K.RecID AND K.SteuerFeld=SF.RecID AND SF.FArt=F.RecID AND B.Deleted='0' AND B.BDatum>='01.01.2004' AND B.BDatum<='31.12.2004' AND HK.Konto_Typ <> ZK.Konto_Typ ORDER BY F.ID, K.LfdNr, SF.SYM_NAME, B.BDatum result is 0 records. I know I have. When I deactivate following rows AND B.BDatum>='01.01.2004' AND B.BDatum<='31.12.2004' I get results where I also can see that I have also values in 2004. What is my fault? Dateformat is 1 ans separator is "." In 1.10 this coding worked.... thanks Claudius From Claudius at sailer-online.de Sat Apr 9 18:29:35 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Apr 9 11:29:42 2005 Subject: V4RB2 Checking date in SQL In-Reply-To: <6b74b7bece6a5d49c3375b2564be785f@sailer-online.de> References: <6b74b7bece6a5d49c3375b2564be785f@sailer-online.de> Message-ID: Hi, I made BugReport #647 Am 09. Apr 2005 um 18:16 Uhr schrieb Claudius Sailer: > Hi, > > I use follwoing Coding > > SELECT B.BDatum, HK.Konto_Typ, ZK.Konto_Typ, K.Kategorie_Name, > K.Kategorie_Art, SF.SYM_NAME, F.ID, F.FName, K.LfdNr, > CASE > WHEN HK.Konto_Typ=true AND K.Kategorie_Art=1 THEN B.Betrag * (-1) > WHEN HK.Konto_Typ=false AND K.Kategorie_Art=2 THEN B.Betrag * (-1) > ELSE B.Betrag > END > FROM Buchungen B, Konten HK, Konten ZK, Kategorien K, > Steuerfuchsfelder SF, Formulare F > WHERE B.Herk_Konto=HK.RecID > AND B.Ziel_Konto=ZK.RecID > AND B.Kategorie_ID=K.RecID > AND K.SteuerFeld=SF.RecID > AND SF.FArt=F.RecID > AND B.Deleted='0' > AND B.BDatum>='01.01.2004' > AND B.BDatum<='31.12.2004' > AND HK.Konto_Typ <> ZK.Konto_Typ > ORDER BY F.ID, K.LfdNr, SF.SYM_NAME, B.BDatum > > result is 0 records. I know I have. When I deactivate following rows > > AND B.BDatum>='01.01.2004' > AND B.BDatum<='31.12.2004' > > I get results where I also can see that I have also values in 2004. > What is my fault? > Dateformat is 1 ans separator is "." > > In 1.10 this coding worked.... > > thanks > > > Claudius > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ktekinay at mactechnologies.com Sat Apr 9 22:12:22 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat Apr 9 21:12:29 2005 Subject: VServer vs. Embedded Server Message-ID: I think I know what the VServer does, but what is the Embedded Server, and how does one use/deploy it? __________________________________________________________________________ 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 Sun Apr 10 19:48:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 10 11:48:45 2005 Subject: VServer vs. Embedded Server In-Reply-To: Message-ID: On 4/10/05 5:12 AM, "Kem Tekinay" wrote: > I think I know what the VServer does, but what is the Embedded Server, and > how does one use/deploy it? Hi Kem, Technically Vserver Office and Vserver embedded are the same application. They differ in license only and license files. Kem, I think you can find answer on your question on our web pages AND in the Vserver.pdf which describe steps to prepare installer of your app with Embedded Vserver. -- 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 info at vallemediatime.com Sun Apr 10 19:27:06 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Apr 10 12:27:17 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request References: Message-ID: <001601c53df2$8477c970$89211e97@vmtcktzo3kwrv6> Hi Ruslan, > Paolo, do you want to study this new feature of 2.0 ? > Then check our examples about binary link, and read docs about it > Using binary link you just DO NOT need third table. Binary links are a good way but in my test I've found some issues I've modify your link_binary_example and now I send it to you, in the example you can see some issues and question.... > WOW2: guys, this bring us to new parameter of BinaryLink: > allow duplicate pairs. Right, but I don't want duplicate pairs. Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Ivan Smahin" ; "Frank Schima" Sent: Saturday, April 09, 2005 6:03 PM Subject: Re: [V4MD2] ObjectPtr in thirdTable: example request > On 4/9/05 6:48 PM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > Hi Ruslan and Igor > > I look for make example to prevent that a Phones comes assigned to the same > > person... > > I think that I must do a third table... right? > > right > > > PERSON > > 1 Ruslan > > 2 Igor > > 3 somebody > > > > PHONES > > 1 11111 > > 2 22222 > > 3 xyz > > > > PERSON_PHONES > > 1 PersonPtr -- is a virtual value? > ^^^^^^^^^^^^^^^^^^^^ why? No. Regular ObjectPtr > > 2 PhonesPtr > > 3 Person+Phones (CONCATE...) ??? > > I see. > > You can make third field as > > person_phones of ULLONG type, unique > as method (PersonPtr << 32) + PhonesPtr > > > > How I can assign the PersonPtr and PhonesPtr from a GUI menu? > > GUI of what ? > > > If I delete one person I must delete his Phone and Ive undestand that I must > > use (cascade deletion, etc.), right? > > You can set CASCADE for PersonePtr. But this will force deletion of records > for PERSON_PHONES only. > > Records of Phone table cannot be forced to be deleted, because PhonesPtr > point as M to 1. > > WOW. We have discover another advantage of BIANRY LINK ! > Binary link can do M : M and can kill phone records. > > Paolo, do you want to study this new feature of 2.0 ? > Then check our examples about binary link, and read docs about it > > Using binary link you just DO NOT need third table. > > WOW2: guys, this bring us to new parameter of BinaryLink: > > allow duplicate pairs. > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From ktekinay at mactechnologies.com Sun Apr 10 14:31:18 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 10 13:31:26 2005 Subject: VServer vs. Embedded Server In-Reply-To: Message-ID: On 4/10/05 12:48 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Kem, I think you can find answer on your question on our web pages AND in > the Vserver.pdf which describe steps to prepare installer of your app with > Embedded Vserver. I couldn't find what I needed on the web site, but I did find the PDF. Thanks. BTW, the PDF, on page 14, says: > You can check list of registered ports here: > > http://www.... __________________________________________________________________________ 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 mitsakos at helmug.gr Mon Apr 11 00:27:43 2005 From: mitsakos at helmug.gr (Dimitris Tsarouhas) Date: Sun Apr 10 16:27:54 2005 Subject: [V4RB2.0.2fc]:MAC:how do I create Database? Message-ID: <32bddb4ed80c82dfe7617009a5c535b5@helmug.gr> Could someone please tell me an example of how to instantaniate new valentina database using the RB database API with valentina? I am using V4RB 2.0.2 final candidate Currently I am creating a REALDatabase using these commands: dim db as REALDatabase dim f as folderitem db=New REALdatabase db.databaseFile=f If db.CreateDatabaseFile then //proceed with database operations... and I am applying on db all of REALBasics Database Class methods. When I do dim db as Vdatabase db=new Vdatabase the db has different methods than these of REALDatabase How could I use my REALDatabase application and migrate it to valentina? From snw at paradise.net.nz Mon Apr 11 16:00:24 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sun Apr 10 23:00:37 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: References: Message-ID: <6.2.1.2.2.20050411154830.0333ebb0@pop3.paradise.net.nz> >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. Sorry for not testing this earlier, but it doesn't work for me. What I did: 1). Created an entry in my xtrainfo.txt file for the package like so: [#namePPC:"V4MD", #nameW32:"V4MD.x32", #package:"http://paradigmasoft.com/download/V4MD_2_win"] 2). Created a new director movie, added the V4MD.x32 xtra in the Modify -> Movie -> Xtras dialog, de-selected and re-selected the "Download if needed" checkbox for this xtra so that it would ping the download URL and validate the packages (ignoring the warnings about not finding packages for classic or carbon) 3). Published this movie and uploaded it so that I could load it into my browser, which I did 4). Tested this movie in both Explorer and FireFox - in both browsers the status bar indicates it's contacting paradigma for the xtra. Looking in my system's temp folder I can see the w32 package streaming in 5). Complete package downloaded but the xtra isn't extracted/installed nor am I presented with the (expected) Verisign dialog My guess is that it's failing at the Verisign stage, but I can't tell for sure. What I was *really* interested in was how you deal with dependencies on VComponents and VEngine. Without being able to test this until the xtra installation issue is resolved, can you comment on whether the xtra depends on these libraries? Can you provide the raw unpackaged xtra for download so that I can place it in the Shockwave support folder myself and test it? Thanks, -Sean. From gaseous1 at mac.com Sat Apr 9 09:05:16 2005 From: gaseous1 at mac.com (Eric Werner, MD) Date: Sun Apr 10 23:55:11 2005 Subject: Record selection in V4RB-API Message-ID: Ruslan, Thanks for the rapid update to the kernel and the REALbasic plug-in. There is no easy way to directly to go a specific record in a VSet or VBinSet, unlike VArraySet (where the ItemAt method serves this purpose). Could this type of access be added? -- Regards, Eric From sun2 at public.kherson.ua Mon Apr 11 09:04:46 2005 From: sun2 at public.kherson.ua (Serge) Date: Mon Apr 11 01:05:02 2005 Subject: [V4RB2.0.2fc]:MAC:how do I create Database? In-Reply-To: <32bddb4ed80c82dfe7617009a5c535b5@helmug.gr> Message-ID: Hi Dimitris, > Currently I am creating a REALDatabase using these commands: > > dim db as REALDatabase > dim f as folderitem > > db=New REALdatabase > db.databaseFile=f > If db.CreateDatabaseFile then > //proceed with database operations... > > > and I am applying on db all of REALBasics Database Class methods. > When I do > dim db as Vdatabase > db=new Vdatabase > the db has different methods than these of REALDatabase > How could I use my REALDatabase application and migrate it to valentina? You should do next: Open Event // First of all we must init Valentina engine Valentina.Init(8 * 1024 * 1024) Your Method: Dim db as VRBDataBase dbFile = GetFolderItem(filename) db = new VRBDataBase db.databaseFile = dbFile if db.CreateDatabaseFile then ............................. rest of your code ............................. Close event // When we finish work with Valentina engine we should shutdown it. Valentina.Shutdown In attachment you can see the example "Database Access" (It will be in the example folder of valentina in the next build). -- Best regards, Serge From valentinadb at gmail.com Mon Apr 11 13:56:12 2005 From: valentinadb at gmail.com (ricky wibowo) Date: Mon Apr 11 01:56:27 2005 Subject: VB and VMD Blob Message-ID: hello, My valentina is version 1.x . I used to save and view blob with MD (PICT files) and there's no problem. but yesterday my client ask to update the catalog, so i try to save blob using visual basic using ADODB.stream after it run, the file become bigger and bigger, i suppose the saving is worked. but after run with MD, the data is shown and not the blob. so can i request example vb script to saving blob please? this is the vb script Dim bo As VBaseObject Set bo = db.BaseObject("rdInventory") i = 1 bo.FirstRecord While Not i >= bo.RecordCount If cekfile(bo.Field("fd_Group").Value & "-" & bo.Field("fd_Code").Value) Then Set mystream = New ADODB.Stream mystream.Type = adTypeBinary mystream.Open 'MsgBox txtimgdir.Text & "\" & bo.Field("fd_Group").Value & "-" & bo.Field("fd_Code").Value & ".pct" mystream.LoadFromFile txtimgdir.Text & "\" & bo.Field("fd_Group").Value & "-" & bo.Field("fd_Code").Value & ".pct" bo.Field("fd_blob").WriteBLOBData mystream.Read, 500 bo.UpdateRecord mystream.Flush mystream.Close Set mystream = Nothing Thanks in a bunch Ricky wibowo From sunshine at public.kherson.ua Mon Apr 11 10:01:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 02:01:21 2005 Subject: Record selection in V4RB-API In-Reply-To: Message-ID: On 4/9/05 5:05 PM, "Eric Werner, MD" wrote: Hi Eric, > Ruslan, > > Thanks for the rapid update to the kernel and the REALbasic plug-in. There > is no easy way to directly to go a specific record in a VSet or VBinSet, > unlike VArraySet (where the ItemAt method serves this purpose). > > Could this type of access be added? Random Access can be done only for ArraySet. So you need convert to ArraySet on final step. -- 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 Apr 11 10:01:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 02:02:02 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request In-Reply-To: <001601c53df2$8477c970$89211e97@vmtcktzo3kwrv6> Message-ID: On 4/10/05 8:27 PM, "info@vallemediatime.com" wrote: Hi Paolo, >> Paolo, do you want to study this new feature of 2.0 ? >> Then check our examples about binary link, and read docs about it >> Using binary link you just DO NOT need third table. > > Binary links are a good way but in my test I've found some issues > I've modify your link_binary_example and now I send it to you, in the > example you can see some issues and question.... > >> WOW2: guys, this bring us to new parameter of BinaryLink: >> allow duplicate pairs. > Right, but I don't want duplicate pairs. Then you will set this parameter = false :-) -- 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 Apr 11 10:12:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 02:12:21 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: <6.2.1.2.2.20050411154830.0333ebb0@pop3.paradise.net.nz> Message-ID: On 4/11/05 7:00 AM, "Sean Wilson" wrote: >> 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. > > Sorry for not testing this earlier, but it doesn't work for me. > > What I did: > 1). Created an entry in my xtrainfo.txt file for the package like so: > [#namePPC:"V4MD", #nameW32:"V4MD.x32", > #package:"http://paradigmasoft.com/download/V4MD_2_win"] > 2). Created a new director movie, added the V4MD.x32 xtra in the Modify -> > Movie -> Xtras dialog, de-selected and re-selected the "Download if needed" > checkbox for this xtra so that it would ping the download URL and validate > the packages (ignoring the warnings about not finding packages for classic > or carbon) > 3). Published this movie and uploaded it so that I could load it into my > browser, which I did > 4). Tested this movie in both Explorer and FireFox - in both browsers the > status bar indicates it's contacting paradigma for the xtra. Looking in my > system's temp folder I can see the w32 package streaming in > 5). Complete package downloaded but the xtra isn't extracted/installed nor > am I presented with the (expected) Verisign dialog > > My guess is that it's failing at the Verisign stage, but I can't tell for > sure. Well, then we need wait a couple of days for Igor. Igor have take small vacation. > What I was *really* interested in was how you deal with dependencies on > VComponents and VEngine. Without being able to test this until the xtra > installation issue is resolved, can you comment on whether the xtra depends > on these libraries? Can you provide the raw unpackaged xtra for download so > that I can place it in the Shockwave support folder myself and test it? V4MD SW Package contains 1) V4MD.Xtra 2) Vclient.dll 3) 2 small MS dlls Nothing more. No Vkernel, no ICU, ... I.e. It is pure client to Valentina Server. -- 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 Apr 11 10:19:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 02:19:26 2005 Subject: VB and VMD Blob In-Reply-To: Message-ID: On 4/11/05 9:56 AM, "ricky wibowo" wrote: Hi Ricky, > My valentina is version 1.x . I used to save and view blob with MD > (PICT files) and there's no problem. So you use Vpicture field of Valentina. Right? Why you say: I store BLOB? Do you mean: I store pictures? Do you use SetMedia or SetPicture handlers ? > but yesterday my client ask to update the catalog, so i try to save > blob using visual basic using ADODB.stream > > after it run, the file become bigger and bigger, i suppose the saving > is worked. but after run with MD, the data is shown and not the blob. > > so can i request example vb script to saving blob please? I believe that VCOM archive contains example how to work with Picture field. Please check it. > this is the vb script > > Dim bo As VBaseObject > Set bo = db.BaseObject("rdInventory") > i = 1 > bo.FirstRecord > While Not i >= bo.RecordCount > > > If cekfile(bo.Field("fd_Group").Value & "-" & > bo.Field("fd_Code").Value) Then > Set mystream = New ADODB.Stream > mystream.Type = adTypeBinary > > mystream.Open > 'MsgBox txtimgdir.Text & "\" & bo.Field("fd_Group").Value > & "-" & bo.Field("fd_Code").Value & ".pct" > mystream.LoadFromFile txtimgdir.Text & "\" & > bo.Field("fd_Group").Value & "-" & bo.Field("fd_Code").Value & ".pct" > bo.Field("fd_blob").WriteBLOBData mystream.Read, 500 > bo.UpdateRecord > mystream.Flush > mystream.Close > > Set mystream = Nothing Hmm. You store .pct picture as is...using WriteBLOBData. This will not work. You should use function from VPicture field ... Something as WriteAsPicture -- 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 snw at paradise.net.nz Mon Apr 11 19:45:50 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Apr 11 02:46:05 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: References: <6.2.1.2.2.20050411154830.0333ebb0@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050411194515.02a60eb0@pop3.paradise.net.nz> >V4MD SW Package contains > > 1) V4MD.Xtra > 2) Vclient.dll > 3) 2 small MS dlls > >Nothing more. >No Vkernel, no ICU, ... > >I.e. It is pure client to Valentina Server. Excellent. Thanks for clearing that up for me. -Sean. From info at vallemediatime.com Mon Apr 11 11:14:42 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Apr 11 04:15:01 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request References: Message-ID: <000801c53e76$e562fd20$310a1e97@vmtcktzo3kwrv6> > Then you will set this parameter = false it's easy to do... if I find it on the docs but where is it? :-) Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Monday, April 11, 2005 9:01 AM Subject: Re: [V4MD2] ObjectPtr in thirdTable: example request > On 4/10/05 8:27 PM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > >> Paolo, do you want to study this new feature of 2.0 ? > >> Then check our examples about binary link, and read docs about it > >> Using binary link you just DO NOT need third table. > > > > Binary links are a good way but in my test I've found some issues > > I've modify your link_binary_example and now I send it to you, in the > > example you can see some issues and question.... > > > >> WOW2: guys, this bring us to new parameter of BinaryLink: > >> allow duplicate pairs. > > Right, but I don't want duplicate pairs. > > Then you will set this parameter = false > :-) > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Mon Apr 11 13:29:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 05:29:26 2005 Subject: [V4MD2] ObjectPtr in thirdTable: example request In-Reply-To: <000801c53e76$e562fd20$310a1e97@vmtcktzo3kwrv6> Message-ID: On 4/11/05 12:14 PM, "info@vallemediatime.com" wrote: >> Then you will set this parameter = false > it's easy to do... if I find it on the docs but where is it? :-) Paolo, I mean that we NEED to make such parameter. BTW, right now binaryLink do not allow duplicates. So it should work as you want. -- 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 Apr 11 14:55:48 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Apr 11 05:55:57 2005 Subject: [V4RB2] ORDER BY ? Message-ID: <20050411105548.3697@smtp.wanadoo.fr> Hello, I am adapting my program for V4RB2. With V4RB1, curseur=db.SQLselect("SELECT id FROM individus WHERE id>0 ORDER BY nom,prenoms") returns the good cursor. With V4RB2, it returnsa nil cursor. To obtain the good cursor, it is necessary to write: curseur=db.SQLselect("SELECT id,nom,prenoms FROM individus WHERE id>0 ORDER BY nom,prenoms") Is it deliberate or is it a bug? Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon Apr 11 14:54:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 06:54:58 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: <20050411105548.3697@smtp.wanadoo.fr> Message-ID: On 4/11/05 1:55 PM, "Thierry Nauze" wrote: Hi Thierry, > I am adapting my program for V4RB2. > > With V4RB1, > curseur=db.SQLselect("SELECT id FROM individus WHERE id>0 ORDER BY > nom,prenoms") > returns the good cursor. > With V4RB2, it returnsa nil cursor. > > To obtain the good cursor, it is necessary to write: > curseur=db.SQLselect("SELECT id,nom,prenoms FROM individus WHERE id>0 > ORDER BY nom,prenoms") > > Is it deliberate or is it a bug? v2 do not allow to have ORDER BY on field which is not in SELECT Actually this is SQL92 standard. -- 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 Apr 11 16:25:12 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Apr 11 07:25:22 2005 Subject: [V4RB2] ORDER BY ? Message-ID: <20050411122512.23192@smtp.wanadoo.fr> Hi Ruslan, sunshine@public.kherson.ua a ?crit le 11/04/05 : >v2 do not allow to have ORDER BY on field which is not in SELECT > >Actually this is SQL92 standard. I am going to adapt. Thanks -- Thierry Nauze Saint-Denis de la R?union From rjb at robelko.com Mon Apr 11 14:24:48 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Apr 11 07:25:53 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: <20050411105548.3697@smtp.wanadoo.fr> References: <20050411105548.3697@smtp.wanadoo.fr> Message-ID: >Hello, > >I am adapting my program for V4RB2. > >With V4RB1, >curseur=db.SQLselect("SELECT id FROM individus WHERE id>0 ORDER BY >nom,prenoms") >returns the good cursor. >With V4RB2, it returnsa nil cursor. > >To obtain the good cursor, it is necessary to write: >curseur=db.SQLselect("SELECT id,nom,prenoms FROM individus WHERE id>0 >ORDER BY nom,prenoms") > >Is it deliberate or is it a bug? > >Regards, > >-- >Thierry Nauze Saint-Denis de la R?union Actually, you should have done the same in v4rb1 as well. In my experience with V1, some querries work fine without order by items in select, but others do not. It's hit and miss scenerio, so is safer to include them. Robert From lfredricks at proactive-intl.com Mon Apr 11 08:59:42 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon Apr 11 10:59:53 2005 Subject: VServer vs. Embedded Server In-Reply-To: Message-ID: <20050411155945.AAE0C175115@whisk.dreamhost.com> > I think I know what the VServer does, but what is the > Embedded Server, and how does one use/deploy it? Valentina Office Server = deploy once, but you can hook in any types and numbers of client-server apps to it, just like when you buy a product like mySQL Server. Valentina Embedded Server = you can deploy the default version royalty free, according to the limitations of the license agreement. The v2 ADK license agreement (and the same applies to Valentina Embedded Server) has less stringent requirements than the v1 SDK license agreement. Valentina Developer Network members can also buy Valentina Office Server at 20% off of USSRP. This is so VDN members can create custom solutions that all build around a central hub of a Valentina Office Server installation. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From rosyna at unsanity.com Mon Apr 11 09:07:29 2005 From: rosyna at unsanity.com (Rosyna) Date: Mon Apr 11 11:07:33 2005 Subject: VCSDK documentation missing Message-ID: Err. sent this to the wrong list. Where can I acquire the v1.1x C API documentation? It's supposed to be at http://www.paradigmasoft.com/en/products/documentation/VCSDK but it just 404's me in the head. -- Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug Unsanity: Unsane Tools for Insanely Great People From sunshine at public.kherson.ua Mon Apr 11 19:24:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 11:24:29 2005 Subject: FIXED: VCSDK documentation missing In-Reply-To: Message-ID: On 4/11/05 7:07 PM, "Rosyna" wrote: > Err. sent this to the wrong list. > > Where can I acquire the v1.1x C API documentation? It's supposed to > be at http://www.paradigmasoft.com/en/products/documentation/VCSDK > but it just 404's me in the head. -- 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 Mon Apr 11 19:14:01 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Apr 11 12:14:16 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: Message-ID: Hello, > v2 do not allow to have ORDER BY on field which is not in SELECT > Actually this is SQL92 standard. >> Actually, you should have done the same in v4rb1 >> as well. In my experience with V1, some querries >> work fine without order by items in select, but >> others do not. It's hit and miss scenerio, so is >> safer to include them. Safer or standard, maybe... But the returned cursor will be bigger, generating more network trafic, since you'll get fields that you won't use. For some queries, this will not be an issue, for others, that may slow down performances, don't you think? Eric From fvanlerberghe at freegates.be Mon Apr 11 19:43:48 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Apr 11 12:43:46 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: Message-ID: le 11/04/05 19:14, Eric Ferrer a ?crit?: > Safer or standard, maybe... > But the returned cursor will be bigger, generating more network trafic, > since you'll get fields that you won't use. > For some queries, this will not be an issue, for others, that may slow down > performances, don't you think? Same advice as you. Unless Ruslan doesn't agree with us about performances I think it would be nice to allow sorting on a field that is not present in the query. Even it's not standard... Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Mon Apr 11 20:44:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 12:44:29 2005 Subject: [ANN] V4RB, V4MD, Vservers 2.0.2 UPDATE. Mac +Win Message-ID: kernel - 2.0.2 ============== - 0000655: [Links] Link.get_LinkedCount() returns garbage if no linked records. (Ruslan Zasukhin) - 0000653: [Tables] Wrong get_Field( ushort ) behaviour. (Ivan Smahin) - 0000652: [Database] Database is not flushed after create. (Ivan Smahin) - 0000622: [SQL Parser] Crash after wrong SQL (Serge) - 0000624: [SQL] Wrong RecID by SQL-Select (Ivan Smahin) - 0000610: [SQL] SQL crashes application (Ivan Smahin) - 0000288: [Files] Byte Swapping for cross-platform movement (Igor Gomon) - 0000635: [Files] Db with Locked files or db on CD throw -61 error (Ruslan Zasukhin) - 0000615: [API] Delete several records in a loop -> index corrupted (Ruslan Zasukhin) - 0000634: [Fields] If create in table with records new VarChar field and close db => corruption. (Igor Gomon) - 0000612: [Fields] LIKE ignores db/table/field case-sensitive settings. (Ivan Smahin) - 0000603: [Database] Convert_1_2 crash in some circumstances with ObjectPtrs. (Ivan Smahin) - 0000614: [API] Delete many records -> corruption (Ruslan Zasukhin) - 0000625: [SQL] Escaped underscore does not work (Serge) V4RB - 2.0.2 ============ - 0000601: [API] Crash during the opening of a base without index (Ruslan Zasukhin) - 0000654: [Examples] [NEW] RBDB_way, Example "Doctors" (Serge) - 0000651: [Docs] Incorrect example in Field( inIndex as Integer ) as VField (Galina Pushenko) - 0000643: [Feature Request] plugin don't compile for Windows (Ruslan Zasukhin) - 0000602: [API] Converting V1 DB to V2 : crash (Ruslan Zasukhin) - 0000642: [Class-way] Different results returned by class-way vs. SQL-way (Ivan Smahin) - 0000636: [Other] Do not work with REALBasic 2005 (Ruslan Zasukhin) - 0000592: [Installation] V4RB 2.0 plugin file is missing the version info (Ruslan Zasukhin) - 0000593: [Sets] ArraySets don't sort properly after record is modified (Ruslan Zasukhin) - 0000627: [Class-way] Creating VSet leaks memory (Ivan Smahin) - 0000633: [API] [CHG] Union(), Intersection(), Difference() methods moved to VBitSet and VArraySet classes. (Ruslan Zasukhin) - 0000631: [Class-way] VBitSet and VArraySet cannot use Union, Difference, Intersection, etc. (Ruslan Zasukhin) - 0000608: [RBDB API] RecID field are not returned values (Serge) - 0000583: [Examples] Table_Create.rb Example Does Create a Database (Ruslan Zasukhin) - 0000620: [Class-way] FindStartsWith crashes app without an exception (Ivan Smahin) V4MD - 2.0.2 ============ - 0000645: [API] Instead of EMPTY string list get VOID value (Igor Gomon) - 0000637: [API] getColumns() -- allow me to specify start & end of records (Ruslan Zasukhin) - 0000640: [API] var = VCursor.Position is broken (Ruslan Zasukhin) - 0000639: [API] Valentina.Convert_1_2() method added. (Igor Gomon) - 0000617: [API] enhance getRecordsAsString() (Igor Gomon) -- 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 Apr 11 20:52:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 12:52:43 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: Message-ID: On 4/11/05 8:14 PM, "Eric Ferrer" wrote: >> v2 do not allow to have ORDER BY on field which is not in SELECT >> Actually this is SQL92 standard. > >>> Actually, you should have done the same in v4rb1 >>> as well. In my experience with V1, some querries >>> work fine without order by items in select, but >>> others do not. It's hit and miss scenerio, so is >>> safer to include them. > > Safer or standard, maybe... > But the returned cursor will be bigger, generating more network trafic, > since you'll get fields that you won't use. > For some queries, this will not be an issue, for others, that may slow down > performances, don't you think? If think about network then agree NOTE, we plan relax this requirement to allow for simple cases do sorting of not-SELECTed fields. I think we can do this for single table query... -- 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 ayu8 at cdc.gov Mon Apr 11 13:39:46 2005 From: ayu8 at cdc.gov (Sims, John) Date: Mon Apr 11 12:59:56 2005 Subject: [V4RB2] ORDER BY ? Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Eric Ferrer > Sent: Monday, April 11, 2005 1:14 PM > To: Valentina Developers > Subject: Re: [V4RB2] ORDER BY ? > > > > Hello, > > > v2 do not allow to have ORDER BY on field which is not in SELECT > > Actually this is SQL92 standard. > > >> Actually, you should have done the same in v4rb1 > >> as well. In my experience with V1, some querries > >> work fine without order by items in select, but > >> others do not. It's hit and miss scenerio, so is > >> safer to include them. > > Safer or standard, maybe... > But the returned cursor will be bigger, generating more > network trafic, since you'll get fields that you won't use. > For some queries, this will not be an issue, for others, that > may slow down performances, don't you think? > > Eric > I tend to agree with Eric on this one. The ability he describes is available in both MS Access and SQL Server. I have used this so much, I actually thought it was part of the SQL standard. Where this can become extremely valuable is when binding to multi-column listboxes and grid-type controls. If the cursor only returns the columns you are interested in displaying, you can very quickly and easily get the listbox/grid filled in. When you have to start paying attention to additional columns required to sort the cursor, you now have more code necessary to filter out those unwanted columns. This doesn't really affect me at the moment because my current project is using the API way almost exclusively, but I can definitely see where Eric is coming. Eric, I think one of us should at least put this in Mantis as a feature request. Take care, -John From sunshine at public.kherson.ua Mon Apr 11 21:09:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 13:09:19 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: Message-ID: On 4/11/05 8:39 PM, "Sims, John" wrote: > > This doesn't really affect me at the moment because my current project > is using the API way almost exclusively, but I can definitely see where > Eric is coming. Eric, I think one of us should at least put this in > Mantis as a feature request. I think it exists there -- 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 Claudius at sailer-online.de Mon Apr 11 20:11:58 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Apr 11 13:12:27 2005 Subject: FIXED 619 In-Reply-To: References: Message-ID: <8aacc053d953a2c52356b2fc7fcc6456@sailer-online.de> Hi Ruslan, Am 08. Apr 2005 um 15:03 Uhr schrieb Ruslan Zasukhin: > On 4/8/05 7:52 AM, "Claudius Sailer" wrote: > >> But #619, in my point of view a very important bug, is still open. >> could someone have a look at it? > > FIXED. I tested now 2.0.2 final. #619 is not fixed. Sorry! bye Claudius From sunshine at public.kherson.ua Mon Apr 11 21:18:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 13:18:47 2005 Subject: FIXED 619 In-Reply-To: <8aacc053d953a2c52356b2fc7fcc6456@sailer-online.de> Message-ID: On 4/11/05 9:11 PM, "Claudius Sailer" wrote: > Hi Ruslan, > > Am 08. Apr 2005 um 15:03 Uhr schrieb Ruslan Zasukhin: > >> On 4/8/05 7:52 AM, "Claudius Sailer" wrote: >> >>> But #619, in my point of view a very important bug, is still open. >>> could someone have a look at it? >> >> FIXED. > > I tested now 2.0.2 final. #619 is not fixed. Sorry! Bad. Aha, we have not mark it as fixed... We will need study it again. Your prev to last note have work for me... -- 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 info at vallemediatime.com Mon Apr 11 23:48:10 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Apr 11 16:48:24 2005 Subject: [V4MD 2.0.2] crash on startMovie Message-ID: <001401c53ee0$27b27390$9f1c1e97@vmtcktzo3kwrv6> Hi Ruslan, the new setup crash on startMovie... "Fatal error..." Please check the update. Paolo -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Tue Apr 12 00:54:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 16:54:10 2005 Subject: [V4MD 2.0.2] crash on startMovie In-Reply-To: <001401c53ee0$27b27390$9f1c1e97@vmtcktzo3kwrv6> Message-ID: On 4/12/05 12:48 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > the new setup crash on startMovie... "Fatal error..." > Please check the update. > Paolo What OS you use ? Just only have run examples on OS X and it works fine -- 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 Mon Apr 11 23:42:53 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Apr 11 17:03:04 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: References: Message-ID: > > >> Safer or standard, maybe... >> But the returned cursor will be bigger, generating more >> network trafic, since you'll get fields that you won't use. >> For some queries, this will not be an issue, for others, that >> may slow down performances, don't you think? >> >> Eric >> > >I tend to agree with Eric on this one. The ability he describes is >available in both MS Access and SQL Server. I have used this so much, I >actually thought it was part of the SQL standard. Where this can become >extremely valuable is when binding to multi-column listboxes and >grid-type controls. If the cursor only returns the columns you are >interested in displaying, you can very quickly and easily get the >listbox/grid filled in. When you have to start paying attention to >additional columns required to sort the cursor, you now have more code >necessary to filter out those unwanted columns. > >This doesn't really affect me at the moment because my current project >is using the API way almost exclusively, but I can definitely see where >Eric is coming. Eric, I think one of us should at least put this in >Mantis as a feature request. > >Take care, > >-John I did not mean that I consider having to include them is better. On the contrary, I usually want to sort on fields that I do not need in the cursor. Even without the network performance issues, it just makes the code bigger by having to fudge these out. So I am on that with you guys. However, I have been bitten a few times by malfunctioning SQL in V1 and including sort fields in select fixed that, hence my reply to the original poster. It surely would be nice to have this cleaned one way or the other. Robert From info at vallemediatime.com Tue Apr 12 00:15:12 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Apr 11 17:15:21 2005 Subject: [V4MD 2.0.2] crash on startMovie References: Message-ID: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> > What OS you use ? WIN XP PRO and now I've re-installed v.2.0.1 and: AAARRRRGH!!! I get always the ERR_INTERNAL_DEMO_TIMEOUT() I've restart my PC delete the The Paradigma Software Folder of 2.0.2; check again the Path, re-installed 2.0.1, uff uff uff. Nothing to do Ruslan, please chek on Windows too not only Mac, I love Mac but I must work on Win, and the director users are more on win OS, right? Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Monday, April 11, 2005 11:54 PM Subject: Re: [V4MD 2.0.2] crash on startMovie > On 4/12/05 12:48 AM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > the new setup crash on startMovie... "Fatal error..." > > Please check the update. > > Paolo > > What OS you use ? > > Just only have run examples on OS X and it works fine > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From snw at paradise.net.nz Tue Apr 12 10:22:10 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Apr 11 17:22:59 2005 Subject: older VServer and VXCMD downloads? In-Reply-To: References: Message-ID: <6.2.1.2.2.20050412102122.04519b30@pop3.paradise.net.nz> >It would be nice to access the v1 folder to see all files that are >available. as was possible back in the "good old days" when there was FTP access ;-) -Sean. From snw at paradise.net.nz Tue Apr 12 10:49:34 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Apr 11 17:49:41 2005 Subject: [V4MD 2.0.2] crash on startMovie In-Reply-To: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> References: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> Message-ID: <6.2.1.2.2.20050412104717.0408b260@pop3.paradise.net.nz> > > What OS you use ? >WIN XP PRO So do I, and it's crashing on the line: Valentina.Init(8 * 1024 * 1024) in the Example_init handler of the ValentinaGlobals script of the shared cast -Sean. From info at vallemediatime.com Tue Apr 12 00:55:33 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Apr 11 17:55:40 2005 Subject: [V4MD 2.0.2] crash on startMovie References: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> <6.2.1.2.2.20050412104717.0408b260@pop3.paradise.net.nz> Message-ID: <001201c53ee9$91669b50$021c1e97@vmtcktzo3kwrv6> Hi Sean, and can you re-install v2.0.1 for see if you have the same other problems: like ERR_INTERNAL_DEMO_TIMEOUT() Thanks Paolo ----- Original Message ----- From: "Sean Wilson" To: "Valentina Developers" Sent: Tuesday, April 12, 2005 12:49 AM Subject: Re: [V4MD 2.0.2] crash on startMovie > > > > What OS you use ? > >WIN XP PRO > > So do I, and it's crashing on the line: > Valentina.Init(8 * 1024 * 1024) > in the Example_init handler of the ValentinaGlobals script of the shared cast > > -Sean. > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From sunshine at public.kherson.ua Tue Apr 12 02:03:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 18:03:20 2005 Subject: older VServer and VXCMD downloads? In-Reply-To: <6.2.1.2.2.20050412102122.04519b30@pop3.paradise.net.nz> Message-ID: On 4/12/05 1:22 AM, "Sean Wilson" wrote: >> It would be nice to access the v1 folder to see all files that are >> available. > > as was possible back in the "good old days" when there was FTP access ;-) They say that FTP access can be made only with Tiger release. -- 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 Apr 12 02:16:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 18:16:11 2005 Subject: [V4MD 2.0.2] crash on startMovie In-Reply-To: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> Message-ID: On 4/12/05 1:15 AM, "info@vallemediatime.com" wrote: > and now I've re-installed v.2.0.1 and: AAARRRRGH!!! > I get always the ERR_INTERNAL_DEMO_TIMEOUT() > I've restart my PC delete the The Paradigma Software Folder of 2.0.2; check > again the Path, re-installed 2.0.1, uff uff uff. ??? Exists 3 places where installer touch your computer: - Paradigma Software/Vcomponents_win_vc - Xtra/V4MD_2 - path variable. So if you have remove the first two, Then you must be able install 2.0.1 > Nothing to do Ruslan, please chek on Windows too not only Mac, I love Mac > but I must work on Win, > and the director users are more on win OS, right? I will check now 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 snw at paradise.net.nz Tue Apr 12 11:43:34 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Apr 11 18:43:44 2005 Subject: [V4MD 2.0.2] crash on startMovie In-Reply-To: <001201c53ee9$91669b50$021c1e97@vmtcktzo3kwrv6> References: <000e01c53ee3$ee80bd80$021c1e97@vmtcktzo3kwrv6> <6.2.1.2.2.20050412104717.0408b260@pop3.paradise.net.nz> <001201c53ee9$91669b50$021c1e97@vmtcktzo3kwrv6> Message-ID: <6.2.1.2.2.20050412114126.04203a40@pop3.paradise.net.nz> >Hi Sean, >and can you re-install v2.0.1 for see if you have the same other problems: >like ERR_INTERNAL_DEMO_TIMEOUT() Unfortunately, I didn't grab a copy of 2.0.1, but I uninstalled the latest version (incidentally, Ruslan, there is no version information associated with this latest 2.0.2 build) and went back to 2.0.0 which ran the Database_CreateCloseOpen example without problems. -Sean. From sunshine at public.kherson.ua Tue Apr 12 03:14:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 19:14:12 2005 Subject: FIXED: [V4MD 2.0.2] crash on startMovie In-Reply-To: Message-ID: On 4/12/05 2:16 AM, "Ruslan Zasukhin" wrote: I have found problem. Now new archives will be built and uploaded 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 sunshine at public.kherson.ua Tue Apr 12 03:25:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 11 19:25:59 2005 Subject: FIXED: [V4MD 2.0.2] crash on startMovie In-Reply-To: Message-ID: On 4/12/05 3:14 AM, "Ruslan Zasukhin" wrote: > On 4/12/05 2:16 AM, "Ruslan Zasukhin" wrote: > > I have found problem. > > Now new archives will be built and uploaded again Files uploaded -- 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 Claudius at sailer-online.de Tue Apr 12 06:02:15 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Apr 11 23:02:24 2005 Subject: [ANN] V4RB, V4MD, Vservers 2.0.2 UPDATE. Mac +Win -- #656 In-Reply-To: References: Message-ID: <8e9850a33a8a15cefa6c4bcac36fa6e3@sailer-online.de> Application which runs with 2.0.2fc now corrupts database :-(( bye Claudius Am 11. Apr 2005 um 19:44 Uhr schrieb Ruslan Zasukhin: > > > kernel - 2.0.2 > ============== > - 0000655: [Links] Link.get_LinkedCount() returns garbage if no linked > records. (Ruslan Zasukhin) > - 0000653: [Tables] Wrong get_Field( ushort ) behaviour. (Ivan Smahin) > - 0000652: [Database] Database is not flushed after create. (Ivan > Smahin) > - 0000622: [SQL Parser] Crash after wrong SQL (Serge) > - 0000624: [SQL] Wrong RecID by SQL-Select (Ivan Smahin) > - 0000610: [SQL] SQL crashes application (Ivan Smahin) > - 0000288: [Files] Byte Swapping for cross-platform movement (Igor > Gomon) > - 0000635: [Files] Db with Locked files or db on CD throw -61 error > (Ruslan > Zasukhin) > - 0000615: [API] Delete several records in a loop -> index corrupted > (Ruslan > Zasukhin) > - 0000634: [Fields] If create in table with records new VarChar field > and > close db => corruption. (Igor Gomon) > - 0000612: [Fields] LIKE ignores db/table/field case-sensitive > settings. > (Ivan Smahin) > - 0000603: [Database] Convert_1_2 crash in some circumstances with > ObjectPtrs. (Ivan Smahin) > - 0000614: [API] Delete many records -> corruption (Ruslan Zasukhin) > - 0000625: [SQL] Escaped underscore does not work (Serge) > > > > V4RB - 2.0.2 > ============ > - 0000601: [API] Crash during the opening of a base without index > (Ruslan > Zasukhin) > - 0000654: [Examples] [NEW] RBDB_way, Example "Doctors" (Serge) > - 0000651: [Docs] Incorrect example in Field( inIndex as Integer ) as > VField > (Galina Pushenko) > - 0000643: [Feature Request] plugin don't compile for Windows (Ruslan > Zasukhin) > - 0000602: [API] Converting V1 DB to V2 : crash (Ruslan Zasukhin) > - 0000642: [Class-way] Different results returned by class-way vs. > SQL-way > (Ivan Smahin) > - 0000636: [Other] Do not work with REALBasic 2005 (Ruslan Zasukhin) > - 0000592: [Installation] V4RB 2.0 plugin file is missing the version > info > (Ruslan Zasukhin) > - 0000593: [Sets] ArraySets don't sort properly after record is > modified > (Ruslan Zasukhin) > - 0000627: [Class-way] Creating VSet leaks memory (Ivan Smahin) > - 0000633: [API] [CHG] Union(), Intersection(), Difference() methods > moved > to VBitSet and VArraySet classes. (Ruslan Zasukhin) > - 0000631: [Class-way] VBitSet and VArraySet cannot use Union, > Difference, > Intersection, etc. (Ruslan Zasukhin) > - 0000608: [RBDB API] RecID field are not returned values (Serge) > - 0000583: [Examples] Table_Create.rb Example Does Create a Database > (Ruslan > Zasukhin) > - 0000620: [Class-way] FindStartsWith crashes app without an exception > (Ivan > Smahin) > > > > V4MD - 2.0.2 > ============ > - 0000645: [API] Instead of EMPTY string list get VOID value (Igor > Gomon) > - 0000637: [API] getColumns() -- allow me to specify start & end of > records > (Ruslan Zasukhin) > - 0000640: [API] var = VCursor.Position is broken (Ruslan Zasukhin) > - 0000639: [API] Valentina.Convert_1_2() method added. (Igor Gomon) > - 0000617: [API] enhance getRecordsAsString() (Igor Gomon) > > > -- > 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 snw at paradise.net.nz Tue Apr 12 16:21:33 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Apr 11 23:22:22 2005 Subject: FIXED: [V4MD 2.0.2] crash on startMovie In-Reply-To: References: Message-ID: <6.2.1.2.2.20050412161848.03c1a640@pop3.paradise.net.nz> > > I have found problem. > > > > Now new archives will be built and uploaded again > >Files uploaded Re-tested with Database_CreateCloseOpen -> gets past the init stage but throws an error with db.create() ( ERR_DYNAMIC_SQL_ERROR() ) * V4MD *: VDatabase.create()...ERROR: 2 :-( From info at vallemediatime.com Tue Apr 12 09:17:48 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Apr 12 02:17:54 2005 Subject: FIXED: [V4MD 2.0.2] crash on startMovie References: <6.2.1.2.2.20050412161848.03c1a640@pop3.paradise.net.nz> Message-ID: <000801c53f2f$bb000280$e00a1e97@vmtcktzo3kwrv6> Re-tested with Database_CreateCloseOpen -> gets past the init stage but > throws an error with db.create() ( ERR_DYNAMIC_SQL_ERROR() ) > * V4MD *: VDatabase.create()...ERROR: 2 me also the same error (on WIN XP PRO | DIR MX2004) Paolo ----- Original Message ----- From: "Sean Wilson" To: "Valentina Developers" Sent: Tuesday, April 12, 2005 6:21 AM Subject: Re: FIXED: [V4MD 2.0.2] crash on startMovie > > > > I have found problem. > > > > > > Now new archives will be built and uploaded again > > > >Files uploaded > > Re-tested with Database_CreateCloseOpen -> gets past the init stage but > throws an error with db.create() ( ERR_DYNAMIC_SQL_ERROR() ) > * V4MD *: VDatabase.create()...ERROR: 2 > :-( > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From wonderfef at noos.fr Tue Apr 12 09:33:41 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Apr 12 02:33:41 2005 Subject: [V4RB2] ORDER BY ? In-Reply-To: Message-ID: > I have been bitten a few times by > malfunctioning SQL in V1 and including sort fields in select fixed > that I had this kind of problems with rather complex SQLs: adding non used fields in SELECTed fields made the cursor sorted exactly as I needed it. But I wish this "bug" had been corrected and remained a cool feature, instead of being totally removed. Ruslan, is there a "quick start" guide for RB users? A doc that would enumerate all differences between v1 and v2 instead of "falling into" them by chance? Eric From sunshine at public.kherson.ua Tue Apr 12 10:59:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 12 02:59:52 2005 Subject: FIXED 2: [V4MD 2.0.2] crash on startMovie In-Reply-To: <000801c53f2f$bb000280$e00a1e97@vmtcktzo3kwrv6> Message-ID: On 4/12/05 10:17 AM, "info@vallemediatime.com" wrote: > Re-tested with Database_CreateCloseOpen -> gets past the init stage but >> throws an error with db.create() ( ERR_DYNAMIC_SQL_ERROR() ) >> * V4MD *: VDatabase.create()...ERROR: 2 > me also the same error > (on WIN XP PRO | DIR MX2004) Sorry guys, stupid bug. Fixed. Now example CreateCloseopen and others 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 info at vallemediatime.com Tue Apr 12 10:21:50 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Apr 12 03:21:57 2005 Subject: FIXED 2: [V4MD 2.0.2] crash on startMovie References: Message-ID: <000601c53f38$ad776a50$9f201e97@vmtcktzo3kwrv6> Have you upload the [new-new] 2.0.2 ? Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, April 12, 2005 9:59 AM Subject: FIXED 2: [V4MD 2.0.2] crash on startMovie > On 4/12/05 10:17 AM, "info@vallemediatime.com" > wrote: > > > Re-tested with Database_CreateCloseOpen -> gets past the init stage but > >> throws an error with db.create() ( ERR_DYNAMIC_SQL_ERROR() ) > >> * V4MD *: VDatabase.create()...ERROR: 2 > > me also the same error > > (on WIN XP PRO | DIR MX2004) > > Sorry guys, stupid bug. > > Fixed. Now example CreateCloseopen and others 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From sunshine at public.kherson.ua Tue Apr 12 11:47:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 12 03:47:24 2005 Subject: FIXED 2: [V4MD 2.0.2] crash on startMovie In-Reply-To: <000601c53f38$ad776a50$9f201e97@vmtcktzo3kwrv6> Message-ID: On 4/12/05 11:21 AM, "info@vallemediatime.com" wrote: > Have you upload the [new-new] 2.0.2 ? > Paolo yes -- 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 Apr 12 12:23:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 12 04:23:39 2005 Subject: quick start In-Reply-To: Message-ID: On 4/12/05 10:33 AM, "Eric Ferrer" wrote: > Ruslan, is there a "quick start" guide for RB users? A doc that would > enumerate all differences between v1 and v2 instead of "falling into" them > by chance? It was as letter on list. Yes we will try make 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 info at vallemediatime.com Tue Apr 12 11:24:06 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Apr 12 04:24:13 2005 Subject: FIXED 2: [V4MD 2.0.2] crash on startMovie References: Message-ID: <000601c53f41$6025a0b0$481a1e97@vmtcktzo3kwrv6> and... now it's work. The two V4MD bugs on my project are fixed, good. Thanks Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, April 12, 2005 10:47 AM Subject: Re: FIXED 2: [V4MD 2.0.2] crash on startMovie > On 4/12/05 11:21 AM, "info@vallemediatime.com" > wrote: > > > Have you upload the [new-new] 2.0.2 ? > > Paolo > > yes > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From softil at onlinehome.de Tue Apr 12 13:01:33 2005 From: softil at onlinehome.de (SoftIl) Date: Tue Apr 12 06:02:21 2005 Subject: [VNET] unknown Kernel error -39 References: Message-ID: <000601c53f4f$13a824c0$d827bf54@ipsbasis> Hi Ruslan, >> if i try to delete an record from my database I get the kernel error -39 >> return. >> What does this mean? I can't find anything about this error number. > > -39 eof error. > > Bad corruption. > You should try rebuild db I think, Rebuild if no change causes. Only if I delete the mistake records, than it will be work again.. However, a big problem is that in VNET the method SqlExecute (from VDatabase) produces no mistake, or returns no error code. The program simply stops and the CPU runs with 100% performance. Please can you fix this? Best Regards Carsten From bibiko at eva.mpg.de Tue Apr 12 15:09:52 2005 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Tue Apr 12 08:10:18 2005 Subject: [V4MD 1.x] Thank you In-Reply-To: References: Message-ID: <425BC8A0.5010500@eva.mpg.de> Dear developers, with this email I want to say thank you very much for developing, for the help, and for the patience with my questions. The first big project with Valentina for Macromedia Director 1.x came to an end and the database plug-in runs excellent. The database size is about 70MB and the projector with Valentina goes like clockwork at Windows, Mac OSX, and Mac OS9. Keep it up! With the best wishes Hans-Joerg From giulio at cantoberon.it Tue Apr 12 17:33:17 2005 From: giulio at cantoberon.it (Giulio) Date: Tue Apr 12 10:33:49 2005 Subject: [V4RB2] Vpicture broken on last build? In-Reply-To: <20050411122523.A08282FBE12@edison.macserve.net> References: <20050411122523.A08282FBE12@edison.macserve.net> Message-ID: <1c5bb1596eeb5c8195159f0b93f94666@cantoberon.it> I have installed the last build of valentina for REALBasic on my Mac and my app stopped showing me the pictures contained on the DB. I tryied the Field_Picture examples and they are not working, too. I push the 'Add 100 Records' button with no result. There's something broken with the new plugin version? Thanks Giulio Cantoberon Multimedia srl http://www.cantoberon.it Tel. 06 39737052 From sunshine at public.kherson.ua Tue Apr 12 22:21:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 12 14:21:18 2005 Subject: [V4RB2] Vpicture broken on last build? In-Reply-To: <1c5bb1596eeb5c8195159f0b93f94666@cantoberon.it> Message-ID: On 4/12/05 6:33 PM, "Giulio" wrote: > I have installed the last build of valentina for REALBasic on my Mac > > and my app stopped showing me the pictures contained on the DB. > > I tryied the Field_Picture examples and they are not working, too. I > push the 'Add 100 Records' button with no result. > > There's something broken with the new plugin version? It seems yes. Example not work. I think this is "result" of byte-swap work ... Igor will check in the nearest time... -- 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 info at vallemediatime.com Wed Apr 13 01:14:23 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Apr 12 18:15:28 2005 Subject: [V4MD 2.0.2] binaryLink: how do not allow duplicates Message-ID: <00d101c53fb5$7d4a77f0$69181e97@vmtcktzo3kwrv6> Ruslan, a few day ago you tell me >>BTW, right now binaryLink do not allow duplicates. >>So it should work as you want. I've tried with this code, T1 = value(member("A").text) T2 = value(member("B").text) link = gDb.link("link_person_phone") if CheckValError() then exit link.linkRecords(T1, T2) and I can duplicate links and I don't see error message... I must do not allow duplicates link instead. Paolo -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From peter.salomon at gmx.net Wed Apr 13 09:18:12 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Wed Apr 13 02:18:22 2005 Subject: =?iso-8859-1?q?=5BV4MD_2=2E0=2E2_Mac=5D_can=B4t_install?= Message-ID: <97a1e0a536f1c81ed5f08aece402b32f@gmx.net> hi all, i?ve downloaded the actual package of V4MD for Mac, installed the package into director xtra folder and can?t get director to recognize the xtra. with 2.0.1 version everything works as ever. are here some special ways to get it work? peter From sunshine at public.kherson.ua Wed Apr 13 10:37:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 02:37:23 2005 Subject: [V4MD 2.0.2] binaryLink: how do not allow duplicates In-Reply-To: <00d101c53fb5$7d4a77f0$69181e97@vmtcktzo3kwrv6> Message-ID: On 4/13/05 2:14 AM, "info@vallemediatime.com" wrote: > Ruslan, > a few day ago you tell me >>> BTW, right now binaryLink do not allow duplicates. >>> So it should work as you want. > > I've tried with this code, > > T1 = value(member("A").text) > T2 = value(member("B").text) > link = gDb.link("link_person_phone") > if CheckValError() then exit > link.linkRecords(T1, T2) > > and I can duplicate links and I don't see error message... > I must do not allow duplicates link instead. Hi Paolo,. Hmm. And you can read back both links? Strange, I do not see how this can work... Well, for next version we will try extend BinaryLink by this parameter. Btw, please add this as feature request to Mantis -- 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 Apr 13 10:39:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 02:38:52 2005 Subject: [V4MD 2.0.2 Mac] can =?iso-8859-1?q?=B4?= t install In-Reply-To: <97a1e0a536f1c81ed5f08aece402b32f@gmx.net> Message-ID: On 4/13/05 10:18 AM, "Peter Salomon" wrote: > hi all, > > i?ve downloaded the actual package of V4MD for Mac, installed the > package into director xtra folder and can?t get director to recognize > the xtra. > > with 2.0.1 version everything works as ever. > are here some special ways to get it work? Should work as is. I will check now...V4MD MAC. Ok Peter, have you try V4MD WIN? Works ? Please check your import report. Igor have fix and now should work both UTF8 and UTF16 files for import -- 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 Apr 13 11:37:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 03:37:00 2005 Subject: FIXED: [V4MD 2.0.2 Mac] can =?iso-8859-1?q?=B4_?= t install In-Reply-To: Message-ID: On 4/13/05 10:39 AM, "Ruslan Zasukhin" wrote: > On 4/13/05 10:18 AM, "Peter Salomon" wrote: > >> hi all, >> >> i?ve downloaded the actual package of V4MD for Mac, installed the >> package into director xtra folder and can?t get director to recognize >> the xtra. >> >> with 2.0.1 version everything works as ever. >> are here some special ways to get it work? Hi Peter, Please try new archive. -- 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 Apr 13 11:12:47 2005 From: peter.salomon at gmx.net (peter salomon) Date: Wed Apr 13 04:12:54 2005 Subject: FIXED: [V4MD 2.0.2 Mac] can =?iso-8859-1?q?=B4__t_install?= In-Reply-To: References: Message-ID: <425CE28F.8080205@gmx.net> Hi Ruslan, works fine now. i?ll check text import this evening. thanks! >Hi Peter, > >Please try new archive. > > From giulio at cantoberon.it Wed Apr 13 11:48:01 2005 From: giulio at cantoberon.it (Giulio) Date: Wed Apr 13 04:48:14 2005 Subject: new web site - were are older downloads? In-Reply-To: <20050401164714.64E522F3F1C@edison.macserve.net> References: <20050401164714.64E522F3F1C@edison.macserve.net> Message-ID: <612d5ebe3b16ef1182a678e542dc448b@cantoberon.it> Hi Ruslan, I have found the old RB plugin on the website, but: Could you please make available all the old files, including documentation? Thank you, Giulio Il giorno 01/apr/05, alle 6:47 PM, valentina-request@lists.macserve.net ha scritto: > > Message: 1 > Date: Fri, 01 Apr 2005 15:39:08 +0300 > From: Ruslan Zasukhin > Subject: Re: new web site - were are older downloads? > To: "valentina@lists.macserve.net" > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 4/1/05 12:51 PM, "Giulio" wrote: > >> I have started using Valentina for realbasic 2.0, but after installing >> it I'm today in need to open an RB project that uses the old 1.1 >> plugins, and I can't find them for download on paradigma web site... >> >> where can I find them? > > You can find them now on site. > > -- > 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 Wed Apr 13 12:11:06 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Apr 13 05:19:52 2005 Subject: new web site - were are older downloads? In-Reply-To: <612d5ebe3b16ef1182a678e542dc448b@cantoberon.it> References: <20050401164714.64E522F3F1C@edison.macserve.net> <612d5ebe3b16ef1182a678e542dc448b@cantoberon.it> Message-ID: >Hi Ruslan, > >I have found the old RB plugin on the website, but: > >Could you please make available all the old files, including documentation? > >Thank you, > > Giulio > Ruslan, you should seriously consider creating an archive pages for older versions for downloading as a rule. However, I'd not mix the deprecated and current releases on the same page. I would suggest adding additional column after beta on the downloads page (last release, current beta, older releases) to keep things clean and tidy. Robert From sunshine at public.kherson.ua Wed Apr 13 14:44:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 06:43:40 2005 Subject: new web site - were are older downloads? In-Reply-To: <612d5ebe3b16ef1182a678e542dc448b@cantoberon.it> Message-ID: On 4/13/05 12:48 PM, "Giulio" wrote: Hi Giulio, > I have found the old RB plugin on the website, but: > > Could you please make available all the old files, including > documentation? Docs for 1.x also exists. Just I think you cannot find them. Aha, I can add link to docs page form the products page! I will do this asap. http://paradigmasoft.com/en/products/documentation1 -- 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 Apr 13 14:45:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 06:44:51 2005 Subject: new web site - were are older downloads? In-Reply-To: Message-ID: On 4/13/05 1:11 PM, "Robert Brenstein" wrote: > Ruslan, you should seriously consider creating an archive pages for > older versions for downloading as a rule. It exists Robert. Practically ALL (!!!) 1.x files are available from new site. > However, I'd not mix the deprecated and current releases on the same page. > > I would suggest adding additional column after beta on the downloads > page (last release, current beta, older releases) to keep things > clean and tidy. I see. Well good idea, Robert. -- 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 info at vallemediatime.com Wed Apr 13 14:19:12 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Apr 13 07:19:17 2005 Subject: [V4MD 2.0.2] binaryLink: how do not allow duplicates References: Message-ID: <000a01c54023$0074e120$e6091e97@vmtcktzo3kwrv6> > Hmm. And you can read back both links? Yes > Strange, I do not see how this can work... I've send you an example a few days ago, if you test it with v2.0.2 ... > Well, for next version we will try extend BinaryLink by this parameter. Ok, I hope > Btw, please add this as feature request to Mantis I've added now. If you need a example, I can send to you Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, April 13, 2005 9:37 AM Subject: Re: [V4MD 2.0.2] binaryLink: how do not allow duplicates > On 4/13/05 2:14 AM, "info@vallemediatime.com" > wrote: > > > Ruslan, > > a few day ago you tell me > >>> BTW, right now binaryLink do not allow duplicates. > >>> So it should work as you want. > > > > I've tried with this code, > > > > T1 = value(member("A").text) > > T2 = value(member("B").text) > > link = gDb.link("link_person_phone") > > if CheckValError() then exit > > link.linkRecords(T1, T2) > > > > and I can duplicate links and I don't see error message... > > I must do not allow duplicates link instead. > > Hi Paolo,. > > Hmm. And you can read back both links? > Strange, I do not see how this can work... > > Well, for next version we will try extend BinaryLink by this parameter. > > Btw, please add this as feature request to Mantis > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From chuck at mediamacros.com Wed Apr 13 17:10:35 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed Apr 13 16:07:31 2005 Subject: Odd Errors returned Message-ID: <425D8ACB.2020804@mediamacros.com> I have a project that has an export feature where it clones records to a new temp database. It basically loops through the records and copies the content out and fills it back in the new file. For images I import into a Director cast member then put it back in the second DB. Its not running out of RAM but on certain larger sets of records I start getting errors over and over. This is one query that works for the first 30 or so but after starts this... UPDATE ids SET max_record = 275 WHERE table_name = 'technique_image' -39 No error Error is -39 but it says no error. Another in the loop is this.. UPDATE ids SET max_record = 278 WHERE table_name = 'technique_image' This gives me an error 301 Any idea why it starts? Is it just bad to do too many DB changes in loops? -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer From sunshine at public.kherson.ua Thu Apr 14 00:10:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 13 16:09:50 2005 Subject: Odd Errors returned In-Reply-To: <425D8ACB.2020804@mediamacros.com> Message-ID: On 4/14/05 12:10 AM, "Chuck Neal" wrote: Hi Chuck, Do you use 1.x or 2.0 ? > I have a project that has an export feature where it clones records to a > new temp database. It basically loops through the records and copies > the content out and fills it back in the new file. For images I import > into a Director cast member then put it back in the second DB. Its not > running out of RAM but on certain larger sets of records I start getting > errors over and over. This is one query that works for the first 30 or > so but after starts this... > > UPDATE ids SET max_record = 275 WHERE table_name = 'technique_image' > > -39 No error > > Error is -39 but it says no error. > > > Another in the loop is this.. > > UPDATE ids SET max_record = 278 WHERE table_name = 'technique_image' > This gives me an error 301 > > Any idea why it starts? Is it just bad to do too many DB changes in loops? -- 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 chuck at mediamacros.com Wed Apr 13 18:00:23 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed Apr 13 16:57:05 2005 Subject: Odd Errors returned In-Reply-To: References: Message-ID: <425D9677.9030808@mediamacros.com> Ah. Sorry. The last version of 1. My mistake. This is a large project and I do not want to recode it this late in the process for 2.0. ;) -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 4/14/05 12:10 AM, "Chuck Neal" wrote: > > Hi Chuck, > > Do you use 1.x or 2.0 ? > > >>I have a project that has an export feature where it clones records to a >>new temp database. It basically loops through the records and copies >>the content out and fills it back in the new file. For images I import >>into a Director cast member then put it back in the second DB. Its not >>running out of RAM but on certain larger sets of records I start getting >>errors over and over. This is one query that works for the first 30 or >>so but after starts this... >> >>UPDATE ids SET max_record = 275 WHERE table_name = 'technique_image' >> >>-39 No error >> >>Error is -39 but it says no error. >> >> >>Another in the loop is this.. >> >>UPDATE ids SET max_record = 278 WHERE table_name = 'technique_image' >>This gives me an error 301 >> >>Any idea why it starts? Is it just bad to do too many DB changes in loops? > > From gregkowalski at earthlink.net Wed Apr 13 18:42:54 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Apr 13 17:45:12 2005 Subject: Table Xtra Message-ID: <5FC51C14-AC6D-11D9-A33A-000393DAB46A@earthlink.net> Hi, Has anyone had any experience using the Table Xtra by electronic ink for displaying data? If so, what was your experience? Is it a good product? Thanks Greg From fb at memedia.de Thu Apr 14 08:06:41 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Apr 14 01:06:55 2005 Subject: Table Xtra In-Reply-To: <5FC51C14-AC6D-11D9-A33A-000393DAB46A@earthlink.net> Message-ID: I use the cXtraStringGrid Xtra from cXtras and find it pretty good. Florian > Has anyone had any experience using the Table Xtra by electronic ink > for displaying data? > > If so, what was your experience? Is it a good product? From sunshine at public.kherson.ua Thu Apr 14 09:44:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 14 01:45:31 2005 Subject: Odd Errors returned In-Reply-To: <425D8ACB.2020804@mediamacros.com> Message-ID: On 4/14/05 12:10 AM, "Chuck Neal" wrote: > I have a project that has an export feature where it clones records to a > new temp database. It basically loops through the records and copies > the content out and fills it back in the new file. For images I import > into a Director cast member then put it back in the second DB. Its not > running out of RAM but on certain larger sets of records I start getting > errors over and over. This is one query that works for the first 30 or > so but after starts this... > > UPDATE ids SET max_record = 275 WHERE table_name = 'technique_image' > > -39 No error > > Error is -39 but it says no error. -39 this is end of file error. > Another in the loop is this.. > > UPDATE ids SET max_record = 278 WHERE table_name = 'technique_image' > This gives me an error 301 > Any idea why it starts? Is it just bad to do too many DB changes in loops? Both this commands are for second new db ? Actually both of them talk about corruption. Many changes should work with no problems Chuck. It is hard to say something more without 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 peter.salomon at gmx.net Thu Apr 14 10:33:01 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Apr 14 03:33:13 2005 Subject: [V4MD] open database slower in 2.0.2? Message-ID: <425E2ABD.5090701@gmx.net> hi all, it seems to me that open a database needs really a long time ( several seconds ) with v4MD Mac Version 2.0.2. Diagnose the db tells me that db is ok. opening the db with xtra 2.0.1 works very fast. Has anyone else made the same experience? peter From chuck at mediamacros.com Thu Apr 14 08:02:32 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Thu Apr 14 06:59:39 2005 Subject: Odd Errors returned In-Reply-To: References: Message-ID: <425E5BD8.7030604@mediamacros.com> How exactly does an "end of file" error translate to a database update? What does that mean? Is there a problem with executing hundreds of SQL commands in a repeat loop like this? As mentioned it only does it on larger record sets. I can take any number of smaller sub sets of this data and it works fine. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 4/14/05 12:10 AM, "Chuck Neal" wrote: > > >>I have a project that has an export feature where it clones records to a >>new temp database. It basically loops through the records and copies >>the content out and fills it back in the new file. For images I import >>into a Director cast member then put it back in the second DB. Its not >>running out of RAM but on certain larger sets of records I start getting >>errors over and over. This is one query that works for the first 30 or >>so but after starts this... >> >>UPDATE ids SET max_record = 275 WHERE table_name = 'technique_image' >> >>-39 No error >> >>Error is -39 but it says no error. > > > -39 this is end of file error. > > > >>Another in the loop is this.. >> >>UPDATE ids SET max_record = 278 WHERE table_name = 'technique_image' >>This gives me an error 301 > > > > >>Any idea why it starts? Is it just bad to do too many DB changes in loops? > > > Both this commands are for second new db ? > Actually both of them talk about corruption. > > Many changes should work with no problems Chuck. > It is hard to say something more without project. > From giulio at cantoberon.it Thu Apr 14 14:12:23 2005 From: giulio at cantoberon.it (Giulio) Date: Thu Apr 14 07:12:44 2005 Subject: new web site - were are older downloads? In-Reply-To: <20050414115957.4FA162FE293@edison.macserve.net> References: <20050414115957.4FA162FE293@edison.macserve.net> Message-ID: <0bd9ffdc15eaaef18fb1c5bc4a1bb413@cantoberon.it> Il giorno 14/apr/05, alle 1:59 PM, valentina-request@lists.macserve.net ha scritto: > > On 4/13/05 12:48 PM, "Giulio" wrote: > > Hi Giulio, >> >> Could you please make available all the old files, including >> documentation? > > Docs for 1.x also exists. I can see the page, but some links doesn't work (ie the REALbasic reference, that's exactly what I need) Ciao, Giulio > > Just I think you cannot find them. > Aha, I can add link to docs page form the products page! > I will do this asap. > > http://paradigmasoft.com/en/products/documentation1 > > -- > 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 Thu Apr 14 14:20:46 2005 From: giulio at cantoberon.it (Giulio) Date: Thu Apr 14 07:20:52 2005 Subject: Valentina Digest, Vol 28, Issue 30 In-Reply-To: <20050414115957.4FA162FE293@edison.macserve.net> References: <20050414115957.4FA162FE293@edison.macserve.net> Message-ID: Il giorno 14/apr/05, alle 1:59 PM, valentina-request@lists.macserve.net ha scritto: Ruslan I have been now able to download it. the problem in that some link have a path http://paradigmasoft.com/docs/ , instead of http://paradigmasoft.com/docs/v1 please correct them for all of us Ciao, Giulio > > Docs for 1.x also exists. > > Just I think you cannot find them. > Aha, I can add link to docs page form the products page! > I will do this asap. > > http://paradigmasoft.com/en/products/documentation1 > > -- > 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 Apr 14 15:25:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 14 07:25:38 2005 Subject: Odd Errors returned In-Reply-To: <425E5BD8.7030604@mediamacros.com> Message-ID: On 4/14/05 3:02 PM, "Chuck Neal" wrote: > How exactly does an "end of file" error translate to a database update? > What does that mean? Is there a problem with executing hundreds of > SQL commands in a repeat loop like this? As mentioned it only does it > on larger record sets. I can take any number of smaller sub sets of > this data and it works fine. Chuck, It sounds like a bug. It should work for bug chunks also. May be, make sure that you have periodically FLUSH in the loop. For example, do flush for each 100 iterations. IF this help them bug in the cache area. -- 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 listmail at gearyweb.com Thu Apr 14 07:35:41 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Apr 14 08:35:54 2005 Subject: Odd Errors returned In-Reply-To: <425E5BD8.7030604@mediamacros.com> References: <425E5BD8.7030604@mediamacros.com> Message-ID: <05e6e63fb55965ac059198907113b30f@gearyweb.com> Hi Chuck, I had this exact problem recently. I did a DumpXML/LoadXML to re-create the database and I haven't had the problem since. Hope that helps. -michael geary On Apr 14, 2005, at 6:02 AM, Chuck Neal wrote: > How exactly does an "end of file" error translate to a database > update? What does that mean? Is there a problem with executing > hundreds of SQL commands in a repeat loop like this? As mentioned it > only does it on larger record sets. I can take any number of smaller > sub sets of this data and it works fine. > > -Chuck From robert at formworkdesign.com Thu Apr 14 11:26:52 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Apr 14 10:27:05 2005 Subject: [v4rb] Still stymied by -61 error. Message-ID: <94caa702387fb9e1b8b569b2087ecc41@formworkdesign.com> I'm running vServer 2.0a62. I can't open my database now running vServer on a remote machine. It works ok testing w/ vServer running on the same machine as v4rb client. But when I try a query via vServer on a remote machine, I get error -61. I see this mentioned in some earlier posts, but it is not clear to me what is the problem, or if there is a fix. My database files are not locked. I'm in a bad way! Must fix soon... Robert -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From Claudius at sailer-online.de Thu Apr 14 18:18:46 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Apr 14 11:19:11 2005 Subject: V4RB2 Errormessage by opening database Message-ID: <12f69ad1c0014d2631aaa1d59ad7d111@sailer-online.de> Hi, what does following Logfile-Entry mean? Database_Open... PARAM: inDatabase = 26727064 PARAM: pLocation->get_Path() = "/Users/claudius/Dokumente/RealBasic Claudius/MoneyControl DB/Entwicklung 5.X/Daten/MeineDatenbankV4RB2" ERROR: 0x59502 File "0x19000A0006" does not exist. return Database_GetErrNumber... PARAM: inDatabase = 26727064 ERROR: 0x59502 File "0x19000A0006" does not exist. return (int) gV4RB_Error = 365826 bye Claudius -- G4/733 QS / MacOS X 10.3.8de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.2 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From chuck at mediamacros.com Thu Apr 14 12:31:48 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Thu Apr 14 11:29:21 2005 Subject: Odd Errors returned In-Reply-To: <05e6e63fb55965ac059198907113b30f@gearyweb.com> References: <425E5BD8.7030604@mediamacros.com> <05e6e63fb55965ac059198907113b30f@gearyweb.com> Message-ID: <425E9AF4.4030905@mediamacros.com> Ouch. This database is over 350 MB with a lot of binary images. Any problems with doing this? It does not appear to be a record. Its doing it consistently every time on the 280th item and after. I even had it skip item 280 and it still happens. Also happens in reverse. Same number of records before error. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer michael geary wrote: > Hi Chuck, > > I had this exact problem recently. I did a DumpXML/LoadXML to re-create > the database and I haven't had the problem since. > > Hope that helps. > > -michael geary > > On Apr 14, 2005, at 6:02 AM, Chuck Neal wrote: > >> How exactly does an "end of file" error translate to a database >> update? What does that mean? Is there a problem with executing >> hundreds of SQL commands in a repeat loop like this? As mentioned it >> only does it on larger record sets. I can take any number of smaller >> sub sets of this data and it works fine. >> >> -Chuck > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From listmail at gearyweb.com Thu Apr 14 10:56:07 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Apr 14 11:56:14 2005 Subject: Odd Errors returned In-Reply-To: <425E9AF4.4030905@mediamacros.com> References: <425E5BD8.7030604@mediamacros.com> <05e6e63fb55965ac059198907113b30f@gearyweb.com> <425E9AF4.4030905@mediamacros.com> Message-ID: My database _was_ substantially smaller, but like you, i had no problems until I tried doing a mass insert, then I'd consistently get a -39 error. This was on OS X. DumpXML/LoadXML was the only thing that worked for me. I tried "Diagnose", "Compact", etc. to no avail. This is why, while I'm a big fan of Valentina, I don't ever make it my primary database. I usually have a MySQL database to manage the data, and I export the data to Valentina when changes happen. I'm just not entirely comfortable with the anti-corruption features (at least of version 1) while the database is still being modified. Hope that helps, michael geary On Apr 14, 2005, at 10:31 AM, Chuck Neal wrote: > Ouch. This database is over 350 MB with a lot of binary images. Any > problems with doing this? > > It does not appear to be a record. Its doing it consistently every > time on the 280th item and after. I even had it skip item 280 and it > still happens. Also happens in reverse. Same number of records > before error. > > -Chuck From sunshine at public.kherson.ua Thu Apr 14 20:59:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 14 12:59:18 2005 Subject: [v4rb] Still stymied by -61 error. In-Reply-To: <94caa702387fb9e1b8b569b2087ecc41@formworkdesign.com> Message-ID: On 4/14/05 6:26 PM, "Robert Nichols" wrote: Hi Robert, 1) what OS use server and what client? 2) you mean that ALWAYS if client and server on the same computer then you have no problems, and if they are on 2 different computers, then you get -61 ? And this happens for any combination of computers ? Hmm, then * are you able run example which come with V4RB ? * Are you able connect to Vserver using Vstudio? * set Verbose for Vserver = 3 and check its log. * is database registered on OTHER remote computer under Vserver ? > I'm running vServer 2.0a62. I can't open my database now running > vServer on a remote machine. It works ok testing w/ vServer running on > the same machine as v4rb client. But when I try a query via vServer on > a remote machine, I get error -61. > > I see this mentioned in some earlier posts, but it is not clear to me > what is the problem, or if there is a fix. My database files are not > locked. > > I'm in a bad way! Must fix soon... -- 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 Apr 14 21:00:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 14 13:00:07 2005 Subject: V4RB2 Errormessage by opening database In-Reply-To: <12f69ad1c0014d2631aaa1d59ad7d111@sailer-online.de> Message-ID: On 4/14/05 7:18 PM, "Claudius Sailer" wrote: > Hi, > > what does following Logfile-Entry mean? > > Database_Open... > PARAM: inDatabase = 26727064 > PARAM: pLocation->get_Path() = "/Users/claudius/Dokumente/RealBasic > Claudius/MoneyControl DB/Entwicklung 5.X/Daten/MeineDatenbankV4RB2" > ERROR: 0x59502 File "0x19000A0006" does not exist. Some internal corruption, Claudius. This is the same that you have report before ? -- 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 Claudius at sailer-online.de Thu Apr 14 21:33:18 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Apr 14 14:33:28 2005 Subject: V4RB2 Errormessage by opening database In-Reply-To: References: Message-ID: <022d29d44b482918aac19a9f0369b36f@sailer-online.de> Am 14. Apr 2005 um 20:00 Uhr schrieb Ruslan Zasukhin: > On 4/14/05 7:18 PM, "Claudius Sailer" > wrote: > >> Hi, >> >> what does following Logfile-Entry mean? >> >> Database_Open... >> PARAM: inDatabase = 26727064 >> PARAM: pLocation->get_Path() = "/Users/claudius/Dokumente/RealBasic >> Claudius/MoneyControl DB/Entwicklung 5.X/Daten/MeineDatenbankV4RB2" >> ERROR: 0x59502 File "0x19000A0006" does not exist. > > Some internal corruption, Claudius. > This is the same that you have report before ? #670 yes but I reported after I asked, because I thought I couldn't reproduce, but now I can :-(( bye Claudius From chuck at mediamacros.com Thu Apr 14 16:53:32 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Thu Apr 14 15:50:34 2005 Subject: Odd Errors returned In-Reply-To: References: <425E5BD8.7030604@mediamacros.com> <05e6e63fb55965ac059198907113b30f@gearyweb.com> <425E9AF4.4030905@mediamacros.com> Message-ID: <425ED84C.4000405@mediamacros.com> Hmm I did that. 3 hours later..... I got my DB open and the encryption back on it and everything is garbled. Looks like some binary got into the text fields. :( Any other ideas for compacting? -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer michael geary wrote: > My database _was_ substantially smaller, but like you, i had no problems > until I tried doing a mass insert, then I'd consistently get a -39 > error. This was on OS X. > > DumpXML/LoadXML was the only thing that worked for me. I tried > "Diagnose", "Compact", etc. to no avail. > > This is why, while I'm a big fan of Valentina, I don't ever make it my > primary database. I usually have a MySQL database to manage the data, > and I export the data to Valentina when changes happen. I'm just not > entirely comfortable with the anti-corruption features (at least of > version 1) while the database is still being modified. > > Hope that helps, > > michael geary > > > On Apr 14, 2005, at 10:31 AM, Chuck Neal wrote: > >> Ouch. This database is over 350 MB with a lot of binary images. Any >> problems with doing this? >> >> It does not appear to be a record. Its doing it consistently every >> time on the 280th item and after. I even had it skip item 280 and it >> still happens. Also happens in reverse. Same number of records >> before error. >> >> -Chuck > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From gregkowalski at earthlink.net Thu Apr 14 18:32:52 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Thu Apr 14 17:35:03 2005 Subject: V studio 2 OSX Message-ID: <238BBC74-AD35-11D9-A184-000393DAB46A@earthlink.net> Hi, Valentina studio OSX I noticed that it is impossible to modify field settings after they are created. Is this a bug? Greg From listmail at gearyweb.com Thu Apr 14 16:35:03 2005 From: listmail at gearyweb.com (michael geary) Date: Thu Apr 14 17:35:10 2005 Subject: Odd Errors returned In-Reply-To: <425ED84C.4000405@mediamacros.com> References: <425E5BD8.7030604@mediamacros.com> <05e6e63fb55965ac059198907113b30f@gearyweb.com> <425E9AF4.4030905@mediamacros.com> <425ED84C.4000405@mediamacros.com> Message-ID: <2125d807fb0fe14cfcfba305ff233d1e@gearyweb.com> dang. that's not good to hear. Only other thing I can think of it iterate through every table/row and generate an SQL file, and use that + Lingo to re-generate the database. Ugh. Or send the DB to Ruslan and see if he can diagnose/recover... good luck michael geary On Apr 14, 2005, at 2:53 PM, Chuck Neal wrote: > Hmm I did that. 3 hours later..... > > I got my DB open and the encryption back on it and everything is > garbled. Looks like some binary got into the text fields. :( Any > other ideas for compacting? > > -Chuck > -------------------------- > Chuck Neal > CEO, MediaMacros, Inc. > chuck@mediamacros.com > http://www.mediamacros.com > -------------------------- > Check out the Developers Mall > Your one stop shop for all your Director Xtra Needs > http://www.mediamacros.net/customer > > > michael geary wrote: >> My database _was_ substantially smaller, but like you, i had no >> problems until I tried doing a mass insert, then I'd consistently get >> a -39 error. This was on OS X. >> DumpXML/LoadXML was the only thing that worked for me. I tried >> "Diagnose", "Compact", etc. to no avail. >> This is why, while I'm a big fan of Valentina, I don't ever make it >> my primary database. I usually have a MySQL database to manage the >> data, and I export the data to Valentina when changes happen. I'm >> just not entirely comfortable with the anti-corruption features (at >> least of version 1) while the database is still being modified. >> Hope that helps, >> michael geary >> On Apr 14, 2005, at 10:31 AM, Chuck Neal wrote: >>> Ouch. This database is over 350 MB with a lot of binary images. >>> Any problems with doing this? >>> >>> It does not appear to be a record. Its doing it consistently every >>> time on the 280th item and after. I even had it skip item 280 and >>> it still happens. Also happens in reverse. Same number of records >>> before error. >>> >>> -Chuck >> _______________________________________________ >> 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 Fri Apr 15 09:37:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 01:54:14 2005 Subject: Odd Errors returned In-Reply-To: <425ED84C.4000405@mediamacros.com> Message-ID: On 4/14/05 11:53 PM, "Chuck Neal" wrote: > Hmm I did that. 3 hours later..... > > I got my DB open and the encryption back on it and everything is > garbled. Looks like some binary got into the text fields. :( Any other > ideas for compacting? XML dump of 1.x have fail for you?! Wow, I think this is first time for many months I hear this Another way I can image you make own loop to copy from one db to new db record by record -- 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 Fri Apr 15 09:35:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 01:54:23 2005 Subject: V studio 2 OSX In-Reply-To: <238BBC74-AD35-11D9-A184-000393DAB46A@earthlink.net> Message-ID: On 4/15/05 1:32 AM, "Gregory Kowalski" wrote: > Hi, > > Valentina studio OSX > > I noticed that it is impossible to modify field settings after they are > created. Is this a bug? It is already fixed. Gregory you can watch for progress of each Valentina products in the Mantis. -- 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 Fri Apr 15 11:22:00 2005 From: giulio at cantoberon.it (Giulio) Date: Fri Apr 15 04:22:12 2005 Subject: FIXED: Accessing a Vdb on a locked volume - NOT FIXED In-Reply-To: <20050406201336.DD3DD2F82DA@edison.macserve.net> References: <20050406201336.DD3DD2F82DA@edison.macserve.net> Message-ID: <72193f4338d8d342dcea86d1ab7adfcf@cantoberon.it> Ruslan, the problem accessing a valentina DB on a locked volume such as a CD is NOT fixed with the last build. I have no more the -61 error when opening the DB, but I have a 'database is read only' error when trying the first select !!! From chuck at mediamacros.com Fri Apr 15 08:14:16 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Fri Apr 15 07:11:10 2005 Subject: Odd Errors returned In-Reply-To: References: Message-ID: <425FB018.6020808@mediamacros.com> Thanks guys. I had 2 thoughts on what I did yesterday... 1. It is possible that adding the encryption after I moved in the data could have messed something up. What is the best order to do this? 2. Would a SQL dump be any better? I am already trying to do the copy SQL but the problem is that I have 500+ MB of binary image data and the only way to copy it over is to extract and then re-insert (or am I missing a command?) I'll try something else. Thanks for the pointers... -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 4/14/05 11:53 PM, "Chuck Neal" wrote: > > >>Hmm I did that. 3 hours later..... >> >>I got my DB open and the encryption back on it and everything is >>garbled. Looks like some binary got into the text fields. :( Any other >>ideas for compacting? > > > XML dump of 1.x have fail for you?! > > Wow, I think this is first time for many months I hear this > > Another way I can image > you make own loop to copy from one db to new db > record by record > > > From sunshine at public.kherson.ua Fri Apr 15 15:11:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 07:11:46 2005 Subject: FIXED: Accessing a Vdb on a locked volume - NOT FIXED In-Reply-To: <72193f4338d8d342dcea86d1ab7adfcf@cantoberon.it> Message-ID: On 4/15/05 12:22 PM, "Giulio" wrote: > Ruslan, > > the problem accessing a valentina DB on a locked volume such as a CD is > NOT fixed with the last build. I have no more the -61 error when > opening the DB, but I have a 'database is read only' error when trying > the first select !!! Hi Giulio, What exactly SELECT you do ? -- 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 Fri Apr 15 16:14:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 08:15:05 2005 Subject: Odd Errors returned In-Reply-To: <425FB018.6020808@mediamacros.com> Message-ID: On 4/15/05 3:14 PM, "Chuck Neal" wrote: > Thanks guys. I had 2 thoughts on what I did yesterday... > > 1. It is possible that adding the encryption after I moved in the data > could have messed something up. What is the best order to do this? > > 2. Would a SQL dump be any better? I am already trying to do the copy > SQL but the problem is that I have 500+ MB of binary image data and the > only way to copy it over is to extract and then re-insert (or am I > missing a command?) SQL dump not works in 1.x In 2.x we plan add db.Clone() for this purpose > I'll try something else. Thanks for the pointers... -- 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 lists at innernine.com Fri Apr 15 09:59:16 2005 From: lists at innernine.com (Juergen Schreck) Date: Fri Apr 15 09:59:23 2005 Subject: V studio 2 OSX In-Reply-To: References: Message-ID: On Apr 15, 2005, at 1:35 AM, Ruslan Zasukhin wrote: > Gregory you can watch for progress of each Valentina products in the > Mantis. I've heard this before. I haven't kept up with messages on this list too well, so pardon if this sounds ignorant. What exactly IS the Mantis. How can I access it and use it? Thanks, Juergen -- --------------------------------------------------------------------- Innernine http://www.innernine.com Custom Software Solutions 262.781.5295 --------------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 15 18:32:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 10:32:47 2005 Subject: Mantis - bug tracking system of Valentina In-Reply-To: Message-ID: On 4/15/05 5:59 PM, "Juergen Schreck" wrote: > > On Apr 15, 2005, at 1:35 AM, Ruslan Zasukhin wrote: > >> Gregory you can watch for progress of each Valentina products in the >> Mantis. > > I've heard this before. I haven't kept up with messages on this list > too well, so pardon if this sounds ignorant. What exactly IS the > Mantis. How can I access it and use it? Mantis, this is based on PHP bug tracking system. We use it to track bugs for Valentina . You can find link from our support page http://paradigma.ukrcom.kherson.ua/bt/ Here you should register to be able report bugs. And you can be anonymous to just read -- 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 Fri Apr 15 17:50:51 2005 From: giulio at cantoberon.it (Giulio) Date: Fri Apr 15 10:51:05 2005 Subject: FIXED: Accessing a Vdb on a locked volume - NOT FIXED In-Reply-To: <20050415153256.03F0F2FF21A@edison.macserve.net> References: <20050415153256.03F0F2FF21A@edison.macserve.net> Message-ID: Il giorno 15/apr/05, alle 5:32 PM, valentina-request@lists.macserve.net ha scritto: > On 4/15/05 12:22 PM, "Giulio" wrote: > >> Ruslan, >> >> the problem accessing a valentina DB on a locked volume such as a CD >> is >> NOT fixed with the last build. I have no more the -61 error when >> opening the DB, but I have a 'database is read only' error when trying >> the first select !!! > > Hi Giulio, > > What exactly SELECT you do ? select recID,* FROM generi where tipo = 1 order by descrizione the same select works removing the order by clause > From sunshine at public.kherson.ua Fri Apr 15 21:29:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 15 13:29:35 2005 Subject: FIXED: Accessing a Vdb on a locked volume - NOT FIXED In-Reply-To: Message-ID: On 4/15/05 6:50 PM, "Giulio" wrote: >>> the problem accessing a valentina DB on a locked volume such as a CD >>> is >>> NOT fixed with the last build. I have no more the -61 error when >>> opening the DB, but I have a 'database is read only' error when trying >>> the first select !!! >> >> Hi Giulio, >> >> What exactly SELECT you do ? > > select recID,* FROM generi where tipo = 1 order by descrizione Quite simple > the same select works removing the order by clause I see, so problem in ORDER BY somewhere... -- 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 CBishop at alfred.com Fri Apr 15 15:45:36 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Fri Apr 15 17:49:59 2005 Subject: FixedBinary problem with V4MD v1 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E694DE@apvnyexch01.alfredpub.com> I'm trying to read file data using BinaryIO Xtra and store it into a VDB in Valentina Server. This way all the client computers can read the binary data and create the files on their own machines. What methods are available in Version 1 for storing into FixedBinary fields? By the way, I cannot upgrade to Version 2 because I have Mac OS 9 clients as well. From sunshine at public.kherson.ua Sat Apr 16 09:22:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 01:22:40 2005 Subject: FixedBinary problem with V4MD v1 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E694DE@apvnyexch01.alfredpub.com> Message-ID: On 4/16/05 1:45 AM, "Christopher Bishop" wrote: Hi Christopher, > I'm trying to read file data using BinaryIO Xtra and store it into a VDB > in Valentina Server. This way all the client computers can read the > binary data and create the files on their own machines. > > What methods are available in Version 1 for storing into FixedBinary > fields? V4MD to store into BLOB or FixedBinary or Varbinary uses SetMedia > By the way, I cannot upgrade to Version 2 because I have Mac OS 9 > clients as well. But V4MD 2.0 Carbon can be used on OS 9. So I think no problems. -- 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 Sat Apr 16 12:19:45 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Sat Apr 16 04:20:09 2005 Subject: V4MD WIN ShockWave package uploaded References: <6.2.1.2.2.20050411154830.0333ebb0@pop3.paradise.net.nz> Message-ID: <000401c54265$6ed17cc0$3b04a8c0@giv> Hi Sean, > My guess is that it's failing at the Verisign stage, but I can't tell for sure. Please, try again to download the package - it seems its file was damaged so we uploaded it again. > What I was *really* interested in was how you deal with dependencies on > VComponents and VEngine. Package files do not depent on these folders. So this shouldn't be a problem. -- 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 ralf at end-if.de Sat Apr 16 12:13:31 2005 From: ralf at end-if.de (Ralf Sander) Date: Sat Apr 16 05:13:23 2005 Subject: Loose search In-Reply-To: References: Message-ID: Hi Ruslan, I can't find examples or documentation with StartWith, EndsWith, Contains and sql. Where is it hidden? Or was this a hint to the Left / Right / Locate Example? But while Left and Right are case intensitive, Locate is case sensitive, so no solution. Many cheers, Ralf > On 2/28/05 6:43 PM, "Ralf Sander" wrote: > >>> Hi Ralf, >>> >>> If you take a look on V4RB 2.0 beta, >>> you will find exactly such example >> Hi Ruslan, >> not bad! But I am on the SQL way. Any solution for that? > > Yes Ralf, > > In the Exmaple/SQL_way you will find analogs for SQL. > > And 2.0 will do searches > > StartWith, EndsWith, Contains > > Using index if it exists or without otherwise. > On 2/28/05 11:59 AM, "Ralf Sander" wrote: > >> Hi list, >> >> I am trying to create a very loose search like the one in the Finder: >> >> 1. "do" will find "document 23" or "my Doc" or "todo" >> 2. but "image 34" fill find "iMage 34" and not "34 image" >> >> How can this be done in valentiva? > > Hi Ralf, > > If you take a look on V4RB 2.0 beta, > you will find exactly such example > > >> using index by words as fieldoption and "=" as operator does only find >> whole words >> using "LIKE" is not indexed and hence to slow for me. > >> using "LOCATE" would be the right function, but it seems not to be >> implemented in 1.0 and it is case sensitiv. > > 2.0 have Vfield.Contains() fujction > > -- > 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 Sat Apr 16 13:54:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 05:55:06 2005 Subject: Loose search In-Reply-To: Message-ID: On 4/16/05 1:13 PM, "Ralf Sander" wrote: Hi Ralf, > I can't find examples or documentation with StartWith, EndsWith, > Contains and sql. Where is it hidden? Examples/API/ IndexByWords Examples/API/ IndexByWordsWithStyle > Or was this a hint to the Left / Right / Locate Example? > But while Left and Right are case intensitive, Locate is case > sensitive, so no solution. -- 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 Sat Apr 16 15:13:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 07:13:28 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now Message-ID: Hi All, IF you use V4RB and class way (Jon, Frank, ...) Then you need update your projects for next build of 2.0.3. You need add just one line of code: in the Constructor of myDatabase class Make your constructor as the following. Note, I have add one more parameter also. ------------------------------------------------ MyDatabase( inStorageType as Integer = 0 ) // This constructor is for LOCAL database. // We call parent class Vdatabase. Vdatabase( inStorageType ) ... Your old code end ------------------------------------------------ We need this to be able correctly differ LOCAL and REMOTE databases. In the 2.0.3 you can check Class_way examples to see second form of constructor for REMOTE 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 ralf at end-if.de Sat Apr 16 14:27:09 2005 From: ralf at end-if.de (Ralf Sander) Date: Sat Apr 16 07:26:37 2005 Subject: Loose search In-Reply-To: References: Message-ID: <45ca99bda801fc919ffa96a58a20978a@end-if.de> Hi Ruslan, Yes, but you wrote, there is a possibility (and an example) for SQL, too. Many cheers, Ralf > On 4/16/05 1:13 PM, "Ralf Sander" wrote: > > Hi Ralf, > >> I can't find examples or documentation with StartWith, EndsWith, >> Contains and sql. Where is it hidden? > > Examples/API/ IndexByWords > Examples/API/ IndexByWordsWithStyle > >> Or was this a hint to the Left / Right / Locate Example? > >> But while Left and Right are case intensitive, Locate is case >> sensitive, so no solution. > > > -- > 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 ktekinay at mactechnologies.com Sat Apr 16 09:22:17 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat Apr 16 08:22:25 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: Message-ID: On 4/16/05 8:13 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > You need add just one line of code: > in the Constructor of myDatabase class What happens if you forget to do this? What are the consequences? I'm just curious. __________________________________________________________________________ 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 peter.salomon at gmx.net Sat Apr 16 19:06:29 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sat Apr 16 12:06:56 2005 Subject: [V4MD 2.0.2 PC] Message-ID: hi ruslan, besides my problems with importing txt files, i tried now to find a solution by using my pc. but here director does not recognize the xtra as is did before on the mac. From sunshine at public.kherson.ua Sat Apr 16 20:37:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 12:37:45 2005 Subject: Loose search In-Reply-To: <45ca99bda801fc919ffa96a58a20978a@end-if.de> Message-ID: On 4/16/05 3:27 PM, "Ralf Sander" wrote: > Hi Ruslan, > > Yes, but you wrote, there is a possibility (and an example) for SQL, > too. Example -- not remember, Aha, I see analog of IndexByWords exists! Yes, in SQL exists analog based on standard functions. Important is that for THIS functions Valentina recognize and can use indexes. left() right() locate() -- 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 Sat Apr 16 20:37:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 12:37:55 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: Message-ID: On 4/16/05 4:22 PM, "Kem Tekinay" wrote: > On 4/16/05 8:13 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> You need add just one line of code: >> in the Constructor of myDatabase class > > What happens if you forget to do this? What are the consequences? > > I'm just curious. Right now silent 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 Sat Apr 16 20:53:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 12:53:29 2005 Subject: [V4MD 2.0.2 PC] -- it works In-Reply-To: Message-ID: On 4/16/05 8:06 PM, "Peter Salomon" wrote: > hi ruslan, > > besides my problems with importing txt files, i tried now to find a > solution by using my pc. > but here director does not recognize the xtra as is did before on the > mac. Hi Peter, I just only have made clean install of V4MD_2_Win.exe And everything works. Please make sure you have latest archive. Also before install remove V4MD_2 folder VComponents_win_vc folder Just in case... -- 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 Sat Apr 16 20:55:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 12:55:49 2005 Subject: [V4RB-docs] Updated Message-ID: Hi V4RB developers. You can download new V4RB_Reference_2_en.pdf Added new paged about - installation - deployment - conversion of 1.x project to 2.0 Corrected few mistakes -- 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 robert at formworkdesign.com Sat Apr 16 14:13:23 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Apr 16 13:13:44 2005 Subject: vServer - run as executable Mac OSX Message-ID: <89f6843457dc049807252d08acdbbdb4@formworkdesign.com> I'm trying to start vServer from the terminal window as described in the documentation. The shell doesn't start the app, instead says it is a folder??? The Finder identifies the file type as Application, but ls -l in the Terminal window indicates the item is a directory. I assume this has to do with the file being a Bundle???? Has anyone actually done this? Robert Nichols robert@formworkdesign.com From sunshine at public.kherson.ua Sat Apr 16 21:22:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 13:22:57 2005 Subject: vServer - run as executable Mac OSX In-Reply-To: <89f6843457dc049807252d08acdbbdb4@formworkdesign.com> Message-ID: On 4/16/05 9:13 PM, "Robert Nichols" wrote: > I'm trying to start vServer from the terminal window as described in > the documentation. The shell doesn't start the app, instead says it is > a folder??? > > The Finder identifies the file type as Application, but ls -l in the > Terminal window indicates the item is a directory. > > I assume this has to do with the file being a Bundle???? > > Has anyone actually done this? Yes of course. Difference is that now Vserver is Application Package. You have 2 ways now 1) open by right mouse click the package and go down to MacOS folder, here you will find real executable Vserve. Run it from terminal 2) another simple way: run from terminal this path: /Library/StartupItems/Vserver -- 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 Sat Apr 16 21:54:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 13:54:43 2005 Subject: V4RB 2.0.3fc1 In-Reply-To: Message-ID: On 4/16/05 9:19 PM, "Ruslan Zasukhin" wrote: > > kernel - 2.0.3 > ============== > - 0000647: [SQL] Wrong Result by SQL (Ivan Smahin) > - 0000532: [SQL] SQL Where Join with twice same table and with > AND-OR-Combinations (Ivan Smahin) > - 0000672: [Tables] Update does not check value was really changed. (Ivan > Smahin) > - 0000673: [Cursors] DeleteAllRecords must use original table algorithm. > (Ivan Smahin) > > > V4RB - 2.0.3 > ============ > - 0000678: [Other] V4RB-Client now works with VServer. (Ruslan Zasukhin) > - 0000677: [Examples] Class-way examples updated to be Server-ready. (Ruslan > Zasukhin) > - 0000674: [Pictures] REALbasic - vpicture fields not working (Ruslan > Zasukhin) > http://www.paradigmasoft.com/download/V4RB_203fc1_mac.dmg -- 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 jda at his.com Sat Apr 16 16:55:27 2005 From: jda at his.com (jda) Date: Sat Apr 16 15:55:40 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: References: Message-ID: >Hi All, > >IF you use V4RB and class way (Jon, Frank, ...) > >Then you need update your projects for next build of 2.0.3. > >You need add just one line of code: > in the Constructor of myDatabase class > > Ruslan, When I try to run my project with 2.0.3FC1, the second of these lines gives a nilObjectError: varCharField = CreateVarCharField("varCharField", 2000) varCharField.storageEncoding = "UTF16" Do you know why? Jon From sunshine at public.kherson.ua Sun Apr 17 00:01:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 16 16:02:03 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: Message-ID: On 4/16/05 11:55 PM, "jda" wrote: >> Hi All, >> >> IF you use V4RB and class way (Jon, Frank, ...) >> >> Then you need update your projects for next build of 2.0.3. >> >> You need add just one line of code: >> in the Constructor of myDatabase class >> >> > > Ruslan, > > When I try to run my project with 2.0.3FC1, the second of these lines > gives a nilObjectError: > > varCharField = CreateVarCharField("varCharField", 2000) > varCharField.storageEncoding = "UTF16" > > Do you know why? I think varCharField is nil, yes? Please try to run Classes_way exmaples. Work? Have you adopt your database class constructor as in exmpales? -- 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 jda at his.com Sat Apr 16 17:04:50 2005 From: jda at his.com (jda) Date: Sat Apr 16 16:04:55 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: References: Message-ID: > > > Ruslan, >> >> When I try to run my project with 2.0.3FC1, the second of these lines >> gives a nilObjectError: >> >> varCharField = CreateVarCharField("varCharField", 2000) >> varCharField.storageEncoding = "UTF16" >> >> Do you know why? > >I think varCharField is nil, yes? This is in the constructor. > > >Please try to run Classes_way exmaples. >Work? Yes -- Table_Create works. > >Have you adopt your database class constructor as in exmpales? > I added inStorageType as integer = 0 to the declaration of each database constructor. But when I try to open an existing db (as above) I get this error. Jon From jda at his.com Sat Apr 16 17:17:41 2005 From: jda at his.com (jda) Date: Sat Apr 16 16:17:50 2005 Subject: ATTENTION: V4RB: Class way require super.VDatabase() now In-Reply-To: References: Message-ID: > >Please try to run Classes_way exmaples. >Work? > >Have you adopt your database class constructor as in exmpales? > OK, when I added VDatabase(inStorageType) at the beginning of each constructor the error went away. Jon From robert at formworkdesign.com Sat Apr 16 22:24:46 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Apr 16 21:24:53 2005 Subject: vStudio won't connect to vServer Message-ID: I have a new install of vServer and have made no changes to it. I have a new install of vStudio. Mac OSX I expected to be able to use vStudio to connect to the server, using sa/sa as authentication. The server did not make the connection, giving the following error: 22:19:09.190111 (42021888): (14) ERROR 0x82502: Protocol version is too new. Any advice? Thanks, Robert From sunshine at public.kherson.ua Sun Apr 17 09:32:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 01:33:06 2005 Subject: LIKE speed In-Reply-To: Message-ID: On 4/17/05 8:29 AM, "Kem Tekinay" wrote: >> You can download 2.0.3fc1 build and test speed of LIKE again. >> >> I very hope that now it will be much faster. > > Like lightening. It takes 5 ticks to do a search on City, State or ZIP LIKE > '%5%4%'. This is down from a second and a half in previous versions. and > It is true that LIKE is MUCH faster. As I mentioned in the previous e-mail, > it now takes about 5 ticks to do a search like '%5%4%'. My question is, why > does it also take 5 ticks to do a search like '105%' when > fld.FindStartsWith("105") takes between 0 and 1 ticks? > > When LIKE was a problem before this release, I put in code to analyze the > search string so I could call FindStartsWith, FindEndsWith and FindContains > rather than FindLike, if possible. In other words, I'd analyze how many and > where the "%" appeared to call the fastest method. But I feel as though I > should not have to do that. I should be able to call FindLike at any time > and have it be just as fast as FindStartsWith, etc. > > Am I wrong? And before: ----------> >> City, State or Zip LIKE '1%9' (1,508 rows): >> Valentina: 1.48 secs >> MySQL: 0.22 secs >> >> City, State or Zip LIKE '1%9', order by City: >> Valentina: 1.45 secs >> MySQL: 0.22 secs So now we have 5 ticks. This is 0.08 of second. In other words, Valentina now do LIKE in 0.22 / 0.08 = 2.75 times faster of mySQL. Good. And if we add analyze, we can be even more 5 times faster... Very good. -- 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 Apr 17 08:57:35 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Sun Apr 17 01:58:01 2005 Subject: vStudio won't connect to vServer Message-ID: Hi Robert, > I expected to be able to use vStudio to connect to the server, using > sa/sa as authentication. The server did not make the connection, giving > the following error: > > > 22:19:09.190111 (42021888): (14) ERROR 0x82502: Protocol version is > too new. > vStudio b4 is not able to connect to the latest server! This is already fixed for the Windows version of b5 - we still have some problems on the Mac side which delays the release of the b5 version. Hope to get it fixed in the next few days. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Sun Apr 17 09:58:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 01:58:18 2005 Subject: [V4RB] moving to Valentina 2 In-Reply-To: <19600504.1113706094928.JavaMail.root@gonzo.psp.pas.earthlink.net> Message-ID: On 4/17/05 5:48 AM, "Anna Kritselis" wrote: Hi Anna, > I'm still having trouble understanding how to use classes - maybe I should > give up and use RB API. Do not use RBDB!!!! It is bad IMHO. If you have problems with classes you can not use, Look into folder API Way. Here there is no classes! But IMHO classes simplify coding of applications! So let's continue to find where you have problems. > I was doing well, though, with 1.x - it was making > sense and seemed more consistent. I think it would be helpful if you could > take one of your 1.x projects - maybe the two or three table - and update them > to work with a Version 2 database. WE HAVE 2 such projects. Folder Examples/1_x_Examples > In BinaryLink you have dbCLass. You mean Examples/ Classes_way/ BinaryLink ? > I don't understand: > why there are two Constructors with the same name Because first is to work with LOCAL disk dbs, Second to work with remote Valentina Server database. You can see that they use different parameters. You can use only first form if you not going to use Vserver. > why AffiliationTbl has name = "tblAffiliation" and AdminTbl doesn't wow! This is mistake. Name must be in both. actually this is not my example, and I did not polish it. I have correct it already. > when I try to add a table and use name = "tblCLassroom" I get an error - no > method or property I think I know where is mistake. - You mean that you add NEW CLASS into project, right? - after this you should choose in in project and in the property window assign for it parent class to be "VTable" I think you have not made this, so your class of course do not have property "Name" > In Link_ObjectPtr_Recursion, I get a compile error on Create in > mDatabase.Create(f, 4,,32 * 1024) - this method or property does not exist. > After you type mDatabase and press the [Tab] the only options are Constructor > and mPerson. I will check this example > InTable_Create.rb in Window1 - PushButton2 and Pushbutton4 have mDatabase.Open > and mDatabase.Create. In your new pdf you say that these commands don't > return anything. mDataBase.Open( f ) So what problems? I have not understand... > FYI, the Valentina.DebugLevel was the problem causing the slowdown in > Record_AddDelete... Okay, this is normal, it helps in debugging. -- 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 Apr 17 11:20:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 03:20:44 2005 Subject: RB: access to controls of window by index ? Message-ID: Hi Guys, I do not see, if REALbasic have such feature: I have window it have several controls (edit fields, static fields, radio buttons) Can I iterate in loop all controls and check a) their type? b) their name? c) do type cast to get access to all specific its properties? -- 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 ernestogiannotta at tiscalinet.it Sun Apr 17 19:03:26 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Sun Apr 17 12:03:50 2005 Subject: RB: access to controls of window by index ? In-Reply-To: References: Message-ID: <7289412f98b7f4a11e134120f0e035f8@tiscalinet.it> Hi Ruslan, On 17 apr 2005, at 10:20, Ruslan Zasukhin wrote: > Hi Guys, > > I do not see, if REALbasic have such feature: > > I have window > it have several controls (edit fields, static fields, radio > buttons) > > Can I iterate in loop all controls and check yep! dim c as Control for i = 0 to Window.ControlCount - 1 c = Window.Control(i) next > a) their type? with some tweak: if c isa RectControl then Return true end if > b) their name? yep! c.Name > c) do type cast to get access to all specific its properties? > yep! if c isa RectControl then rc = RectControl(c) end if > HTH Cool Runnings, Erne. |er| musical box |ne| a media store From ralf at end-if.de Sun Apr 17 19:06:44 2005 From: ralf at end-if.de (Ralf Sander) Date: Sun Apr 17 12:06:29 2005 Subject: Loose search In-Reply-To: References: Message-ID: <5062aef8c2bb1f28708474870a7179db@end-if.de> Hi Ruslan, > >> Hi Ruslan, >> >> Yes, but you wrote, there is a possibility (and an example) for SQL, >> too. > > Example -- not remember, > Aha, I see analog of IndexByWords exists! > > Yes, in SQL exists analog based on standard functions. > Important is that for THIS functions Valentina recognize and can use > indexes. > > left() > right() > locate() > But as left and right are case insensitive, locate is case sensitive. Are there any possibilities to search for the part of a word case insensitive? Many Cheers, Ralf From sunshine at public.kherson.ua Sun Apr 17 20:23:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 12:23:50 2005 Subject: Loose search In-Reply-To: <5062aef8c2bb1f28708474870a7179db@end-if.de> Message-ID: On 4/17/05 8:06 PM, "Ralf Sander" wrote: > Hi Ruslan, > >> >>> Hi Ruslan, >>> >>> Yes, but you wrote, there is a possibility (and an example) for SQL, >>> too. >> >> Example -- not remember, >> Aha, I see analog of IndexByWords exists! >> >> Yes, in SQL exists analog based on standard functions. >> Important is that for THIS functions Valentina recognize and can use >> indexes. >> >> left() >> right() >> locate() >> > > But as left and right are case insensitive, locate is case sensitive. > Are there any possibilities to search for the part of a word case > insensitive? WHERE fld LIKE '%str%' Starting from 2.0.3fc1 LIKE even can do INDEX SCAN, so this is very fast -- 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 jda at his.com Sun Apr 17 13:33:22 2005 From: jda at his.com (jda) Date: Sun Apr 17 12:33:34 2005 Subject: Loose search In-Reply-To: References: Message-ID: > > > WHERE fld LIKE '%str%' > >Starting from 2.0.3fc1 LIKE even can do INDEX SCAN, so this is very fast > And REGEX? Jon From sunshine at public.kherson.ua Sun Apr 17 20:36:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 12:36:39 2005 Subject: Loose search In-Reply-To: Message-ID: On 4/17/05 8:33 PM, "jda" wrote: >> >> >> WHERE fld LIKE '%str%' >> >> Starting from 2.0.3fc1 LIKE even can do INDEX SCAN, so this is very fast >> > > And REGEX? Yes All depends of course on which data you have. For example for Kem, LIKE now works in 20 times faster -- 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 ralf at end-if.de Sun Apr 17 19:46:02 2005 From: ralf at end-if.de (Ralf Sander) Date: Sun Apr 17 12:45:38 2005 Subject: Loose search In-Reply-To: References: Message-ID: Am 17.04.2005 um 19:23 schrieb Ruslan Zasukhin: > On 4/17/05 8:06 PM, "Ralf Sander" wrote: > >> Hi Ruslan, >> >>> >>>> Hi Ruslan, >>>> >>>> Yes, but you wrote, there is a possibility (and an example) for SQL, >>>> too. >>> >>> Example -- not remember, >>> Aha, I see analog of IndexByWords exists! >>> >>> Yes, in SQL exists analog based on standard functions. >>> Important is that for THIS functions Valentina recognize and can use >>> indexes. >>> >>> left() >>> right() >>> locate() >>> >> >> But as left and right are case insensitive, locate is case sensitive. >> Are there any possibilities to search for the part of a word case >> insensitive? > > WHERE fld LIKE '%str%' > > Starting from 2.0.3fc1 LIKE even can do INDEX SCAN, so this is very > fast as fast as "=" searches? But LIKE is case sensitive, too. The "no_case" keyword of version 1 seems not to work anymore. Many Cheers, Ralf From sunshine at public.kherson.ua Mon Apr 18 00:40:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 17 16:40:27 2005 Subject: Loose search In-Reply-To: Message-ID: On 4/17/05 8:46 PM, "Ralf Sander" wrote: Hi Ralf, >>> But as left and right are case insensitive, locate is case sensitive. >>> Are there any possibilities to search for the part of a word case >>> insensitive? >> >> WHERE fld LIKE '%str%' >> >> Starting from 2.0.3fc1 LIKE even can do INDEX SCAN, so this is very >> fast > > as fast as "=" searches? :-) almost > But LIKE is case sensitive, too. The "no_case" keyword of version 1 > seems not to work anymore. IF you have assign for db/table/field collationAttribute( kStrength ) = kPrimary Then this field have case-insensitive index, searches and sorting. LIKE also take into account this 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 sunshine at public.kherson.ua Mon Apr 18 16:43:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 08:43:42 2005 Subject: [V4RB] 2.0.3fc2 Message-ID: Hi All, You can download it here: http://www.paradigmasoft.com/download/V4RB_203fc2_mac.dmg kernel - 2.0.3 ============== - 0000681: [Performance] LIKE and REGEX now can do INDEX SCAN. This make them in 20+ times faster. (Ruslan Zasukhin) - 0000647: [SQL] Wrong Result by SQL (Ivan Smahin) - 0000532: [SQL] SQL Where Join with twice same table and with AND-OR-Combinations (Ivan Smahin) - 0000672: [Tables] Update does not check value was really changed. (Ivan Smahin) - 0000673: [Cursors] DeleteAllRecords must use original table algorithm. (Ivan Smahin) V4RB - 2.0.3 ============ - 0000682: [Examples] New, SQL_Way/ImportExport added. (Ivan Smahin) - 0000668: [Import/Export] ImportText Slow with Large Import File (Ruslan Zasukhin) - 0000678: [Other] V4RB-Client now works with VServer. (Ruslan Zasukhin) - 0000677: [Examples] Class-way examples updated to be Server-ready. (Ruslan Zasukhin) - 0000674: [Pictures] REALbasic - vpicture fields not working (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 giulio at cantoberon.it Mon Apr 18 18:26:00 2005 From: giulio at cantoberon.it (Giulio) Date: Mon Apr 18 11:26:23 2005 Subject: [V4RB] Deploying application question In-Reply-To: <20050418134345.EB2A1301891@edison.macserve.net> References: <20050418134345.EB2A1301891@edison.macserve.net> Message-ID: I'm playing a little about deploying an RB application that uses valentina DB. I've been able to have it work fine copying all the valentina stuff on the same folder of the application, OK. Now I was trying to have the valentina files on a subfolder of the application folder, to have a more clean application folder. I have read on documentation: "Note, Valentina searches first of all the application folder for "vresources" folder. If it finds it here, then Valentina assumes that all other elements of Valentina folder also here." I have tryied creating such vresources folder and put all Valentina stuff there, but the application says it can't find the necessary files. have I misunderstood the docs? Is there a way to have all DLLs on a subfolder of app folder? Thank you, Giulio From sunshine at public.kherson.ua Mon Apr 18 20:36:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 12:37:08 2005 Subject: [V4RB] 2.0.3fc2 In-Reply-To: Message-ID: On 4/18/05 4:43 PM, "Ruslan Zasukhin" wrote: > Hi All, > > You can download it here: > > http://www.paradigmasoft.com/download/V4RB_203fc2_mac.dmg You can download it again, corrected version string... -- 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 Apr 18 21:03:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 13:03:28 2005 Subject: [V4RB] Deploying application question In-Reply-To: Message-ID: On 4/18/05 7:26 PM, "Giulio" wrote: > I'm playing a little about deploying an RB application that uses > valentina DB. > > I've been able to have it work fine copying all the valentina stuff on > the same folder of the application, OK. > > Now I was trying to have the valentina files on a subfolder of the > application folder, to have a more clean application folder. This will not work for now You need copy __files__ > I have read on documentation: > > "Note, Valentina searches first of all the application folder for > "vresources" folder. If it finds it here, then Valentina assumes that > all other elements of Valentina folder also here." > > I have tryied creating such vresources folder and put all Valentina > stuff there, but the application says it can't find the necessary > files. > > have I misunderstood the docs? Is there a way to have all DLLs on a > subfolder of app folder? For RB Carbon apps no .... Yet MACHO products as Vstudio and Vserver can do 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 yeomans at desuetude.com Mon Apr 18 14:22:01 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Apr 18 13:22:28 2005 Subject: Rb2005 problem Message-ID: I m trying out V4Rb 2 with Rb 2005 as I start making the switch to Valentina 2, and I'm getting Rb assertion failures. Has anyone successfully used these two together? Also, I had to convert V4Rb to .rbx format to get it to work with REALbasic. Charles Yeomans From sunshine at public.kherson.ua Mon Apr 18 21:31:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 13:31:34 2005 Subject: Rb2005 problem In-Reply-To: Message-ID: On 4/18/05 9:22 PM, "Charles Yeomans" wrote: > I m trying out V4Rb 2 with Rb 2005 as I start making the switch to > Valentina 2, and I'm getting Rb assertion failures. Has anyone > successfully used these two together? b4 is broken it seems > Also, I had to convert V4Rb to .rbx format to get it to work with > REALbasic. V4RB 2 ? With REALbasic of what 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 yeomans at desuetude.com Mon Apr 18 14:42:54 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Apr 18 13:43:03 2005 Subject: Rb2005 problem In-Reply-To: References: Message-ID: <40e2bb728f8899c326f9e1b6f95c8f16@desuetude.com> On Apr 18, 2005, at 2:31 PM, Ruslan Zasukhin wrote: > On 4/18/05 9:22 PM, "Charles Yeomans" wrote: > >> I m trying out V4Rb 2 with Rb 2005 as I start making the switch to >> Valentina 2, and I'm getting Rb assertion failures. Has anyone >> successfully used these two together? > > b4 is broken it seems > >> Also, I had to convert V4Rb to .rbx format to get it to work with >> REALbasic. > > V4RB 2 ? Yes; I downloaded the current version this morning. > > With REALbasic of what version ? > REALbasic 2005. So far, there are no problems with Rb 5.5.5. Charles Yeomans From jda at his.com Mon Apr 18 14:55:55 2005 From: jda at his.com (jda) Date: Mon Apr 18 13:56:09 2005 Subject: Rb2005 problem In-Reply-To: <40e2bb728f8899c326f9e1b6f95c8f16@desuetude.com> References: <40e2bb728f8899c326f9e1b6f95c8f16@desuetude.com> Message-ID: >> > >REALbasic 2005. So far, there are no problems with Rb 5.5.5. > I don't get assertion failures with b4, but on compile I get superclass does not exist (VTable, etc.). Jon From sunshine at public.kherson.ua Mon Apr 18 22:11:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 14:11:27 2005 Subject: Rb2005 problem In-Reply-To: Message-ID: On 4/18/05 9:55 PM, "jda" wrote: >> >> REALbasic 2005. So far, there are no problems with Rb 5.5.5. >> > > I don't get assertion failures with b4, but on compile I get > superclass does not exist (VTable, etc.). Check Property Windows for your classes -- 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 Apr 18 22:12:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 18 14:12:06 2005 Subject: Rb2005 problem In-Reply-To: <40e2bb728f8899c326f9e1b6f95c8f16@desuetude.com> Message-ID: On 4/18/05 9:42 PM, "Charles Yeomans" wrote: > > On Apr 18, 2005, at 2:31 PM, Ruslan Zasukhin wrote: > >> On 4/18/05 9:22 PM, "Charles Yeomans" wrote: >> >>> I m trying out V4Rb 2 with Rb 2005 as I start making the switch to >>> Valentina 2, and I'm getting Rb assertion failures. Has anyone >>> successfully used these two together? >> >> b4 is broken it seems >> >>> Also, I had to convert V4Rb to .rbx format to get it to work with >>> REALbasic. >> >> V4RB 2 ? > > Yes; I downloaded the current version this morning. >> >> With REALbasic of what version ? >> > > REALbasic 2005. So far, there are no problems with Rb 5.5.5. Still not clear You convert V4RB2 into rbx, And then it works with RB2005 b4 ??? -- 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 Mon Apr 18 13:28:39 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Apr 18 14:28:55 2005 Subject: Rb2005 problem In-Reply-To: References: <40e2bb728f8899c326f9e1b6f95c8f16@desuetude.com> Message-ID: <3727cec912176f94ac53e2d469e70ef3@goodeast.com> On Apr 18, 2005, at 12:55 PM, jda wrote: >>> >> >> REALbasic 2005. So far, there are no problems with Rb 5.5.5. >> > > I don't get assertion failures with b4, but on compile I get > superclass does not exist (VTable, etc.). Me too. Maybe because we use the Class way. From macsforever2000 at goodeast.com Mon Apr 18 13:31:20 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Apr 18 14:31:27 2005 Subject: Rb2005 problem In-Reply-To: References: Message-ID: <632166c9f5ff7fcf67e0a76942b85d61@goodeast.com> On Apr 18, 2005, at 1:11 PM, Ruslan Zasukhin wrote: > On 4/18/05 9:55 PM, "jda" wrote: > >>> >>> REALbasic 2005. So far, there are no problems with Rb 5.5.5. >>> >> >> I don't get assertion failures with b4, but on compile I get >> superclass does not exist (VTable, etc.). > > Check Property Windows for your classes For me they are set properly. -Frank Schima From yeomans at desuetude.com Mon Apr 18 15:33:56 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Apr 18 14:34:03 2005 Subject: Rb2005 problem In-Reply-To: References: Message-ID: On Apr 18, 2005, at 3:12 PM, Ruslan Zasukhin wrote: > On 4/18/05 9:42 PM, "Charles Yeomans" wrote: > >> >> On Apr 18, 2005, at 2:31 PM, Ruslan Zasukhin wrote: >> >>> On 4/18/05 9:22 PM, "Charles Yeomans" wrote: >>> >>>> I m trying out V4Rb 2 with Rb 2005 as I start making the switch to >>>> Valentina 2, and I'm getting Rb assertion failures. Has anyone >>>> successfully used these two together? >>> >>> b4 is broken it seems >>> >>>> Also, I had to convert V4Rb to .rbx format to get it to work with >>>> REALbasic. >>> >>> V4RB 2 ? >> >> Yes; I downloaded the current version this morning. >>> >>> With REALbasic of what version ? >>> >> >> REALbasic 2005. So far, there are no problems with Rb 5.5.5. > > Still not clear > > You convert V4RB2 into rbx, > And then it works with RB2005 b4 ??? V4Rb 2 as downloaded did not work with Rb 2005 b4; Rb did not load it. I converted the plugin to .rbx format. Then Rb loaded the plugin; autocompletion worked, etc. But when I attempted to compile a project with no code, not even a call to Valentina.Init, Rb suffered an assertion failure. -------------- Charles Yeomans From ktekinay at mactechnologies.com Mon Apr 18 23:45:52 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 18 22:46:04 2005 Subject: [V4RB2] Creating fields in an existing database Message-ID: I think I am starting to understand how the class-way works. When you define the properties in the classes, the additional flags, etc., only matter if the database is created at the outset. If you are opening an existing database, the properties only have to match existing tables and fields. Things like "EVFlag.fIndexed" don't matter. And if the fields don't match, an error is generated. So if I want to modify the structure of an existing database, I have to put in code to add that field using API methods before I open the database using the class-way. Am I right? If not, what is the right way to add a field to an existing database in V4RB2? __________________________________________________________________________ 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 Apr 19 09:26:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 01:26:31 2005 Subject: [V4RB2] Creating fields in an existing database In-Reply-To: Message-ID: On 4/19/05 6:45 AM, "Kem Tekinay" wrote: > I think I am starting to understand how the class-way works. When you define > the properties in the classes, the additional flags, etc., only matter if > the database is created at the outset. If you are opening an existing > database, the properties only have to match existing tables and fields. Right, and if they will not math you will get error. > Things like "EVFlag.fIndexed" don't matter. And if the fields don't match, > an error is generated. right > So if I want to modify the structure of an existing database, I have to put > in code to add that field using API methods before I open the database using > the class-way. > Am I right? If not, what is the right way to add a field to an existing > database in V4RB2? Absolutely right! Btw, it seems in 2.0 we do not have such example, UpgradeSchema. We need add it asap. Note, after you have change schema for your app, which you already distribute to users, you should also Increment db.SchemaVersion Btw, I do not think that you already have distribute app to users, So you can simply trash existed db and create new one. -- 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 Tue Apr 19 10:26:12 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 19 09:26:37 2005 Subject: [V4RB2] Creating fields in an existing database In-Reply-To: Message-ID: On 4/19/05 2:26 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Note, after you have change schema for your app, which you already > distribute to users, you should also Increment db.SchemaVersion All understood. Thanks. Ruslan, would it be hard or impractical to have the VField constructor create the field if it doesn't exist? This would make things much simpler and would be a fine selling point for Valentina too. It would also be in keeping with the class-way of doing things. __________________________________________________________________________ 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 Apr 19 18:03:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 10:03:09 2005 Subject: [V4RB2] Creating fields in an existing database In-Reply-To: Message-ID: On 4/19/05 5:26 PM, "Kem Tekinay" wrote: > On 4/19/05 2:26 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Note, after you have change schema for your app, which you already >> distribute to users, you should also Increment db.SchemaVersion > > All understood. Thanks. > > Ruslan, would it be hard or impractical to have the VField constructor > create the field if it doesn't exist? This would make things much simpler > and would be a fine selling point for Valentina too. It would also be in > keeping with the class-way of doing things. Auto-change of structure we have discuss few times... Everything is not so simple. What to do if you have REMOVE field? Remove field from db ? In fact we have add Table.ID and Field.ID think about such tasks! Because now we have ability to see what fields was added, what removed, and what changed. But it needs yet do some work 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 lfredricks at proactive-intl.com Tue Apr 19 08:11:33 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue Apr 19 10:12:14 2005 Subject: Meshbox Design Introduces Valerian Icon Set for Developers Message-ID: <20050419151150.DC40D17510B@whisk.dreamhost.com> Meshbox Design Introduces Valerian Icon Set for Developers COST EFFECTIVE AND BEAUTIFUL FOR CROSS PLATFORM APPLICATIONS April 19, 2005. Beaverton, OR. Meshbox Design, a leading provider of film quality creative assets and interface design, announce the release of Valerian, a set of icons specifically to meet the needs of cross platform application developers. Valerian consists of over 80 unique color icons in bitmap (.bmp), PNG, TIFF, JPEG and GIF formats, each of which comes in sizes 8, 16, 24 and 32 pixel sizes. Application developers can distribute the icons in applications they own, royalty free. Valerian has an introductory price of $99. "Valerian lets vendors have a beautiful interface without having to spend as much as they did on their main development tool. It was also designed to look at home on MacOS X, Windows and Linux deployments," said Chikako Hatanaka, Director of Meshbox Design. Meshbox Design also provides interface design and creative assets services to vendors. Meshbox Design clients include a broad cross-section of the software industry, including Paradigma Software (http://www.paradigmasoft.com) makers of Valentina database products and Pandromeda, Inc, (http://www.pandromeda.com) the leading provider of 3D procedural world generation software for the 3D animation and special effects industries. Valerian is available for immediate purchase from the Meshbox Design website (http://www.meshbox.com). On purchase, a compressed archive is emailed to the developer. About Meshbox Design Meshbox Design is a division of Proactive International, LLC, a privately held international business development company with offices in the United States and Japan. Meshbox Design is a leading provider of 3D content and licensing, real-time 3D engineering and design creatives for the software, animation and film industries. For more information about Meshbox Design services, visit the division website at http://www.meshbox.com. From ktekinay at mactechnologies.com Tue Apr 19 11:16:06 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 19 10:17:08 2005 Subject: [V4RB2] Creating fields in an existing database In-Reply-To: Message-ID: On 4/19/05 11:03 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Everything is not so simple. I guessed that. > What to do if you have REMOVE field? > Remove field from db ? I'd say ignore it. NOT addressing a field that exists does not generate an error. It should be up to the programmer to remove that field. On the other hand, other than a mistake, there is only one reason to address a field that does not exist in the class-way, and that is because you want that field. But I understand that there are technical challenges. Should I put this in as a feature request in Mantis, or has that been done? __________________________________________________________________________ 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 Apr 19 18:21:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 10:21:10 2005 Subject: [V4RB2] Creating fields in an existing database In-Reply-To: Message-ID: On 4/19/05 6:16 PM, "Kem Tekinay" wrote: > On 4/19/05 11:03 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Everything is not so simple. > > I guessed that. > >> What to do if you have REMOVE field? >> Remove field from db ? > > I'd say ignore it. NOT addressing a field that exists does not generate an > error. It should be up to the programmer to remove that field. > > On the other hand, other than a mistake, there is only one reason to address > a field that does not exist in the class-way, and that is because you want > that field. > > But I understand that there are technical challenges. Should I put this in > as a feature request in Mantis, or has that been done? :-) this will not be near time fix -- 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 bdone at wanadoo.fr Tue Apr 19 17:50:27 2005 From: bdone at wanadoo.fr (bdone) Date: Tue Apr 19 10:50:46 2005 Subject: Crash using LIKE and tables linked by objectPtr Message-ID: Hi, I?m a new user of this list and I appreciate it. It seems I?ve found a problem using LIKE and tables linked by objectPtr. I tested on Mac and Windows the example file : API_way \Link_ObjectPtr_Records\Link_ObjectPtr_Records.rb. I add a test button to the LinkTestWindow window with the follolwing code : dim curs as VCursor dim str as string str = "SELECT Person.*, Phones.* FROM Person, Phones where person.FirstName LIKE '%obert'" curs = MainWindow.mDatabase.SqlSelect(str) Clicking on the test button, the program crashes. If I replace LIKE '%obert' By = ?Robert? the VCursor return the right selection. May be I?ve done a mistake.. Thanks for your help Bernard From IvanSmahin at public.kherson.ua Tue Apr 19 19:10:50 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Apr 19 11:10:49 2005 Subject: Crash using LIKE and tables linked by objectPtr In-Reply-To: References: Message-ID: <1357264148.20050419191050@public.kherson.ua> Hello, Seems to be a bug. Would you put it to the mantis please. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From srunkel at hypix.com Tue Apr 19 10:29:47 2005 From: srunkel at hypix.com (Scott Runkel) Date: Tue Apr 19 12:30:12 2005 Subject: V4MD - reusing recids Message-ID: <04e801c54505$62bbe040$0200a8c0@SCOTT3> Hi, I have a project using Valentina 1 for Director. The database will be updated each year by deleting a bunch of old records and adding a bunch of new ones. But about 80% of the records from one year to the next will be preserved. My problem is that I'm trying to use the recids in my application to store little lists of database records for the user to save. So they might put 5 or 10 items into their custom list, which might be articles or images, but are referred to internally by their recid. Then I realized that next year, when I update the database, some of the existing recids will be reused. So a person might have saved an article on one topic and the next year they'll pull it up and it could be a different article. Is there a way to "lock" all recids so new ones are always generated, perhaps based on the highest existing recid? The idea is that no old, deleted recids would get reused. Any suggestions/solutions appreciated. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From yeomans at desuetude.com Tue Apr 19 13:53:05 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Apr 19 12:53:15 2005 Subject: V4Rb 2 assertion failure Message-ID: I'm getting some assertion failure messages when I attempt to connect to VServer_Office from a REALbasic app using V4Rb 2. GUSI: (ent) -- assertion failed. GUSI: (ent) -- assertion failed. When I attempt to connect using Studio, the attempt fails with kernel error 533762. Apparently this is "Protocol version is too new". I'm using version 2.0.2 of each, as far as I know. What's up? Charles Yeomans From sunshine at public.kherson.ua Tue Apr 19 21:14:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 13:14:45 2005 Subject: V4MD - reusing recids In-Reply-To: <04e801c54505$62bbe040$0200a8c0@SCOTT3> Message-ID: On 4/19/05 8:29 PM, "Scott Runkel" wrote: Hi Scott, > I have a project using Valentina 1 for Director. The database will be updated > each year by deleting a bunch of old records and adding a bunch of new ones. > But > about 80% of the records from one year to the next will be preserved. > > My problem is that I'm trying to use the recids in my application to store > little lists of database records for the user to save. So they might put 5 or > 10 > items into their custom list, which might be articles or images, but are > referred to internally by their recid. Then I realized that next year, when I > update the database, some of the existing recids will be reused. So a person > might have saved an article on one topic and the next year they'll pull it up > and it could be a different article. > > Is there a way to "lock" all recids so new ones are always generated, perhaps > based on the highest existing recid? The idea is that no old, deleted recids > would get reused. > > Any suggestions/solutions appreciated. Well, it is possible 1) not delete old records 2) after deletion add some number of blank records until all deleted records will be re-used and you start get RecID values bigger of latest record on table. This is not good of course, because in this case you table will always grow in size. -- 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 Apr 19 21:16:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 13:16:30 2005 Subject: V4Rb 2 assertion failure In-Reply-To: Message-ID: On 4/19/05 8:53 PM, "Charles Yeomans" wrote: > I'm getting some assertion failure messages when I attempt to connect > to VServer_Office from a REALbasic app using V4Rb 2. > > GUSI: (ent) -- assertion failed. > > GUSI: (ent) -- assertion failed. > > When I attempt to connect using Studio, the attempt fails with kernel > error 533762. Apparently this is "Protocol version is too new". I'm > using version 2.0.2 of each, as far as I know. What's up? Hi Charles, Vstudio b4 cannot connect to Vserver 2. Jochen say that b5 win already can do this, and I hope tomorrow we will get working mac version, then will be update of Vstudio b5 and I think the whole line of Valentina 2.0.3 In 2.0.3 VServer2 + V4RB2 + Vstudio b5 should work fine. -- 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 srunkel at hypix.com Tue Apr 19 11:18:15 2005 From: srunkel at hypix.com (Scott Runkel) Date: Tue Apr 19 13:18:24 2005 Subject: V4MD - reusing recids References: Message-ID: <054401c5450c$27de95b0$0200a8c0@SCOTT3> > 1) not delete old records > > 2) after deletion add some number of blank records until all deleted records > will be re-used and you start get RecID values bigger of latest record on > table. Ruslan, Thanks -- interesting suggestions. What about creating my own auto-increment integer field? Is there such a thing in Valentina? (use it a lot in mySQL). -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue Apr 19 21:20:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 19 13:21:00 2005 Subject: V4MD - reusing recids In-Reply-To: <054401c5450c$27de95b0$0200a8c0@SCOTT3> Message-ID: On 4/19/05 9:18 PM, "Scott Runkel" wrote: >> 1) not delete old records >> >> 2) after deletion add some number of blank records until all deleted records >> will be re-used and you start get RecID values bigger of latest record on >> table. > > Ruslan, > > Thanks -- interesting suggestions. What about creating my own auto-increment > integer field? Is there such a thing in Valentina? (use it a lot in mySQL). You can create it. We need add yet auto-increment -- 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 Wed Apr 20 00:36:18 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 19 23:36:26 2005 Subject: [V4RB2] Compressor error Message-ID: While adding e-mail attachments to a VBLOB whose compression is turned on, I get: ERROR: 0x86000 Compressor error. If I turn compression off, I get no error. What shall I make 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 CBishop at alfred.com Tue Apr 19 14:36:49 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Wed Apr 20 02:04:08 2005 Subject: V4MD 2 Message-ID: Nice guess! It works fine now. I took a few items out of the system PATH variable, and voila! -----Original Message----- From: Ruslan Zasukhin [mailto:ruslan@paradigmasoft.com] Sent: Tuesday, April 19, 2005 1:37 PM To: Christopher Bishop; vdevelopers@paradigma.ukrcom.kherson.ua Subject: Re: V4MD 2 On 4/19/05 11:09 PM, "Christopher Bishop" wrote: >>> On Valentina.init() Director tells me "A fatal error has occurred and >>> Director will now quit." >>> >>> I am using Director MX on Windows XP Professional. This happens when >>> running any of the scripts that came with the V4MD_2 package. > >> This is your first attempt to run V4MD2 ? > > YES, THIS IS MY FIRST ATTEMPT. AFTER INSTALLING, DIRECTOR WAS GIVING ME > THIS ERROR WHEN OPENING: > > "THIS APPLICATION HAS FAILED TO START BECAUSE > VShared_Win32_Release_VD.dll WAS NOT FOUND. RE-INSTALLING THE > APPLICATION MAY FIX THIS PROBLEM." > > I COPIED ALL THE .dll FILES FROM THE VComponents_Win_VC FOLDER INTO THE > XTRAS FOLDER, AND THIS ERROR WENT AWAY. In other words, sounds like the system variable PATH do not work. Hmm. Can you check please this variable ? ( it is In the properties of "My computer") May be it have a lots of other paths ? I have hear that Windows have some limit on length of string for this variable... * Do you have other WIN computer to test ? * Do you run on English OS ? > HOWEVER, THEN THE COMMAND > Valentina.init WOULD GIVE FATAL ERROR. > >> Well, other developers can run it,, so I think problem somewhere on > your >> side. So let's search > >> - You have install Xtra into Xtras folder ? > YES, BUT SEE ABOVE. > >> - in the script window, do you see Valentina Xtras in the menu ? > YES > >> - what version of Xtra you have? 2.0.2 ? > I JUST DOWNLOADED IT, SO I THINK IT IS 2.0.2 -- IT WAS MODIFIED ON April > 12, 2005 -- 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 Apr 20 10:18:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 20 02:18:18 2005 Subject: [SQL] V4MD 2 - Version 2.0.2 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E3004714F@apvnyexch01.alfredpub.com> Message-ID: On 4/20/05 6:46 AM, "Christopher Bishop" wrote: Hi Christopher, > Now that it's working, I have some problems with sqlselect. > > uCursor = db.sqlselect("select * from updates") works fine. However, > uCursor = db.sqlselect("select date from updates") does not work. uCursor > becomes void. Problem is that DATE is key word of Valentina 2 SQL. You cannot use keywords for field and table names. Rename it as fldDate > uCursor = db.sqlselect("select * from updates", 1, 2) does not work if using > local DB. Christopher, in V4MD 2.0 you can use symbols as constants. Please do that. Because I do not remember what 1, 2 means Write code as: uCursor = db.sqlselect("select * from updates", #kServer, #kRead) > Do I have to have 2 different statements for local or server databases? I > tried > uCursor = db.sqlselect("select * from updates", void, void), but it does not > work. This not correct of course. > Any ideas? I still not see full task. Please explain 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 sunshine at public.kherson.ua Wed Apr 20 10:20:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 20 02:20:36 2005 Subject: [V4RB2] Compressor error In-Reply-To: Message-ID: On 4/20/05 7:36 AM, "Kem Tekinay" wrote: > While adding e-mail attachments to a VBLOB whose compression is turned on, I > get: > > ERROR: 0x86000 Compressor error. > > If I turn compression off, I get no error. What shall I make of this? Strange. Jon it seems use compressions with no problems. Well, report this into Mantis. And if you can send us simple project which reproduce -- 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 Wed Apr 20 03:36:31 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 02:36:39 2005 Subject: [V4RB2] FindValue stops at 1,022 records Message-ID: Here is an odd one. I'm writing a program that logs into an e-mail account, downloads messages and stores them in a database. To keep duplicates out, it first downloads the headers, then uses the Message-ID header to see if the message has already been entered. The code is this: hdrs = email.Headers if hdrs <> nil then if hdrs.NameCount( "Message-ID" ) > 0 then msgID = hdrs.Value( "Message-ID", 0 ) if msgID <> "" then bs = tblEmail.fldMessageID.FindValueAsArraySet( msgID ) if bs <> nil and bs.Count > 0 then iter = bs.MakeNewIterator emailID = iter.FirstItem iter = nil bs = nil end if end if end if end if bs = nil return emailID // A zero here means the e-mail is unique The problem is, once the database gets to 1,022 records, bs.Count returns 1,022. I've tried trashing the database and starting the downloads from 1,023 and 2,044. No matter what, once I get 1,022 records, FindValue and FindValueAsArraySet stop working correctly. __________________________________________________________________________ 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 Wed Apr 20 10:57:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 20 02:57:59 2005 Subject: [V4RB2] FindValue stops at 1,022 records In-Reply-To: Message-ID: On 4/20/05 10:36 AM, "Kem Tekinay" wrote: > Here is an odd one. I'm writing a program that logs into an e-mail account, > downloads messages and stores them in a database. To keep duplicates out, it > first downloads the headers, then uses the Message-ID header to see if the > message has already been entered. > > The code is this: > > hdrs = email.Headers > if hdrs <> nil then > if hdrs.NameCount( "Message-ID" ) > 0 then > msgID = hdrs.Value( "Message-ID", 0 ) > if msgID <> "" then > bs = tblEmail.fldMessageID.FindValueAsArraySet( msgID ) > if bs <> nil and bs.Count > 0 then > iter = bs.MakeNewIterator > emailID = iter.FirstItem > iter = nil Quick note: you always extract from ArraySet only first Item ? then you can use FindSingle() function. Do the same, but will be less code. > bs = nil > end if > end if > end if > end if > bs = nil > > return emailID // A zero here means the e-mail is unique > > The problem is, once the database gets to 1,022 records, bs.Count returns > 1,022. I've tried trashing the database and starting the downloads from > 1,023 and 2,044. No matter what, once I get 1,022 records, FindValue and > FindValueAsArraySet stop working correctly. -- 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 Apr 20 11:00:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 20 03:01:04 2005 Subject: [V4RB2] FindValue stops at 1,022 records In-Reply-To: Message-ID: On 4/20/05 10:36 AM, "Kem Tekinay" wrote: > Here is an odd one. I'm writing a program that logs into an e-mail account, > downloads messages and stores them in a database. To keep duplicates out, it > first downloads the headers, then uses the Message-ID header to see if the > message has already been entered. > > The code is this: > > hdrs = email.Headers > if hdrs <> nil then > if hdrs.NameCount( "Message-ID" ) > 0 then > msgID = hdrs.Value( "Message-ID", 0 ) > if msgID <> "" then > bs = tblEmail.fldMessageID.FindValueAsArraySet( msgID ) > if bs <> nil and bs.Count > 0 then > iter = bs.MakeNewIterator > emailID = iter.FirstItem > iter = nil > bs = nil > end if > end if > end if > end if > bs = nil > > return emailID // A zero here means the e-mail is unique > > The problem is, once the database gets to 1,022 records, bs.Count returns > 1,022. I've tried trashing the database and starting the downloads from > 1,023 and 2,044. No matter what, once I get 1,022 records, FindValue and > FindValueAsArraySet stop working correctly. Everything looks correct. So we need project, Kem -- 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 Wed Apr 20 04:14:29 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 03:14:35 2005 Subject: [V4RB2] FindValue stops at 1,022 records In-Reply-To: Message-ID: On 4/20/05 3:57 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > you always extract from ArraySet only first Item ? > then you can use FindSingle() function. > Do the same, but will be less code. Thanks. I'll make the change after I get to the bottom of this. As for a project, I'll try to get one to you soon. Right now, I am testing to see if using VVarChar rather than VString for the MessageID field makes a difference. And then I must go to bed (it's 4 AM here :-/ ). __________________________________________________________________________ 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 Wed Apr 20 04:36:50 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 03:36:58 2005 Subject: [V4RB2] FindValue stops at 1,022 records In-Reply-To: Message-ID: On 4/20/05 4:14 AM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > As for a project, I'll try to get one to you soon. Right now, I am testing > to see if using VVarChar rather than VString for the MessageID field makes a > difference. Just a note: Using a VVarChar didn't help, and FindSingle did the same thing, except it kept returning 1 even for the legitimate duplicates, which I thought was odd. Really off to bed 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 jda at his.com Wed Apr 20 07:20:26 2005 From: jda at his.com (jda) Date: Wed Apr 20 06:20:39 2005 Subject: [V4RB2] Compressor error In-Reply-To: References: Message-ID: >On 4/20/05 7:36 AM, "Kem Tekinay" wrote: > >> While adding e-mail attachments to a VBLOB whose compression is turned on, I >> get: >> >> ERROR: 0x86000 Compressor error. >> >> If I turn compression off, I get no error. What shall I make of this? > >Strange. Jon it seems use compressions with no problems. > I did have one user report such an error a while ago, but I just assumed it was due to db corruption that was occurring so often with that version of Valentina. I haven't had such a report lately. Jon From ktekinay at mactechnologies.com Wed Apr 20 15:42:21 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 14:42:40 2005 Subject: [V4RB2] FindValue stops at 1,022 records In-Reply-To: Message-ID: On 4/20/05 4:36 AM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > Just a note: Using a VVarChar didn't help, and FindSingle did the same > thing, except it kept returning 1 even for the legitimate duplicates, which > I thought was odd. And today, when I am not so sleepy, I realize that I was never really adding information to the field I was searching on. It turns out that naming a variable "msgID" is not actually the same thing as getting the message ID. Who knew? Sorry for the false alarm. __________________________________________________________________________ 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 Wed Apr 20 22:56:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 20 14:56:52 2005 Subject: [SQL] V4MD 2 - Version 2.0.2 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E694E7@apvnyexch01.alfredpub.com> Message-ID: On 4/20/05 10:45 PM, "Christopher Bishop" wrote: > I am using either a client connection or an IP connection, depending on > what the user chooses. I would like to use the same statement for both. > i.e. uCursor = db.sqlselect("select * from updates", variable1, > variable2) > > Is there any way to do this, or will I need the following: > if gServerVersion = TRUE then > uCursor = db.sqlselect("select * from updates", #kServer, #kRead) > else > uCursor = db.sqlselect("select * from updates") > end if RULE is next: 1) You can use #kServer in both cases. with this you can get ReadWrite cursor for LOCAL db this also works. Just #kServer and #kClient cursors are the same. Except that again, #kClient cursor is ReadOnly. 2) you can use kClient in both cases, just cursor will be ReadOnly always -- 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 Wed Apr 20 23:23:10 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 22:23:17 2005 Subject: [V4RB2] Compressor error In-Reply-To: Message-ID: On 4/20/05 3:20 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Well, report this into Mantis. > And if you can send us simple project which reproduce I'm doing both right now. The project includes 4 files that the compressor chokes on. There is also another bug demonstrated in this project: tbl.DeleteAllRecords will not compile. If you really want all records deleted, you must provide the parameter, as in tbl.DeleteAllRecords( tbl.SelectAllRecords ). I'm reporting this in Mantis too. __________________________________________________________________________ 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 Thu Apr 21 00:25:47 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed Apr 20 23:25:53 2005 Subject: [V4RB2] FindValue on a VDateTime field Message-ID: I want to perform a FindValue on a VDateTime field, but I can't figure out what format it's looking for. I've tried the short date and the RB Date object, but no luck. Suggestions? __________________________________________________________________________ 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 Thu Apr 21 12:13:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 04:13:37 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: Message-ID: On 4/21/05 7:25 AM, "Kem Tekinay" wrote: Hi Kem, > I want to perform a FindValue on a VDateTime field, but I can't figure out > what format it's looking for. I've tried the short date and the RB Date > object, but no luck. Suggestions? I think try it as string fldDate.find( "04/20/2005" ) Format should be according to your current db.DateTimeFormat settings. -- 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 deichmann at werkbank.com Thu Apr 21 11:34:06 2005 From: deichmann at werkbank.com (Sven Deichmann) Date: Thu Apr 21 04:34:39 2005 Subject: V4WS phenomenon Message-ID: <4267738E.50202@werkbank.com> Hello, we have got some strange problems here and I hope someone can give me a clue what it could be that is going wrong. We experience some strange behaviour with Websiphon (2.0.9) and Valentina for WebSiphon which run on Mac OS 9.2.2 as acgi within Webstar 4.5. Apart from the fact, that you can crash the whole server by accessing non-existing Cursors or something like that, we get Runtime errors stating certain fields do not exist that in fact are there. The newest and strangest phenomenon was, that after a fresh compile a script is executed without any problem, but if it already was compiled in an access before, the script failed with a runtime error (valentina error for valGetField "no such field" on a blank line) Today this problem seems to have vanished. But I don't want it to happen again. What would you suspect is going wrong? Another problem we experience is, that Websiphon eats more and more RAM while running. I have written a script that quits WebSiphon if that goes above certain limits, but thats only a dirty workaround... Regards, Sven Deichmann -- --------------------------------------------------------------- Information nimmt Gestalt an... - --------------------------------------------------------------- Werkbank Multimedia GmbH * Bergstrasse 152 * 44791 Bochum * GER Fon: +49(0)234/ 935386-03 * Fax: 935386-06 * mail@werkbank.com --------------------------------------------------------------- From vidal_olivier at yahoo.fr Thu Apr 21 11:55:54 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Apr 21 04:56:42 2005 Subject: V4RB2 bug 648, new system of catch error Message-ID: Hi Ruslan and list, Did you look at the bug 648? ( V4RB) I think that it is an important bug IF all the operations of Valentina are VERY slow by the capture of error of Realbasic. In my example (see mantis), if I makes an import, for example of 80 000 records, but that there are 2000 identical records, while the "unique" parameter is enabled, the operation will take dozens supplementary minutes! (Because of the catch of error) If I remove the new system of catch of error and what I puts back the old, everything is fast and there is not problem anymore. There is a solution? Or it is necessary to use the old system of error to increase the performances? thank you olivier From sunshine at public.kherson.ua Thu Apr 21 13:41:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 05:41:17 2005 Subject: V4WS phenomenon In-Reply-To: <4267738E.50202@werkbank.com> Message-ID: On 4/21/05 12:34 PM, "Sven Deichmann" wrote: Hi Sven, > we have got some strange problems here and I hope someone can give me a > clue what it could be that is going wrong. > > We experience some strange behaviour with Websiphon (2.0.9) and > Valentina for WebSiphon which run on Mac OS 9.2.2 as acgi within Webstar > 4.5. > > Apart from the fact, that you can crash the whole server by accessing > non-existing Cursors or something like that, we get Runtime errors > stating certain fields do not exist that in fact are there. > > The newest and strangest phenomenon was, that after a fresh compile a > script is executed without any problem, but if it already was compiled > in an access before, the script failed with a runtime error (valentina > error for valGetField "no such field" on a blank line) > > Today this problem seems to have vanished. But I don't want it to happen > again. > > What would you suspect is going wrong? I think this was WS issue. > Another problem we experience is, that Websiphon eats more and more RAM > while running. I have written a script that quits WebSiphon if that goes > above certain limits, but thats only a dirty workaround... I am sure then you have forget delete some of cursors. Please check your code. You MUST delete cursor ASAP you have finish work with 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 Apr 21 13:45:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 05:45:28 2005 Subject: V4RB2 bug 648, new system of catch error In-Reply-To: Message-ID: On 4/21/05 12:55 PM, "Olivier" wrote: Hi Oliver, > Hi Ruslan and list, > > Did you look at the bug 648? ( V4RB) I think this is REALbasic issue. > I think that it is an important bug IF all the operations of Valentina > are VERY slow by the capture of error of Realbasic. No. Exception is throw ONLY when error is raised, So if you do 100000 adds without errors then you have ZERO overhead > In my example (see mantis), if I makes an import, for example of 80 000 > records, but that there are 2000 identical records, while the "unique" > parameter is enabled, the operation will take dozens supplementary > minutes! (Because of the catch of error) Well, try to make REALbasic function without Valentina and bench how many you can raise - catch exceptions in the REALbasic. If you prove that this is RB issue, then bomb REAL on that. If you will find that RB itself can do 100 times more exception than Valentina can do then we have 2 possible cases 1) exceptions from plugins are slow 2) problem in Valentina kernel. > If I remove the new system of catch of error and what I puts back the > old, everything is fast and there is not problem anymore. Right, so you have workaround. > There is a solution? Or it is necessary to use the old system of error > to increase the performances? May be, although this is bad of course. Exception should not add significant overhead. We need find WHO cause problems -- 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 Apr 21 13:48:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 05:48:32 2005 Subject: FIXED: [V4RB] 2.0.3fc - Wrong type & creator In-Reply-To: <7f56455caddb04751e7d48b7c62f4f47@tiscalinet.it> Message-ID: On 4/21/05 12:51 AM, "erne" wrote: > Hello Ruslan, > > I've downloaded V4RB 203 fc > but after I run the installer the V4RB plugin comes out as a Resource > file with no icon > > I can change the Type and Creator with a resource editor and get back > the icon > > Cool Runnings, > Erne. > |er| musical box > |ne| a media store -- 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 Thu Apr 21 07:53:56 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 06:54:39 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: Message-ID: On 4/21/05 5:13 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> I want to perform a FindValue on a VDateTime field, but I can't figure out >> what format it's looking for. I've tried the short date and the RB Date >> object, but no luck. Suggestions? > > I think try it as string > > fldDate.find( "04/20/2005" ) > > > Format should be according to your current db.DateTimeFormat settings. I *think* you meant fldDate.FindValue as "Find" doesn't exist, but, as I said, I tried that. I also tried fldDate.FindRange( true, "4/14/04 00:00:00", "4/14/04 23:59:59", true ). Again, this is a VDateTime field. Is there an example for finding on that type of field using the class-way? __________________________________________________________________________ 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 IvanSmahin at public.kherson.ua Thu Apr 21 15:18:02 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Apr 21 07:18:07 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: References: Message-ID: <599879866.20050421151802@public.kherson.ua> Hello Kem, Thursday, April 21, 2005, 2:53:56 PM, you wrote: >>> I want to perform a FindValue on a VDateTime field, but I can't figure out Actually time part includes milliseconds: fldDate.find( "04/20/2005 00:00:00:000" ) -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From peter.salomon at gmx.net Thu Apr 21 14:20:05 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Apr 21 07:20:30 2005 Subject: [V4MD Mac] createBinaryLink example error Message-ID: <42679A75.3070903@gmx.net> hi ruslan, the actual example "Link_Binary" of V4MD Mac gets an error: ERR_CONSTRAINT_EXPECTED_REQUIRED_PROPERTY "Expected required property "LeftTable and(or) RightTable" the codeline in dir project is: link = gDB.createBinaryLink("linkName", RtableObj, LTableObj, #kOne, #kMany) seems, that all required props are setted, did not test on PC yet, does it work on other systems? how can i use it on the mac? regards, peter From ktekinay at mactechnologies.com Thu Apr 21 08:27:06 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 07:27:12 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: <599879866.20050421151802@public.kherson.ua> Message-ID: On 4/21/05 8:18 AM, Ivan Smahin at IvanSmahin@public.kherson.ua wrote: > Actually time part includes milliseconds: > > fldDate.find( "04/20/2005 00:00:00:000" ) OK, that works in a FindRange statement. Thanks. Is there an easy way to convert a RB date object to the right format, or do I just have to parse it myself? BTW, ideally I should be able to supply an RB date object rather than parsing it at all. __________________________________________________________________________ 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 Thu Apr 21 08:27:38 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 07:27:44 2005 Subject: [V4RB2] Finding in a VText Message-ID: I have about 25,000 records that include three VText fields. Those fields are indexed by words. I find that a FindContains on those fields takes a long time (15 to 30 seconds), even though I am just searching for one word. But if I go into VStudio and use " select * from email where bodytext like '%viagra%' or bodyhtml like '%viagra%' or bodyenriched like '%viagra'", the search takes about 5-10 seconds (still longer than I'd expect, but better). Using FindValue finds nothing at all. What am I missing? My code is this: bs = zEmailTbl.fldBodyText.FindContains( term ) bs1 = zEmailTbl.fldBodyEnriched.FindContains( term ) bs = bs.Union( bs1 ) bs1 = zEmailTbl.fldBodyHTML.FindContains( term ) bs = bs.Union( bs1 ) __________________________________________________________________________ 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 rjb at robelko.com Thu Apr 21 14:49:50 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Apr 21 08:05:47 2005 Subject: Valentina and PHP Message-ID: I was just going to check out the PHP connector and realized that it an't there anymore? What's the scoop? Actually, more than PHP connector itself, I am interested, and my be Paradigma should as well, to have Valentina supported by ADOdb. I just started working with a learning platform Moodle, and if ADOdb supported Valentina, I could try using it instead of MySQL as Moodle's database engine. Robert From sunshine at public.kherson.ua Thu Apr 21 16:10:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 08:10:14 2005 Subject: [V4MD Mac] createBinaryLink example error In-Reply-To: <42679A75.3070903@gmx.net> Message-ID: On 4/21/05 3:20 PM, "peter salomon" wrote: > hi ruslan, > > the actual example "Link_Binary" of V4MD Mac gets an error: > ERR_CONSTRAINT_EXPECTED_REQUIRED_PROPERTY > "Expected required property "LeftTable and(or) RightTable" > > the codeline in dir project is: > link = gDB.createBinaryLink("linkName", RtableObj, LTableObj, #kOne, #kMany) > > seems, that all required props are setted, > > did not test on PC yet, does it work on other systems? > how can i use it on the mac? In REALbasic this example works. Igor please check this example -- 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 Apr 21 16:16:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 08:16:59 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: <599879866.20050421151802@public.kherson.ua> Message-ID: On 4/21/05 3:18 PM, "Ivan Smahin" wrote: > Hello Kem, > > Thursday, April 21, 2005, 2:53:56 PM, you wrote: > >>>> I want to perform a FindValue on a VDateTime field, but I can't figure out > > Actually time part includes milliseconds: > > fldDate.find( "04/20/2005 00:00:00:000" ) Ivan, Please check this. Btw, I believe that DateTime field should accept such search also: fldDateTime.findValue( "04/20/2005" ) -- 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 Apr 21 16:17:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 08:17:54 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: Message-ID: On 4/21/05 3:27 PM, "Kem Tekinay" wrote: > On 4/21/05 8:18 AM, Ivan Smahin at IvanSmahin@public.kherson.ua wrote: > >> Actually time part includes milliseconds: >> >> fldDate.find( "04/20/2005 00:00:00:000" ) > > OK, that works in a FindRange statement. Thanks. > > Is there an easy way to convert a RB date object to the right format, or do > I just have to parse it myself? > > BTW, ideally I should be able to supply an RB date object rather than > parsing it at all. You can add this to Mantis as feature request -- 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 Apr 21 16:18:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 08:20:01 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 3:27 PM, "Kem Tekinay" wrote: > I have about 25,000 records that include three VText fields. Those fields > are indexed by words. > > I find that a FindContains on those fields takes a long time (15 to 30 > seconds), even though I am just searching for one word. But if I go into > VStudio and use " select * from email where bodytext like '%viagra%' or > bodyhtml like '%viagra%' or bodyenriched like '%viagra'", the search takes > about 5-10 seconds (still longer than I'd expect, but better). > > Using FindValue finds nothing at all. > > What am I missing? > > My code is this: > > bs = zEmailTbl.fldBodyText.FindContains( term ) > bs1 = zEmailTbl.fldBodyEnriched.FindContains( term ) > bs = bs.Union( bs1 ) > bs1 = zEmailTbl.fldBodyHTML.FindContains( term ) > bs = bs.Union( bs1 ) Have you try IndexByWords ? -- 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 Apr 21 16:20:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 08:20:25 2005 Subject: Valentina and PHP In-Reply-To: Message-ID: On 4/21/05 3:49 PM, "Robert Brenstein" wrote: > I was just going to check out the PHP connector and realized that it > an't there anymore? What's the scoop? You want VPHP with Vserver a65 ? > Actually, more than PHP connector itself, I am interested, and my be > Paradigma should as well, to have Valentina supported by ADOdb. > > I just started working with a learning platform Moodle, and if ADOdb > supported Valentina, I could try using it instead of MySQL as > Moodle's database engine. Yuri was going start develop VPHP 2.0 ADOdb -- this is standard db classes for PHP ? -- 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 Thu Apr 21 10:05:29 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 09:05:45 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 9:18 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Have you try IndexByWords ? Yes, as I said in my e-mail. >From the original: > I have about 25,000 records that include three VText fields. Those fields > are indexed by words. <<<----***** __________________________________________________________________________ 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 Thu Apr 21 17:38:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 09:38:16 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 4:18 PM, "Ruslan Zasukhin" wrote: >> I have about 25,000 records that include three VText fields. Those fields >> are indexed by words. I see now. Well, really very long. Please send me project that reproduce >> I find that a FindContains on those fields takes a long time (15 to 30 >> seconds), even though I am just searching for one word. But if I go into >> VStudio and use " select * from email where bodytext like '%viagra%' or >> bodyhtml like '%viagra%' or bodyenriched like '%viagra'", the search takes >> about 5-10 seconds (still longer than I'd expect, but better). >> >> Using FindValue finds nothing at all. >> >> What am I missing? >> >> My code is this: >> >> bs = zEmailTbl.fldBodyText.FindContains( term ) >> bs1 = zEmailTbl.fldBodyEnriched.FindContains( term ) >> bs = bs.Union( bs1 ) >> bs1 = zEmailTbl.fldBodyHTML.FindContains( term ) >> bs = bs.Union( bs1 ) -- 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 Apr 21 17:46:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 09:46:17 2005 Subject: Valentina for Director - error codes In-Reply-To: <55596671.1114073816@[192.168.1.13]> Message-ID: On 4/21/05 9:56 AM, "Philippe Verney" wrote: > Dear Ruslan, > > We talk by the past on 1.x version of Valentina. > I am now testing version 2, can you tell in which documentation i can find an > explanation of error codes > > Best regards, Philippe Verney > LOGILUNE Hi Philippe, You can look into VComponents folder. here find folder Resources. It contains 2 XML files with code errors and their descriptions. I recommend open XML files in the MS Explorer or other good XML viewer. Is this answer to your question ? -- 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 Thu Apr 21 18:55:43 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Apr 21 11:56:09 2005 Subject: [V4MD Mac] createBinaryLink example error In-Reply-To: References: Message-ID: <4267DB0F.8080100@gmx.net> hi igor and ruslan, most other users seem to use windows platforms? i checked also on another mac, but the same result: all examples, which use binary links don?t work on the mac. e.g.: "Field_Create_Drop" -- example works, but error comes when stopping movie err = "Expected required property "LeftTable and(or) RightTable" "Link _Bimnary_Records" -- same error comes at startmovie "Link_Binary_Recursion" -- also at startmovie "Link_ForeignKey" err = " Expected required property "Key and Ptr (Keys and Ptrs)" "Link_ForeignKey_Records" -- also.. "Link_ForeignKey_Recursion" -- also.. Examles with ObjectPtr seem working correct regards, peter > >Igor please check this example > > > From robert at formworkdesign.com Thu Apr 21 15:11:30 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Apr 21 14:12:00 2005 Subject: [V4RB2] FindValue on a VDateTime field In-Reply-To: References: Message-ID: <15832395815e5d115ce16cc0775051cf@formworkdesign.com> I always use my own subclass of the RB date object. Most of my own additions to the native object have to do with getting date and time strings out in various formats. Your application is well suited to this strategy. On Apr 21, 2005, at 8:27 AM, Kem Tekinay wrote: > On 4/21/05 8:18 AM, Ivan Smahin at IvanSmahin@public.kherson.ua wrote: > >> Actually time part includes milliseconds: >> >> fldDate.find( "04/20/2005 00:00:00:000" ) > > OK, that works in a FindRange statement. Thanks. > > Is there an easy way to convert a RB date object to the right format, > or do > I just have to parse it myself? > > BTW, ideally I should be able to supply an RB date object rather than > parsing it at all. > > _______________________________________________________________________ > ___ > 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 > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From ktekinay at mactechnologies.com Thu Apr 21 15:12:26 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 14:12:34 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 10:38 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I see now. > > Well, really very long. > > Please send me project that reproduce I'm not sure how I would do that since the data files I have are several MB. I guess I'll try to create a standalone that stuffs random data into VText fields and see if the problem exists. My guess is that it will since I am not doing anything special. It just doesn't look like it's using the indexes. __________________________________________________________________________ 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 Thu Apr 21 15:59:03 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 14:59:10 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 3:12 PM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > I'm not sure how I would do that since the data files I have are several MB. > I guess I'll try to create a standalone that stuffs random data into VText > fields and see if the problem exists. My guess is that it will since I am > not doing anything special. It just doesn't look like it's using the > indexes. Here is a question: I have IndexByWords turned on, but not Indexed. Do I need both? __________________________________________________________________________ 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 Thu Apr 21 23:09:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 21 15:09:31 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 10:59 PM, "Kem Tekinay" wrote: > On 4/21/05 3:12 PM, Kem Tekinay at ktekinay@mactechnologies.com wrote: > >> I'm not sure how I would do that since the data files I have are several MB. >> I guess I'll try to create a standalone that stuffs random data into VText >> fields and see if the problem exists. My guess is that it will since I am >> not doing anything special. It just doesn't look like it's using the >> indexes. > > Here is a question: I have IndexByWords turned on, but not Indexed. Do I > need both? Yes 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 ktekinay at mactechnologies.com Thu Apr 21 19:58:48 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Apr 21 18:59:00 2005 Subject: [V4RB2] Finding in a VText In-Reply-To: Message-ID: On 4/21/05 4:09 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> Here is a question: I have IndexByWords turned on, but not Indexed. Do I >> need both? > > Yes of course Well, I guess that explains that. Thanks. __________________________________________________________________________ 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 rjb at robelko.com Fri Apr 22 02:09:08 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Apr 21 19:29:05 2005 Subject: Valentina and PHP In-Reply-To: References: Message-ID: > >ADOdb -- this is standard db classes for PHP ? > See: http://adodb.sourceforge.net/ I was going to try it with the old PHP thingy but it was more of a curiosity at this time since there is no ADOdb driver. In other words, no real need now. Robert From fb at memedia.de Fri Apr 22 10:18:24 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 22 03:19:00 2005 Subject: problem with nullable field in V4MD1 Message-ID: <0ML21M-1DOtMr15Wr-00088l@mrelayeu.kundenserver.de> Hi Ruslan! I have changed an existing table and added a new field called OPC_ID kTypeUMedium indexed nullable Now all records that already existed have the value OPC_ID=0 but I expexted them all to have OPC_ID= Unfortunately I need "0" as a value and I can not set the existing records to since this is not a valid value in Director. What now? Best regards, Florian From sunshine at public.kherson.ua Fri Apr 22 12:24:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 22 04:24:47 2005 Subject: problem with nullable field in V4MD1 In-Reply-To: <0ML21M-1DOtMr15Wr-00088l@mrelayeu.kundenserver.de> Message-ID: On 4/22/05 11:18 AM, "Florian Bogeschdorfer" wrote: > Hi Ruslan! > > > > I have changed an existing table and added a new field called OPC_ID > kTypeUMedium indexed nullable > > > > Now all records that already existed have the value OPC_ID=0 but I expexted > them all to have OPC_ID= > > > > Unfortunately I need "0" as a value and I can not set the existing records > to since this is not a valid value in Director. > > > > What now? Well, you can do UPDATE T SET fld = NULL -- 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 fb at memedia.de Fri Apr 22 12:28:45 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 22 05:29:08 2005 Subject: problem with nullable field in V4MD1 In-Reply-To: Message-ID: Ah, did not think of SQL syntax, thank you. Florian > > Unfortunately I need "0" as a value and I can not set the existing > records > > to since this is not a valid value in Director. > > > > > > > > What now? > > Well, you can do > > UPDATE T SET fld = NULL > From fb at memedia.de Fri Apr 22 12:40:29 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 22 05:40:42 2005 Subject: SQL question Message-ID: Hi SQL-cracks! How would I do something like this: "SELECT KD_ID FROM KUNDENtable WHERE OPC_ID !=0 AND changeTS > '01.01.2004 12:12:14'" I get error 616 here and try to find timestamps newer or older than a given time stamp changeTS is of kTypeDateTime best regards, Florian From sunshine at public.kherson.ua Fri Apr 22 14:25:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 22 06:25:50 2005 Subject: SQL question In-Reply-To: Message-ID: On 4/22/05 1:40 PM, "Florian Bogeschdorfer" wrote: > Hi SQL-cracks! > > > > How would I do something like this: > > > > "SELECT KD_ID FROM KUNDENtable WHERE OPC_ID !=0 AND changeTS > '01.01.2004 > 12:12:14'" > > > > I get error 616 here and try to find timestamps newer or older than a given > time stamp Strange, 616 - missing link it seems. But you have only one table query... > changeTS is of kTypeDateTime -- 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 Fri Apr 22 17:57:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 22 09:57:37 2005 Subject: [VJDK] Valentina DB In-Reply-To: <7F5BBC3B7975A94F9844614AB95C3755035C10@srvex01.se-dd.local> Message-ID: On 4/22/05 5:42 PM, "Tomas Dikk" wrote: > hi ruslan > > thanks for your answers, i solved the problem with the parameter on sqlselect, > so that the cursor has no lock. (yes you were right, i use java). all is ok > now! > > can you answer me one more question: > > why does > > cursor = db.sqlSelect("SELECT MAX(id) FROM fingerprint"); > > not need the "no lock parameter" (it works with default settings for cursor > lock on records and all is ok) Because it build new TMP table I think, so it not locks original table. The same do GROUP BY, DISTINCT > and > > cursor = db.sqlSelect("SELECT * FROM fingerprint WHERE userid = " + > user.get_id(), (short)1, (short)1, (short)1); > > needs to be changed to "no lock option" so that it works (without additional > parameters it doesnt work) > > thanks and have a nice weekend! -- 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 SWILK at ags.com Fri Apr 22 13:44:07 2005 From: SWILK at ags.com (Wilk, Steven) Date: Fri Apr 22 12:44:10 2005 Subject: Main differences between V4MD Ver 1 vs. Ver 2? Message-ID: <065445830D7F35439CE1BBEEB0CFF2CE7872D6@md-admin.ags.com> What are the major differences between V4MD version 1 and Version 2? Thanks Steve From sunshine at public.kherson.ua Fri Apr 22 20:58:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 22 12:58:15 2005 Subject: Main differences between V4MD Ver 1 vs. Ver 2? In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CE7872D6@md-admin.ags.com> Message-ID: On 4/22/05 8:44 PM, "Wilk, Steven" wrote: > What are the major differences between V4MD version 1 and Version 2? NEW unicode SQL92 client-server Links and Binary Links also better error handling more functions Also V4RB and V4MD now have API way new debug log This is what I have remember fast -- 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 Fri Apr 22 11:57:01 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri Apr 22 13:57:21 2005 Subject: Main differences between V4MD Ver 1 vs. Ver 2? In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CE7872D6@md-admin.ags.com> Message-ID: <20050422185704.9C75D175107@whisk.dreamhost.com> > What are the major differences between V4MD version 1 and Version 2? The description on the website pretty much covers everything that's new. There's so much that's new that its better to understand what you are looking for. Are you working with Shockwave? Need Unicode? A true client-server solution? Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From sunshine at public.kherson.ua Sat Apr 23 11:01:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 23 03:01:44 2005 Subject: MaxClientTimeout - How to disable? In-Reply-To: Message-ID: On 4/23/05 12:39 AM, "Ken Ray" wrote: > Can you set the MaxClientTimeout in the INI file to some value that will > prevent Valentina from terminating an idle connection? Yes, ZERO = no time out -- 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 Sat Apr 23 11:27:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 23 03:27:54 2005 Subject: [SQL] V4MD 2 - Version 2.0.2 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E694F0@apvnyexch01.alfredpub.com> Message-ID: On 4/23/05 3:57 AM, "Christopher Bishop" wrote: Hi Christopher, > Programming is going well now, and I'm almost complete in adjusting for > Version 2. Excellent! > For some reason, I cannot connect to Valentina Server from Director. I > can connect to a local database with no problems, but when I try to use > VServer to set up my master.vdb file, I get: > > #ERR_STREAM_READ_ERROR if I try to use my own port number 15551 > #ERR_CONNECTION_ERROR if I try to use port 15432 > > When Valentina Server is running in Debug mode (in a command-prompt > box), I get no connection messages even on Level 3 debugging mode. > > This is my command: > server = new( Xtra "VServer", "localhost", "sa", "sa", 15551, 5, "") > > I was able to connect fine with Valentina Server beta. Please check our examples. Look into shared cast Valentina Globals. Here we move out all duplicated code which use all examples. Igor say that you should use db = new(Xtra "VDatabase", #kClient, "localhost", "sa", "sa", 15432, 5, "") Or for Vserver Xtra server = new( Xtra "VServer", "localhost", "sa", "sa", 15432, 5, "") So it seems you do correctly. Of course use your port number. Please check our examples. In few days we expect 2.0.3 release, and Igor will add more examples on Vserver Xtra. -- 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 Apr 24 01:29:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 23 17:29:48 2005 Subject: [V4RB] V4RB_Tutorial_2_en added Message-ID: Hi V4RB developers, To V4RB section of docs added new file of Tutorial. It have now only one FIRST lesson. But it is simple and good place to start. It is much simpler of example from 1.x tutorial. We will add more and more lessons of course. Next week we plan to make analog tutorial for V4MD. -- 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 guillermo at parsec.info Sun Apr 24 16:50:29 2005 From: guillermo at parsec.info (Guillermo) Date: Sun Apr 24 09:50:50 2005 Subject: [V4RB 1.2] extrange problem with Windows 98 Message-ID: Hello I have a client that uses my RB application with Valentina 1.12, he have Windows 98, Valentina have estrange problems searching, works fine creating the database, appending records and retrieving them except when the select have a "where" clause. For example, I have a table named "table" with field named "field1", there are several records one of them have the value "test" in the field. select * from table - returns all records without problem select * from table where field1 like '%test%' - Return the record with field1 equals "test" select * from table where field1='test' - Don't return any record !!!! The database have a lot of tables and near half of them have this kind of problems, I deleted the index file without success; if I copy the same database to another computer all works fine even if the other machine also have Windows 98 (same version). Somebody have had a similar problem? Best regards Guillermo From Claudius at sailer-online.de Sun Apr 24 16:54:55 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Apr 24 09:55:24 2005 Subject: [V4RB 1.2] extrange problem with Windows 98 In-Reply-To: References: Message-ID: Hi Guillermo, Am 24. Apr 2005 um 16:50 Uhr schrieb Guillermo: > Hello > > I have a client that uses my RB application with Valentina 1.12, he > have Windows 98, Valentina have estrange problems searching, works > fine creating the database, appending records and retrieving them > except when the select have a "where" clause. > > For example, I have a table named "table" with field named "field1", > there are several records one of them have the value "test" in the > field. > > select * from table - returns all records without problem > select * from table where field1 like '%test%' - Return the record > with field1 equals "test" > select * from table where field1='test' - Don't return any record > !!!! > > The database have a lot of tables and near half of them have this kind > of problems, I deleted the index file without success; if I copy the > same database to another computer all works fine even if the other > machine also have Windows 98 (same version). > > Somebody have had a similar problem? Do you get same result with ViSQL on Windows 98? what version is 1.12? I know 1.11 und 2.0.2. bye Claudius From ktekinay at mactechnologies.com Sun Apr 24 12:12:51 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 24 11:13:00 2005 Subject: XML dump question Message-ID: As an experiment, I used the XML dump example to generate an XML file, then tried to import that into FileMaker Pro. I got an error that "attribute n is not declared for element f". Is this normal? Would I have to build my own XML file to transport data between different databases? The XML code is: 2 1 Peter 03/05/1980 2 Fred 04/08/0197 __________________________________________________________________________ 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 Sun Apr 24 21:07:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 24 13:07:39 2005 Subject: [V4RB 1.2] extrange problem with Windows 98 In-Reply-To: Message-ID: On 4/24/05 5:50 PM, "Guillermo" wrote: Hi Guillermo, > I have a client that uses my RB application with Valentina 1.12, he > have Windows 98, Valentina have estrange problems searching, works > fine creating the database, appending records and retrieving them > except when the select have a "where" clause. > > For example, I have a table named "table" with field named "field1", > there are several records one of them have the value "test" in the > field. > > select * from table - returns all records without problem > select * from table where field1 like '%test%' - Return the record > with field1 equals "test" So you use 1.x ? Then let me remind that LIKE in v1 works in fact as REGEX. So you should not use SQL standard LIKE patters with % and _ > select * from table where field1='test' - Don't return any > record !!!! May be you have corrupted index? Try DATABASE REINDEX > The database have a lot of tables and near half of them have this > kind of problems, I deleted the index file without success; if I copy > the same database to another computer all works fine even if the > other machine also have Windows 98 (same version). > > Somebody have had a similar problem? -- 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 Apr 24 21:10:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 24 13:10:49 2005 Subject: XML dump question In-Reply-To: Message-ID: On 4/24/05 7:12 PM, "Kem Tekinay" wrote: Kem, I believe that each DBMS use own XML format which you cannot exchange. If somebody know other facts let us know. MAY BE it is possible transform one XML into other using special scripts or XSLT. But I did not hear that somebody have try this yte > As an experiment, I used the XML dump example to generate an XML file, then > tried to import that into FileMaker Pro. I got an error that "attribute n is > not declared for element f". Is this normal? Would I have to build my own > XML file to transport data between different databases? > > The XML code is: > > > > > 2 > > 1 > Peter > 03/05/1980 > > > 2 > Fred > 04/08/0197 > > > > -- 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 Apr 24 22:12:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 24 14:12:24 2005 Subject: V4RB and V4MD mac 2.0.3fc3 Message-ID: Hi All, You can download them here: http://www.paradigmasoft.com/download/V4RB_203fc3_mac.dmg http://www.paradigmasoft.com/download/V4MD_203fc3_mac.dmg kernel - 2.0.3 ============== - 0000687: [API] Link_binary_records: error on delete phone from your example (Ivan Smahin) - 0000662: [API] binary link: allowed duplicates links (Ivan Smahin) - 0000710: [SQL] DISTINCT gives always different result (Ivan Smahin) - 0000694: [SQL] REGEX should ignore indexedbywords indexes (Ivan Smahin) - 0000671: [SQL Parser] LIMIT sets 0 as default limit value. (Serge) - 0000650: [SQL] SQL with no result or error message (Ivan Smahin) - 0000692: [SQL] Error 460037 by SQL-Selection (Ivan Smahin) - 0000693: [Record Locks] Eat a lots of RAM on Cursor.AddRecord(). (Ruslan Zasukhin) - 0000691: [SQL] select Distinct... from Join ... Order By - this mix does not work. (Ivan Smahin) - 0000532: [SQL] SQL Where Join with twice same table and with AND-OR-Combinations (Ivan Smahin) - 0000681: [Performance] LIKE and REGEX now can do INDEX SCAN. This make them in 20+ times faster. (Ruslan Zasukhin) - 0000672: [Tables] Update does not check value was really changed. (Ivan Smahin) - 0000673: [Cursors] DeleteAllRecords must use original table algorithm. (Ivan Smahin) V4RB - 2.0.3 ============ - 0000685: [API] db.table.UpdateRecord fails for BLOB field (Ivan Smahin) - 0000684: [SQL] Crash using LIKE and tables linked by objectPtr (Ivan Smahin) - 0000616: [Performance] Database takes a long time to open (Ruslan Zasukhin) - 0000682: [Examples] New, SQL_Way/ImportExport added. (Ivan Smahin) - 0000678: [Other] V4RB-Client now works with VServer. (Ruslan Zasukhin) - 0000677: [Examples] Class-way examples updated to be Server-ready. (Ruslan Zasukhin) - 0000674: [Pictures] REALbasic - vpicture fields not working (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 Apr 25 01:28:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 24 17:28:55 2005 Subject: [new] V4RB and V4MD mac 2.0.3fc4 In-Reply-To: Message-ID: On 4/24/05 10:12 PM, "Ruslan Zasukhin" wrote: Hi All, fc4 fixes problem with record locks introduced in fc3. So if you have download fc3 then please download fc4. http://www.paradigmasoft.com/download/V4RB_203fc4_mac.dmg http://www.paradigmasoft.com/download/V4MD_203fc4_mac.dmg > Hi All, > > You can download them here: > > http://www.paradigmasoft.com/download/V4RB_203fc3_mac.dmg > > http://www.paradigmasoft.com/download/V4MD_203fc3_mac.dmg -- 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 Sun Apr 24 19:08:35 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun Apr 24 18:08:47 2005 Subject: [V4RB2] VText search speed Message-ID: I just installed 2.0.3fc4 and one of the benefits is that the initial search of a VText field is MUCH faster. Before, a FindContains search of the VText field of 57,000 records, indexed by words, would take about 20 seconds initially, then drop to about 2.5 seconds. Now even the initial search takes about 2.5 seconds. Excellent. But I am very greedy. My database is of about 40,000 e-mails. I record the To, From, and Subject as VarChar in the main record. The actual text of the e-mail is in a related table linked as BinaryObject. Each e-mail can have up to three different texts associated with it: Plain, Enriched and HTML. Each one of those is a separate record in the related table. So here's my question: It takes less than 0.25 seconds to do a FindContains search the VarChar fields (To, From or Subject) that are just indexed. It takes 2.5 seconds to do a FindContains search the VText field of the actual messages (about 57,000 records). But since the VText field is indexed as words, I would expect it to be just as fast as the VarChar search, if not faster. Am I dreaming? Also, is there a way to force a search of a phrase on a field that is indexed by words? For example, I can search for "and" and "the", but "and the" yields no records even though they have to be there. __________________________________________________________________________ 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 Mon Apr 25 12:16:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 25 04:16:33 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/25/05 2:08 AM, "Kem Tekinay" wrote: Hi Kem, > I just installed 2.0.3fc4 and one of the benefits is that the initial search > of a VText field is MUCH faster. Before, a FindContains search of the VText > field of 57,000 records, indexed by words, would take about 20 seconds > initially, then drop to about 2.5 seconds. Now even the initial search takes > about 2.5 seconds. Excellent. > > But I am very greedy. My database is of about 40,000 e-mails. I record the > To, From, and Subject as VarChar in the main record. The actual text of the > e-mail is in a related table linked as BinaryObject. Each e-mail can have up > to three different texts associated with it: Plain, Enriched and HTML. Each > one of those is a separate record in the related table. > > So here's my question: It takes less than 0.25 seconds to do a FindContains > search the VarChar fields (To, From or Subject) that are just indexed. It > takes 2.5 seconds to do a FindContains search the VText field of the actual > messages (about 57,000 records). But since the VText field is indexed as > words, I would expect it to be just as fast as the VarChar search, if not > faster. Am I dreaming? It needs study more deep your db to say something. > Also, is there a way to force a search of a phrase on a field that is > indexed by words? For example, I can search for "and" and "the", but "and > the" yields no records even though they have to be there. You should have OR second index without ByWords flag. You can do this using Table Methods. Or you can use LIKE search -- 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 guillermo at parsec.info Mon Apr 25 11:24:05 2005 From: guillermo at parsec.info (Guillermo) Date: Mon Apr 25 04:24:13 2005 Subject: [V4RB 1] Re: Extrange problem with Windows 98 In-Reply-To: <20050424230856.BFD513067E8@edison.macserve.net> References: <20050424230856.BFD513067E8@edison.macserve.net> Message-ID: <5E6E83B0-82D0-43B4-9238-4563070D5D82@parsec.info> El 25/04/2005, a las 1:08, valentina-request@lists.macserve.net escribi?: > So you use 1.x ? > Then let me remind that LIKE in v1 works in fact as REGEX. > So you should not use SQL standard LIKE patters with % and _ Yes, I know it, I made a mistake in the message, in the app I don't use patterns. >> select * from table where field1='test' - Don't return any >> record !!!! >> > > May be you have corrupted index? > Try DATABASE REINDEX Yes, and if I copy the database with the same index file to other computer all works fine. I suposse that is a problem with the os installiaton in the client's computer, but I'm asking if somebody have had a similar problem, perhaps there is a confilct with other product. Best regards Guillermo From vidal_olivier at yahoo.fr Mon Apr 25 11:46:37 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Mon Apr 25 04:47:28 2005 Subject: V4RB2 bug 648, new system of catch error In-Reply-To: References: Message-ID: <83966c828cbd59e0bb0d43b5dbb1dd0a@yahoo.fr> Hi list, This bug is important and slows down ENORMOUSLY all the operations of Valentina as soon as an exception (an error, a doubloon...) is caught. We do not know if it is the system of error of Realbasic that is the cause or if it is a problem of Valentina. Does anybody know enough the database of Realbasic to make a small test? It would be necessary to add for example 30 000 records WITHOUT doubloons in a base and to measure the performance. And redo a test by adding 30 000 records but this time with for example 5000 doubloons (among 30000) and measure the performance. In the second case, It is necessary to catch the generated error every time we try to add a doubloon. Are the performances very different? Naturally, the test is to be made on a field with a "unique" parameter. thank you olivier >> >> Did you look at the bug 648? ( V4RB) > > I think this is REALbasic issue. >> In my example (see mantis), if I makes an import, for example of 80 >> 000 >> records, but that there are 2000 identical records, while the "unique" >> parameter is enabled, the operation will take dozens supplementary >> minutes! (Because of the catch of error) > > Well, try to make REALbasic function without Valentina and bench how > many > you can raise - catch exceptions in the REALbasic. > > If you prove that this is RB issue, then bomb REAL on that. > If you will find that RB itself can do 100 times more exception than > Valentina can do then we have 2 possible cases > > 1) exceptions from plugins are slow > > 2) problem in Valentina kernel. > > >> If I remove the new system of catch of error and what I puts back the >> old, everything is fast and there is not problem anymore. > > Right, so you have workaround. > >> There is a solution? Or it is necessary to use the old system of error >> to increase the performances? > > May be, although this is bad of course. > > Exception should not add significant overhead. > > We need find WHO cause problems > > > -- > 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 Mon Apr 25 14:21:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 25 06:22:02 2005 Subject: V4RB2 bug 648, new system of catch error In-Reply-To: <83966c828cbd59e0bb0d43b5dbb1dd0a@yahoo.fr> Message-ID: On 4/25/05 12:46 PM, "Olivier" wrote: > Hi list, > > This bug is important and slows down ENORMOUSLY all the operations of > Valentina as soon as an exception (an error, a doubloon...) is caught. > > We do not know if it is the system of error of Realbasic that is the > cause or if it is a problem of Valentina. > Does anybody know enough the database of Realbasic to make a small test? What you mean Oliver ? You ask test this with native RB engine ??? But RB engine is not able throw exceptions. > It would be necessary to add for example 30 000 records WITHOUT > doubloons in a base and to measure the performance. > And redo a test by adding 30 000 records but this time with for example > 5000 doubloons (among 30000) and measure the performance. > In the second case, It is necessary to catch the generated error every > time we try to add a doubloon. > Are the performances very different? > Naturally, the test is to be made on a field with a "unique" 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 sunshine at public.kherson.ua Mon Apr 25 14:23:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 25 06:23:26 2005 Subject: [V4RB 1] Re: Extrange problem with Windows 98 In-Reply-To: <5E6E83B0-82D0-43B4-9238-4563070D5D82@parsec.info> Message-ID: On 4/25/05 12:24 PM, "Guillermo" wrote: >> May be you have corrupted index? >> Try DATABASE REINDEX > > Yes, and if I copy the database with the same index file to other > computer all works fine. > > I suposse that is a problem with the os installiaton in the client's > computer, but I'm asking if somebody have had a similar problem, > perhaps there is a confilct with other product. Aha, then you have GOOD files. And problem really in that computer. I just can say that V4MD works on Win98 with no problems. We self have work on Win95 long time with 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 jda at his.com Mon Apr 25 07:33:29 2005 From: jda at his.com (jda) Date: Mon Apr 25 06:33:44 2005 Subject: V4RB2 bug 648, new system of catch error In-Reply-To: References: Message-ID: > > This bug is important and slows down ENORMOUSLY all the operations of >> Valentina as soon as an exception (an error, a doubloon...) is caught. >> >> We do not know if it is the system of error of Realbasic that is the >> cause or if it is a problem of Valentina. >> Does anybody know enough the database of Realbasic to make a small test? > >What you mean Oliver ? >You ask test this with native RB engine ??? > >But RB engine is not able throw exceptions. > No, all you have to do is import a file without unique field violations but for RB to throw an exception (such as assigning a value to an array with an index value that is out of bounds) with each imported record, catch it, and continue. Then ask, how much did the exception slow down the import. Jon From ktekinay at mactechnologies.com Mon Apr 25 09:26:22 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 25 08:26:33 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/25/05 5:16 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > It needs study more deep your db to say something. I'm not sure what else I can say. Here is the constructor for the table: name = "MessageText" fldMessageType = new VString( "MessageType", 8, EVFlag.fNone ) fldMessage = new VText( "Message", 1024, EVFlag.fIndexed + EVFlag.fIndexByWords ) Here is the constructor for the database: VDatabase( inStorageType ) tblEmail = new VTbl_Email tblAttachment = new VTbl_Attachment tblHeader = new VTbl_Header tblAccount = new VTbl_Account tblMessageText = new VTbl_MessageText linkAccountEmails = new VBinaryLink( "linkAccountEmails", tblAccount, tblEmail, _ EVLinkType.kOne, EVLinkType.kMany, EVOnDeletion.kCascade ) linkEmailAttachments = new VBinaryLink( "linkEmailAttachments", tblEmail, _ tblAttachment, EVLinkType.kOne, EVLinkType.kMany, _ EVOnDeletion.kCascade ) linkEmailHeaders = new VBinaryLink( "linkEmailHeader", tblEmail, _ tblHeader, EVLinkType.kOne, EVLinkType.kMany, _ EVOnDeletion.kCascade ) linkEmailMessage = new VBinaryLink( "linkEmailMessage", tblEmail, _ tblMessageText, EVLinkType.kOne, EVLinkType.kMany, _ EVOnDeletion.kCascade ) me.CollationAttribute( EVColAttribute.kStrength ) = EVColAttributeValue.kPrimary Here is the search code: dim bs, bs1 as VBitSet dim d as Date dim dateStrStart, dateStrEnd as string dim li as new LocaleInfo dim startSecs, endSecs as double dim words(), word as string startSecs = microseconds term = term.trim if term = "" then zIterator = new My_VIterator( zEmailTbl.SelectAllRecords, zEmailTbl ) else select case mnuSearchField.Text case "Subject" bs = zEmailTbl.fldSubject.FindContains( term ) case "Content" if term.InStr( " " ) = 0 then bs1 = gDB.tblMessageText.fldMessage.FindContains( term ) else while term.InStr( " " ) > 0 // double-spaces with single spaces term = term.ReplaceAll( " ", " " ) wend words = term.Split bs1 = gDB.tblMessageText.SelectAllRecords for each word in words bs1 = gDB.tblMessageText.fldMessage.FindContains( word, bs1 ) next word end if bs = gDB.linkEmailMessage.FindLinked( bs1, gDB.tblMessageText, zEmailTbl ) case "To" bs = zEmailTbl.fldAddressTo.FindContains( term ) case "From" bs = zEmailTbl.fldAddressFrom.FindContains( term ) case "Date Sent" if parseDate( term, d ) then d.TotalSeconds = d.TotalSeconds - li.LocationGMTDelta dateStrStart = d.V_DateTimeStr d.TotalSeconds = d.TotalSeconds + ( 24 * 60 * 60 ) dateStrEnd = d.V_DateTimeStr bs = zEmailTbl.fldDateSentGMT.FindRange( true, dateStrStart, dateStrEnd, false ) end if case "Date Received" if parseDate( term, d ) then d.TotalSeconds = d.TotalSeconds - li.LocationGMTDelta dateStrStart = d.V_DateTimeStr d.TotalSeconds = d.TotalSeconds + ( 24 * 60 * 60 ) dateStrEnd = d.V_DateTimeStr bs = zEmailTbl.fldDateReceivedGMT.FindRange( true, dateStrStart, dateStrEnd, false ) end if end select if bs = nil then bs = zEmailTbl.SelectNoneRecords zIterator = new My_VIterator( bs, zEmailTbl ) end if endSecs = microseconds lbMail.Reset( zIterator.RecordCount ) bs = nil bs1 = nil UpdateStatus fldSearchTime.Text = format( ( endSecs - startSecs ) / 1000000, "#,0.000" ) + " secs" Also, I am using a 50 MB cache. Increasing it to 150 MB did not seem to make a difference. As I said, for the 42,000 records in the Email table, all the searches are very fast, usually less than 0.2 seconds. For the 57,000 records in the MessageText table, each single-word search takes about 2.5 seconds. __________________________________________________________________________ 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 Mon Apr 25 17:31:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 25 09:31:13 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/25/05 4:26 PM, "Kem Tekinay" wrote: > As I said, for the 42,000 records in the Email table, all the searches are > very fast, usually less than 0.2 seconds. For the 57,000 records in the > MessageText table, each single-word search takes about 2.5 seconds. This is the most interesting information. So you say that exists some Barier, after which we have jumped slow down? And size of cache not affect this ??? Interesting. What is size of compressed db ? I'd like test both these dbs -- 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 Apr 25 20:25:00 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 25 19:25:08 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/25/05 10:31 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > So you say that exists some Barier, after which we have jumped slow down? > And size of cache not affect this ??? And... > I'd like test both these dbs There is some misunderstanding here. Both of the tables are in one database. The master table ("Email") has VarChar, UShort and DateTime fields that are indexed and quite fast for 41,000 records. The related table ("MessageText") has a VText field that is indexed by words and is slower to search. This table has about 57,000 records. The uncompressed size of the database is 6.5 GB. Compressed with zip, it is 2.78 GB. __________________________________________________________________________ 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 robert at formworkdesign.com Mon Apr 25 20:46:50 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Mon Apr 25 19:47:09 2005 Subject: could someone please re-post the v4rb revision link Message-ID: <3c0d5f779f4223b2eb6d0cedf76d04a7@formworkdesign.com> I'm working at home now, and don't have the email Ruslan sent out earlier with the link to the latest V4RB disk image. Is someone out there awake, working and within reach of that message. I would be grateful if you would post it again. Thanks, Robert From macsforever2000 at goodeast.com Mon Apr 25 19:13:03 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Apr 25 20:13:22 2005 Subject: could someone please re-post the v4rb revision link In-Reply-To: <3c0d5f779f4223b2eb6d0cedf76d04a7@formworkdesign.com> References: <3c0d5f779f4223b2eb6d0cedf76d04a7@formworkdesign.com> Message-ID: <9548324e819a42ec88b884cde615c246@goodeast.com> Hi Robert, On Apr 25, 2005, at 6:46 PM, Robert Nichols wrote: > I'm working at home now, and don't have the email Ruslan sent out > earlier with the link to the latest V4RB disk image. Is someone out > there awake, working and within reach of that message. I would be > grateful if you would post it again. Best regards, Frank Schima From ktekinay at mactechnologies.com Mon Apr 25 21:14:43 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Apr 25 20:15:09 2005 Subject: could someone please re-post the v4rb revision link In-Reply-To: <3c0d5f779f4223b2eb6d0cedf76d04a7@formworkdesign.com> Message-ID: On 4/25/05 8:46 PM, Robert Nichols at robert@formworkdesign.com wrote: > I'm working at home now, and don't have the email Ruslan sent out > earlier with the link to the latest V4RB disk image. Is someone out > there awake, working and within reach of that message. I would be > grateful if you would post it again. On 4/24/05 10:12 PM, "Ruslan Zasukhin" wrote: Hi All, fc4 fixes problem with record locks introduced in fc3. So if you have download fc3 then please download fc4. http://www.paradigmasoft.com/download/V4RB_203fc4_mac.dmg http://www.paradigmasoft.com/download/V4MD_203fc4_mac.dmg __________________________________________________________________________ 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 robert at formworkdesign.com Mon Apr 25 21:26:18 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Mon Apr 25 20:26:25 2005 Subject: could someone please... thanks, gents In-Reply-To: References: Message-ID: <6f8362fff96a520a7c1b6be398424a98@formworkdesign.com> Thanks, Frank and Kem. On Apr 25, 2005, at 9:14 PM, Kem Tekinay wrote: > On 4/25/05 8:46 PM, Robert Nichols at robert@formworkdesign.com wrote: > >> I'm working at home now, and don't have the email Ruslan sent out >> earlier with the link to the latest V4RB disk image. Is someone out >> there awake, working and within reach of that message. I would be >> grateful if you would post it again. > > On 4/24/05 10:12 PM, "Ruslan Zasukhin" > wrote: > > Hi All, > > fc4 fixes problem with record locks introduced in fc3. > So if you have download fc3 then please download fc4. > > http://www.paradigmasoft.com/download/V4RB_203fc4_mac.dmg > http://www.paradigmasoft.com/download/V4MD_203fc4_mac.dmg > > _______________________________________________________________________ > ___ > 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 > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From robert at formworkdesign.com Mon Apr 25 23:13:32 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Mon Apr 25 22:13:40 2005 Subject: v4rb...client exists for VServer_Office? Message-ID: I've been tiptoeing around all the new Valentina items for a couple of weeks now, trying to get oriented. I'm not a real developer - I just work on one app to serve my own architecture office. Sometimes I don't see this list for a few weeks and, boom, I find myself behind on the latest topics. So, after trying to figure out all the v2 stuff - I have to confess that I'm very confused and need a little help. 1) Valentina Studio (Mac) cannot connect to a VServer_Office db? Is that correct? (If so, that doesn't help one's efforts to figure out the system!!) 2) Tonight I tried to get my v1 database files working with VServer_Office. After fussing a bit, changing their version numbers and modifying my master.db to use 'sysname' instead of 'name', I got the server to run. Is there a v4rb plugin that works with this? I haven't seen a v4rb_client v2 mentioned anywhere, and the current v4rb plugin (2.0.3fc4) doesn't know anything about a VServer class (despite the fact that there is an example within the v4rb download that utilizes the VServer class). I guess the short question is, if up until now I have been developing Valentina version 1 for use with VServer in a shared environment, is there currently a path for me with v2? This isn't clear to me. I shouldn't be spending any time with v2 right now if my only option is to develop for single-user local db. Thanks a lot. Always a pleasure working with Valentina and participating (mostly being helped) on this list. Robert From sunshine at public.kherson.ua Tue Apr 26 10:14:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 02:14:38 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 6:13 AM, "Robert Nichols" wrote: Hi Robert, > I've been tiptoeing around all the new Valentina items for a couple of > weeks now, trying to get oriented. I'm not a real developer - I just > work on one app to serve my own architecture office. Sometimes I don't > see this list for a few weeks and, boom, I find myself behind on the > latest topics. > > So, after trying to figure out all the v2 stuff - I have to confess > that I'm very confused and need a little help. > > 1) Valentina Studio (Mac) cannot connect to a VServer_Office db? Is > that correct? (If so, that doesn't help one's efforts to figure out the > system!!) Right. Jochen finishes now b5, which already can work with Vserver 2.0. We work together with Jochen to resolve all problems. Many things already work. I hope 1-2 days left. -- 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 Apr 26 10:19:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 02:19:13 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 6:13 AM, "Robert Nichols" wrote: > 2) Tonight I tried to get my v1 database files working with > VServer_Office. After fussing a bit, changing their version numbers and > modifying my master.db to use 'sysname' instead of 'name', I got the > server to run. > Is there a v4rb plugin that works with this? I haven't > seen a v4rb_client v2 mentioned anywhere, and the current v4rb plugin > (2.0.3fc4) doesn't know anything about a VServer class (despite the > fact that there is an example within the v4rb download that utilizes > the VServer class). Valentina for REALBasic 2.0 and Valentina for Director 2.0 and all future products Do not have separate client version now! You will use the same V4RB plugin to connect as to local so remote dbs. Magic is that now in the VComponents folder you can see 2 DLLS kernel_xxx vclient_xxx NOTE: 2.0.3 release will know Vserver class. actually 2.0.3 + Vstudio b5 going to resolve a lots of Vserver 2.0 issues. Igor have redo protocol to handle both ANSI and Unicode strings, also he have implement that we can get from Vserver strings of errors, but not only error codes, and so on. Again, strings can be converted into encoding which have claim client On connect. -- 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 Apr 26 10:21:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 02:22:12 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 6:13 AM, "Robert Nichols" wrote: > I guess the short question is, if up until now I have been developing > Valentina version 1 for use with VServer in a shared environment, is > there currently a path for me with v2? This isn't clear to me. Of course. BTW!!! EACH and ALL V4RB Examples can be easy converted into Vserver examples! You need change just only line gClient = false On gClient = true > I shouldn't be spending any time with v2 right now if my only option is to > develop for single-user local db. > Thanks a lot. Always a pleasure working with Valentina and > participating (mostly being helped) on this list. I recommend to check our examples. Again, each and any from 50 examples can work with Vserver. -- 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 Apr 26 10:28:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 02:28:50 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 3:25 AM, "Kem Tekinay" wrote: >> So you say that exists some Barier, after which we have jumped slow down? >> And size of cache not affect this ??? > > And... > >> I'd like test both these dbs > > There is some misunderstanding here. Both of the tables are in one database. > The master table ("Email") has VarChar, UShort and DateTime fields that are > indexed and quite fast for 41,000 records. > > The related table ("MessageText") has a VText field that is indexed by words > and is slower to search. This table has about 57,000 records. > > The uncompressed size of the database is 6.5 GB. Compressed with zip, it is > 2.78 GB. Gigabytes? No typo here? :-) And you complain for 2 seconds search ?! You really are greedy. :-)) I think you see 10 times difference between VarChar and Text fields in your database because they contain very different size of data. Am I right that VarChar - this is subject of letter, But Vtext its bode. I think that you have VarChar e.g. Few MB size, And Text field gives rest Gygabytes. So of course you see difference. I do not say that 2 secs this is top speed. May be it is possible even be faster. Just I think for now this is perfect time for such database... On the other hand, I remember that Marcus for 28 millions records did have searches in 0.2 seconds ... -- 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 Apr 26 12:09:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 04:09:11 2005 Subject: ADVICE PLEASE: themes for tutorials Message-ID: Hi All, Can you give me advices what/about Lessons you want to see in V4RB/V4MD tutorials ? -- 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 wgregoire at paris.mediagerance.com Tue Apr 26 11:20:39 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Tue Apr 26 04:21:00 2005 Subject: ADVICE PLEASE: themes for tutorials In-Reply-To: Message-ID: <001c01c54a41$36fee010$1d0a11ac@wgregoire1> Hi, how to use the baseobject methods... it's the more obscur stuff on Valentina WilG -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : mardi 26 avril 2005 11:09 A : valentina@lists.macserve.net Objet : ADVICE PLEASE: themes for tutorials Importance : Haute Hi All, Can you give me advices what/about Lessons you want to see in V4RB/V4MD tutorials ? -- 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 info at vallemediatime.com Tue Apr 26 11:53:59 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Apr 26 04:54:17 2005 Subject: ADVICE PLEASE: themes for tutorials References: Message-ID: <000c01c54a45$df0f7c20$57181e97@paolokzjsndit5> Hi Rulslan, great question :-) In the many Valentina's examples we can see useful steps for learn and tested Valentina... but I think that they are too basic. I must work in really applications... For me I ask you to make a example or tutorial thinking about a little really DB like this or similar: e.g. One DB with 3 tables (few field for each table) and two link binary-data T1 = STUDENTS Fld = FirstName, LastName... T2 = COURSES Fld = CourseName T3 = INSCRIPTIONS Fld = Request, Done, Deleted Link1_STUDENTS_COURSES (M:M) Link2_COURSES_INSCRIPTIONS (1:M) --- I want link any students to a one or many courses but with a control for 4 courses at max... Each courses can accepted 25 students... Searching data e show tables for e.g. Search a Student: get all courses where he is iscripted Search a course: get the lastName of all the students that are iscripted Total number of student for each courses... and so on Delete one Student: update the entire DB. In a really example you can suggest us the better API or SQl way to make it. I know that this work need's much time, but I believe that this is the actually basic standard for learn the db developing. Best regards, Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, April 26, 2005 11:09 AM Subject: ADVICE PLEASE: themes for tutorials > Hi All, > > Can you give me advices what/about Lessons > you want to see in V4RB/V4MD tutorials ? > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005 > > From guillermo at parsec.info Tue Apr 26 13:23:22 2005 From: guillermo at parsec.info (Guillermo) Date: Tue Apr 26 06:23:39 2005 Subject: [V4RB1] Bug ? Message-ID: I'm (still) using V4RB 1 and I think that I found a bug, when I execute this query: select * from table1 where field1='''' // all records with a ' works fine, but if I use parenthesis: select * from table1 where (field1='''') // show a error (invalid cursor) The second query works fine with a value different than '''' Guillermo From ktekinay at mactechnologies.com Tue Apr 26 07:39:00 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 26 06:39:06 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 3:28 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > And you complain for 2 seconds search ?! > You really are greedy. :-)) Oh yes, quite greedy. I created a test database this morning and, yes, you are right that the amount of data stored in the field makes a difference. My test db has one VarChar field and one Text field. If I make the VarChar very large (20,000 chars storing 500 to 2000 words per record) and store a little data in the Text field (no more than 75 words per record), the search on the VarChar is slower than on the Text field. My test database will create records of words, both real and made up, and might be useful to you for testing. Since I wrote it anyway, would you like a copy? __________________________________________________________________________ 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 robert at formworkdesign.com Tue Apr 26 08:03:59 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 26 07:04:06 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: References: Message-ID: Very clear. Thank you so much, Ruslan. I believe I have my v2 setup in place now, have changed gClient to True in the examples. The first one I try, Table_Create, produces error 532480 right after trying to create the database. Actually, its ShowStatistic line the produces the exception. ???? Robert On Apr 26, 2005, at 3:21 AM, Ruslan Zasukhin wrote: > On 4/26/05 6:13 AM, "Robert Nichols" wrote: > >> I guess the short question is, if up until now I have been developing >> Valentina version 1 for use with VServer in a shared environment, is >> there currently a path for me with v2? This isn't clear to me. > > Of course. > > BTW!!! > > EACH and ALL V4RB Examples can be easy converted into Vserver examples! > > You need change just only line > > gClient = false > > On > gClient = true > > >> I shouldn't be spending any time with v2 right now if my only option >> is to >> develop for single-user local db. > >> Thanks a lot. Always a pleasure working with Valentina and >> participating (mostly being helped) on this list. > > I recommend to check our examples. > > Again, each and any from 50 examples can work with Vserver. > > > -- > 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 robert at formworkdesign.com Tue Apr 26 08:04:53 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 26 07:04:55 2005 Subject: ADVICE PLEASE: themes for tutorials In-Reply-To: References: Message-ID: <432a87166f4c814503fef17caedc0fde@formworkdesign.com> Creating table methods would be nice to see. On Apr 26, 2005, at 5:09 AM, Ruslan Zasukhin wrote: > Hi All, > > Can you give me advices what/about Lessons > you want to see in V4RB/V4MD tutorials ? > > > -- > 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 Apr 26 15:12:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 07:12:31 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 3:03 PM, "Robert Nichols" wrote: > Very clear. Thank you so much, Ruslan. > > I believe I have my v2 setup in place now, have changed gClient to True > in the examples. The first one I try, Table_Create, produces error > 532480 right after trying to create the database. Actually, its > ShowStatistic line the produces the exception. Please tell me: 1) server on mac? you run in terminal ? set log verbose to 3 So what you see in terminal when you run project ? 2) does you run vserver and RB project on the same computer? if no you need correct they HOST API for example -- 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 Apr 26 15:16:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 07:16:29 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 2:39 PM, "Kem Tekinay" wrote: > On 4/26/05 3:28 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> And you complain for 2 seconds search ?! >> You really are greedy. :-)) > > Oh yes, quite greedy. > > I created a test database this morning and, yes, you are right that the > amount of data stored in the field makes a difference. My test db has one > VarChar field and one Text field. If I make the VarChar very large (20,000 > chars storing 500 to 2000 words per record) and store a little data in the > Text field (no more than 75 words per record), the search on the VarChar is > slower than on the Text field. > > My test database will create records of words, both real and made up, and > might be useful to you for testing. Since I wrote it anyway, would you like > a copy? You mean you have some project which GENERATE this db ? Of course this is useful. Please send to me -- 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 Apr 26 15:17:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 07:17:35 2005 Subject: [V4RB1] Bug ? In-Reply-To: Message-ID: On 4/26/05 2:23 PM, "Guillermo" wrote: Hi Guillermo, > I'm (still) using V4RB 1 and I think that I found a bug, when I > execute this query: > > select * from table1 where field1='''' // all records with a ' > > works fine, but if I use parenthesis: > > select * from table1 where (field1='''') // show a error (invalid > cursor) > > The second query works fine with a value different than '''' Well, try this where (field1 = '\'') -- 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 Tue Apr 26 08:31:07 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 26 07:31:14 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 8:16 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > You mean you have some project which GENERATE this db ? > > Of course this is useful. > Please send to me It's on its way. __________________________________________________________________________ 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 vidal_olivier at yahoo.fr Tue Apr 26 14:33:28 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Tue Apr 26 07:34:25 2005 Subject: [V4RB2] VText search speed In-Reply-To: References: Message-ID: Le 26 avr. 05, ? 02:25, Kem Tekinay a ?crit : > The uncompressed size of the database is 6.5 GB. Compressed with zip, > it is > 2.78 GB. When Valentina will allow to use UTF8 as a replacement of the UTF16, your application should be much faster! And on this example of DB, your DB will have maybe 3 Gb less.. From sunshine at public.kherson.ua Tue Apr 26 15:42:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 07:42:21 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 3:33 PM, "Olivier" wrote: > Le 26 avr. 05, ? 02:25, Kem Tekinay a ?crit : > >> The uncompressed size of the database is 6.5 GB. Compressed with zip, >> it is >> 2.78 GB. > > When Valentina will allow to use UTF8 as a replacement of the UTF16, > your application should be much faster! Not much. Maximum 2 times. Because size of files can be 2 times less. But PLUS overhead on encoding conversions. Also if you have many numeric fields, you not win. Size the same. > And on this example of DB, your DB will have maybe 3 Gb less.. Depend how many data are in text fields and how many in numeric. In Kem db of course obvious present a lots of text. -- 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 robert at formworkdesign.com Tue Apr 26 10:50:08 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 26 09:50:13 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: References: Message-ID: >> 1. Server is running on a Mac (OSX 10.3.9) 2. I have started VServer from the Terminal. 3. Verbose = 3, but I am not seeing ANY activity in the Terminal console when the error occurs. Nothing more than: Tue Apr 26 2005 10:33:33.738383 VServer_Office (2.0, Protocol 2.0, Kernel 2.0.2) Maximum number of connections: 5 10:33:33.765608 (2684400292): Database engine inited 10:33:33.847392 (2684400292): Server started at 15432 port So, nothing registers after server starts up. 4. I am running vserver and RB proj on same machine. Correction to earlier post: The error (532480) comes when example asks server to create Table: mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) Could it be a problem with the value of folderitem 'F'. I recall that when using vserver, this part is a little counter-intuitive. the folderitem 'F' actually refers to an item in a location different that the server/databases. When gClient = true, folderitem 'F' is used only for Name value, not for full path. Correct? Let me know if you want any more info. Robert >> I believe I have my v2 setup in place now, have changed gClient to >> True >> in the examples. The first one I try, Table_Create, produces error >> 532480 right after trying to create the database. Actually, its >> ShowStatistic line the produces the exception. > > Please tell me: > > 1) server on mac? > you run in terminal ? > set log verbose to 3 > > So what you see in terminal when you run project ? > > 2) does you run vserver and RB project on the same computer? > if no you need correct they HOST API for example > From ktekinay at mactechnologies.com Tue Apr 26 11:44:07 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 26 10:44:21 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 8:33 AM, Olivier at vidal_olivier@yahoo.fr wrote: > When Valentina will allow to use UTF8 as a replacement of the UTF16, > your application should be much faster! I thought V2 allowed that now. It doesn't? __________________________________________________________________________ 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 Apr 26 18:44:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 10:44:30 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 5:50 PM, "Robert Nichols" wrote: > 1. Server is running on a Mac (OSX 10.3.9) > > 2. I have started VServer from the Terminal. > > 3. Verbose = 3, but I am not seeing ANY activity in the Terminal > console when the error occurs. > > Nothing more than: > Tue Apr 26 2005 10:33:33.738383 VServer_Office (2.0, Protocol 2.0, > Kernel 2.0.2) > Maximum number of connections: 5 > > 10:33:33.765608 (2684400292): Database engine inited > 10:33:33.847392 (2684400292): Server started at 15432 port > > So, nothing registers after server starts up. > 4. I am running vserver and RB proj on same machine. > > Correction to earlier post: > > The error (532480) comes when example asks server to create Table: > > mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) Have you create mDatabase as mDatabase = new Vdatabase( "localhost", "sa", "sa" ) ? > Could it be a problem with the value of folderitem 'F'. It should be as f = GetFolderItem( "Database1.vdb" ) > I recall that when using vserver, this part is a little > counter-intuitive. the folderitem 'F' actually refers to an item in a > location different that the server/databases. When gClient = true, > folderitem 'F' is used only for Name value, not for full path. Correct? Yes, VServer itself know where to put databases. So we need say only db name. NOT a full path. > Let me know if you want any more info. We have add to Tutorial lesson2 which show how to prepare project for Vserver. But English version will be ready on Tuesday only. -- 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 robert at formworkdesign.com Tue Apr 26 11:48:28 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 26 10:48:34 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: References: Message-ID: See below: On Apr 26, 2005, at 11:44 AM, Ruslan Zasukhin wrote: > On 4/26/05 5:50 PM, "Robert Nichols" wrote: > >> 1. Server is running on a Mac (OSX 10.3.9) >> >> 2. I have started VServer from the Terminal. >> >> 3. Verbose = 3, but I am not seeing ANY activity in the Terminal >> console when the error occurs. >> >> Nothing more than: >> Tue Apr 26 2005 10:33:33.738383 VServer_Office (2.0, Protocol 2.0, >> Kernel 2.0.2) >> Maximum number of connections: 5 >> >> 10:33:33.765608 (2684400292): Database engine inited >> 10:33:33.847392 (2684400292): Server started at 15432 port >> >> So, nothing registers after server starts up. > > >> 4. I am running vserver and RB proj on same machine. >> >> Correction to earlier post: >> >> The error (532480) comes when example asks server to create Table: >> >> mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) > > Have you create mDatabase as > > mDatabase = new Vdatabase( "localhost", "sa", "sa" ) Yes. gClient=True so database is created as you indicate above. > > ? > >> Could it be a problem with the value of folderitem 'F'. > > It should be as > > f = GetFolderItem( "Database1.vdb" ) Yes. That is the line that executes. > > >> I recall that when using vserver, this part is a little >> counter-intuitive. the folderitem 'F' actually refers to an item in a >> location different that the server/databases. When gClient = true, >> folderitem 'F' is used only for Name value, not for full path. >> Correct? > > Yes, VServer itself know where to put databases. > So we need say only db name. NOT a full path. OK. So no problem there. > >> Let me know if you want any more info. > > We have add to Tutorial lesson2 which show how to prepare project for > Vserver. But English version will be ready on Tuesday only. ??? If the problem is with create_table example I don't think Tutorial will help!! I'm probably missing something obvious, as the console shows no activity at all when the server is asked to create table. Any other suggestions? > > > > -- > 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 > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Tue Apr 26 19:00:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 11:00:02 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: Message-ID: On 4/26/05 6:48 PM, "Robert Nichols" wrote: >> We have add to Tutorial lesson2 which show how to prepare project for >> Vserver. But English version will be ready on Tuesday only. > > ??? If the problem is with create_table example I don't think Tutorial > will help!! > > I'm probably missing something obvious, as the console shows no > activity at all when the server is asked to create table. > Any other suggestions? Well, let's do next: I think Tomorrow (24 hours from now) we will make V4RB/V4MD 2.0.3fc5 and Vservers 2.0.3fc5 So you will test with fc5. Okay ? -- 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 Apr 26 19:00:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 11:00:51 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 6:44 PM, "Kem Tekinay" wrote: > On 4/26/05 8:33 AM, Olivier at vidal_olivier@yahoo.fr wrote: > >> When Valentina will allow to use UTF8 as a replacement of the UTF16, >> your application should be much faster! > > I thought V2 allowed that now. It doesn't? Some glitches was left, because we decide better push v2 with UTF-16 ASAP then wait yet for UTF8 polishing. -- 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 Tue Apr 26 12:03:01 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue Apr 26 11:03:16 2005 Subject: [V4RB2] VText search speed In-Reply-To: Message-ID: On 4/26/05 11:44 AM, Kem Tekinay at ktekinay@mactechnologies.com wrote: >> When Valentina will allow to use UTF8 as a replacement of the UTF16, >> your application should be much faster! > > I thought V2 allowed that now. It doesn't? I just answered my own question. I set db.StorageEncoding = "UTF8" in the DB constructor and I can't get back into the db afterwards. __________________________________________________________________________ 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 robert at formworkdesign.com Tue Apr 26 12:03:38 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 26 11:03:41 2005 Subject: v4rb...client exists for VServer_Office? In-Reply-To: References: Message-ID: Excellent. Thanks so much. On Apr 26, 2005, at 12:00 PM, Ruslan Zasukhin wrote: > On 4/26/05 6:48 PM, "Robert Nichols" wrote: > >>> We have add to Tutorial lesson2 which show how to prepare project for >>> Vserver. But English version will be ready on Tuesday only. >> >> ??? If the problem is with create_table example I don't think Tutorial >> will help!! >> >> I'm probably missing something obvious, as the console shows no >> activity at all when the server is asked to create table. >> Any other suggestions? > > Well, let's do next: > > I think Tomorrow (24 hours from now) we will make > > V4RB/V4MD 2.0.3fc5 and Vservers 2.0.3fc5 > > > So you will test with fc5. Okay ? > > > -- > 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 > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From jda at his.com Tue Apr 26 12:06:52 2005 From: jda at his.com (jda) Date: Tue Apr 26 11:07:06 2005 Subject: [V4RB2] VText search speed In-Reply-To: References: Message-ID: >On 4/26/05 6:44 PM, "Kem Tekinay" wrote: > >> On 4/26/05 8:33 AM, Olivier at vidal_olivier@yahoo.fr wrote: >> >>> When Valentina will allow to use UTF8 as a replacement of the UTF16, >>> your application should be much faster! >> >> I thought V2 allowed that now. It doesn't? > >Some glitches was left, because we decide better push v2 with UTF-16 ASAP >then wait yet for UTF8 polishing. > V2 only lets you *store* data as UTF-16 (although it works transparently with UTF-8 strings supplied by RB). UTF-8 storage is something a lot of us want, and Ruslan has said it will be coming when other more urgent issues have been resolved. Jon From sunshine at public.kherson.ua Wed Apr 27 00:00:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 26 16:00:57 2005 Subject: V4MD_Turorial_2_en uploaded Message-ID: Hi All, You can download the first lesson Tutorial for V4MD. Director/Lingo experts! Please check if design of project for lesson1 is good from point of view of lingo nuts :-) If you have any comments how to make project better/simpler, please provide them to us. Thank you in advance. -- 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 Apr 26 23:36:13 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Apr 26 16:39:04 2005 Subject: XML dump question In-Reply-To: References: Message-ID: >On 4/24/05 7:12 PM, "Kem Tekinay" wrote: > >Kem, > >I believe that each DBMS use own XML format which you cannot exchange. >If somebody know other facts let us know. > >MAY BE it is possible transform one XML into other using special scripts or >XSLT. But I did not hear that somebody have try this yte > Actually, there was an effort to make a database exchange standard but I haven't followed it for quite a while. The specs were at W3C somewhere in the XML area. Robert From guillermo at parsec.info Wed Apr 27 11:21:00 2005 From: guillermo at parsec.info (Guillermo) Date: Wed Apr 27 04:21:09 2005 Subject: [V4RB1] Bug ? Message-ID: >> I'm (still) using V4RB 1 and I think that I found a bug, when I >> execute this query: >> >> select * from table1 where field1='''' // all records with a ' >> >> works fine, but if I use parenthesis: >> >> select * from table1 where (field1='''') // show a error (invalid >> cursor) >> >> The second query works fine with a value different than '''' >> > > Well, try this > > where (field1 = '\'') Now works fine :) Thanks Ruslan Guillermo From info at vallemediatime.com Wed Apr 27 11:34:20 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Apr 27 04:34:28 2005 Subject: V4MD_Turorial_2_en uploaded References: Message-ID: <000a01c54b0c$4a9d22f0$c0191e97@paolokzjsndit5> Hi Ruslan, in the Lesson2_step1 I get a script error at the startMovie (Win DirMX2004) I think that when a user add a record is better to set the insert data field to EMPTY Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Lynn Fredricks" Sent: Tuesday, April 26, 2005 11:00 PM Subject: V4MD_Turorial_2_en uploaded > Hi All, > > You can download the first lesson Tutorial for V4MD. > > Director/Lingo experts! > > Please check if design of project for lesson1 is good from point of view of > lingo nuts :-) > > If you have any comments how to make project better/simpler, > please provide them to us. > > Thank you in advance. > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005 > > From sunshine at public.kherson.ua Wed Apr 27 13:35:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 27 05:35:33 2005 Subject: V4MD_Turorial_2_en uploaded In-Reply-To: <000a01c54b0c$4a9d22f0$c0191e97@paolokzjsndit5> Message-ID: On 4/27/05 12:34 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > in the Lesson2_step1 I get a script error at the startMovie > (Win DirMX2004) > > I think that when a user add a record is better to set the insert data field > to EMPTY lesson2 is not finished, Paolo. You see .dir file for lesson2 but no text in PDF, right ? We have not translate it to English yet. Tomorrow I expect it. Btw, lesson require Valentina Server to be run. -- 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 vidal_olivier at yahoo.fr Wed Apr 27 12:35:42 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Apr 27 05:36:26 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG In-Reply-To: References: Message-ID: > > No, all you have to do is import a file without unique field > violations but for RB to throw an exception (such as assigning a value > to an array with an index value that is out of bounds) with each > imported record, catch it, and continue. Then ask, how much did the > exception slow down the import. OK, thank you very much, Jon for this advice. Then, I made effectively this test... it is effectively Realbasic who has a bug.. Pfffff... In a loop I attribute a string to an array of 500 000 variables, realbasic puts 20 ticks to make the operation. 11 ticks with #pragma disableBackgroundTask. However now I makes the same thing but by putting a block "Try" on the last 1000 passages of the loop (and with 1000 errors), The operation puts 6333 ticks... 6325 ticks with the pragma... If I puts the block " try " but that there is NO error on 1000 passages of the loop: 21 ticks... I am going to send a message on the RB' list. It is bad because I think of RS will not correct the bug before months... olivier From ayu8 at cdc.gov Wed Apr 27 08:15:51 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 07:16:55 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: > OK, thank you very much, Jon for this advice. > > Then, I made effectively this test... it is effectively Realbasic who > has a bug.. Pfffff... > > In a loop I attribute a string to an array of 500 000 variables, > realbasic puts 20 ticks to make the operation. > 11 ticks with #pragma disableBackgroundTask. > > However now I makes the same thing but by putting a block > "Try" on the > last 1000 passages of the loop (and with 1000 errors), > The operation puts 6333 ticks... 6325 ticks with the > pragma... If I puts the block " try " but that there is NO > error on 1000 passages > of the loop: 21 ticks... > > I am going to send a message on the RB' list. > It is bad because I think of RS will not correct the bug before > months... > > olivier Hi Olivier, I saw your posts here and in the RB list archives. I think the problem is you seem to be combining the 2 different ways of dealing with exceptions in RB. If you want to use the "try" block, think of it as a "try-catch" block and that will help keep it straight in your head. The "try-catch" block looks like this... Try {your code goes here} Catch ex as [whatever type of exception you wish to trap] {the code here is what you want to do should you encounter an exception of the type you are trapping for} Finally (optional) {this section basically allows you to do any clean-up if necessary as this code will execute even if you encounter an exception} End Try As you see, the "Exception" keyword is not used in a try-catch block. The "Exception" keyword is the other way of trapping exceptions. It looks like this... Sub [or Function] {your code goes here. Make sure you return an appropriate value if the method is a function} Exception err {the code here is what you want to do should you encounter an exception} End Sub [or Function] I hope this helps and let us know how making these changes affects you test app :-) -John From ayu8 at cdc.gov Wed Apr 27 08:22:14 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 07:22:38 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: > > Hi Olivier, > > I saw your posts here and in the RB list archives. I think > the problem is you seem to be combining the 2 different ways > of dealing with exceptions in RB. If you want to use the > "try" block, think of it as a "try-catch" block and that will > help keep it straight in your head. The "try-catch" block > looks like this... > > Try > {your code goes here} > Catch ex as [whatever type of exception you wish to trap] > {the code here is what you want to do should you encounter an > exception of the type you are trapping for} Finally > (optional) {this section basically allows you to do any > clean-up if necessary as this code will execute even if you > encounter an exception} End Try > > As you see, the "Exception" keyword is not used in a > try-catch block. The "Exception" keyword is the other way of > trapping exceptions. It looks like this... > > Sub [or Function] > {your code goes here. Make sure you return an appropriate > value if the method is a function} > > Exception err > {the code here is what you want to do should you encounter an > exception} > > End Sub [or Function] > > I hope this helps and let us know how making these changes > affects you test app :-) > > -John Somehow, the format of my e-mail got a little goofy. Just for clarity sake... Try Catch ex as [type of exception] Finally End Try Hopefully, this will look better and help clarify my last post if others are seeing the message the same as I :-P -John From vidal_olivier at yahoo.fr Wed Apr 27 14:28:19 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Apr 27 07:29:04 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG In-Reply-To: References: Message-ID: thank you John for your answer. I made an error of type by sending my e-mail to RB ! The test is indeed: dim st(500000) for i=0 to 500000 st(i)="jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" next i for i=500001 to 500500 try st(i)="jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" catch err as outOfBoundsException end try next i It is correct? Olivier Le 27 avr. 05, ? 14:22, Sims, John a ?crit : >> >> Hi Olivier, >> >> I saw your posts here and in the RB list archives. I think >> the problem is you seem to be combining the 2 different ways >> of dealing with exceptions in RB. If you want to use the >> "try" block, think of it as a "try-catch" block and that will >> help keep it straight in your head. The "try-catch" block >> looks like this... >> >> Try >> {your code goes here} >> Catch ex as [whatever type of exception you wish to trap] >> {the code here is what you want to do should you encounter an >> exception of the type you are trapping for} Finally >> (optional) {this section basically allows you to do any >> clean-up if necessary as this code will execute even if you >> encounter an exception} End Try >> >> As you see, the "Exception" keyword is not used in a >> try-catch block. The "Exception" keyword is the other way of >> trapping exceptions. It looks like this... >> >> Sub [or Function] >> {your code goes here. Make sure you return an appropriate >> value if the method is a function} >> >> Exception err >> {the code here is what you want to do should you encounter an >> exception} >> >> End Sub [or Function] >> >> I hope this helps and let us know how making these changes >> affects you test app :-) >> >> -John > > Somehow, the format of my e-mail got a little goofy. Just for clarity > sake... > > Try > > > > Catch ex as [type of exception] > > > > Finally > > > > End Try > > Hopefully, this will look better and help clarify my last post if > others > are seeing the message the same as I :-P > > -John > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ayu8 at cdc.gov Wed Apr 27 09:15:56 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 08:16:15 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: Hi Olivier, Yes, that looks better. Out of curiosity, I tried a similar experiment with VB.NET (I'm at work and am forced to use M$ products). Here is my code in a pushbutton: Dim i As Integer Dim st(999) As String Dim iStart As Int64 Dim iEnd As Int64 iStart = Now.Ticks For i = 0 To 999 st(i) = "jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" Next i iEnd = Now.Ticks Console.WriteLine(iEnd - iStart) iStart = Now.Ticks For i = 1000 To 1999 Try st(i) = "jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" Catch err As Exception End Try Next i iEnd = Now.Ticks Console.WriteLine(iEnd - iStart) Results: First run No handler: 0 ticks Handler: 63090720 ticks Second run (crappy .NET never does well on the first run of anything :-/) No handler: 0 ticks Handler: 33648384 ticks In .NET, a tick is defined as "The value of this property is the number of 100-nanosecond intervals that have elapsed since 12:00 A.M., January 1, 0001" -John > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > Sent: Wednesday, April 27, 2005 8:28 AM > To: Valentina Developers > Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > > > thank you John for your answer. > > I made an error of type by sending my e-mail to RB ! > > The test is indeed: > dim st(500000) > > for i=0 to 500000 > st(i)="jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" > next i > for i=500001 to 500500 > try > st(i)="jhljhljhljhljhljhljhljhljhljhjhkjhzzzzzzz" > catch err as outOfBoundsException > end try > next i > > It is correct? > > Olivier > > > > Le 27 avr. 05, ? 14:22, Sims, John a ?crit : > > >> > >> Hi Olivier, > >> > >> I saw your posts here and in the RB list archives. I think the > >> problem is you seem to be combining the 2 different ways > of dealing > >> with exceptions in RB. If you want to use the "try" > block, think of > >> it as a "try-catch" block and that will help keep it > straight in your > >> head. The "try-catch" block looks like this... > >> > >> Try > >> {your code goes here} > >> Catch ex as [whatever type of exception you wish to trap] > {the code > >> here is what you want to do should you encounter an > exception of the > >> type you are trapping for} Finally > >> (optional) {this section basically allows you to do any > clean-up if > >> necessary as this code will execute even if you encounter an > >> exception} End Try > >> > >> As you see, the "Exception" keyword is not used in a > try-catch block. > >> The "Exception" keyword is the other way of trapping > exceptions. It > >> looks like this... > >> > >> Sub [or Function] > >> {your code goes here. Make sure you return an appropriate > value if > >> the method is a function} > >> > >> Exception err > >> {the code here is what you want to do should you encounter an > >> exception} > >> > >> End Sub [or Function] > >> > >> I hope this helps and let us know how making these changes affects > >> you test app :-) > >> > >> -John > > > > Somehow, the format of my e-mail got a little goofy. Just > for clarity > > sake... > > > > Try > > > > > > > > Catch ex as [type of exception] > > > > > > > > Finally > > > > > > > > End Try > > > > Hopefully, this will look better and help clarify my last post if > > others > > are seeing the message the same as I :-P > > > > -John > > _______________________________________________ > > 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 vidal_olivier at yahoo.fr Wed Apr 27 15:21:59 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Apr 27 08:22:44 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG In-Reply-To: References: Message-ID: > > Handler: 33648384 ticks > > In .NET, a tick is defined as "The value of this property is the > number of 100-nanosecond intervals that have elapsed since 12:00 A.M., > January 1, 0001" > thus 336 seconds ? From ayu8 at cdc.gov Wed Apr 27 09:30:25 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 08:30:40 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: No, it would be 3.36 seconds Nanoseconds = 10 to the -9 power Ticks is every 100 nanoseconds so it is 10 to the - 7 power 33648384 x 1 E-7 = 3.3648384 seconds. -John > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > Sent: Wednesday, April 27, 2005 9:22 AM > To: Valentina Developers > Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > > > > > > Handler: 33648384 ticks > > > > In .NET, a tick is defined as "The value of this property is the > > number of 100-nanosecond intervals that have elapsed since > 12:00 A.M., > > January 1, 0001" > > > > thus 336 seconds ? > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Wed Apr 27 15:36:35 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Apr 27 08:37:17 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG In-Reply-To: References: Message-ID: In my test, RB thus puts (1 RB ticks = 1/60th of second) 105 seconds. RB is thus 30 times as slow as VB in that case... Can you put your test and result on the RB list ? Thank you very much John for all your help olivier Le 27 avr. 05, ? 15:30, Sims, John a ?crit : > No, it would be 3.36 seconds > > Nanoseconds = 10 to the -9 power > Ticks is every 100 nanoseconds so it is 10 to the - 7 power > > 33648384 x 1 E-7 = 3.3648384 seconds. > > -John > > > >> -----Original Message----- >> From: valentina-bounces@lists.macserve.net >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier >> Sent: Wednesday, April 27, 2005 9:22 AM >> To: Valentina Developers >> Subject: Re: V4RB2 bug 648 -> REALBASIC BUG >> >> >>> >>> Handler: 33648384 ticks >>> >>> In .NET, a tick is defined as "The value of this property is the >>> number of 100-nanosecond intervals that have elapsed since >> 12:00 A.M., >>> January 1, 0001" >>> >> >> thus 336 seconds ? >> >> _______________________________________________ >> 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 ayu8 at cdc.gov Wed Apr 27 09:39:04 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 08:39:55 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: I'll try to post it to the RB list today. John > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > Sent: Wednesday, April 27, 2005 9:37 AM > To: Valentina Developers > Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > > > In my test, RB thus puts (1 RB ticks = 1/60th of second) 105 > seconds. RB is thus 30 times as slow as VB in that case... > > Can you put your test and result on the RB list ? > > Thank you very much John for all your help > > olivier > > > > Le 27 avr. 05, ? 15:30, Sims, John a ?crit : > > > No, it would be 3.36 seconds > > > > Nanoseconds = 10 to the -9 power > > Ticks is every 100 nanoseconds so it is 10 to the - 7 power > > > > 33648384 x 1 E-7 = 3.3648384 seconds. > > > > -John > > > > > > > >> -----Original Message----- > >> From: valentina-bounces@lists.macserve.net > >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > >> Sent: Wednesday, April 27, 2005 9:22 AM > >> To: Valentina Developers > >> Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > >> > >> > >>> > >>> Handler: 33648384 ticks > >>> > >>> In .NET, a tick is defined as "The value of this property is the > >>> number of 100-nanosecond intervals that have elapsed since > >> 12:00 A.M., > >>> January 1, 0001" > >>> > >> > >> thus 336 seconds ? > >> > >> _______________________________________________ > >> 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 ayu8 at cdc.gov Wed Apr 27 09:43:08 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Apr 27 08:45:46 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG Message-ID: BTW, Olivier, for comparison, my test was done on a DELL Optiplex GX400, Pentium 4, 1.5 GHz, 256 MB of RAM. What about yours? -John > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > Sent: Wednesday, April 27, 2005 9:37 AM > To: Valentina Developers > Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > > > In my test, RB thus puts (1 RB ticks = 1/60th of second) 105 > seconds. RB is thus 30 times as slow as VB in that case... > > Can you put your test and result on the RB list ? > > Thank you very much John for all your help > > olivier > > > > Le 27 avr. 05, ? 15:30, Sims, John a ?crit : > > > No, it would be 3.36 seconds > > > > Nanoseconds = 10 to the -9 power > > Ticks is every 100 nanoseconds so it is 10 to the - 7 power > > > > 33648384 x 1 E-7 = 3.3648384 seconds. > > > > -John > > > > > > > >> -----Original Message----- > >> From: valentina-bounces@lists.macserve.net > >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier > >> Sent: Wednesday, April 27, 2005 9:22 AM > >> To: Valentina Developers > >> Subject: Re: V4RB2 bug 648 -> REALBASIC BUG > >> > >> > >>> > >>> Handler: 33648384 ticks > >>> > >>> In .NET, a tick is defined as "The value of this property is the > >>> number of 100-nanosecond intervals that have elapsed since > >> 12:00 A.M., > >>> January 1, 0001" > >>> > >> > >> thus 336 seconds ? > >> > >> _______________________________________________ > >> 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 vidal_olivier at yahoo.fr Wed Apr 27 15:50:41 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Apr 27 08:51:25 2005 Subject: V4RB2 bug 648 -> REALBASIC BUG In-Reply-To: References: Message-ID: eMac G4 1,25 Ghz, 512 MB of RAM thank you olivier Le 27 avr. 05, ? 15:43, Sims, John a ?crit : > BTW, Olivier, for comparison, my test was done on a DELL Optiplex > GX400, Pentium 4, 1.5 GHz, 256 MB of RAM. What about yours? > > -John > > >> -----Original Message----- >> From: valentina-bounces@lists.macserve.net >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier >> Sent: Wednesday, April 27, 2005 9:37 AM >> To: Valentina Developers >> Subject: Re: V4RB2 bug 648 -> REALBASIC BUG >> >> >> In my test, RB thus puts (1 RB ticks = 1/60th of second) 105 >> seconds. RB is thus 30 times as slow as VB in that case... >> >> Can you put your test and result on the RB list ? >> >> Thank you very much John for all your help >> >> olivier >> >> >> >> Le 27 avr. 05, ? 15:30, Sims, John a ?crit : >> >>> No, it would be 3.36 seconds >>> >>> Nanoseconds = 10 to the -9 power >>> Ticks is every 100 nanoseconds so it is 10 to the - 7 power >>> >>> 33648384 x 1 E-7 = 3.3648384 seconds. >>> >>> -John >>> >>> >>> >>>> -----Original Message----- >>>> From: valentina-bounces@lists.macserve.net >>>> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Olivier >>>> Sent: Wednesday, April 27, 2005 9:22 AM >>>> To: Valentina Developers >>>> Subject: Re: V4RB2 bug 648 -> REALBASIC BUG >>>> >>>> >>>>> >>>>> Handler: 33648384 ticks >>>>> >>>>> In .NET, a tick is defined as "The value of this property is the >>>>> number of 100-nanosecond intervals that have elapsed since >>>> 12:00 A.M., >>>>> January 1, 0001" >>>>> >>>> >>>> thus 336 seconds ? >>>> >>>> _______________________________________________ >>>> 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 >> > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From info at vallemediatime.com Wed Apr 27 16:54:12 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Apr 27 09:54:22 2005 Subject: V4MD_Turorial_2_en uploaded References: Message-ID: <001401c54b38$f9f4d0f0$4f1a1e97@paolokzjsndit5> > You see .dir file for lesson2 but no text in PDF, right ? right Other little suggestion for next tutorial: 1. you can add two field for display the number of record: currRecPos and tabRecCount 2. you can add two buttom for export and import DB... Important (I think): I remember that you have many help request (in V1.x) for export and import data contains RETURN char (in multilines field), if you make and example... :-) I think that the first tutorial for new user is good and very useful. I wait for V4MD v2.0.3 and for more advanced tutorial. Thanks Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, April 27, 2005 12:35 PM Subject: Re: V4MD_Turorial_2_en uploaded > On 4/27/05 12:34 PM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > in the Lesson2_step1 I get a script error at the startMovie > > (Win DirMX2004) > > > > I think that when a user add a record is better to set the insert data field > > to EMPTY > > lesson2 is not finished, Paolo. > You see .dir file for lesson2 but no text in PDF, right ? > We have not translate it to English yet. Tomorrow I expect it. > > > Btw, lesson require Valentina Server to be run. > > > -- > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005 > > From sunshine at public.kherson.ua Wed Apr 27 18:05:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 27 10:05:35 2005 Subject: V4MD_Turorial_2_en uploaded In-Reply-To: <001401c54b38$f9f4d0f0$4f1a1e97@paolokzjsndit5> Message-ID: On 4/27/05 5:54 PM, "info@vallemediatime.com" wrote: >> You see .dir file for lesson2 but no text in PDF, right ? > right > > Other little suggestion for next tutorial: > 1. you can add two field for display the number of record: currRecPos and > tabRecCount > 2. you can add two buttom for export and import DB... > > Important (I think): I remember that you have many help request (in V1.x) > for export and import data contains RETURN char (in multilines field), if > you make and example... :-) Yes, one of lesson(s) must be how to port data from different sources. > I think that the first tutorial for new user is good and very useful. > I wait for V4MD v2.0.3 and for more advanced tutorial. -- 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 Apr 27 20:10:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 27 12:10:04 2005 Subject: BUG: The RB catch of error slows down ENORMOUSLY the app In-Reply-To: <20050427160828.A1BA78ECE96@lists.realsoftware.com> Message-ID: > From: Norman Palardy > Date: Wed, 27 Apr 2005 09:50:57 -0600 > If you want to insert only the ones that do not already exist you > should be able to identify the new records to import with SQL > Something like > > select id from importTable > where id not in ( select id from tableToImportInto ) > > This will give you the list of ids in the import table that are not > already in the table you are importing data into > (That is assuming that Valentina's SQL is quite standard which I > believe it is) > > At that point you might even be able to use an "insert into" statement > to insert those rows based on their ID's Norman, But generally speaking this is potentially slower way. Because you at first touch tables/indexed to find record. Then you again touch tables/indexes to insert. The Oliver's way will do next: touch table/index. ONLY in case of not unique key, the exception will be throw. IF you insert 100,000 records and not stick into error, you get only 100,000 touches. Way you suggest will do 200,000 touches. -- 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 Apr 27 22:45:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 27 14:46:07 2005 Subject: How to change File Permissions on OS X ? Message-ID: Hi REALbasic users, I see that FolderIterm have Locked property. Good. But CVS on OS X use permissions to lock files. And I do not see how to modify permissions of file with RB. Anybody 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 robert at formworkdesign.com Wed Apr 27 16:03:07 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Wed Apr 27 15:03:18 2005 Subject: How to change File Permissions on OS X ? In-Reply-To: References: Message-ID: <63dacd35dfbfe5b916cb1e29814d0486@formworkdesign.com> No problem using a the RB shell object. On Apr 27, 2005, at 3:45 PM, Ruslan Zasukhin wrote: > Hi REALbasic users, > > I see that FolderIterm have Locked property. > Good. > > But CVS on OS X use permissions to lock files. > > And I do not see how to modify permissions of file with RB. > Anybody 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From delong at redcort.com Wed Apr 27 13:06:03 2005 From: delong at redcort.com (Keith DeLong) Date: Wed Apr 27 15:06:42 2005 Subject: How to change File Permissions on OS X ? In-Reply-To: Message-ID: > Hi REALbasic users, > > I see that FolderIterm have Locked property. > Good. > > But CVS on OS X use permissions to lock files. > > And I do not see how to modify permissions of file with RB. > Anybody know ? Hi Ruslan, Sub SetPermissions Extends f as folderitem, assigns newPermissions as string dim shellcmd as new Shell shellcmd.execute "chmod " + newPermissions + f.ShellPath End Sub HTH, Keith DeLong From sunshine at public.kherson.ua Thu Apr 28 17:06:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 28 09:06:24 2005 Subject: BUG REPORT: fqbvcoog - REALbasic 2005 fails to work with V4RB 2 Message-ID: Hi Valentina + REALbasic users, I have add report about problem of REALbasic 2005 and V4RB2 If you want please add your vote: http://www.realsoftware.com/feedback/viewreport.php?reportid=fqbvcoog -- 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 fvanlerberghe at freegates.be Fri Apr 29 09:10:47 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Fri Apr 29 02:10:24 2005 Subject: V4RB v1 - What and where is the good version Message-ID: Hello all, I've experienced some problems with the latest V4RB 1.11 (december 19, 2004) that seem to be related to wrong/corrupted indexes. Wanting to go back to the previous version, I found on my computer 2 different V4RB 1.11 : - first is created on september 9, 2004 - second is created on december 19, 2004 What are the differences between these 2 versions ? I don't find release notes about these in the Paradigmasoft web site. And looking at this, I see that the last v1 downloadable version of the V4RB plugin is the 1.10 (february 4, 2004). Is this an error or are there some known problem with the V4RB 1.11 ? Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Fri Apr 29 10:13:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 02:13:20 2005 Subject: V4RB v1 - What and where is the good version In-Reply-To: Message-ID: On 4/29/05 10:10 AM, "Francois Van Lerberghe" wrote: Hi Francois, > Hello all, > > I've experienced some problems with the latest V4RB 1.11 (december 19, 2004) > that seem to be related to wrong/corrupted indexes. > Wanting to go back to the previous version, I found on my computer 2 > different V4RB 1.11 : > - first is created on september 9, 2004 > - second is created on december 19, 2004 Older is better > What are the differences between these 2 versions ? I don't find release > notes about these in the Paradigmasoft web site. Older one fixes Locks problem with UPDATE command. > And looking at this, I see that the last v1 downloadable version of the V4RB > plugin is the 1.10 (february 4, 2004). Is this an error or are there some > known problem with the V4RB 1.11 ? Then try this build. There was found 1 or 2 bugs so we have made new builds of 1.11 -- 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 Fri Apr 29 10:20:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 02:20:27 2005 Subject: V4RB Binary Links In-Reply-To: <12639207.1114748600296.JavaMail.root@beaker.psp.pas.earthlink.net> Message-ID: On 4/29/05 7:23 AM, "Anna Kritselis" wrote: Hi Anna, > Hi Ruslan, > > I'm trying to use Binary Links - and need some help. > > THIS WORKS: Select * from Program, GradeLevel > THIS WORKS: Select * from Program, GradeLevel, Classroom > THIS WORKS: Select * from Program, GradeLevel where Program.RecId= 1 > CRASHES - I have to reboot machine: Select * from Program, GradeLevel, > Classroom where Program.RecId= 1 > > Links: > > mLink18 = new VBinaryLink( "linkProgramGradeLevel", mProgram, mGradeLevel, > EVLinkType.kOne, EVLinkType.kMany ) > mLink19 = new VBinaryLink( "linkProgramClassroom", mProgram, mClassroom, > EVLinkType.kOne, EVLinkType.kMany ) While we wait for your database, I want just mention, that you use implicit join - you do not specify names of links. This is good, and this is even recommended way. Just for info, that this query in the full form can be as: Select * from Program join GradeLevel ON linkProgramGradeLevel join Classroom ON linkProgramClassroom where Program.RecId= 1 Again, you everything do correct, I just want to show the complete form, which we must use if we have some ambiguity. -- 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 fvanlerberghe at freegates.be Fri Apr 29 09:43:09 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Fri Apr 29 02:42:46 2005 Subject: V4RB v1 - What and where is the good version In-Reply-To: Message-ID: le 29/04/05 9:13, Ruslan Zasukhin a ?crit?: >> Wanting to go back to the previous version, I found on my computer 2 >> different V4RB 1.11 : >> - first is created on september 9, 2004 >> - second is created on december 19, 2004 > > Older is better Sorry to bother you with this, but I want to be sure to well understand. What do you mean by older ? You say that the september build is better ? ... >> And looking at this, I see that the last v1 downloadable version of the V4RB >> plugin is the 1.10 (february 4, 2004). Is this an error or are there some >> known problem with the V4RB 1.11 ? > > Then try this build. There was found 1 or 2 bugs so we have made new builds > of 1.11 I suppose you say that there was found 1 or 2 bugs in the 1.10 build and you have made 1.11 build. But why is the 1.10 that is provided from your download web page ? the page say version is 1.11, but date is feb. 4 and this is the 1.10 that is downlaoded. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Fri Apr 29 12:10:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 04:12:12 2005 Subject: V4RB v1 - What and where is the good version In-Reply-To: Message-ID: On 4/29/05 10:43 AM, "Francois Van Lerberghe" wrote: > le 29/04/05 9:13, Ruslan Zasukhin a ?crit?: > >>> Wanting to go back to the previous version, I found on my computer 2 >>> different V4RB 1.11 : >>> - first is created on september 9, 2004 >>> - second is created on december 19, 2004 >> >> Older is better > > Sorry to bother you with this, but I want to be sure to well understand. > What do you mean by older ? You say that the september build is better ? No of course. :-) I mean Dec better And Feb should be even better. > ... >>> And looking at this, I see that the last v1 downloadable version of the V4RB >>> plugin is the 1.10 (february 4, 2004). Is this an error or are there some >>> known problem with the V4RB 1.11 ? >> >> Then try this build. There was found 1 or 2 bugs so we have made new builds >> of 1.11 > > I suppose you say that there was found 1 or 2 bugs in the 1.10 build No, in 1.11 We have upload new build without incrementing version. Yes bad step. Just only few developers have stick into that bug. > and you have made 1.11 build. > But why is the 1.10 that is provided from your > download web page ? the page say version is 1.11, but date is feb. 4 and > this is the 1.10 that is downlaoded. Hmm. I have look inside of latest archive which was uploaded. V4RB here is 1.11 of 19 Dec. So may be 4 Feb -- this is date of copy to new FTP computer. Do not know. Inside must be 1.11 made at 19 Dec. -- 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 fvanlerberghe at freegates.be Fri Apr 29 11:50:26 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Fri Apr 29 04:50:01 2005 Subject: V4RB v1 - What and where is the good version In-Reply-To: Message-ID: le 29/04/05 11:10, Ruslan Zasukhin a ?crit?: >> But why is the 1.10 that is provided from your >> download web page ? the page say version is 1.11, but date is feb. 4 and >> this is the 1.10 that is downlaoded. > > Hmm. > > I have look inside of latest archive which was uploaded. > V4RB here is 1.11 of 19 Dec. > > So may be 4 Feb -- this is date of copy to new FTP computer. > Do not know. Inside must be 1.11 made at 19 Dec. I've just download again, but when I expand the archive file "V4RB.sit.bin", I get the file named "V4RB" and when GetInfo on this, it show me version 1.10, created on February 4, 2004 witch is clearly an old version. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From t.dikk at se-dd.com Fri Apr 29 15:47:02 2005 From: t.dikk at se-dd.com (Tomas Dikk) Date: Fri Apr 29 08:48:06 2005 Subject: empty VBLOB data with correct length Message-ID: <7F5BBC3B7975A94F9844614AB95C3755035C1B@srvex01.se-dd.local> hi everybody, i hope somebody could help me on this problem. i tried really for a long time and wasn't able to solve the problem. i'm programming in java and using valentina 1.1. in short, i store some byte[] to a blob field, and then read it out again, and i check the length of the read out data which is what i stored, but when i read individual bytes, they are all zero. i made an example which you could check out: it consists of 3 classes, App for testing, Table and DB for the DB/data here is the code (it is a simple example to reproduce the behavior) ################## APP.JAVA ####################### package blobtest; import com.paradigmasoft.valentina.vjdk.*; public class App { public static void main(String[] args) { try { // open VJDK.init(4 * 1024 * 1024, "", ""); VJDK.setDebugLevel(2); db = new DB(); // do some operations Table t = db.get_table(); byte[] ba = new byte[2]; // make a byte buffer ba[0] = 1; ba[1] = 2; t.setBlank(); // clear temp record t.field_blob.setBLOBLength(2); // set length of blob data t.field_blob.deleteBLOBData(); // delete blob data of buffer record (not really necessary) t.field_blob.writeBLOBData(ba, ba.length, 0); // (buffer, buffer length, from where) t.addRecord(); // store record in db // FIRST POSSIBILITY TO READ OUT THE DATA (which does not seem to work) t.firstRecord(); // go to first record of this table VBLOB blob = (VBLOB)t.getField("blob"); // get field, cast it to vblob byte[] blob_data = blob.readBLOBData(0, blob.getDataSize()); // read out data from this field System.out.println("App:: main: 1. record blob length: " + blob.getDataSize() + " bytes"); System.out.println("App:: main: 1. record blob isnull: " + blob.isNull()); System.out.println("App:: main: blob data [0] = " + blob_data[0]); System.out.println("App:: main: blob data [1] = " + blob_data[1]); // 2. POSSIBILITY TO READ OUT BLOB DATA (which doesn't work either) new VCursor(db); VCursor c = db.sqlSelect("SELECT * FROM table"); // select all records.. c.firstRecord(); // go to first record of this cursor VBLOB blob = c.getBLOBField("blob"); // read out blob field byte[] blob_data = blob.readBLOBData(0, blob.getDataSize()); // read data from this field System.out.println("App:: main: 1. record blob length: " + blob.getDataSize() + " bytes"); System.out.println("App:: main: 1. record blob isnull: " + blob.isNull()); System.out.println("App:: main: blob data [0] = " + blob_data[0]); System.out.println("App:: main: blob data [1] = " + blob_data[1]); // close db.close(); db.shutdown(); System.out.println("App::main: execution without any exception"); } catch (VException ve) { System.out.println("# VException"); System.out.println("# ErrorCode: " + ve.getErrorCode() + ", ErrorMsg: " + ve.getErrorString()); } } private static DB db; } and here the classes for the db and table which i used: ################## DB.JAVA ####################### package blobtest; mport com.paradigmasoft.valentina.vjdk.*; public class DB extends VDataBase { public DB() throws VException { table = new Table(); this.open("db.vdb"); // (name) System.out.println("DB::db: instantiation successful"); } public Table get_table() { return table; } public void shutdown() throws VException { VJDK.shutdown(); } private Table table; } ################## TABLE.JAVA ####################### package blobtest; import com.paradigmasoft.valentina.vjdk.*; public class Table extends VBaseObject { public Table() throws VException { super("table"); // (name) // set fields field_blob = new VBLOB("blob", 512); // (name, segment size) } public VBLOB field_blob; // must be public such that i can add records from app.java code (to have simpler testing) } the output which is generated is DB::db: instantiation successful App:: main: 1. record blob length: 2 bytes App:: main: 1. record blob isnull: false App:: main: blob data [0] = 0 App:: main: blob data [1] = 0 App::main: execution without any exception so storing seems ok (also checked the values with vstudio) but reading out gives only a byte[] with the correct length (2) but with only 0 in it.. can anybody explain this behavior to me? it seems really strange.. what am i missing? thanks alot for reading this, and thanks for your time greetings, t From t.dikk at se-dd.com Fri Apr 29 15:53:03 2005 From: t.dikk at se-dd.com (Tomas Dikk) Date: Fri Apr 29 08:53:53 2005 Subject: small correction (which does not solve the problem) Message-ID: <7F5BBC3B7975A94F9844614AB95C3755035C1C@srvex01.se-dd.local> hi again instead of blob.readBLOBData(0, blob.getDataSize()) there should have been blob.readBLOBData(blob.getDataSize(), 0) but this did not solve the problem :( greetings again t From sunshine at public.kherson.ua Fri Apr 29 17:00:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 09:02:20 2005 Subject: V4RB Binary Links In-Reply-To: <29245181.1114782739592.JavaMail.root@daisy.psp.pas.earthlink.net> Message-ID: On 4/29/05 4:52 PM, "Anna Kritselis" wrote: > I have a table completely made up of links. It's a contract table that has a > studentid, classroomid, gradelevelid, schoolyearid, etc. I thought I would > create a table - tblContract - with one field (Contract Id) and then create > the links. Is that the way to do it? Contract studentid, classroomid, gradelevelid, schoolyearid Hmm, not sure. Look. Binary Link is replacement of T1 T2 T12 I.e. When 2 tables are linked by third table. Other cases cannot be converted into Binary Link. Name binaryLink underlines that it links TWO tables. In your contract Table you link several tables in the same time? Although I do not see how can be linked classroomid and gradelevelid. So explain me and self what this contract table do? -- 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 Fri Apr 29 22:27:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 14:27:48 2005 Subject: empty VBLOB data with correct length In-Reply-To: <7F5BBC3B7975A94F9844614AB95C3755035C1B@srvex01.se-dd.local> Message-ID: On 4/29/05 4:47 PM, "Tomas Dikk" wrote: Hi Thomas, > hi everybody, i hope somebody could help me on this problem. > i tried really for a long time and wasn't able to solve the problem. > i'm programming in java and using valentina 1.1. > > in short, i store some byte[] to a blob field, and then read > it out again, and i check the length of the read out data which > is what i stored, but when i read individual bytes, they are all > zero. i made an example which you could check out: > > it consists of 3 classes, App for testing, Table and DB for the DB/data > > here is the code (it is a simple example to reproduce the behavior) > > ################## APP.JAVA ####################### > > package blobtest; > import com.paradigmasoft.valentina.vjdk.*; > > public class App { > > public static void main(String[] args) { > try { > // open > VJDK.init(4 * 1024 * 1024, "", ""); > VJDK.setDebugLevel(2); > db = new DB(); > > // do some operations > Table t = db.get_table(); > > byte[] ba = new byte[2]; // make a byte buffer > ba[0] = 1; > ba[1] = 2; > t.setBlank(); // clear temp record > t.field_blob.setBLOBLength(2); // set length of blob data > t.field_blob.deleteBLOBData(); // delete blob data of buffer record (not > really necessary) > t.field_blob.writeBLOBData(ba, ba.length, 0); // (buffer, buffer length, from > where) > t.addRecord(); // store record in db Well, something wrong here. To add record with some BLOB value you should write the following logic: byte[] ba = new byte[2]; // make a byte buffer ba[0] = 1; ba[1] = 2; t.setBlank(); // clear temp record t.field_blob.writeBLOBData(ba, ba.length, 0); t.addRecord(); // store record in 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 Sat Apr 30 01:33:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 17:34:03 2005 Subject: V4RB, V4MD, Vserver 2.0.3fc5 for Mac uploaded Message-ID: Hi All, http://www.paradigmasoft.com/V4MD_203fc5_mac.dmg http://www.paradigmasoft.com/V4RB_203fc5_mac.dmg http://www.paradigmasoft.com/VServer_Embedded_203fc5_mac.dmg fc5 fixes/improves a lots of issues related to client/server. Btw, also tomorrow we expect Valentina Studio b5 which also now work with Vserver 2. GOOD NEWS guys! we have now Working V4MD Shockwave on both mac and windows!!! Saturday we will upload V4MD Tutorial which will have example and description how to make SW movie with V4MD. Very easy in fact! :-) This is list of fixed from 2.0.2 to 2.0.3fc5 kernel - 2.0.3 ============== - 0000727: [API] Passing empty string (via put_String()) produces incorrect result. (Igor Gomon) - 0000726: [Indexes] Diagnose for ByteIndex after close/open show problem. (Ruslan Zasukhin) - 0000598: [SQL] Please implement LIMIT as described in the Documentation (Ivan Smahin) - 0000717: [API] Can't blank record (Ivan Smahin) - 0000650: [SQL] SQL with no result or error message (Ivan Smahin) - 0000692: [SQL] Error 460037 by SQL-Selection (Ivan Smahin) - 0000710: [SQL] DISTINCT gives always different result (Ivan Smahin) - 0000687: [API] Link_binary_records: error on delete phone from your example (Ivan Smahin) - 0000662: [API] binary link: allowed duplicates links (Ivan Smahin) - 0000694: [SQL] REGEX should ignore indexedbywords indexes (Ivan Smahin) - 0000671: [SQL Parser] LIMIT sets 0 as default limit value. (Serge) - 0000693: [Record Locks] Eat a lots of RAM on Cursor.AddRecord(). (Ruslan Zasukhin) - 0000691: [SQL] select Distinct... from Join ... Order By - this mix does not work. (Ivan Smahin) - 0000532: [SQL] SQL Where Join with twice same table and with AND-OR-Combinations (Ivan Smahin) - 0000681: [Performance] LIKE and REGEX now can do INDEX SCAN. This make them in 20+ times faster. (Ruslan Zasukhin) - 0000672: [Tables] Update does not check value was really changed. (Ivan Smahin) - 0000673: [Cursors] DeleteAllRecords must use original table algorithm. (Ivan Smahin) V4RB - 2.0.3 ============ - 0000730: [Examples] [NEW] Advanced/VServerUtility (Igor Gomon) - 0000729: [Examples] [NEW] Common/SharedConnection (Igor Gomon) - 0000728: [Examples] [NEW] Common/VServer (Igor Gomon) - 0000669: [API] VTable.DeleteAllRecords Should Not Require a Parameter (Ruslan Zasukhin) - 0000689: [Class-way] DeleteAllRecords demands the parameter (Ruslan Zasukhin) - 0000719: [SQL] Crash in Select Query involving M:M Relations (Ivan Smahin) - 0000709: [API-way] "FindSingle" looks as "FindStart" instead of "FindValue". (Ivan Smahin) - 0000685: [API] db.table.UpdateRecord fails for BLOB field (Ivan Smahin) - 0000712: [Import/Export] ImportText Fails to Import into the same table twice in a row (Ivan Smahin) - 0000684: [SQL] Crash using LIKE and tables linked by objectPtr (Ivan Smahin) - 0000616: [Performance] Database takes a long time to open (Ruslan Zasukhin) - 0000682: [Examples] New, SQL_Way/ImportExport added. (Ivan Smahin) - 0000678: [Other] V4RB-Client now works with VServer. (Ruslan Zasukhin) - 0000677: [Examples] Class-way examples updated to be Server-ready. (Ruslan Zasukhin) - 0000674: [Pictures] REALbasic - vpicture fields not working (Ruslan Zasukhin) V4MD - 2.0.3 ============ - 0000733: [API] [NEW] SQL_way/Import_Export (Igor Gomon) - 0000732: [API] [NEW] Common/SharedConnection (Igor Gomon) - 0000731: [Examples] [NEW] Common/VServer (Igor Gomon) -- 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 Sat Apr 30 01:44:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 29 17:44:44 2005 Subject: V4MD, Vserver 2.0.3fc5 for Windows uploaded Message-ID: Hi All, http://www.paradigmasoft.com/V4MD_203fc5_win.exe http://www.paradigmasoft.com/VServer_Embedded_203fc5_win.exe fc5 fixes/improves a lots of issues related to client/server. Btw, also tomorrow we expect Valentina Studio b5 which also now work with Vserver 2. GOOD NEWS guys! we have now Working V4MD Shockwave on both mac and windows!!! Saturday we will upload V4MD Tutorial which will have example and description how to make SW movie with V4MD. Very easy in fact! :-) This is list of fixed from 2.0.2 to 2.0.3fc5 kernel - 2.0.3 ============== - 0000727: [API] Passing empty string (via put_String()) produces incorrect result. (Igor Gomon) - 0000726: [Indexes] Diagnose for ByteIndex after close/open show problem. (Ruslan Zasukhin) - 0000598: [SQL] Please implement LIMIT as described in the Documentation (Ivan Smahin) - 0000717: [API] Can't blank record (Ivan Smahin) - 0000650: [SQL] SQL with no result or error message (Ivan Smahin) - 0000692: [SQL] Error 460037 by SQL-Selection (Ivan Smahin) - 0000710: [SQL] DISTINCT gives always different result (Ivan Smahin) - 0000687: [API] Link_binary_records: error on delete phone from your example (Ivan Smahin) - 0000662: [API] binary link: allowed duplicates links (Ivan Smahin) - 0000694: [SQL] REGEX should ignore indexedbywords indexes (Ivan Smahin) - 0000671: [SQL Parser] LIMIT sets 0 as default limit value. (Serge) - 0000693: [Record Locks] Eat a lots of RAM on Cursor.AddRecord(). (Ruslan Zasukhin) - 0000691: [SQL] select Distinct... from Join ... Order By - this mix does not work. (Ivan Smahin) - 0000532: [SQL] SQL Where Join with twice same table and with AND-OR-Combinations (Ivan Smahin) - 0000681: [Performance] LIKE and REGEX now can do INDEX SCAN. This make them in 20+ times faster. (Ruslan Zasukhin) - 0000672: [Tables] Update does not check value was really changed. (Ivan Smahin) - 0000673: [Cursors] DeleteAllRecords must use original table algorithm. (Ivan Smahin) V4RB - 2.0.3 ============ - 0000730: [Examples] [NEW] Advanced/VServerUtility (Igor Gomon) - 0000729: [Examples] [NEW] Common/SharedConnection (Igor Gomon) - 0000728: [Examples] [NEW] Common/VServer (Igor Gomon) - 0000669: [API] VTable.DeleteAllRecords Should Not Require a Parameter (Ruslan Zasukhin) - 0000689: [Class-way] DeleteAllRecords demands the parameter (Ruslan Zasukhin) - 0000719: [SQL] Crash in Select Query involving M:M Relations (Ivan Smahin) - 0000709: [API-way] "FindSingle" looks as "FindStart" instead of "FindValue". (Ivan Smahin) - 0000685: [API] db.table.UpdateRecord fails for BLOB field (Ivan Smahin) - 0000712: [Import/Export] ImportText Fails to Import into the same table twice in a row (Ivan Smahin) - 0000684: [SQL] Crash using LIKE and tables linked by objectPtr (Ivan Smahin) - 0000616: [Performance] Database takes a long time to open (Ruslan Zasukhin) - 0000682: [Examples] New, SQL_Way/ImportExport added. (Ivan Smahin) - 0000678: [Other] V4RB-Client now works with VServer. (Ruslan Zasukhin) - 0000677: [Examples] Class-way examples updated to be Server-ready. (Ruslan Zasukhin) - 0000674: [Pictures] REALbasic - vpicture fields not working (Ruslan Zasukhin) V4MD - 2.0.3 ============ - 0000733: [API] [NEW] SQL_way/Import_Export (Igor Gomon) - 0000732: [API] [NEW] Common/SharedConnection (Igor Gomon) - 0000731: [Examples] [NEW] Common/VServer (Igor Gomon) -- 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 CBishop at alfred.com Fri Apr 29 18:09:34 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Fri Apr 29 20:10:30 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E694FF@apvnyexch01.alfredpub.com> Was anybody else able to download these new files? The only link that worked for me was the Windows Embedded Server. http://www.paradigmasoft.com/V4MD_203fc5_win.exe http://www.paradigmasoft.com/VServer_Embedded_203fc5_win.exe http://www.paradigmasoft.com/V4MD_203fc5_mac.dmg http://www.paradigmasoft.com/V4RB_203fc5_mac.dmg http://www.paradigmasoft.com/VServer_Embedded_203fc5_mac.dmg From ktekinay at mactechnologies.com Fri Apr 29 23:14:29 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Apr 29 22:14:37 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E694FF@apvnyexch01.alfredpub.com> Message-ID: On 4/29/05 9:09 PM, Christopher Bishop at CBishop@alfred.com wrote: > Was anybody else able to download these new files? No, no luck here either. __________________________________________________________________________ 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 Sat Apr 30 09:33:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 30 01:33:29 2005 Subject: V4RB, V4MD, Vserver 2.0.3fc5 for Mac uploaded In-Reply-To: Message-ID: On 4/30/05 1:33 AM, "Ruslan Zasukhin" wrote: Argh, the URL should contains word download mac: http://www.paradigmasoft.com/download/V4MD_203fc5_mac.dmg http://www.paradigmasoft.com/download/V4RB_203fc5_mac.dmg http://www.paradigmasoft.com/download/VServer_Embedded_203fc5_mac.dmg win: http://www.paradigmasoft.com/download/V4MD_203fc5_win.exe http://www.paradigmasoft.com/download/VServer_Embedded_203fc5_win.exe -- 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 robert at formworkdesign.com Sat Apr 30 20:57:50 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Apr 30 22:31:23 2005 Subject: v4rb2.0.3fc5 difficulties Message-ID: Is anyone testing this version with the new vServer of the same release? I'm getting nowhere. I got all excited, thinking my problems were solved when I noticed the VServer_Embedded.ini file establishes the listening port on 15433. Doesn't the client use 15432 by default? Anyway, changing the .ini file to use port 15432 didn't help anything. I'm just trying to run the classes_way example "table_create" in server mode. I've changed gClient to TRUE in the exampletools.rbo module, but trying to run the example, my debug app shuts down at the vDatabase constructor: VDatabase(host, user, password) I don't even get to the point where I try to connect to the server. RB seems aware of the vDatabase class. Other than checking for that, I'm lost. Has anyone achieved success with this? Anyone willing to try "table_create" with the v4rb client on a Mac. Another thought - is the fact that I'm now testing the embedded version of the server significant? When I fire it up in the Terminal, as I did with vServer (not embedded), the Terminal reports a successful start. I'm assuming there is no significance in this test that Ruslan has given us vServer_Embedded, and not the stand alone vServer. Thanks in advance for any insight. Robert