From sunshine at public.kherson.ua Wed Jun 1 11:39:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 03:39:19 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: Message-ID: On 6/1/05 2:46 AM, "Charles Yeomans" wrote: Hi Charles, > Is VDatabase.Close called somewhere in a destructor? I recall that > this was a bit of an issue with V4Rb 1, at least for Windows. You mean automatically ? Yes kernel defend self from such mistake. But still will be good if developer do db.close db = nil -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 1 09:05:55 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Wed Jun 1 08:06:17 2005 Subject: v4rb 2.0.3 - db files remains open after quit Message-ID: <619727BF-C06A-4027-8022-EDFBBE95CEEA@formworkdesign.com> Ruslan, I have a small app which can create db files, following your "class way" example. But after quiting, and attempting to restart, I get the following vexception: File "Volume: testGTDdb: Embedded File: 0x600030000" is already open. This even without creating any cursors - just creating the db files, the closing the the db, nilling the db, then shutting down valentina. What is this, and how can I stop it? Thanks. Robert Nichols robert@formworkdesign.com From yeomans at desuetude.com Wed Jun 1 10:37:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 09:37:43 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: On Jun 1, 2005, at 4:39 AM, Ruslan Zasukhin wrote: > On 6/1/05 2:46 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> Is VDatabase.Close called somewhere in a destructor? I recall that >> this was a bit of an issue with V4Rb 1, at least for Windows. > > You mean automatically ? > > Yes kernel defend self from such mistake. > > But still will be good if developer do > > db.close > db = nil I don't see why it is a mistake not to call Close. Indeed, it is a mistake in my opinion for there to be a Close method. Perhaps you've heard of "resource acquisition is initialization" ... :) -------------- Charles Yeomans From rjb at robelko.com Wed Jun 1 16:56:30 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Jun 1 10:09:06 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: > >I don't see why it is a mistake not to call Close. Indeed, it is a >mistake in my opinion for there to be a Close method. Perhaps >you've heard of "resource acquisition is initialization" ... :) > >-------------- >Charles Yeomans > Charles, I am not sure why you think that there should not be a database close method. Or am I misunderstanding? Imagine a program that can open multiple databases in the course of an execution, think databases as different documents or datasets. If there was no option to close a database, any of the databases would stay open until program quits, requiring substantially more resources. If users says, he/she is done with a given dataset (database), we should be able to close it and free resources for another one. Robert From sunshine at public.kherson.ua Wed Jun 1 19:00:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 11:00:48 2005 Subject: v4rb 2.0.3 - db files remains open after quit In-Reply-To: <619727BF-C06A-4027-8022-EDFBBE95CEEA@formworkdesign.com> Message-ID: On 6/1/05 4:05 PM, "Robert Nichols" wrote: > Ruslan, > > I have a small app which can create db files, following your "class > way" example. But after quiting, and attempting to restart, I get the > following vexception: > > File "Volume: testGTDdb: Embedded File: 0x600030000" is already open. > > > This even without creating any cursors - just creating the db files, > the closing the the db, nilling the db, then shutting down valentina. > > What is this, and how can I stop it? Hi Robert, Can you send it to us ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 1 19:03:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 11:03:22 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: Message-ID: On 6/1/05 5:37 PM, "Charles Yeomans" wrote: >>> Is VDatabase.Close called somewhere in a destructor? I recall that >>> this was a bit of an issue with V4Rb 1, at least for Windows. >> >> You mean automatically ? >> >> Yes kernel defend self from such mistake. >> >> But still will be good if developer do >> >> db.close >> db = nil > > I don't see why it is a mistake not to call Close. Indeed, it is a > mistake in my opinion for there to be a Close method. Perhaps you've > heard of "resource acquisition is initialization" ... :) What about this: db = new ... db.open ... db.close db.open ... db.close db = nil As you see each action which allocate resources have pair which deallocate 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 yeomans at desuetude.com Wed Jun 1 12:28:02 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 11:28:10 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: <1e843c4b328c5809c51d93bebd803aab@desuetude.com> On Jun 1, 2005, at 12:03 PM, Ruslan Zasukhin wrote: > On 6/1/05 5:37 PM, "Charles Yeomans" wrote: > >>>> Is VDatabase.Close called somewhere in a destructor? I recall that >>>> this was a bit of an issue with V4Rb 1, at least for Windows. >>> >>> You mean automatically ? >>> >>> Yes kernel defend self from such mistake. >>> >>> But still will be good if developer do >>> >>> db.close >>> db = nil >> >> I don't see why it is a mistake not to call Close. Indeed, it is a >> mistake in my opinion for there to be a Close method. Perhaps you've >> heard of "resource acquisition is initialization" ... :) > > What about this: > > db = new ... > > db.open > ... > db.close > > > db.open > ... > db.close > > > db = nil > > > As you see each action which allocate resources have pair which > deallocate > them. You could do this; you could just as easily do db = new VDatabase db.Open db = nil db = new VDatabase db.Open db = nil db = new VDatabase db.Open db = nil My point is that it is correct behavior for VDatabase.Close to be called in the destructor, and it would be a mistake to require the developer to call Close explicitly, except say in the example you gave. As I am sure you know, the idea of "resource acquisition is initialization" is to use destructors to ensure that resources are released, and that they are not released while someone is still using the object. -------------- Charles Yeomans From yeomans at desuetude.com Wed Jun 1 12:31:34 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 11:31:48 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: <8a52ba4d705561df062b5e9352e6ada7@desuetude.com> On Jun 1, 2005, at 10:56 AM, Robert Brenstein wrote: >> >> I don't see why it is a mistake not to call Close. Indeed, it is a >> mistake in my opinion for there to be a Close method. Perhaps you've >> heard of "resource acquisition is initialization" ... :) >> >> -------------- >> Charles Yeomans >> > > Charles, I am not sure why you think that there should not be a > database close method. Or am I misunderstanding? Imagine a program > that can open multiple databases in the course of an execution, think > databases as different documents or datasets. If there was no option > to close a database, any of the databases would stay open until > program quits, requiring substantially more resources. If users says, > he/she is done with a given dataset (database), we should be able to > close it and free resources for another one. Sure. And a database should be closed when the object is destroyed, as I say in another message. I shouldn't need to call VDatabase.Close explicitly in REALbasic, because REALbasic has destructors, as opposed to Java, for example. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Jun 1 20:29:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 12:29:20 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: <1e843c4b328c5809c51d93bebd803aab@desuetude.com> Message-ID: On 6/1/05 7:28 PM, "Charles Yeomans" wrote: >> What about this: >> >> db = new ... >> >> db.open >> ... >> db.close >> >> >> db.open >> ... >> db.close >> >> >> db = nil >> >> >> As you see each action which allocate resources have pair which >> deallocate >> them. > > You could do this; you could just as easily do > > db = new VDatabase > db.Open > db = nil > > db = new VDatabase > db.Open > db = nil > > db = new VDatabase > db.Open > db = nil > > My point is that it is correct behavior for VDatabase.Close to be > called in the destructor, and it would be a mistake to require the > developer to call Close explicitly, except say in the example you gave. > As I am sure you know, the idea of "resource acquisition is > initialization" is to use destructors to ensure that resources are > released, and that they are not released while someone is still using > the object. Not agree Charles. Because db = new VDatabase db = nil Work with RAM instance of class Vdatabase. But Create()/Close() work with file state. This are 2 quite different operations. Also I can tell you, that in our C++ sources, we always very carefully split code which create INSTANCE of class and which do something else. Mixing of such operations always bring your traps. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 1 20:32:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 12:32:35 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: <8a52ba4d705561df062b5e9352e6ada7@desuetude.com> Message-ID: On 6/1/05 7:31 PM, "Charles Yeomans" wrote: >> Charles, I am not sure why you think that there should not be a >> database close method. Or am I misunderstanding? Imagine a program >> that can open multiple databases in the course of an execution, think >> databases as different documents or datasets. If there was no option >> to close a database, any of the databases would stay open until >> program quits, requiring substantially more resources. If users says, >> he/she is done with a given dataset (database), we should be able to >> close it and free resources for another one. > > Sure. And a database should be closed when the object is destroyed, as > I say in another message. I shouldn't need to call VDatabase.Close > explicitly in REALbasic, because REALbasic has destructors, as opposed > to Java, for example. Charles, What you try point is not very correct. IMHO. IT will be correct IF constructor do automatic open(). But it not do this. Technique which you describe is very common for C++ developers. constructor do some action destructor do its alternative. I will not explain advantages of this technique. They are described in the "C++ PL" of Stroustrup. MAY BE btw, this technique can be useful for RB developers! I think 100% can be used. Than more that now RB have exceptions.. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 1 13:47:35 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 12:47:40 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: <94c23c98d8c15d4d8f1e0054d3a1c4a5@desuetude.com> On Jun 1, 2005, at 1:29 PM, Ruslan Zasukhin wrote: > On 6/1/05 7:28 PM, "Charles Yeomans" wrote: > >>> What about this: >>> >>> db = new ... >>> >>> db.open >>> ... >>> db.close >>> >>> >>> db.open >>> ... >>> db.close >>> >>> >>> db = nil >>> >>> >>> As you see each action which allocate resources have pair which >>> deallocate >>> them. >> >> You could do this; you could just as easily do >> >> db = new VDatabase >> db.Open >> db = nil >> >> db = new VDatabase >> db.Open >> db = nil >> >> db = new VDatabase >> db.Open >> db = nil >> >> My point is that it is correct behavior for VDatabase.Close to be >> called in the destructor, and it would be a mistake to require the >> developer to call Close explicitly, except say in the example you >> gave. > >> As I am sure you know, the idea of "resource acquisition is >> initialization" is to use destructors to ensure that resources are >> released, and that they are not released while someone is still using >> the object. > > Not agree Charles. > > Because > > db = new VDatabase > db = nil > > Work with RAM instance of class Vdatabase. > But Create()/Close() work with file state. > > This are 2 quite different operations. > > Also I can tell you, that in our C++ sources, we always very carefully > split > code which create INSTANCE of class and which do something else. > Mixing of > such operations always bring your traps. But constructors and destructors in REALbasic behave differently than they do in C++. In REALbasic, destructors are always called, for instance, whether or not the constructor succeeds. They are essentially hooks that allow one to execute some code immediately after object creation and immediately before object destruction. -------------- Charles Yeomans From yeomans at desuetude.com Wed Jun 1 13:49:57 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 12:50:00 2005 Subject: [V4Rb 2] VCursor question Message-ID: <811efde82d997a2ed1887e4ad71f6feb@desuetude.com> Suppose I have two tables related by an ObjectPtr field that defines a 1-1 relation. Can I now get a read-write cursor containing fields from both tables? I'm considering mapping inheritance to the db structure by relating tables. Charles Yeomans From yeomans at desuetude.com Wed Jun 1 13:50:51 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 12:50:56 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: <41c1e8e65e34e223c10c8999e90c49fd@desuetude.com> On Jun 1, 2005, at 1:32 PM, Ruslan Zasukhin wrote: > On 6/1/05 7:31 PM, "Charles Yeomans" wrote: > >>> Charles, I am not sure why you think that there should not be a >>> database close method. Or am I misunderstanding? Imagine a program >>> that can open multiple databases in the course of an execution, think >>> databases as different documents or datasets. If there was no option >>> to close a database, any of the databases would stay open until >>> program quits, requiring substantially more resources. If users says, >>> he/she is done with a given dataset (database), we should be able to >>> close it and free resources for another one. >> >> Sure. And a database should be closed when the object is destroyed, >> as >> I say in another message. I shouldn't need to call VDatabase.Close >> explicitly in REALbasic, because REALbasic has destructors, as opposed >> to Java, for example. > > Charles, > > What you try point is not very correct. IMHO. > > IT will be correct IF constructor do automatic open(). > But it not do this. > > Technique which you describe is very common for C++ developers. > constructor do some action > destructor do its alternative. > > I will not explain advantages of this technique. > They are described in the "C++ PL" of Stroustrup. Yes; I have read that section very carefully. The use of the constructor for acquisition certainly appeals to symmetry, but the key point of the technique is the use of the destructor to release the resource. Suppose you're writing some sort of socket class. Then you would not want to attempt to acquire the resource in the constructor, because socket connections can fail for many reasons, and generally a constructor should raise an exception if it fails (although one could instead craft a better definition of "succeed" in this case). But you would still want the destructor to release the port. > > MAY BE btw, this technique can be useful for RB developers! > I think 100% can be used. Than more that now RB have exceptions.. It certainly is useful for Rb; I use it a lot, and so does the Rb framework. Classes like BinaryStream, TextInputStream etc. use this scheme. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Jun 1 20:55:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 12:55:48 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: <94c23c98d8c15d4d8f1e0054d3a1c4a5@desuetude.com> Message-ID: On 6/1/05 8:47 PM, "Charles Yeomans" wrote: > But constructors and destructors in REALbasic behave differently than > they do in C++. In REALbasic, destructors are always called, for > instance, whether or not the constructor succeeds. Nothing good here. C++ gurus have agree that no sense call destructor for non-complete object. You sure that RB do this ? Check this very carefully. IMHO REAL is going get big troubles then. > They are essentially hooks that allow one to execute some code immediately > after object creation after creation? You mean on fail of creation ? > and immediately before object destruction. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 1 21:06:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 13:06:51 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: <41c1e8e65e34e223c10c8999e90c49fd@desuetude.com> Message-ID: On 6/1/05 8:50 PM, "Charles Yeomans" wrote: >> I will not explain advantages of this technique. >> They are described in the "C++ PL" of Stroustrup. > > Yes; I have read that section very carefully. The use of the > constructor for acquisition certainly appeals to symmetry, but the key > point of the technique is the use of the destructor to release the > resource. But resources allocated by constructor!!!!!!!!!!! Open in your example is not made by constructor. Look. For open close exists such simple example, and I have use it in Valentina kernel class StFileKeeper { StFileKeeper( File* inFile ) { mpFile = inFile; // we usually store object mpFile.Open(); } ~StFileKeeper( void ) { mpFile.Close(); } File* mpFile; }; This simple class now allow me write such code as Func() { StFileKeeper keeper( f ); // this do open // do some work... f.read() } Without such class I need write Func() { f.open() try { // do some work... f.read() } catch(...) { f.close() } f.close() } As you see it save me many lines of code. Also note in name prefix St, this is form STACK. Because this technique works only for variable that we create on stack. So it is good idea underline this in name of class. Also note important difference!!! this technique means that you have one MAIN class as File. and one small utility class which have only constructor and destructor. What you suggest is that MAIN class' destructor do this collection of garbage. And we do this. But again, from point of symmetry the open() should have close() > Suppose you're writing some sort of socket class. Then you > would not want to attempt to acquire the resource in the constructor, > because socket connections can fail for many reasons, and generally a > constructor should raise an exception if it fails (although one could > instead craft a better definition of "succeed" in this case). But you > would still want the destructor to release the port. Right., if you look on any socket class you will see that exists constructor -- create instance destructor open close Open and close can fail, so RIGT, you should wrap them by try-catch. And you can use this technique in C++ and in REALbasic to be lazy and write smaller code. Btw, I think this is good TIP for all RB users. So I CC to NUG. >> MAY BE btw, this technique can be useful for RB developers! >> I think 100% can be used. Than more that now RB have exceptions.. > > It certainly is useful for Rb; I use it a lot, and so does the Rb > framework. Classes like BinaryStream, TextInputStream etc. use this > scheme. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 1 21:07:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 1 13:07:41 2005 Subject: [V4Rb 2] VCursor question In-Reply-To: <811efde82d997a2ed1887e4ad71f6feb@desuetude.com> Message-ID: On 6/1/05 8:49 PM, "Charles Yeomans" wrote: > Suppose I have two tables related by an ObjectPtr field that defines a > 1-1 relation. Can I now get a read-write cursor containing fields from > both tables? I'm considering mapping inheritance to the db structure > by relating tables. Frankly saying not remember Charles. Please test it in small project and if not work, Then add to Mantis request and send us 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 yeomans at desuetude.com Wed Jun 1 14:28:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 13:28:38 2005 Subject: [V4Rb 2] VDatabase.Close In-Reply-To: References: Message-ID: <2e7439317c021cb95b5d3ccff2c8e7db@desuetude.com> On Jun 1, 2005, at 1:55 PM, Ruslan Zasukhin wrote: > On 6/1/05 8:47 PM, "Charles Yeomans" wrote: > >> But constructors and destructors in REALbasic behave differently than >> they do in C++. In REALbasic, destructors are always called, for >> instance, whether or not the constructor succeeds. > > Nothing good here. > C++ gurus have agree that no sense call destructor for non-complete > object. > > You sure that RB do this ? > Check this very carefully. I have checked it carefully. Keep in mind that a REALbasic constructor might more properly be called an "initializer"; the object is ready to go before the constructor is called. > > IMHO REAL is going get big troubles then. > >> They are essentially hooks that allow one to execute some code >> immediately >> after object creation > > after creation? You mean on fail of creation ? If object creation fails, then I don't know what happens; maybe an OutOfMemoryException. In that case I'd expect that the constructor is never called. > >> and immediately before object destruction. > -------------- Charles Yeomans From yeomans at desuetude.com Wed Jun 1 17:26:01 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 1 16:26:07 2005 Subject: [V4Rb 2] VCursor.AddRecord Message-ID: <6047114de13fb30d44675387fc69ad90@desuetude.com> What is the meaning of the integer returned by VCursor.AddRecord? -------------- Charles Yeomans From valentina at dlpedi.com Thu Jun 2 09:06:13 2005 From: valentina at dlpedi.com (valentina@dlpedi.com) Date: Wed Jun 1 18:07:17 2005 Subject: Valentina Newbie In-Reply-To: Message-ID: <005001c566fe$81be0ed0$ae00a8c0@DamonsPC> Hi Guys, This will be the first of many dumb questions vt.Field("OName").SetString("Admin") vt.Field("OPassword").setString("Admin") vt.DateField("Odob").set(2007,1,1) v=vt.addrecord() msgBox v This does not set the date, when I read it the result is 0-00-00 What dumb thing have I done? Thanks Damon From sunshine at public.kherson.ua Thu Jun 2 09:05:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 01:06:00 2005 Subject: Valentina Newbie In-Reply-To: <005001c566fe$81be0ed0$ae00a8c0@DamonsPC> Message-ID: On 6/2/05 2:06 AM, "valentina@dlpedi.com" wrote: > Hi Guys, > This will be the first of many dumb questions > vt.Field("OName").SetString("Admin") > vt.Field("OPassword").setString("Admin") > vt.DateField("Odob").set(2007,1,1) > > v=vt.addrecord() > msgBox v > > This does not set the date, when I read it the result is 0-00-00 > > What dumb thing have I done? Please try it as vt.DateField("Odob").setString("1/1/2007") If this works then may be bug in set(). -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 2 09:07:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 01:07:20 2005 Subject: [V4Rb 2] VCursor.AddRecord In-Reply-To: <6047114de13fb30d44675387fc69ad90@desuetude.com> Message-ID: On 6/2/05 12:26 AM, "Charles Yeomans" wrote: > What is the meaning of the integer returned by VCursor.AddRecord? I think it is index in the cursor. For cursor no many sense. Just in our C++ API cursor is a table also. So it have the same API for Table functions as AddRecord(). In future we hope for V4RB also have interfaces, So we bring this to V4RB 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 daisychain at iinet.net.au Thu Jun 2 16:37:40 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jun 2 01:37:45 2005 Subject: Valentina Newbie In-Reply-To: Message-ID: <00a401c5673d$92f93a00$ae00a8c0@DamonsPC> After more work I found it does work, it just does not display in the Realbasic IDE, when I do a SQL query it returns the correct value. To display as a string we use vt.dateField("oDOB").getString() which returns a string. > Hi Guys, > This will be the first of many dumb questions > vt.Field("OName").SetString("Admin") > vt.Field("OPassword").setString("Admin") > vt.DateField("Odob").set(2007,1,1) > > v=vt.addrecord() > msgBox v > > This does not set the date, when I read it the result is 0-00-00 > > What dumb thing have I done? Please try it as vt.DateField("Odob").setString("1/1/2007") If this works then may be bug in set(). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Jun 2 12:07:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 04:07:43 2005 Subject: FIXED: 2.0.3 V4RB Win Object Pointer In-Reply-To: <16723851.1117564909681.JavaMail.root@wamui-hybrid.atl.sa.earthlink.net> Message-ID: On 5/31/05 9:41 PM, "Anna Kritselis" wrote: > Hi Ruslan, > > When I use the debugger to look at field information my project crashes. I > specifically wanted to make sure that my object pointer target tables were > correct. When I click on the field name - the project crashes - not only with > pointer fields, but others as well. I have attached my project - > > Anna -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jun 2 11:40:17 2005 From: ernestogiannotta at tiscalinet.it (Erne) Date: Thu Jun 2 04:40:30 2005 Subject: [V4Rb 2] VCursor.AddRecord In-Reply-To: References: Message-ID: <9898B2A8-B701-4719-AF5D-5CB01B94FE61@tiscalinet.it> Hello Ruslan, On 02-giu-05, at 08:07, Ruslan Zasukhin wrote: > On 6/2/05 12:26 AM, "Charles Yeomans" wrote: > > >> What is the meaning of the integer returned by VCursor.AddRecord? >> > > I think it is index in the cursor. > For cursor no many sense. > why can't we get the Recid of new record as in Table api? after all Vale should know... btw I can't remember, do we have now function to get recid of last added record? > Just in our C++ API cursor is a table also. > So it have the same API for Table functions as AddRecord(). > > In future we hope for V4RB also have interfaces, > So we bring this to V4RB also > mmm... If I understand it well this answers my question you don't want break oop model in cursor implementation I'm not deep enough into it so ignore it if I say something too stupid but... couldn't cursor be subclass of table and have own AddRecord() overridding parent's one so to be able return correct Recid info? Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From sunshine at public.kherson.ua Thu Jun 2 12:45:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 04:45:31 2005 Subject: [V4Rb 2] VCursor.AddRecord In-Reply-To: <9898B2A8-B701-4719-AF5D-5CB01B94FE61@tiscalinet.it> Message-ID: On 6/2/05 12:40 PM, "Erne" wrote: >>> What is the meaning of the integer returned by VCursor.AddRecord? >>> >> >> I think it is index in the cursor. >> For cursor no many sense. >> > > why can't we get the Recid of new record as in Table api? > after all Vale should know... Because I think future we will be able do AddRecord() For cursor built on 1:1 tables. Then you cannot say what table RecID to return > btw > I can't remember, do we have now function to get recid of last added > record? In SQL no. >> Just in our C++ API cursor is a table also. >> So it have the same API for Table functions as AddRecord(). >> >> In future we hope for V4RB also have interfaces, >> So we bring this to V4RB also >> > > mmm... If I understand it well this answers my question > you don't want break oop model in cursor implementation Right. In ideal we must be able use Cursor as Table. > I'm not deep enough into it so ignore it if I say something too > stupid but... > couldn't cursor be subclass of table and have own AddRecord() > overridding parent's one so to be able return correct Recid info? In ideal they must extend interface I_Table. -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jun 2 15:13:22 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jun 2 14:13:25 2005 Subject: [V4Rb2] VCursor.NextRecord Message-ID: Given a fresh new VCursor object, does VCursor.NextRecord go to the first record, if it exists? I have to say that I have long disliked the style If c.FirstRecord then Do Loop Until Not c.NextRecord End if . Charles From sunshine at public.kherson.ua Thu Jun 2 22:26:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 14:26:22 2005 Subject: [V4Rb2] VCursor.NextRecord In-Reply-To: Message-ID: On 6/2/05 10:13 PM, "Charles Yeomans" wrote: Hi Charles, > Given a fresh new VCursor object, does VCursor.NextRecord go to the > first record, if it exists? No. This is ODBC style -- new cursor has position BEFORE first record. Valentina style is -- we are on the first record. > I have to say that I have long disliked > the style > > If c.FirstRecord then > Do > > Loop Until Not c.NextRecord > End if Yes it is more long than ODBC style, but as for me it is more natural, Especially if think about prev(), what ODBC was not able do long time. FYI, in 2.0 we have introduce ODBC style also. Please check new functions: Table.EOF() .BOF() Cursor.EOF() .BOF() We have use them In RBDB api on C++ level. So if I not mistake this should work curs = ... while( curs.NextRecord_ODBC() ) ... end Aha, it seems we have not open them into REALbasic. Please add feature request for this 4 functions: bool FirstRecord_ODBC( void ); bool LastRecord_ODBC( void ); bool NextRecord_ODBC( void ); bool PrevRecord_ODBC( void ); -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From softil at onlinehome.de Thu Jun 2 23:50:37 2005 From: softil at onlinehome.de (SoftIl) Date: Thu Jun 2 16:50:46 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement Message-ID: <010801c567bd$1e4ba140$fe7aa8c0@ipsbasis> Hi, in MS SQL-Server I can write this: SELECT dbColumnName AS TempName FROM myTableName and the column "dbColumnName" is in the resulttable renamed to "TempName". How can I do this in an SELECT-Statement in Valentina? Thanks for your help Carsten From IvanSmahin at public.kherson.ua Fri Jun 3 00:54:31 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Jun 2 16:54:30 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement In-Reply-To: <010801c567bd$1e4ba140$fe7aa8c0@ipsbasis> References: <010801c567bd$1e4ba140$fe7aa8c0@ipsbasis> Message-ID: <1062918816.20050603005431@public.kherson.ua> Hello SoftIl, Friday, June 3, 2005, 12:50:37 AM, you wrote: S> Hi, S> in MS SQL-Server I can write this: S> SELECT dbColumnName AS TempName FROM myTableName S> and the column "dbColumnName" is in the resulttable renamed to "TempName". S> How can I do this in an SELECT-Statement in Valentina? SELECT dbColumnName AS 'TempName' FROM myTableName -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From yeomans at desuetude.com Thu Jun 2 20:27:12 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jun 2 19:27:23 2005 Subject: [V4Rb 2] Constructor overriding problem Message-ID: <2628428e5344f22d1a7674e8cc4c247c@desuetude.com> I've encountered an interesting little problem. I'd like to override the VDatabase constructor for creating a remote db object, but I can't, because REALbasic doesn't believe that VDatabase has such a constructor. It only sees the local db constructor (whose name should be changed to "Constructor" to conform to the way REALbasic works now). -------------- Charles Yeomans From yeomans at desuetude.com Thu Jun 2 21:37:08 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jun 2 20:37:20 2005 Subject: [V4Rb 2] VDatabase.Open problem Message-ID: I was attempting to call VDatabase.Open for a remote database that had not been registered in the master db. But Open returned without raising an exception or setting an error code. This seems like a bug... -------------- Charles Yeomans From cindy at kowhaiprogramming.com Fri Jun 3 14:49:18 2005 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu Jun 2 21:49:29 2005 Subject: V4RB v1.x: Apostrophe in SQL Query Message-ID: Hi, How can I exclude the ' apostrophe character in an SQL Query. For example, Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O\'\Connor but that doesn't seem to work at all. Any help would be appreciated. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From jda at his.com Thu Jun 2 22:56:45 2005 From: jda at his.com (jda) Date: Thu Jun 2 21:56:56 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: References: Message-ID: >Hi, > >How can I exclude the ' apostrophe character in an SQL Query. For example, >Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O\'\Connor >but that doesn't seem to work at all. > >Any help would be appreciated. > Did you try 'O\'Connor' ? Jon From jules.jacquot at wanadoo.fr Fri Jun 3 05:39:48 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Jun 2 22:38:34 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: References: Message-ID: <2300A9A2-6DE4-4C5D-971E-936D4BCA9560@wanadoo.fr> Le 3 juin 05 ? 04:49, Cindy Brown a ?crit : > Hi, > > How can I exclude the ' apostrophe character in an SQL Query. For > example, > Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O > \'\Connor > but that doesn't seem to work at all. try 'O''Connor' best jules > > Any help would be appreciated. > > -- > > Cindy Brown > Programmer > SchoolMaster > > Kowhai Programming Systems > PO Box 198, Invercargill > 81 Marama Avenue South, 9RD Invercargill > Phone (03) 213 1243 > Fax (03) 213 1248 > Mobile (021) 354 930 > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From sunshine at public.kherson.ua Fri Jun 3 07:58:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 23:58:16 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: <2628428e5344f22d1a7674e8cc4c247c@desuetude.com> Message-ID: On 6/3/05 3:27 AM, "Charles Yeomans" wrote: Hi Charles, > I've encountered an interesting little problem. I'd like to override > the VDatabase constructor for creating a remote db object, but I can't, > because REALbasic doesn't believe that VDatabase has such a > constructor. It only sees the local db constructor (whose name should > be changed to "Constructor" to conform to the way REALbasic works now). Well, I think it is task of REALbasic correct work with ClassName = Constructor issue. About first problem: can you show some code what you do ? or send small 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 Fri Jun 3 07:58:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 23:58:46 2005 Subject: [V4Rb 2] VDatabase.Open problem In-Reply-To: Message-ID: On 6/3/05 4:37 AM, "Charles Yeomans" wrote: > I was attempting to call VDatabase.Open for a remote database that had > not been registered in the master db. But Open returned without > raising an exception or setting an error code. This seems like a > bug... Have you add it into 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 Fri Jun 3 07:59:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 2 23:59:50 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: Message-ID: On 6/3/05 5:56 AM, "jda" wrote: >> Hi, >> >> How can I exclude the ' apostrophe character in an SQL Query. For example, >> Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O\'\Connor >> but that doesn't seem to work at all. >> >> Any help would be appreciated. >> > > Did you try > > 'O\'Connor' Right, query should looks as: WHERE LastName = 'O\'Connor' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cindy at kowhaiprogramming.com Fri Jun 3 17:01:02 2005 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Jun 3 00:01:14 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: <2300A9A2-6DE4-4C5D-971E-936D4BCA9560@wanadoo.fr> Message-ID: Thanks Jules, I tried that but it didn't work. I even tried it in ViSQL but no go. Where am I going wron? Cindy >> Hi, >> >> How can I exclude the ' apostrophe character in an SQL Query. For >> example, >> Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O >> \'\Connor >> but that doesn't seem to work at all. > > try > > 'O''Connor' > > best > > jules From cindy at kowhaiprogramming.com Fri Jun 3 17:08:29 2005 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Jun 3 00:08:39 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: Message-ID: Thanks guys. That works fine. Cindy >> Did you try >> >> 'O\'Connor' > > Right, query should looks as: > > WHERE LastName = 'O\'Connor' From softil at onlinehome.de Fri Jun 3 08:00:28 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Jun 3 01:00:34 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement References: <010801c567bd$1e4ba140$fe7aa8c0@ipsbasis> <1062918816.20050603005431@public.kherson.ua> Message-ID: <000c01c56801$8d7aabd0$fe7aa8c0@ipsbasis> Hi Ivan, thanks for your very fast answer. But it dosen't work. :-( I tried it in ViSQL: SELECT record_id AS 'recIDBetrieb' FROM betriebe --> retuns 0 records SELECT record_id FROM betriebe --> returns 7 records If I try it in Valentina Studio, I get the Kernel error 603 return. Best regards, Carsten ----- Original Message ----- From: "Ivan Smahin" To: "Valentina Developers" Sent: Thursday, June 02, 2005 11:54 PM Subject: [Norton AntiSpam] Re: How can I use the "AS" Operator in an SELECT-Statement > Hello SoftIl, > > Friday, June 3, 2005, 12:50:37 AM, you wrote: > > S> Hi, > S> in MS SQL-Server I can write this: > > S> SELECT dbColumnName AS TempName FROM myTableName > > S> and the column "dbColumnName" is in the resulttable renamed to > "TempName". > > S> How can I do this in an SELECT-Statement in Valentina? > > > SELECT dbColumnName AS 'TempName' FROM myTableName > > > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ktekinay at mactechnologies.com Fri Jun 3 02:14:34 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Jun 3 01:14:39 2005 Subject: Counting related records Message-ID: I have a M::M BinaryLink between tables T1 and T2. For every T2 record, I want to get a count of the records that it's linked to in T1. Is there a way to do this in VStudio? __________________________________________________________________________ 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 jules.jacquot at wanadoo.fr Fri Jun 3 09:08:19 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Jun 3 02:07:08 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: References: Message-ID: Le 3 juin 05 ? 06:59, Ruslan Zasukhin a ?crit : > On 6/3/05 5:56 AM, "jda" wrote: > > >>> Hi, >>> >>> How can I exclude the ' apostrophe character in an SQL Query. For >>> example, >>> Select * FROM Students WHERE LastName = 'O'Connor'. I've tried O >>> \'\Connor >>> but that doesn't seem to work at all. >>> >>> Any help would be appreciated. >>> >>> >> >> Did you try >> >> 'O\'Connor' >> > > Right, query should looks as: > > WHERE LastName = 'O\'Connor' valentina doesn't follow the referrals of SQL92 ? :-)) best jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From IvanSmahin at public.kherson.ua Fri Jun 3 10:22:26 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 3 02:22:29 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement In-Reply-To: <000c01c56801$8d7aabd0$fe7aa8c0@ipsbasis> References: <010801c567bd$1e4ba140$fe7aa8c0@ipsbasis> <1062918816.20050603005431@public.kherson.ua> <000c01c56801$8d7aabd0$fe7aa8c0@ipsbasis> Message-ID: <875088256.20050603102226@public.kherson.ua> Hello SoftIl, Friday, June 3, 2005, 9:00:28 AM, you wrote: S> Hi Ivan, S> thanks for your very fast answer. S> But it dosen't work. :-( S> I tried it in ViSQL: S> SELECT record_id AS 'recIDBetrieb' FROM betriebe --> retuns 0 records S> SELECT record_id FROM betriebe --> returns 7 records S> If I try it in Valentina Studio, I get the Kernel error 603 return. Very strange. I just tried it self and got correct result. Anycase I don't see any relation between "AS" and record count in the result. Would you be so kind to send me "create table" script or database or something else for reproducing this problem? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Fri Jun 3 12:38:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 04:38:52 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: Message-ID: On 6/3/05 10:08 AM, "Jules Jacquot" wrote: >> Right, query should looks as: >> >> WHERE LastName = 'O\'Connor' > > valentina doesn't follow the referrals of SQL92 ? :-)) Cindy uses 1.x V4RB 2.0 support syntax which you have mention also -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 3 12:39:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 04:39:32 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement In-Reply-To: <875088256.20050603102226@public.kherson.ua> Message-ID: On 6/3/05 10:22 AM, "Ivan Smahin" wrote: > Hello SoftIl, > > Friday, June 3, 2005, 9:00:28 AM, you wrote: > > S> Hi Ivan, > S> thanks for your very fast answer. > S> But it dosen't work. :-( > > S> I tried it in ViSQL: > S> SELECT record_id AS 'recIDBetrieb' FROM betriebe --> retuns 0 records > S> SELECT record_id FROM betriebe --> returns 7 records > > S> If I try it in Valentina Studio, I get the Kernel error 603 return. > > Very strange. I just tried it self and got correct result. > Anycase I don't see any relation between "AS" and record count in the result. > Would you be so kind to send me "create table" script or database or something > else > for reproducing this problem? AS work only in 2.0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 3 12:41:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 04:41:45 2005 Subject: Counting related records In-Reply-To: Message-ID: On 6/3/05 9:14 AM, "Kem Tekinay" wrote: Hi Kem, > I have a M::M BinaryLink between tables T1 and T2. For every T2 record, I > want to get a count of the records that it's linked to in T1. Is there a way > to do this in VStudio? Yes, Using SQL query Please look into Valentina_SQL_2_en.pdf Section "Link Functions" Exist function as count_linked() So you can do query similar to: select *, count_linked( link_name ) from T2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From softil at onlinehome.de Fri Jun 3 13:58:27 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Jun 3 06:58:34 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement References: Message-ID: <001c01c56833$8f136180$fe7aa8c0@ipsbasis> Hi Ruslan, > AS work only in 2.0 and when will V 2.0 of VNET be available? Is there any other way to change the column name in the result table? In my real select statement I get 2 columns form 2 tables with the same name: SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id = s.masterRec_id) I've got 2 columns 'record_id' in the result table. How can I access to the record_id from company table and to the record_id from stable table? Best regards, Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, June 03, 2005 11:39 AM Subject: [Norton AntiSpam] Re: Re[2]: How can I use the "AS" Operator in an SELECT-Statement > On 6/3/05 10:22 AM, "Ivan Smahin" wrote: > >> Hello SoftIl, >> >> Friday, June 3, 2005, 9:00:28 AM, you wrote: >> >> S> Hi Ivan, >> S> thanks for your very fast answer. >> S> But it dosen't work. :-( >> >> S> I tried it in ViSQL: >> S> SELECT record_id AS 'recIDBetrieb' FROM betriebe --> retuns 0 >> records >> S> SELECT record_id FROM betriebe --> returns 7 records >> >> S> If I try it in Valentina Studio, I get the Kernel error 603 return. >> >> Very strange. I just tried it self and got correct result. >> Anycase I don't see any relation between "AS" and record count in the >> result. >> Would you be so kind to send me "create table" script or database or >> something >> else >> for reproducing this problem? > > AS work only in 2.0 > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Jun 3 15:10:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 07:10:44 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement In-Reply-To: <001c01c56833$8f136180$fe7aa8c0@ipsbasis> Message-ID: On 6/3/05 2:58 PM, "SoftIl" wrote: > Hi Ruslan, >> AS work only in 2.0 > and when will V 2.0 of VNET be available? I think 1.5-2 months yet > Is there any other way to change the column name in the result table? no > In my real select statement I get 2 columns form 2 tables with the same > name: > > SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from > company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id = > s.masterRec_id) > > I've got 2 columns 'record_id' in the result table. > How can I access to the record_id from company table and to the record_id > from stable table? Use access by index field( 3 ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From softil at onlinehome.de Fri Jun 3 14:49:14 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Jun 3 07:49:18 2005 Subject: How can I use the "AS" Operator in an SELECT-Statement References: Message-ID: <002901c5683a$a733aa20$fe7aa8c0@ipsbasis> >> Hi Ruslan, >>> AS work only in 2.0 >> and when will V 2.0 of VNET be available? > > I think 1.5-2 months yet Wow, that sounds god. > >> Is there any other way to change the column name in the result table? > > no :-( > >> In my real select statement I get 2 columns form 2 tables with the same >> name: >> >> SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from >> company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id = >> s.masterRec_id) >> >> I've got 2 columns 'record_id' in the result table. >> How can I access to the record_id from company table and to the record_id >> from stable table? > > Use access by index > > field( 3 ) This is not so easy. Because I've got wrote an VNET-DataProvider. In my common programm code, I havn't direct access to Valentina objects. I have only access to the .NET-DataTable. So I have to write an AS-converter in the VNET-DataProvider class that can translate it. Best regards, Carsten From ktekinay at mactechnologies.com Fri Jun 3 10:20:55 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Jun 3 09:21:06 2005 Subject: Counting related records In-Reply-To: Message-ID: On 6/3/05 5:41 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > So you can do query similar to: > > select *, count_linked( link_name ) > from T2 Perfect, that's just what I needed. Thanks. A small correction for anyone else following this. The proper syntax is: select *, count_linked(T2, link_name) from T2 Also, in VStudio, case matters for the link name. Is this a bug I should report to Mantis? __________________________________________________________________________ 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 yeomans at desuetude.com Fri Jun 3 10:53:51 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 3 09:54:01 2005 Subject: [V4Rb 2] VDatabase.Open problem In-Reply-To: References: Message-ID: On Jun 3, 2005, at 12:58 AM, Ruslan Zasukhin wrote: > On 6/3/05 4:37 AM, "Charles Yeomans" wrote: > >> I was attempting to call VDatabase.Open for a remote database that had >> not been registered in the master db. But Open returned without >> raising an exception or setting an error code. This seems like a >> bug... > > Have you add it into Mantis ? Oops; I forget that this system now exists. I'll do that. -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Jun 3 17:57:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 09:57:38 2005 Subject: Counting related records In-Reply-To: Message-ID: On 6/3/05 5:20 PM, "Kem Tekinay" wrote: > On 6/3/05 5:41 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> So you can do query similar to: >> >> select *, count_linked( link_name ) >> from T2 > > Perfect, that's just what I needed. Thanks. > > A small correction for anyone else following this. The proper syntax is: > > select *, count_linked(T2, link_name) from T2 > > Also, in VStudio, case matters for the link name. Is this a bug I should > report to Mantis? Only in Vstudio ? Or this is true for engine itself ? Yes, please report 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 Fri Jun 3 11:03:20 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 3 10:03:29 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: References: Message-ID: On Jun 3, 2005, at 12:58 AM, Ruslan Zasukhin wrote: > On 6/3/05 3:27 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> I've encountered an interesting little problem. I'd like to override >> the VDatabase constructor for creating a remote db object, but I >> can't, >> because REALbasic doesn't believe that VDatabase has such a >> constructor. It only sees the local db constructor (whose name should >> be changed to "Constructor" to conform to the way REALbasic works >> now). > > Well, I think it is task of REALbasic correct work with > > ClassName = Constructor issue. I think REALbasic has it correct and working. My suggestion is that constructors should now be named "Constructor". > > About first problem: > can you show some code what you do ? > or send small project The code is quite simple. Define a subclass QMDatabase of VDatabase. Then add the following method. Sub Constructor(inHost as String, inUserName as String, inUserPassword as String, inPort as Integer=15432, inTimeOut as Integer=60, inOptions as String="") Super.VDatabase(inHost as String, inUserName as String, inUserPassword as String, inPort as Integer=15432, inTimeOut as Integer=60, inOptions as String="") //subclass code to create VTable objects here End Sub REALbasic doesn't believe that there is such a method as Super.VDatabase with this signature; it only claims to know about the other VDatabase constructor. -------------- Charles Yeomans From ktekinay at mactechnologies.com Fri Jun 3 11:32:07 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Jun 3 10:32:29 2005 Subject: Counting related records In-Reply-To: Message-ID: On 6/3/05 10:57 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > > Only in Vstudio ? > > Or this is true for engine itself ? > > Yes, please report this I don't have time right now to test anything else, so I put it in as a report on the SQL Parser (#831). __________________________________________________________________________ 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 Jun 3 18:45:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 10:45:11 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: Message-ID: On 6/3/05 6:03 PM, "Charles Yeomans" wrote: >> About first problem: >> can you show some code what you do ? >> or send small project > > The code is quite simple. Define a subclass QMDatabase of VDatabase. > Then add the following method. > > Sub Constructor(inHost as String, inUserName as String, inUserPassword > as String, inPort as Integer=15432, inTimeOut as Integer=60, inOptions > as String="") > > Super.VDatabase(inHost as String, inUserName as String, > inUserPassword as String, inPort as Integer=15432, inTimeOut as > Integer=60, inOptions as String="") Of if just VDatabase ? > //subclass code to create VTable objects here > End Sub > > REALbasic doesn't believe that there is such a method as > Super.VDatabase with this signature; it only claims to know about the > other VDatabase constructor. -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jun 3 12:07:35 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 3 11:07:40 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: References: Message-ID: <341d89e24b7fc990fad3616d8388efbd@desuetude.com> On Jun 3, 2005, at 11:45 AM, Ruslan Zasukhin wrote: > On 6/3/05 6:03 PM, "Charles Yeomans" wrote: > >>> About first problem: >>> can you show some code what you do ? >>> or send small project >> >> The code is quite simple. Define a subclass QMDatabase of VDatabase. >> Then add the following method. >> >> Sub Constructor(inHost as String, inUserName as String, inUserPassword >> as String, inPort as Integer=15432, inTimeOut as Integer=60, inOptions >> as String="") >> >> Super.VDatabase(inHost as String, inUserName as String, >> inUserPassword as String, inPort as Integer=15432, inTimeOut as >> Integer=60, inOptions as String="") > > Of if just > > VDatabase > > ? I don't understand. I can call Super.VDatabase(inStorageType). It is the second constructor that cannot be called. Charles Yeomans From sunshine at public.kherson.ua Fri Jun 3 19:53:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 11:53:25 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: <341d89e24b7fc990fad3616d8388efbd@desuetude.com> Message-ID: On 6/3/05 7:07 PM, "Charles Yeomans" wrote: >>> Super.VDatabase(inHost as String, inUserName as String, >>> inUserPassword as String, inPort as Integer=15432, inTimeOut as >>> Integer=60, inOptions as String="") >> >> Of if just >> >> VDatabase >> >> ? > > I don't understand. I can call Super.VDatabase(inStorageType). It is > the second constructor that cannot be called. Have you try without word Super ? In our examples it seems we write just VDaatbase -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jun 3 13:12:25 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 3 12:12:30 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: References: Message-ID: On Jun 3, 2005, at 12:53 PM, Ruslan Zasukhin wrote: > On 6/3/05 7:07 PM, "Charles Yeomans" wrote: > >>>> Super.VDatabase(inHost as String, inUserName as String, >>>> inUserPassword as String, inPort as Integer=15432, inTimeOut as >>>> Integer=60, inOptions as String="") >>> >>> Of if just >>> >>> VDatabase >>> >>> ? >> >> I don't understand. I can call Super.VDatabase(inStorageType). It is >> the second constructor that cannot be called. > > Have you try without word Super ? > > In our examples it seems we write just VDaatbase I looked at the example. This worked for me-- Super.VDatabase(inHost, inUserName, inUserPassword) but this did not-- Super.VDatabase(inHost, inUserName, inUserPassword, inPort as Integer=15432, inTimeOut as Integer=60, inOptions as String="") And the following constructor does not work. db = new VDatabase(DBHost, w.UserName, w.UserPassword, 15432, 60, "") -------------- Charles Yeomans From jules.jacquot at wanadoo.fr Fri Jun 3 19:34:03 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Jun 3 12:32:46 2005 Subject: V4RB v1.x: Apostrophe in SQL Query In-Reply-To: References: Message-ID: <7BD1A5EE-491E-4D9D-9ED3-8F4BC3668BEE@wanadoo.fr> Le 3 juin 05 ? 11:38, Ruslan Zasukhin a ?crit : > > Cindy uses 1.x V4RB congratulations ruslan you know very well your users :-)) best jules ---------------------------------------- Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Fri Jun 3 20:47:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 12:47:56 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: Message-ID: On 6/3/05 8:12 PM, "Charles Yeomans" wrote: >>>>> Super.VDatabase(inHost as String, inUserName as String, >>>>> inUserPassword as String, inPort as Integer=15432, inTimeOut as >>>>> Integer=60, inOptions as String="") >>>> >>>> Of if just >>>> >>>> VDatabase >>>> >>>> ? >>> >>> I don't understand. I can call Super.VDatabase(inStorageType). It is >>> the second constructor that cannot be called. >> >> Have you try without word Super ? >> >> In our examples it seems we write just VDaatbase > > I looked at the example. This worked for me-- > > Super.VDatabase(inHost, inUserName, inUserPassword) > > but this did not-- > > Super.VDatabase(inHost, inUserName, inUserPassword, inPort as > Integer=15432, inTimeOut as Integer=60, inOptions as String="") But why you write here default parameters ? This is wrong. You do call of function, default params can be specified only when you declare function. > And the following constructor does not work. > > db = new VDatabase(DBHost, w.UserName, w.UserPassword, 15432, 60, "") -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 3 22:07:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 14:08:08 2005 Subject: FIXED: [V4MD2] Are queries case sensitive In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CED77C14@md-admin.ags.com> Message-ID: On 6/1/05 5:47 PM, "Wilk, Steven" wrote: > Ruslan, > > I have tried all of your ideas but still have problem with CASE in queries. > I am attaching a test Director file that was modified from your > Examples\API_way\Import_Export. It creates a database, sets the Collation > Attribute, creates a table, creates a fields, inserts data, and does a > query. After the query it displays the record count. It fines records if the > case matches exactly, but fines 0 records if not. > > Any thoughts? -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jun 3 16:07:00 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 3 15:07:12 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: References: Message-ID: On Jun 3, 2005, at 1:47 PM, Ruslan Zasukhin wrote: > On 6/3/05 8:12 PM, "Charles Yeomans" wrote: > >>>>>> Super.VDatabase(inHost as String, inUserName as String, >>>>>> inUserPassword as String, inPort as Integer=15432, inTimeOut as >>>>>> Integer=60, inOptions as String="") >>>>> >>>>> Of if just >>>>> >>>>> VDatabase >>>>> >>>>> ? >>>> >>>> I don't understand. I can call Super.VDatabase(inStorageType). It >>>> is >>>> the second constructor that cannot be called. >>> >>> Have you try without word Super ? >>> >>> In our examples it seems we write just VDaatbase >> >> I looked at the example. This worked for me-- >> >> Super.VDatabase(inHost, inUserName, inUserPassword) >> >> but this did not-- >> >> Super.VDatabase(inHost, inUserName, inUserPassword, inPort as >> Integer=15432, inTimeOut as Integer=60, inOptions as String="") > > But why you write here default parameters ? > This is wrong. You do call of function, default params can be > specified only > when you declare function. Right. What I mean to say is that I cannot pass any optional parameters when I call the constructor. So let me pose this problem -- why does the code below not work? > >> And the following constructor does not work. >> >> db = new VDatabase(DBHost, w.UserName, w.UserPassword, 15432, 60, "") -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Jun 3 23:55:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 3 15:56:02 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: Message-ID: On 6/3/05 11:07 PM, "Charles Yeomans" wrote: >> But why you write here default parameters ? >> This is wrong. You do call of function, default params can be >> specified only >> when you declare function. > > Right. What I mean to say is that I cannot pass any optional > parameters when I call the constructor. So let me pose this problem -- > why does the code below not work? Simple project for fast 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 daisychain at iinet.net.au Sat Jun 4 21:59:34 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sat Jun 4 06:59:49 2005 Subject: date time In-Reply-To: Message-ID: <001101c568fc$e0a9aa30$08bc09d2@HPlaptop> HI all, I am using Valentina for Realbasic 2.0 dbase.SQLExecute("Create Table EventLog(damon byte)") dbase.SQLExecute("Alter Table EventLog ADD LDateTime TimeStamp") dbase.SQLExecute("Alter Table EventLog ADD Loperator char(50)") dbase.SQLExecute("Alter Table EventLog ADD Levent char(100)") This creates the table fine. When I add a record I use O is the operator E is the event Dim d as date Dim s as string D=new date s="'"+format(d.year,"0000")+"-"+format(d.month,"00")+"-"+format(d.day,"0 0")+" "+format(d.hour,"00")+":"+format(d.minute,"00")+":"+format(d.second,"00" )+"'" s="INSERT INTO EventLog (Loperator,LDateTime,Levent) VALUES ('"+o+"',"+s+",'"+e+"')" main.dbase.sqlExecute(s) When I read this using r=new recordset r=main.dbase.sQLSelect("Select Loperator,Ldatetime,Levent from EventLog order BY LDateTime") r.movefirst listbox1.deleteAllRows i=0 while not r.eof listbox1.addrow r.idxField(1).stringValue listbox1.cell(i,1)=r.idxField(2).Value ' also tried .DateValue and .DateValue.longTime listbox1.cell(i,2)=r.idxField(3).stringValue i=i+1 r.movenext wend I have to use something like the above a the datacontrol and dataquery both return 0000-00-00 00:00:00 What am I missing as the dates that returned are not the correct date or time and they seem to be the same 4 date/time values at random positions in the list Thanks damon From IvanSmahin at public.kherson.ua Sat Jun 4 15:11:27 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Jun 4 07:11:33 2005 Subject: date time In-Reply-To: <001101c568fc$e0a9aa30$08bc09d2@HPlaptop> References: <001101c568fc$e0a9aa30$08bc09d2@HPlaptop> Message-ID: <77983086.20050604151127@public.kherson.ua> Hello Damon, Saturday, June 4, 2005, 2:59:34 PM, you wrote: DP> HI all, DP> I am using Valentina for Realbasic 2.0 DP> dbase.SQLExecute("Create Table EventLog(damon byte)") DP> dbase.SQLExecute("Alter Table EventLog ADD LDateTime TimeStamp") DP> dbase.SQLExecute("Alter Table EventLog ADD Loperator char(50)") DP> dbase.SQLExecute("Alter Table EventLog ADD Levent char(100)") DP> This creates the table fine. You should set appropriate date/time separators and formats before inserts. Obviously it is not '-' and not YMD for your locale. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From daisychain at iinet.net.au Sat Jun 4 22:22:21 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sat Jun 4 07:22:29 2005 Subject: date time In-Reply-To: <77983086.20050604151127@public.kherson.ua> Message-ID: <001201c56900$0f46c5a0$08bc09d2@HPlaptop> Hi Ivan I am using dbase=new VRBDataBase Which does not have the same separator and locate specifications as Vdatabase, and as such cannot be set. If you know a way that they can be set please tell me. Thanks Damon -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ivan Smahin Sent: Saturday, 4 June 2005 10:11 PM To: Valentina Developers Subject: Re: date time Hello Damon, Saturday, June 4, 2005, 2:59:34 PM, you wrote: DP> HI all, DP> I am using Valentina for Realbasic 2.0 DP> dbase.SQLExecute("Create Table EventLog(damon byte)") DP> dbase.SQLExecute("Alter Table EventLog ADD LDateTime TimeStamp") DP> dbase.SQLExecute("Alter Table EventLog ADD Loperator char(50)") DP> dbase.SQLExecute("Alter Table EventLog ADD Levent char(100)") DP> This creates the table fine. You should set appropriate date/time separators and formats before inserts. Obviously it is not '-' and not YMD for your locale. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sat Jun 4 17:08:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 4 09:08:34 2005 Subject: date time In-Reply-To: <001201c56900$0f46c5a0$08bc09d2@HPlaptop> Message-ID: On 6/4/05 3:22 PM, "Damon Pillinger" wrote: > Hi Ivan > > I am using > dbase=new VRBDataBase > > Which does not have the same separator and locate specifications as > Vdatabase, and as such cannot be set. If you know a way that they can be > set please tell me. Hi Damon, That is why I not recommend to use RBDB API. It can do less than Valentina native API. Do you have strong reasons to use RBDB API ? I think we need add ability to change this parameters via SQL, Then this can solve your task... May be to add way convert VRBDataBase into Vdatabase... As workaround for now you can try open db as vdatabase .. change parameter ... close it Then open it using VRBDataBase -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jun 4 16:08:38 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jun 4 15:08:44 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: References: Message-ID: On Jun 3, 2005, at 4:55 PM, Ruslan Zasukhin wrote: > On 6/3/05 11:07 PM, "Charles Yeomans" wrote: > >>> But why you write here default parameters ? >>> This is wrong. You do call of function, default params can be >>> specified only >>> when you declare function. >> >> Right. What I mean to say is that I cannot pass any optional >> parameters when I call the constructor. So let me pose this problem >> -- >> why does the code below not work? > > Simple project for fast test ? I'll whip one up; it appears to be an Rb 2005 problem. By the way, Rb 5.5 shows three constructors for VDatabase -- VDatabase(inServer) VDatabase(inHost, inUserName, inUserPassword, inPort, inOptions) VDat abase(inStorageType) The first is not mentioned in the documentation, and the second has a parameter list different from that of the documentation. ? -------------- Charles Yeomans From daisychain at iinet.net.au Sun Jun 5 08:37:22 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sat Jun 4 17:37:31 2005 Subject: date time In-Reply-To: Message-ID: <000001c56955$fa3aeeb0$08bc09d2@HPlaptop> Hi Ruslan, The reason I got Valentina was to use the RBDB API as the datacontrol allows me to bind the results of a query to editfields,listboxes etc... On the web site it says that I can use it. Are you telling me this is incorrect? Thanks Damon -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Sunday, 5 June 2005 12:08 AM To: valentina@lists.macserve.net Subject: Re: date time On 6/4/05 3:22 PM, "Damon Pillinger" wrote: > Hi Ivan > > I am using > dbase=new VRBDataBase > > Which does not have the same separator and locate specifications as > Vdatabase, and as such cannot be set. If you know a way that they can be > set please tell me. Hi Damon, That is why I not recommend to use RBDB API. It can do less than Valentina native API. Do you have strong reasons to use RBDB API ? I think we need add ability to change this parameters via SQL, Then this can solve your task... May be to add way convert VRBDataBase into Vdatabase... As workaround for now you can try open db as vdatabase .. change parameter ... close it Then open it using VRBDataBase -- Best regards, Ruslan Zasukhin VP 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 Sun Jun 5 11:35:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 5 03:35:50 2005 Subject: date time In-Reply-To: <000001c56955$fa3aeeb0$08bc09d2@HPlaptop> Message-ID: On 6/5/05 1:37 AM, "Damon Pillinger" wrote: Hi Damon, > Hi Ruslan, > The reason I got Valentina was to use the RBDB API as the datacontrol > allows me to bind the results of a query to editfields,listboxes etc... > > On the web site it says that I can use it. Are you telling me this is > incorrect? Yes you can, although as you see you get less features, At least now. IMHO RBDB is very poor. Yes I know that many other db solutions for RB use it, this is why we also add have support. But I have see very ugly things in RBDB. For example. DataControl. DO NOT USE IT!!! My advice. Why? Because I have see how REAL have made button PREV. They do for this curs.First then N times curs.Next() Image that you have 100,000 records, That you are on 88 555 record now. And you press button PREV. Terrbile. REALbasic will do loop in 88554 iterations. I think RB do this because many db engine just do not have cursor which can do PREV. but Valentina can do. Probably in future REAL will fix this, and they will ask engine: can you do PREV ? This was the most ugly thing I have see, But was some others. ------- Next, even Joe (REAL) have once told on list that he just develop self controls which manage database but not use DataControl. To make own simulations of "DataControl" you need only 10-15 minutes. But you will get full speed. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 5 11:36:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 5 03:36:48 2005 Subject: [V4Rb 2] Constructor overriding problem In-Reply-To: Message-ID: On 6/4/05 11:08 PM, "Charles Yeomans" wrote: >> Simple project for fast test ? > > I'll whip one up; it appears to be an Rb 2005 problem. By the way, Rb > 5.5 shows three constructors for VDatabase -- > > VDatabase(inServer) > VDatabase(inHost, inUserName, inUserPassword, inPort, inOptions) > VDat abase(inStorageType) > > The first is not mentioned in the documentation, and the second has a > parameter list different from that of the documentation. > > ? Okay, we will check 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 tjames1 at bigpond.net.au Mon Jun 6 13:06:59 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Sun Jun 5 22:05:35 2005 Subject: V4RB 1 - Win corrupt table not corrupt in Mac Message-ID: <389765ecb6b6f916bdefc17d43ec3ac2@bigpond.net.au> I have a DB that was causing a hard crash of a Win XP application when I tried to insert records into one particular table. The db table used to accept insert - application is running on Win XP (at 40+ sites also) After much debugging by copying the folder containing the .vdb, .ind, .dat files to a mac I could find nothing I then discovered that when I tried the insert on the XP machine (after a 2 hour car journey) - I could replicate the crash, but doing the same insert on a mac version using the copied DB no crash would occur? I then deleted all records from that table and the problem was solved. Previously I had reindexed (by command and dumping .ind file), diagnose - no errors found, Select * from the table all to no avail. Does this make sense to anyone (or Ruslan?). What is the best procedure for such a case XMLDump table and reload delete table and redefine in ADD Table command? insert into [backup duplicate table] with select from clause ? TIA Tim James From sunshine at public.kherson.ua Mon Jun 6 08:22:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 00:22:51 2005 Subject: V4RB 1 - Win corrupt table not corrupt in Mac In-Reply-To: <389765ecb6b6f916bdefc17d43ec3ac2@bigpond.net.au> Message-ID: On 6/6/05 6:06 AM, "Tim James" wrote: Hi Tim, > I have a DB that was causing a hard crash of a Win XP application when > I tried to insert records into one particular table. > > The db table used to accept insert - application is running on Win XP > (at 40+ sites also) > > After much debugging by copying the folder containing the .vdb, .ind, > .dat files to a mac I could find nothing > > I then discovered that when I tried the insert on the XP machine (after > a 2 hour car journey) - I could replicate the crash, but doing the same > insert on a mac version using the copied DB no crash would occur? > > I then deleted all records from that table and the problem was solved. > > Previously I had reindexed (by command and dumping .ind file), diagnose > - no errors found, Select * from the table all to no avail. > > > Does this make sense to anyone (or Ruslan?). Well, if db was created on MAC, then windows work in different way, it needs swap bytes. > What is the best procedure for such a case > > XMLDump table and reload Yes, because you get totally fresh database. > delete table and redefine in ADD Table command? This can fix only one table, Also you can do this only if this table do not have links to other tables. > insert into [backup duplicate table] with select from clause ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Mon Jun 6 08:34:32 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jun 6 01:33:22 2005 Subject: copyfileto Message-ID: <325623F2-1B45-49DD-A4FE-9BBA9E0A1350@wanadoo.fr> hi, ruslan in RB i have dab.CopyFileTo mybasebak where mybasebak is a folderitem which is located into the folder named savefolder how to translate copyfileto in Valentina ? thanks jules ------------------------------------------------------------------- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From info at vallemediatime.com Mon Jun 6 09:02:29 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Jun 6 02:02:40 2005 Subject: [V4MD] tableName variable query Message-ID: <000b01c56a65$b4960960$80241e97@vmtrm4p9ipbkv2> Hi Ruslan. I need to know how to write in a SQL query the tableName as variable e.g global gCursor on mBuild_gCursor me, Target, fieldNum, fieldPrefix, TableName gCursor = 0 go Target -- ok put TableName -- "STUDENTS" -- query = "SELECT RecID, * from STUDENTS" -- this works -- Look here: this don't works... query = "SELECT RecID, * from '" & TableName & "'" -- ...and give me a alert "unespected token: STUDENTSI" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) ... [cut] Thanks Paolo From sunshine at public.kherson.ua Mon Jun 6 10:08:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 02:09:21 2005 Subject: [V4MD] tableName variable query In-Reply-To: <000b01c56a65$b4960960$80241e97@vmtrm4p9ipbkv2> Message-ID: On 6/6/05 10:02 AM, "info@vallemediatime.com" wrote: Hi Paolo, > I need to know how to write in a SQL query the tableName as variable > -- query = "SELECT RecID, * from STUDENTS" -- this works > -- Look here: this don't works... > query = "SELECT RecID, * from '" & TableName & "'" > > -- ...and give me a alert "unespected token: STUDENTSI" Right, look on query which works. You do NOT have single quotes around STUDENTS So why you have them when you use concat ? Should be as query = "SELECT RecID, * from " & TableName -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 6 10:10:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 02:10:35 2005 Subject: copyfileto In-Reply-To: <325623F2-1B45-49DD-A4FE-9BBA9E0A1350@wanadoo.fr> Message-ID: On 6/6/05 9:34 AM, "Jules Jacquot" wrote: Hi Jules, > in RB i have > > dab.CopyFileTo mybasebak > > where mybasebak is a folderitem which is located into the folder > named savefolder > > how to translate copyfileto in Valentina ? I am sorry, I have not understand 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 info at vallemediatime.com Mon Jun 6 09:19:14 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Jun 6 02:19:19 2005 Subject: [V4MD] tableName variable query References: Message-ID: <000a01c56a68$0c298d80$2a081e97@vmtrm4p9ipbkv2> Thanks, it's very simple, but often I try complicated and bad solutions, sorry :-) ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Monday, June 06, 2005 9:08 AM Subject: Re: [V4MD] tableName variable query > On 6/6/05 10:02 AM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > I need to know how to write in a SQL query the tableName as variable > > > -- query = "SELECT RecID, * from STUDENTS" -- this works > > > > -- Look here: this don't works... > > query = "SELECT RecID, * from '" & TableName & "'" > > > > -- ...and give me a alert "unespected token: STUDENTSI" > > Right, look on query which works. > You do NOT have single quotes around STUDENTS > > So why you have them when you use concat ? > Should be as > > query = "SELECT RecID, * from " & TableName > > -- > Best regards, > > Ruslan Zasukhin > VP 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.322 / Virus Database: 267.5.1 - Release Date: 02/06/2005 > > From IvanSmahin at public.kherson.ua Mon Jun 6 11:32:52 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 6 03:32:58 2005 Subject: Help me please with Revolution Message-ID: <1583883228.20050606113252@public.kherson.ua> Hello All, Could someone help me with such issue: Assume there is an empty window (card). Now I need to create a number of labels there *using script*. These labels look like pairs - name-value. Such pairs should be placed in a list manner - from top to bottom. I'm looking over Revolution help - but found nothing. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua [Everything is possible. The impossible just takes longer.] From IvanSmahin at public.kherson.ua Mon Jun 6 11:50:41 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 6 03:50:46 2005 Subject: Help me please with Revolution 2 Message-ID: <1812714309.20050606115041@public.kherson.ua> Hello All, Another question about Revolution usage. I have some helper stack. Actually there is table-browser stack. If I need to show table contents I just go to that one and perform some methods - here is no problem. But what should I do if I need to show two or more tables simultaneously? E.g. is it a way to use such stack as a class or template for creating as much window-instances as I need? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua [Everything is possible. The impossible just takes longer.] From peter.salomon at gmx.net Mon Jun 6 11:08:49 2005 From: peter.salomon at gmx.net (peter salomon) Date: Mon Jun 6 04:11:08 2005 Subject: [V4MD 0000751]: special characters on the mac In-Reply-To: <7784b29480e5d74c7ca76e6e6d0c9018@paradigma.ukrcom.kheron.ua> References: <7784b29480e5d74c7ca76e6e6d0c9018@paradigma.ukrcom.kheron.ua> Message-ID: <42A412A1.6040807@gmx.net> Hi Ruslan, What does this mean in practice: I want to have the solution: Vdatabase under control of VServer, Clients connect to VServer via Director Project, published as shockwave site Clients have Win OR Mac. If VDatabase has Latin1 encoding, must i expect problems with Win users? And if yes - what would you suggest to get around this? regards, Peter vbt@paradigma.ukrcom.kherson.ua wrote: >The following issue has been RESOLVED. >====================================================================== > >====================================================================== >Reported By: Peter Salomon >Assigned To: Igor Gomon >====================================================================== >Project: V4MD >Issue ID: 751 >Category: Localization >Reproducibility: always >Severity: block >Priority: normal >Status: resolved >Resolution: fixed >Fixed in Version: 2.0.4 >====================================================================== >Date Submitted: 05-07-2005 19:13 EEST >Last Modified: 06-02-2005 22:48 EEST >====================================================================== >Summary: special characters on the mac >Description: >special characters like ?,?,? (often used in german) can be written into >db, but director gets rubbish back. >problem exists ONLY on mac, in windows it works. >====================================================================== > >---------------------------------------------------------------------- > Ruslan Zasukhin - 06-02-05 22:48 >---------------------------------------------------------------------- >For director Vdatabase object must be assigned Latin1 encoding. >May be we need open to V4MD developers IOEncoding property. >This have sense only if Director really can work correctly work with other >encodings than Latin1. > >Also was corrected GetValueAux() to use Value_String::get_String() method >which use IO converter. > >Issue History >Date Modified Username Field Change >====================================================================== >05-07-05 19:13 Peter Salomon New Issue >05-07-05 20:13 Ruslan ZasukhinStatus new => assigned >05-07-05 20:13 Ruslan ZasukhinAssigned To => Igor Gomon >05-27-05 00:31 Peter Salomon Issue Monitored: Peter >06-02-05 22:48 Ruslan ZasukhinStatus assigned => resolved >06-02-05 22:48 Ruslan ZasukhinFixed in Version => 2.0.4 >06-02-05 22:48 Ruslan ZasukhinResolution open => fixed >06-02-05 22:48 Ruslan ZasukhinNote Added: 0000614 >====================================================================== > > > > From sunshine at public.kherson.ua Mon Jun 6 12:31:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 04:31:25 2005 Subject: [V4MD 0000751]: special characters on the mac In-Reply-To: <42A412A1.6040807@gmx.net> Message-ID: On 6/6/05 12:08 PM, "peter salomon" wrote: Hi Peter, > Hi Ruslan, > > What does this mean in practice: > I want to have the solution: > > Vdatabase under control of VServer, > Clients connect to VServer via Director Project, published as shockwave site > Clients have Win OR Mac. > > If VDatabase has Latin1 encoding, must i expect problems with Win users? > And if yes - what would you suggest to get around this? Peter, this bug have fix V4MD LOCAL problem when V4Md talk to Director. Task which you describe works right now (at least we think so :) Because this is talk between Vserver and Vclient. Vclient on connect says to Vserver which encoding it will use. Please start test all ASAP and be in touch with us if any 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 fvanlerberghe at freegates.be Mon Jun 6 14:16:09 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Jun 6 07:16:28 2005 Subject: [SQL] Reindex database versus Reindex each table Message-ID: Hello all, I'm using V4RB 1.11 with Relabasic. Is there a difference between the SQL command "REINDEX DATABASE" and the command "REINDEX TABLE tablename" done on each table of the database ? If it's the same, I tend to prefer doing this on each table to give the user a visual return of the progress And doing this, must I also perform the reindex on the baseobjects "sysItemDescription" and "sysItem" Thank you to enlight me on this subject. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Mon Jun 6 16:17:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 08:17:20 2005 Subject: [SQL] Reindex database versus Reindex each table In-Reply-To: Message-ID: On 6/6/05 3:16 PM, "Francois Van Lerberghe" wrote: > Hello all, > > I'm using V4RB 1.11 with Relabasic. > > Is there a difference between the SQL command "REINDEX DATABASE" and the > command "REINDEX TABLE tablename" done on each table of the database ? In general no, although REINDEX DATABASE also reindex system tables. > If it's the same, I tend to prefer doing this on each table to give the user > a visual return of the progress You can self reindex system tables also. They have names sysItems and sysItemDescription > And doing this, must I also perform the reindex on the baseobjects > "sysItemDescription" and "sysItem" To be the same yes > Thank you to enlight me on this subject. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Mon Jun 6 16:13:27 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jun 6 09:12:13 2005 Subject: copyfileto In-Reply-To: References: Message-ID: <5EC344B0-B80A-427E-A7E0-2EAC31A0448D@wanadoo.fr> Le 6 juin 05 ? 09:10, Ruslan Zasukhin a ?crit : > On 6/6/05 9:34 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> in RB i have >> >> dab.CopyFileTo mybasebak >> >> where mybasebak is a folderitem which is located into the folder >> named savefolder >> >> how to translate copyfileto in Valentina ? >> > > I am sorry, I have not understand question. sorry ruslan in the Folderitem class ( RB ) it exists one method called copyfileto i was being wrong calling Vdatabase instead folderitem sorry for that jules > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Mon Jun 6 19:15:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 11:15:37 2005 Subject: copyfileto In-Reply-To: <5EC344B0-B80A-427E-A7E0-2EAC31A0448D@wanadoo.fr> Message-ID: On 6/6/05 5:13 PM, "Jules Jacquot" wrote: >>> in RB i have >>> >>> dab.CopyFileTo mybasebak >>> >>> where mybasebak is a folderitem which is located into the folder >>> named savefolder >>> >>> how to translate copyfileto in Valentina ? >>> >> >> I am sorry, I have not understand question. > > sorry ruslan > > in the Folderitem class ( RB ) it exists one method called copyfileto > > i was being wrong calling Vdatabase instead folderitem > > sorry for that So problem solved ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jun 6 14:06:50 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Jun 6 14:12:45 2005 Subject: Difference be Message-ID: From yeomans at desuetude.com Mon Jun 6 18:35:58 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jun 6 17:36:04 2005 Subject: [V4Rb 2] Table not found error Message-ID: I have a database with one table. When I attempt to open it, VDatabase.Open raises an exception with the message Table "table_3" not found. Of course I don't have a table_3 anywhere. This problem occurs when I subclass VDatabase and create an instance of it. -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Jun 7 07:54:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 6 23:54:21 2005 Subject: [V4Rb 2] Table not found error In-Reply-To: Message-ID: On 6/7/05 1:35 AM, "Charles Yeomans" wrote: > I have a database with one table. When I attempt to open it, > VDatabase.Open raises an exception with the message > > Table "table_3" not found. > > Of course I don't have a table_3 anywhere. > > This problem occurs when I subclass VDatabase and create an instance of > it. Hi Charles, Way to 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 jules.jacquot at wanadoo.fr Tue Jun 7 07:32:54 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jun 7 00:31:38 2005 Subject: copyfileto In-Reply-To: References: Message-ID: <36EE06A4-7D87-48EE-9B71-09D5A00EB9C3@wanadoo.fr> Le 6 juin 05 ? 18:15, Ruslan Zasukhin a ?crit : > On 6/6/05 5:13 PM, "Jules Jacquot" wrote: > > >>>> in RB i have >>>> >>>> dab.CopyFileTo mybasebak >>>> >>>> where mybasebak is a folderitem which is located into the folder >>>> named savefolder >>>> >>>> how to translate copyfileto in Valentina ? >>>> >>>> >>> >>> I am sorry, I have not understand question. >>> >> >> sorry ruslan >> >> in the Folderitem class ( RB ) it exists one method called copyfileto >> >> i was being wrong calling Vdatabase instead folderitem >> >> sorry for that >> > > So problem solved ? yes, ruslan i was tired it's time for me, seen my age, to stop the programming for to work in my garden !!! best jules > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Tue Jun 7 09:02:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 7 01:02:47 2005 Subject: [OT] project manager Message-ID: Hi All, Does anybody know any more or less good project manager? Better if it will be WEB based as Mantis bug tracker. -- Best regards, Ruslan Zasukhin VP Engineering 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 Tue Jun 7 13:12:04 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Jun 7 06:30:04 2005 Subject: [SQL] Reindex database versus Reindex each table In-Reply-To: Message-ID: le 6/06/05 15:17, Ruslan Zasukhin a ?crit?: >> I'm using V4RB 1.11 with Relabasic. >> >> Is there a difference between the SQL command "REINDEX DATABASE" and the >> command "REINDEX TABLE tablename" done on each table of the database ? > > In general no, although REINDEX DATABASE also reindex system tables. > > >> If it's the same, I tend to prefer doing this on each table to give the user >> a visual return of the progress > > You can self reindex system tables also. > They have names sysItems and sysItemDescription And how can I do that with V4RB 1.11 ? I've tried "REINDEX TABLE sysItemDescription" or "REINDEX TABLE sysItem" but got an error 602 "Table not found". Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Tue Jun 7 15:39:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 7 07:39:26 2005 Subject: [SQL] Reindex database versus Reindex each table In-Reply-To: Message-ID: On 6/7/05 2:12 PM, "Francois Van Lerberghe" wrote: >>> I'm using V4RB 1.11 with Relabasic. >>> >>> Is there a difference between the SQL command "REINDEX DATABASE" and the >>> command "REINDEX TABLE tablename" done on each table of the database ? >> >> In general no, although REINDEX DATABASE also reindex system tables. >> >> >>> If it's the same, I tend to prefer doing this on each table to give the user >>> a visual return of the progress >> >> You can self reindex system tables also. >> They have names sysItems and sysItemDescription > > And how can I do that with V4RB 1.11 ? > > I've tried "REINDEX TABLE sysItemDescription" or "REINDEX TABLE sysItem" but > got an error 602 "Table not found". Interesting. The names looks to be correct. Well, may be it not works in 1.x. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From tjames1 at bigpond.net.au Tue Jun 7 22:44:53 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Tue Jun 7 07:43:29 2005 Subject: V4RB 1 - Win corrupt table not corrupt in Mac In-Reply-To: References: Message-ID: <3dc1305305c7b8becd1a4db9398cc61b@bigpond.net.au> does this mean that it is better to create db on win rather than mac if win is target platform?? On 06/06/2005, at 3:22 PM, Ruslan Zasukhin wrote: > On 6/6/05 6:06 AM, "Tim James" wrote: > > Hi Tim, > >> I have a DB that was causing a hard crash of a Win XP application when >> I tried to insert records into one particular table. >> >> The db table used to accept insert - application is running on Win XP >> (at 40+ sites also) >> >> After much debugging by copying the folder containing the .vdb, .ind, >> .dat files to a mac I could find nothing >> >> I then discovered that when I tried the insert on the XP machine >> (after >> a 2 hour car journey) - I could replicate the crash, but doing the >> same >> insert on a mac version using the copied DB no crash would occur? >> >> I then deleted all records from that table and the problem was solved. >> >> Previously I had reindexed (by command and dumping .ind file), >> diagnose >> - no errors found, Select * from the table all to no avail. >> >> >> Does this make sense to anyone (or Ruslan?). > > Well, if db was created on MAC, then windows work in different way, it > needs > swap bytes. > >> What is the best procedure for such a case >> >> XMLDump table and reload > > Yes, because you get totally fresh database. > >> delete table and redefine in ADD Table command? > > This can fix only one table, > Also you can do this only if this table do not have links to other > tables. > >> insert into [backup duplicate table] with select from clause ? > > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 softil at onlinehome.de Tue Jun 7 15:47:23 2005 From: softil at onlinehome.de (SoftIl) Date: Tue Jun 7 08:47:27 2005 Subject: [VNET] Big Problem with select over 2 tables References: Message-ID: <001501c56b67$70ecfc70$fe7aa8c0@ipsbasis> Hi Ruslan, I still fighting with my alias problem. I solved the alias problem inside my code, but now I found a new big problem: If I use this statement: SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id =s.masterRec_id) I get the same values in both record_id-columns. The column with the stable recordID (s.record_id) contains the recordID from the company record (c.record_id). What I have to do, that I get the recordID form the company record and from the stable record in the same result record? Thanks for your help, Carsten From sunshine at public.kherson.ua Tue Jun 7 21:04:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 7 13:04:53 2005 Subject: [VNET] Big Problem with select over 2 tables In-Reply-To: <001501c56b67$70ecfc70$fe7aa8c0@ipsbasis> Message-ID: On 6/7/05 4:47 PM, "SoftIl" wrote: Hi Carsten, > Hi Ruslan, > I still fighting with my alias problem. > I solved the alias problem inside my code, > but now I found a new big problem: > > If I use this statement: > > SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from > company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id > =s.masterRec_id) > > I get the same values in both record_id-columns. > The column with the stable recordID (s.record_id) contains the recordID from > the company record (c.record_id). > > What I have to do, that I get the recordID form the company record and from > the stable record in the same result record? Sorry, I have not understand. You do join using condition c.record_id = s.masterRec_id) So of course columns SELECT c.record_id, s.record_id, Show you the same values. Because YOU ask for this. Or you ask about other 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 Tue Jun 7 21:05:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 7 13:05:24 2005 Subject: V4RB 1 - Win corrupt table not corrupt in Mac In-Reply-To: <3dc1305305c7b8becd1a4db9398cc61b@bigpond.net.au> Message-ID: On 6/7/05 3:44 PM, "Tim James" wrote: > does this mean that it is better to create db on win rather than mac if > win is target platform?? In general yes. If you can do this then DO this..you will avoid byte swaps -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From miescher at bizdata.com Tue Jun 7 17:32:15 2005 From: miescher at bizdata.com (John W. Miescher) Date: Tue Jun 7 13:43:06 2005 Subject: AW: Re[2]: AW: where is new Beta for WIN? In-Reply-To: <1664685106.20050607174306@public.kherson.ua> Message-ID: <1093952771-75482467@lindbergh.macserve.net> Hi Ivan, thanks for asking the right question. The field types were indeed different, my mistake, must have happened when I redesigned the DB vor Valentina 2. Now it works fine! Thanks for all your help and best regards, john m. Bizgraphic - Geneva John W. Miescher A: 81, ch. de la Seymaz V: CH-1253 Vandoeuvres T: +41 22 860 0182 F: +41 22 860 0183 E: miescher@bizdata.com -----Urspr?ngliche Nachricht----- Von: Ivan Smahin [mailto:IvanSmahin@public.kherson.ua] Gesendet: mardi, 7. juin 2005 16:43 An: miescher@bizdata.com Betreff: Re[2]: AW: where is new Beta for WIN? Hello John, Tuesday, June 7, 2005, 5:06:23 PM, you wrote: >>> can you tell me why the follwing statement that worked fine under >>> V1, throws up an error under V2: >> >> Select >> Products.ID, Products.Lang1, Products.Categ, Ingred.WATER from >> Products, Ingred >> where >> Products.ID =* Ingred.ID >> >>> The tables are not linked (I guess I did no know how), but have >>> identical ID fields which are unique on both sides >> Seems to be either: 1.Some of ID fields is ObjectPtr type Or 2. Products.ID and Ingred.ID "Value categories" are different. Could you show field types please? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From rjb at robelko.com Tue Jun 7 22:17:00 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 7 15:22:05 2005 Subject: Help me please with Revolution In-Reply-To: <1583883228.20050606113252@public.kherson.ua> References: <1583883228.20050606113252@public.kherson.ua> Message-ID: >Hello All, > > Could someone help me with such issue: > > Assume there is an empty window (card). > Now I need to create a number of labels there *using script*. > These labels look like pairs - name-value. > Such pairs should be placed in a list manner - from top to bottom. > > I'm looking over Revolution help - but found nothing. > > > >-- >Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > >[Everything is possible. The impossible just takes longer.] Ivan, you need to prefix your subject with [vxcmd] or [rev] so right people do not miss your post :) What you want to do is easy but it can be done in a number of ways. I suggest you contact me off the list with more details. I am not clear, for example, whether you want a scrolling list or a fixed or varied number of independent fields, whether you want to create them on the fly or precreate, etc, etc. Knowing what you want to achieve will help to give you better answers. Robert Brenstein From softil at onlinehome.de Tue Jun 7 22:43:25 2005 From: softil at onlinehome.de (SoftIl) Date: Tue Jun 7 15:43:27 2005 Subject: [VNET] Big Problem with select over 2 tables References: Message-ID: <001c01c56ba1$8fb04dd0$fe7aa8c0@ipsbasis> Hi Ruslan, > Sorry, I have not understand. No problem, my english isn't the best. > You do join using condition > c.record_id = s.masterRec_id) Correct. > > So of course columns > SELECT c.record_id, s.record_id, > > Show you the same values. > Because YOU ask for this. That's right. I get the same values, but the dataBase value for s.record_id is not the same as the dataBase value for c.record_id! Both values are different in the dataBase. Best regards Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, June 07, 2005 8:04 PM Subject: [Norton AntiSpam] Re: [VNET] Big Problem with select over 2 tables > On 6/7/05 4:47 PM, "SoftIl" wrote: > > Hi Carsten, > >> Hi Ruslan, >> I still fighting with my alias problem. >> I solved the alias problem inside my code, >> but now I found a new big problem: >> >> If I use this statement: >> >> SELECT c.record_id, c.companyNumber, s.record_id, s.stableNumber from >> company c, stable s WHERE (c.companyNumber = '14587') AND (c.record_id >> =s.masterRec_id) >> >> I get the same values in both record_id-columns. >> The column with the stable recordID (s.record_id) contains the recordID >> from >> the company record (c.record_id). >> >> What I have to do, that I get the recordID form the company record and >> from >> the stable record in the same result record? > > Sorry, I have not understand. > > You do join using condition > c.record_id = s.masterRec_id) > > So of course columns > SELECT c.record_id, s.record_id, > > Show you the same values. > Because YOU ask for this. > > Or you ask about other 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Jun 7 23:53:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 7 15:53:45 2005 Subject: [VNET] Big Problem with select over 2 tables In-Reply-To: <001c01c56ba1$8fb04dd0$fe7aa8c0@ipsbasis> Message-ID: On 6/7/05 11:43 PM, "SoftIl" wrote: > Hi Ruslan, >> Sorry, I have not understand. > No problem, my english isn't the best. > >> You do join using condition >> c.record_id = s.masterRec_id) > Correct. >> >> So of course columns >> SELECT c.record_id, s.record_id, >> >> Show you the same values. >> Because YOU ask for this. > That's right. > I get the same values, but the dataBase value for s.record_id is not the > same as the dataBase value for c.record_id! > Both values are different in the dataBase. Have you try rebuild 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 softil at onlinehome.de Tue Jun 7 23:27:14 2005 From: softil at onlinehome.de (SoftIl) Date: Tue Jun 7 16:27:19 2005 Subject: [VNET] Big Problem with select over 2 tables References: Message-ID: <002301c56ba7$af21de30$fe7aa8c0@ipsbasis> Hi Ruslan, > Have you try rebuild index ? Great, now it works fine. Thanks a lot, Carsten From SWILK at ags.com Wed Jun 8 14:02:23 2005 From: SWILK at ags.com (Wilk, Steven) Date: Wed Jun 8 13:02:32 2005 Subject: [V4MD 2] Anything different between Windows and Mac? Message-ID: <065445830D7F35439CE1BBEEB0CFF2CEE1C595@md-admin.ags.com> Just moved Director application and Valentina database from Windows machine where it was (developed and working correctly) to a Mac OSX machine. Queries that use any criteria on the Mac machine found no records, now if I do NOT use a WHERE clause in the query I found all the records. Is there anything I should know that needs to be different on the Mac from the Windows version? Thanks Steve From sunshine at public.kherson.ua Wed Jun 8 23:20:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 8 15:21:00 2005 Subject: [V4MD 2] Anything different between Windows and Mac? In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CEE1C595@md-admin.ags.com> Message-ID: On 6/8/05 9:02 PM, "Wilk, Steven" wrote: Hi Steven, > Just moved Director application and Valentina database from Windows machine > where it was (developed and working correctly) to a Mac OSX machine. > Queries that use any criteria on the Mac machine found no records, now if I > do NOT use a WHERE clause in the query I found all the records. Is there > anything I should know that needs to be different on the Mac from the > Windows version? It seems no. * Do you work with English ? * if browse db on mac records looks correct ? * try reindex db on mac. Let me 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 wonderfef at noos.fr Thu Jun 9 13:13:51 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Jun 9 06:13:59 2005 Subject: [V4RB-VServer] can't work with pictures Message-ID: <45561F76-B021-4017-A8C8-2102CD818140@noos.fr> Hello all, This is the first time I'm dealing with pictures and Valentina. I'm still using Valentina Server beta, because V2 is too buggy for now and I can't upgrade. I need to store a picture in two different VPicture fields : the full picture itself and a thumb copy. When I call "cursor.AddRecord", I have a 1009 error. Moreover, in the ValentinaServer's log file I can read : CURSOR(0x12D6EC0): Field index is too large! ERROR #1009: Invalid identifier What's wrong? Here is how my blank database is made : if theDatabase.Create(f, 5, 32 * 1024) = false then Return false end if dim vbo as VBaseObject vbo = theDatabase.CreateBaseObject("Pictures") call vbo.CreateVarCharField("ID", 30, "", "") call vbo.CreatePictureField("Thumb", 2 * 1024) vbo.Field("pixThumb").Nullable = true call vbo.CreatePictureField("Picture", 2 * 1024) vbo.Field("pixPicture").Nullable = true call vbo.CreateVarCharField("Name", 256, "French", "") Return true Thanks all for your help! Eric From IvanSmahin at public.kherson.ua Thu Jun 9 18:43:22 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Jun 9 10:43:30 2005 Subject: [V4REV] VTable_SortN syntax discussed. Message-ID: <1568714308.20050609184322@public.kherson.ua> Hello All, We are going to have VTable_SortN method in order to support multiple-fields table sorting. What do you think - how params should be looked? 1. put VTable_SortN( tblRef, setRef, fld1, inBoolAscending1, [ fld2, inBoolAscending2, fld3, inBoolAscending3, fld4, inBoolAscending4 ] ) INTO ArraySetRef Example: put VTable_SortN( t1,allSet, f1, true, f2, false ) 2. put VTable_SortN( tblRef, setRef, "fld1 inBoolAscending1", [ "fld2 [inBoolAscending2 = true]", "fld3 [inBoolAscending3 = true]", "fld4 [inBoolAscending4 = true]" ] ) INTO ArraySetRef Example: put VTable_SortN( t1,allSet, f1, "f2 false" ) Any ideas? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua [Everything is possible. The impossible just takes longer.] From sunshine at public.kherson.ua Thu Jun 9 18:50:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 9 10:50:54 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <45561F76-B021-4017-A8C8-2102CD818140@noos.fr> Message-ID: On 6/9/05 2:13 PM, "Eric Ferrer" wrote: Hi Eric, > This is the first time I'm dealing with pictures and Valentina. > I'm still using Valentina Server beta, because V2 is too buggy for > now and I can't upgrade. We will be thanks to you if you will point us bugs you meet. > I need to store a picture in two different VPicture fields : the full > picture itself and a thumb copy. > When I call "cursor.AddRecord", I have a 1009 error. > Moreover, in the ValentinaServer's log file I can read : > CURSOR(0x12D6EC0): Field index is too large! > ERROR #1009: Invalid identifier > > What's wrong? > > Here is how my blank database is made : > if theDatabase.Create(f, 5, 32 * 1024) = false then > Return false > end if > > dim vbo as VBaseObject > vbo = theDatabase.CreateBaseObject("Pictures") > > call vbo.CreateVarCharField("ID", 30, "", "") > call vbo.CreatePictureField("Thumb", 2 * 1024) > vbo.Field("pixThumb").Nullable = true > call vbo.CreatePictureField("Picture", 2 * 1024) > vbo.Field("pixPicture").Nullable = true > call vbo.CreateVarCharField("Name", 256, "French", "") > Return true All looks correct. Hard to say without project. Eric, can you tell me what bugs really stop you from 2.0 ? I do not see any reports from you in our bug tracker. -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jun 9 18:52:13 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Jun 9 10:52:12 2005 Subject: [V4REV] Error return value discussed. Message-ID: <852119348.20050609185213@public.kherson.ua> Hello All, We have some set of methods which return handle of kernel object. For example: VDatabase_SqlSelect method return handle of cursor. What should we return to script if exception in kernel occur? 1. "0" - it means bad handle. You can get kernel error number and string later - if needed. So script seems like: put VDatabase_SqlSelect( dbRef, "select * from t1" ) into cursorRef if cursorRef = 0 then -- Error end if 2. "ERROR " as handle value. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua [Everything is possible. The impossible just takes longer.] From wonderfef at noos.fr Fri Jun 10 09:26:22 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Jun 10 02:26:37 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: References: Message-ID: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Hi Ruslan, > Eric, can you tell me what bugs really stop you from 2.0 ? > I do not see any reports from you in our bug tracker. I still can't convert my database to v2 format. The Convert method always quits at 57.7 MB Moreover, I wish there were a "What has changed" read-me file so that I would know exactly what to change in my code and not discover changes through strange behaviours or posts in the list. To get back to my initial problem, you told me that the way I built my database is OK. So maybe my problem comes from the way I'm adding a picture : dim cursor as VCursor dim thumb, pix as picture dim id as string id = GetUniqueID() cursor = theDatabase.SqlSelect("SELECT * FROM Pictures WHERE ID = '" + id + "'", 2, 1) if cursor = nil then MsgBox "cursor is nil" Return end if cursor.SetBlank pix = NewPicture(myPicture.Width, myPicture.Height, 32) pix.Graphics.DrawPicture myPicture, 0, 0 thumb = NewPicture(32, 32, 32) thumb.Graphics.DrawPicture myPicture, 0, 0, 32, 32, 0, 0, myPicture.Width, myPicture.Height cursor.Field("ID").SetString id cursor.PictureField("Thumb").SetPicture(thumb, 100) cursor.PictureField("Picture").SetPicture(pix, 100) cursor.Field("Name").SetString trim(EditField1.Text) if cursor.add = false then MsgBox "can't add record" + EndOfLine + theDatabase.ErrString + " (#" + CStr(theDatabase.ErrNumber) + ")" else theDatabase.Flush close end if To finish, what do mean the errors : > CURSOR(0x12D6EC0): Field index is too large! > ERROR #1009: Invalid identifier ??? Thanks ! Eric From sunshine at public.kherson.ua Fri Jun 10 10:33:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 02:33:13 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Message-ID: On 6/10/05 10:26 AM, "Eric Ferrer" wrote: > > To finish, what do mean the errors : >> CURSOR(0x12D6EC0): Field index is too large! >> ERROR #1009: Invalid identifier > > ??? > > Thanks ! > Eric 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 Fri Jun 10 10:37:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 02:37:52 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Message-ID: On 6/10/05 10:26 AM, "Eric Ferrer" wrote: Hi Eric, >> Eric, can you tell me what bugs really stop you from 2.0 ? >> I do not see any reports from you in our bug tracker. > > I still can't convert my database to v2 format. > The Convert method always quits at 57.7 MB What if to use XML dump ? Well, I have 2 big dbs here, and soon will try convert on them. I have see some problems in speed -- it needs disable indexed during convert to be 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 sunshine at public.kherson.ua Fri Jun 10 10:38:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 02:38:18 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Message-ID: On 6/10/05 10:26 AM, "Eric Ferrer" wrote: > Moreover, I wish there were a "What has changed" read-me file so that > I would know exactly what to change in my code and not discover > changes through strange behaviours or posts in the list. This already exist in the V4RB_Refence_2_en.pdf -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 10 10:44:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 02:44:58 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Message-ID: On 6/10/05 10:26 AM, "Eric Ferrer" wrote: > To get back to my initial problem, you told me that the way I built > my database is OK. > So maybe my problem comes from the way I'm adding a picture : > > dim cursor as VCursor > dim thumb, pix as picture > dim id as string > > id = GetUniqueID() > > cursor = theDatabase.SqlSelect("SELECT * FROM Pictures WHERE ID = > '" + id + "'", 2, 1) > > if cursor = nil then > MsgBox "cursor is nil" > Return > end if > > cursor.SetBlank > > pix = NewPicture(myPicture.Width, myPicture.Height, 32) > pix.Graphics.DrawPicture myPicture, 0, 0 > thumb = NewPicture(32, 32, 32) > thumb.Graphics.DrawPicture myPicture, 0, 0, 32, 32, 0, 0, > myPicture.Width, myPicture.Height > > cursor.Field("ID").SetString id > > cursor.PictureField("Thumb").SetPicture(thumb, 100) > > cursor.PictureField("Picture").SetPicture(pix, 100) > > cursor.Field("Name").SetString trim(EditField1.Text) > > if cursor.add = false then > MsgBox "can't add record" + EndOfLine + theDatabase.ErrString + > " (#" + CStr(theDatabase.ErrNumber) + ")" > else > theDatabase.Flush > close > end if To isolate problem 1) try only one picture field with original picture case: dumb is bad 2) try compression ratio 50 3) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Fri Jun 10 12:09:59 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jun 10 05:10:08 2005 Subject: ORDER BY RecID Message-ID: <000a01c56da4$8fc53f60$87271e97@vmtrm4p9ipbkv2> Hi Ruslan, A little problem... how I can order by RecID? I use this query: query = "SELECT RecID, * FROM "& gTableName &" ORDER BY RecID" Thanks Paolo From wonderfef at noos.fr Fri Jun 10 13:11:06 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Jun 10 06:11:29 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: References: Message-ID: <7B3025D6-550A-465C-BDF0-0EE5A14D4361@noos.fr> Le 10 juin 2005 ? 09:44, Ruslan Zasukhin a ?crit : > To isolate problem > > 1) try only one picture field with original picture > case: dumb is bad > > 2) try compression ratio 50 > > 3) I then have no error... the app freezes till I force-quit it. Thanks Eric From wonderfef at noos.fr Fri Jun 10 13:57:40 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Jun 10 06:57:52 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: References: Message-ID: Le 10 juin 2005 ? 09:38, Ruslan Zasukhin a ?crit : > This already exist in the V4RB_Refence_2_en.pdf OK, thanks, I'll take a look at it. >> I still can't convert my database to v2 format. >> The Convert method always quits at 57.7 MB I've just tried again with new versions I had freshly downloaded. Now "Convert_1_2.rb" tells me that it can't read the version of my file. > What if to use XML dump ? ValentinaStudio allows me to generate the XML file. It seems that this works fine. But when I try to load from XML, the menu item does nothing. If I use the example projet 'Dump_XML_Database.rb', it crashes right away. > Well, I have 2 big dbs here, and soon will try convert on them. > I have see some problems in speed -- it needs disable indexed > during convert > to be faster. I really like these problems to be solved. I don't feel secure being stuck in a beta version that will never be updated and that has no future! Thanks. Eric PS: I'm leaving on vacation and will be back next tuesday. From sunshine at public.kherson.ua Fri Jun 10 15:00:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 07:00:23 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <7B3025D6-550A-465C-BDF0-0EE5A14D4361@noos.fr> Message-ID: On 6/10/05 2:11 PM, "Eric Ferrer" wrote: > > Le 10 juin 2005 ? 09:44, Ruslan Zasukhin a ?crit : > >> To isolate problem >> >> 1) try only one picture field with original picture >> case: dumb is bad >> >> 2) try compression ratio 50 >> >> 3) > > I then have no error... the app freezes till I force-quit it. May be it is time go to 2.0 :-) In 2.0 we have test pictures not so far and they works. What size is your db ? Is it possible to download ? I could run it in convert_1_2() Also I see that you develop something. You change big existed 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 Fri Jun 10 15:03:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 07:04:01 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: Message-ID: On 6/10/05 2:57 PM, "Eric Ferrer" wrote: >>> I still can't convert my database to v2 format. >>> The Convert method always quits at 57.7 MB > > I've just tried again with new versions I had freshly downloaded. > Now "Convert_1_2.rb" tells me that it can't read the version of my file. Do you use latest 2.0.4 fc4 ? You need subscribe to beta list to see latest builds. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 10 15:04:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 07:04:49 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: Message-ID: On 6/10/05 2:57 PM, "Eric Ferrer" wrote: >> What if to use XML dump ? > > ValentinaStudio allows me to generate the XML file. > It seems that this works fine. > But when I try to load from XML, the menu item does nothing. > > If I use the example projet 'Dump_XML_Database.rb', it crashes right > away. You can use our Example API_way/Dump_XML_Database To load XML file into 2.0 db It can work as simple utility Many our examples can do this useful jobs. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 10 15:05:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 07:05:41 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: Message-ID: On 6/10/05 2:57 PM, "Eric Ferrer" wrote: >> Well, I have 2 big dbs here, and soon will try convert on them. >> I have see some problems in speed -- it needs disable indexed >> during convert >> to be faster. > > I really like these problems to be solved. > I don't feel secure being stuck in a beta version that will never be > updated and that has no future! That is right, Eric. I very ask you go to beta list and bomb us with bug reports, Send us dbs, projects and we will try make them working ASAP 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 IvanSmahin at public.kherson.ua Fri Jun 10 15:15:39 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 10 07:15:45 2005 Subject: ORDER BY RecID Message-ID: <904729300.20050610151539@public.kherson.ua> Hello, Friday, June 10, 2005, 2:58:52 PM, you wrote: RZ> On 6/10/05 1:09 PM, "info@vallemediatime.com" RZ> wrote: RZ> Hi Paolo, >> Hi Ruslan, >> >> A little problem... how I can order by RecID? >> >> I use this query: >> query = "SELECT RecID, * FROM "& gTableName &" ORDER BY RecID" RZ> In 2.0 this should work, as I remember RZ> Ivan ? I've checked it in viSQL. It works fine! -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From info at vallemediatime.com Fri Jun 10 14:27:29 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jun 10 07:27:39 2005 Subject: ORDER BY RecID References: <904729300.20050610151539@public.kherson.ua> Message-ID: <000801c56db7$c554a9f0$541e1e97@vmtrm4p9ipbkv2> Ops...I've found my mistake, I've forgotten to set gCursor = 0 before build new gCursor in that script. Thanks Paolo ----- Original Message ----- From: "Ivan Smahin" To: "Valentina Developers" Sent: Friday, June 10, 2005 2:15 PM Subject: Re[2]: ORDER BY RecID > Hello, > > Friday, June 10, 2005, 2:58:52 PM, you wrote: > > RZ> On 6/10/05 1:09 PM, "info@vallemediatime.com" > RZ> wrote: > > RZ> Hi Paolo, > > >> Hi Ruslan, > >> > >> A little problem... how I can order by RecID? > >> > >> I use this query: > >> query = "SELECT RecID, * FROM "& gTableName &" ORDER BY RecID" > > RZ> In 2.0 this should work, as I remember > RZ> Ivan ? > > I've checked it in viSQL. > It works fine! > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > 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.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From sunshine at public.kherson.ua Fri Jun 10 14:58:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 07:32:09 2005 Subject: ORDER BY RecID In-Reply-To: <000a01c56da4$8fc53f60$87271e97@vmtrm4p9ipbkv2> Message-ID: On 6/10/05 1:09 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > > A little problem... how I can order by RecID? > > I use this query: > query = "SELECT RecID, * FROM "& gTableName &" ORDER BY RecID" In 2.0 this should work, as I remember Ivan ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jun 10 15:06:05 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jun 10 08:06:15 2005 Subject: [V4MD2] SELECT LIMIT Message-ID: SELECT * FROM tb LIMIT 0,4 gives me 7 instead of 4 results result 1-4 are correct, 5-7 are crap using the following everything works perfect SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 Is there a bug in Valentina.version 2.0.3 or is something wrong with my syntax? Heinrich From IvanSmahin at public.kherson.ua Fri Jun 10 16:52:10 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 10 08:52:14 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: Message-ID: <1223445329.20050610165210@public.kherson.ua> Hello Heinrich, Friday, June 10, 2005, 4:06:05 PM, you wrote: HR> SELECT * FROM tb LIMIT 0,4 HR> gives me 7 instead of 4 results HR> result 1-4 are correct, 5-7 are crap HR> using the following everything works perfect HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 HR> Is there a bug in Valentina.version 2.0.3 HR> or is something wrong with my syntax? Strange. I've tried and all works fine. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From IvanSmahin at public.kherson.ua Fri Jun 10 17:20:07 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 10 09:20:08 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: Message-ID: <1918379195.20050610172007@public.kherson.ua> Hello Heinrich, Friday, June 10, 2005, 4:06:05 PM, you wrote: HR> SELECT * FROM tb LIMIT 0,4 HR> gives me 7 instead of 4 results HR> result 1-4 are correct, 5-7 are crap HR> using the following everything works perfect HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 HR> Is there a bug in Valentina.version 2.0.3 HR> or is something wrong with my syntax? Could you tried it in viSQL? If problems still present, please, send us database if it is not very big. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ernestogiannotta at tiscalinet.it Fri Jun 10 16:39:53 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Fri Jun 10 09:40:38 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <015A51CD-EC93-40E5-A96C-9DE4DDA02D03@noos.fr> Message-ID: on 10-06-2005 9:26, Eric Ferrer at wonderfef@noos.fr wrote: > To get back to my initial problem, you told me that the way I built > my database is OK. > So maybe my problem comes from the way I'm adding a picture : > > dim cursor as VCursor > dim thumb, pix as picture > dim id as string > > id = GetUniqueID() > > cursor = theDatabase.SqlSelect("SELECT * FROM Pictures WHERE ID = > '" + id + "'", 2, 1) > > if cursor = nil then > MsgBox "cursor is nil" > Return > end if > > cursor.SetBlank > > pix = NewPicture(myPicture.Width, myPicture.Height, 32) > pix.Graphics.DrawPicture myPicture, 0, 0 > thumb = NewPicture(32, 32, 32) > thumb.Graphics.DrawPicture myPicture, 0, 0, 32, 32, 0, 0, > myPicture.Width, myPicture.Height > Deal is Valentina accepts only Pict files on the Mac and BMP on Win so you must convert them before feeding them to the DB Unfortunately (and oddly) RB does not have built-in conversion tools (MBS plugin do) so you must use workarounds: There's old trick of putting the image created with NewPicture into the picture prop of the Clipboard and then get it back and it will be magically converted to a Pict or use the SaveAsPicture method of a Folderitem and get it back again with the OpenAsPicture method HTH Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From heinrichruoff at gmail.com Fri Jun 10 18:24:14 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jun 10 11:24:20 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: <1918379195.20050610172007@public.kherson.ua> References: <1918379195.20050610172007@public.kherson.ua> Message-ID: Where can I get viSQL? On 6/10/05, Ivan Smahin wrote: > Hello Heinrich, > > Friday, June 10, 2005, 4:06:05 PM, you wrote: > > HR> SELECT * FROM tb LIMIT 0,4 > HR> gives me 7 instead of 4 results > HR> result 1-4 are correct, 5-7 are crap > > HR> using the following everything works perfect > HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 > > HR> Is there a bug in Valentina.version 2.0.3 > HR> or is something wrong with my syntax? > > Could you tried it in viSQL? > If problems still present, please, send us database if it is not very big. > > > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From heinrichruoff at gmail.com Fri Jun 10 18:59:52 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jun 10 11:59:58 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1918379195.20050610172007@public.kherson.ua> Message-ID: found viSQL 1.1a24 but can't open my DB. Is this tool only for Valentina 1? On 6/10/05, Heinrich Ruoff wrote: > Where can I get viSQL? > > > On 6/10/05, Ivan Smahin wrote: > > Hello Heinrich, > > > > Friday, June 10, 2005, 4:06:05 PM, you wrote: > > > > HR> SELECT * FROM tb LIMIT 0,4 > > HR> gives me 7 instead of 4 results > > HR> result 1-4 are correct, 5-7 are crap > > > > HR> using the following everything works perfect > > HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 > > > > HR> Is there a bug in Valentina.version 2.0.3 > > HR> or is something wrong with my syntax? > > > > Could you tried it in viSQL? > > If problems still present, please, send us database if it is not very big. > > > > > > > > -- > > Best regards, > > Ivan mailto:IvanSmahin@public.kherson.ua > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > From macsforever2000 at goodeast.com Fri Jun 10 13:13:29 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Fri Jun 10 12:13:59 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1918379195.20050610172007@public.kherson.ua> Message-ID: <21a0aeb7ac39a9fb3228ec0bfe1781c0@goodeast.com> On Jun 10, 2005, at 12:59 PM, Heinrich Ruoff wrote: > found viSQL 1.1a24 > but can't open my DB. > Is this tool only for Valentina 1? It comes in the V4RB2 Examples folder - you have to compile it yourself. I'm not sure about V4MD. The one on my website is only for Valentina 1. Best regards, -Frank Schima From IvanSmahin at public.kherson.ua Fri Jun 10 15:08:15 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 10 12:49:14 2005 Subject: ORDER BY RecID In-Reply-To: References: <000a01c56da4$8fc53f60$87271e97@vmtrm4p9ipbkv2> Message-ID: Hello Ruslan, Friday, June 10, 2005, 2:58:52 PM, you wrote: RZ> On 6/10/05 1:09 PM, "info@vallemediatime.com" RZ> wrote: RZ> Hi Paolo, >> Hi Ruslan, >> >> A little problem... how I can order by RecID? >> >> I use this query: >> query = "SELECT RecID, * FROM "& gTableName &" ORDER BY RecID" RZ> In 2.0 this should work, as I remember RZ> Ivan ? I've checked it in viSQL. It works fine! -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Fri Jun 10 21:05:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 13:06:06 2005 Subject: [FAQ] Valentina Question In-Reply-To: <2005610103149.701655@Simon2> Message-ID: On 6/10/05 5:31 PM, "Simon White" wrote: Hi Simon, > Hi Ruslan > > I have been reading the Valentina documentation and have been wondering what > is meant by the following statement in regard to RecID and OID > > "The beauty of this field is that its values are not stored on the HDD." > If the item is not stored on the HDD then it does not exist. ?If it is > calculated then the data used to do the calculations must be on the HDD > somewhere. ?So can you clarify what is actually done here? There is no items on disk :) There is no data for calculation on disk :)) They work as physical address of a record. I.e. As offset from file start. Actually this is very cool. E.g. Oracle, OpenBase, .. Use _rowid field. But this is realy ulong field on disk. If you have 1 million records in T this is 4MB 10 million records in T this is 40MB Each OO DBMS that support ODMG must have 8 byytes OID field. Again they do it as field on disk. so 1 million records in T this is 8MB 10 million records in T this is 80MB Also most probably these fields do have index, so this is another file with size 1.5-2 bigger. Each Valentina Table have BOTH these fields, and use ZERO disk space. As well as zero cache/RAM space to provides the same functionality. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 10 21:31:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 13:31:54 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: Message-ID: On 6/10/05 5:39 PM, "erne" wrote: >> To get back to my initial problem, you told me that the way I built >> my database is OK. >> So maybe my problem comes from the way I'm adding a picture : >> >> dim cursor as VCursor >> dim thumb, pix as picture >> dim id as string >> >> id = GetUniqueID() >> >> cursor = theDatabase.SqlSelect("SELECT * FROM Pictures WHERE ID = >> '" + id + "'", 2, 1) >> >> if cursor = nil then >> MsgBox "cursor is nil" >> Return >> end if >> >> cursor.SetBlank >> >> pix = NewPicture(myPicture.Width, myPicture.Height, 32) >> pix.Graphics.DrawPicture myPicture, 0, 0 >> thumb = NewPicture(32, 32, 32) >> thumb.Graphics.DrawPicture myPicture, 0, 0, 32, 32, 0, 0, >> myPicture.Width, myPicture.Height >> > > Deal is Valentina accepts only Pict files on the Mac and BMP on Win > so you must convert them before feeding them to the DB > > Unfortunately (and oddly) RB does not have built-in conversion tools > (MBS plugin do) so you must use workarounds: > > There's old trick of putting the image created with NewPicture into the > picture prop of the Clipboard and then get it back and it will be magically > converted to a Pict > > or use the SaveAsPicture method of a Folderitem and get it back again with > the OpenAsPicture method So you Erne, this is that old problem? Wow. Eric, then you can search Valentina list archive for last 3-5 years, To find code how to use clipboard in RB to get "good" picture. Btw, your code should work in LOCAL mode 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 ayu8 at cdc.gov Fri Jun 10 14:34:45 2005 From: ayu8 at cdc.gov (Sims, John) Date: Fri Jun 10 13:35:00 2005 Subject: [FAQ] Valentina Question Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Friday, June 10, 2005 2:06 PM > To: Simon White; valentina@lists.macserve.net > Subject: Re: [FAQ] Valentina Question > > > On 6/10/05 5:31 PM, "Simon White" > wrote: > > Hi Simon, > > > Hi Ruslan > > > > I have been reading the Valentina documentation and have been > > wondering what is meant by the following statement in > regard to RecID > > and OID > > > > "The beauty of this field is that its values are not stored on the > > HDD." > > > If the item is not stored on the HDD then it does not > exist. ?If it is > > calculated then the data used to do the calculations must be on the > > HDD somewhere. ?So can you clarify what is actually done here? > > There is no items on disk :) > > There is no data for calculation on disk :)) > > They work as physical address of a record. > I.e. As offset from file start. > > Actually this is very cool. > E.g. Oracle, OpenBase, .. Use _rowid field. > But this is realy ulong field on disk. > > If you have > > 1 million records in T this is 4MB > 10 million records in T this is 40MB > > Each OO DBMS that support ODMG must have 8 byytes OID field. > Again they do it as field on disk. so > > 1 million records in T this is 8MB > 10 million records in T this is 80MB > > Also most probably these fields do have index, so this is > another file with size 1.5-2 bigger. > > Each Valentina Table have BOTH these fields, and use ZERO > disk space. As well as zero cache/RAM space to provides the > same functionality. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc Hi Ruslan, For any given record, does the OID value remain constant even after other records are deleted/added to the database (as RecID does)? Thanks, -John From sunshine at public.kherson.ua Fri Jun 10 22:01:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 14:01:33 2005 Subject: [FAQ] Valentina Question In-Reply-To: Message-ID: On 6/10/05 9:34 PM, "Sims, John" wrote: > > Hi Ruslan, > > For any given record, does the OID value remain constant even after other > records are deleted/added to the database (as RecID does)? 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 Fri Jun 10 22:01:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 14:02:02 2005 Subject: [FAQ] Valentina Question In-Reply-To: Message-ID: On 6/10/05 9:34 PM, "Sims, John" wrote: > > Hi Ruslan, > > For any given record, does the OID value remain constant even after other > records are deleted/added to the database (as RecID does)? Actually OID this is OID = TableID (4 bytes) + 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 sunshine at public.kherson.ua Fri Jun 10 22:10:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 10 14:11:05 2005 Subject: date time // RRBDB // SQL new commands for 2.0.4 In-Reply-To: <000001c56955$fa3aeeb0$08bc09d2@HPlaptop> Message-ID: On 6/5/05 1:37 AM, "Damon Pillinger" wrote: > Hi Ruslan, > The reason I got Valentina was to use the RBDB API as the datacontrol > allows me to bind the results of a query to editfields,listboxes etc... > > On the web site it says that I can use it. Are you telling me this is > incorrect? Hi Damon, To resolve your problem, and just to have this features, We are adding right now into 2.0.4 new commands for Valentina SQL. The will look as SET PROPERTY pname1, ... OF DATABASE TO V1, V2, ... SET PROPERTY pname1, ... OF TABLE TO V1, V2, ... SET PROPERTY pname1, ... OF FIELD TO V1, V2, ... SET PROPERTY pname1, ... OF SERVER TO V1, V2, ... SET PROPERTY pname1, ... OF CONNECTION TO V1, V2, ... GET PROPERTY pname1, ... OF DATABASE ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jun 11 22:30:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 14:30:36 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? Message-ID: Hi Revolutioners! Well, we are almost done with first build of Valentina for Revolution, And I have meet next problem. Ivan have prepare about 50 examples working on Windows. So each example show in the window "Stack Properties" some win dll path. It is easy to see that such stack do not work on MAC from box. When I set external to our V4REV_Macho, this NOT add second line into list of externals but erase info about Windows dll. So I wonder: 1) if is possible to prepare stack which from box will work on MacOS and Windows? I.e. It should know about 2 externals, one for each platform. Or it is normal for Revolution world, that developer must self tune each stack before use it ??? I hard believe into this. 2) taking into account that I have now on hands 50 example stacks, It not smile to me manually set external for each of them. So may be exists way A) automate this job ? B) may be it is possible that stack itself on load and start set correct external according to current platform? But again I will need include this code into each stack ... May be exists way to put this code into some shared single stack ? -- Best regards, Ruslan Zasukhin VP Engineering 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 mangomultimedia.com Sat Jun 11 12:41:29 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat Jun 11 14:41:40 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: References: Message-ID: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> On Jun 11, 2005, at 12:30 PM, Ruslan Zasukhin wrote: > Hi Revolutioners! > > Well, we are almost done with first build of Valentina for Revolution, > And I have meet next problem. > > Ivan have prepare about 50 examples working on Windows. > So each example show in the window "Stack Properties" some win dll > path. > > It is easy to see that such stack do not work on MAC from box. > When I set external to our V4REV_Macho, this NOT add second line > into list > of externals but erase info about Windows dll. > > So I wonder: > > 1) if is possible to prepare stack which from box will work on > MacOS and > Windows? I.e. It should know about 2 externals, one for each platform. Yes. Just put each external on a different line. So - set the externals of this stack to "windows.dll" &cr& "mac.bundle" > Or it is normal for Revolution world, that developer must self tune > each > stack before use it ??? I hard believe into this. > > > 2) taking into account that I have now on hands 50 example stacks, > It not > smile to me manually set external for each of them. So may be > exists way > > A) automate this job ? Yes. If they are all in the same folder you could do something like this (off the top of my head, not tested): answer folder "Select folder with stacks if it <> empty then put it into tFolder put defaultFolder into tOrigDefault set defaultFolder to tFolder put files() into tStacks repeat for each line tStack in tStacks if char 1 of tStack = "." then next repeat get tFolder &slash& tStack if there is a stack it then set the externals of stack it to "windows.dll" &cr& "mac.bundle" end if end repeat end if > B) may be it is possible that stack itself on load and start set > correct > external according to current platform? But again I will need > include this > code into each stack ... May be exists way to put this code into > some shared > single stack ? It is possible to set the externals for one stack and have it available to all stacks in the development environment. I have created plugins that do this with other externals. 1) Create a new stack 2) Set externals property of stack 3) Put this in the stack script: on preOpenStack start using stack (short name of me) pass preOpenStack end preOpenStack 4) Put it in the Revolution/plugins folder 5) Go to Development->Plugins in the ide, select your stack. Set it so that it opens when Revolution starts up and that it opens as "invisible". 6) Restart Rev and after launching you should be able to execute Valentina external handlers from the message box. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From jda at his.com Sat Jun 11 16:05:12 2005 From: jda at his.com (jda) Date: Sat Jun 11 15:05:20 2005 Subject: How to tell if any record in a cursor is not empty (or not null) In-Reply-To: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> References: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> Message-ID: Hi all, I have a cursor with n records. I'd like to know if a particular field has data in any of these records. Right now I'm looping through the cursor and testing that field in each iteration of the loop. But I wonder if there is a simpler and better "SQL way" to do this? (I know I can create a new cursor with a new search, but I'd rather avoid that). Thanks, Jon From lists at mangomultimedia.com Sat Jun 11 13:08:55 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat Jun 11 15:09:01 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> References: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> Message-ID: <5C422718-4E44-4288-8F51-17AEAA3EA4FE@mangomultimedia.com> On Jun 11, 2005, at 12:41 PM, Trevor DeVore wrote: Sorry the handler I sent had some mistakes in it. Here is a revised one that works: on setExternals answer folder "Select folder with stacks" if it <> empty then put it into tFolder put defaultFolder into tOrigDefault set defaultFolder to tFolder put files() into tStacks repeat for each line tStack in tStacks if char 1 of tStack = "." then next repeat get tFolder &slash& tStack if there is a stack it then set the externals of stack it to "windows.dll" &cr& "mac.bundle" save stack it delete stack it --> REMOVE FROM MEMORY end if end repeat set defaultFolder to tOrigDefault end if end setExternals -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Sat Jun 11 23:10:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 15:10:28 2005 Subject: How to tell if any record in a cursor is not empty (or not null) In-Reply-To: Message-ID: On 6/11/05 11:05 PM, "jda" wrote: Hi Jon, > I have a cursor with n records. > I'd like to know if a particular field has data in any of these records. > > Right now I'm looping through the cursor and testing that field in each > iteration of the loop. > > But I wonder if there is a simpler and better "SQL way" to do this? > > (I know I can create a new cursor with a new search, but I'd rather avoid > that). Actually Vcusor API -- already not pure SQL way, but some kind of mix of SQL + API. Answer on your question is -- There is NO other way. What is you real task ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 11 16:14:26 2005 From: jda at his.com (jda) Date: Sat Jun 11 15:14:34 2005 Subject: How to tell if any record in a cursor is not empty (or not null) In-Reply-To: References: Message-ID: >Actually Vcusor API -- already not pure SQL way, > but some kind of mix of SQL + API. > >Answer on your question is -- There is NO other way. > >What is you real task ? Hi Ruslan, I have a database that contains data I use as templates for formatting the display of information. There is one field in each data record that, if not NULL, tells be to set a boolean flag. So I iterate through the cursor to find if any records have such a non-NULL field. It's no big deal to do it this way (or as I said, with a new query), but I thought there might be a more elegant SQL way. But if not it is no big deal, since the looping works fine. Jon From rjb at robelko.com Sat Jun 11 22:49:02 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Jun 11 15:57:16 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: References: Message-ID: >Hi Revolutioners! > >Well, we are almost done with first build of Valentina for Revolution, >And I have meet next problem. > >Ivan have prepare about 50 examples working on Windows. >So each example show in the window "Stack Properties" some win dll path. > >It is easy to see that such stack do not work on MAC from box. >When I set external to our V4REV_Macho, this NOT add second line into list >of externals but erase info about Windows dll. > >So I wonder: > >1) if is possible to prepare stack which from box will work on MacOS and >Windows? I.e. It should know about 2 externals, one for each platform. > >Or it is normal for Revolution world, that developer must self tune each >stack before use it ??? I hard believe into this. > > >2) taking into account that I have now on hands 50 example stacks, It not >smile to me manually set external for each of them. So may be exists way > >A) automate this job ? > >B) may be it is possible that stack itself on load and start set correct >external according to current platform? But again I will need include this >code into each stack ... May be exists way to put this code into some shared >single stack ? > > >-- >Best regards, > Ruslan and Ivan, I would make an index stack with each example being a substack of it. Then you just need to set the external of this index stack and all others will see it without further ado. This gives you also a single file to distribute. Furthermore, you can place handlers common to all examples in the stack script of the index stack and they will be available to all examples. Better factoring this way. You handle the external path issue in the openStack handler placed on the card level (this is important here) of the index stack. There you set the path to the external depending on the platform -- yes, you set it up at runtime when the stack loads -- and then initialize Valentina (and close it at the end). Platform() is a function that tells you the OS type. In case of Mac, you need further systemVersion() to distinguish between OS9 and OSX. Ivan, if you need some extra info about this, contact me off list. By index stack, I mean a stack that has a list of all examples with links to open them individually. It would be nice to include a short description of what each example demonstrates (could be just a tool tip). I think this addresses all the issues you raised. Robert From sunshine at public.kherson.ua Sat Jun 11 23:58:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 15:58:21 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: <07666076-1418-4149-8AB3-547022AC1320@mangomultimedia.com> Message-ID: On 6/11/05 10:41 PM, "Trevor DeVore" wrote: >> >> A) automate this job ? > > Yes. If they are all in the same folder you could do something like > this (off the top of my head, not tested): > > answer folder "Select folder with stacks > if it <> empty then > put it into tFolder > put defaultFolder into tOrigDefault > set defaultFolder to tFolder > put files() into tStacks > > repeat for each line tStack in tStacks > if char 1 of tStack = "." then next repeat > > get tFolder &slash& tStack > if there is a stack it then > set the externals of stack it to "windows.dll" &cr& > "mac.bundle" > end if > end repeat > end if Great! Thank you! This time I like Revolution more than REALBasic :-) Where I cannot automate work with projects AFAIK -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 12 00:04:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 16:04:16 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: <5C422718-4E44-4288-8F51-17AEAA3EA4FE@mangomultimedia.com> Message-ID: On 6/11/05 11:08 PM, "Trevor DeVore" wrote: > On Jun 11, 2005, at 12:41 PM, Trevor DeVore wrote: Hi Trevor, Is it hard to improve this to work with subfolders ? Our examples are in Examples SQL_way ex1 ex2 API_WAY ex ex > Sorry the handler I sent had some mistakes in it. Here is a revised > one that works: > > on setExternals > answer folder "Select folder with stacks" > if it <> empty then > put it into tFolder > put defaultFolder into tOrigDefault > set defaultFolder to tFolder > put files() into tStacks > > repeat for each line tStack in tStacks > if char 1 of tStack = "." then next repeat > > get tFolder &slash& tStack > if there is a stack it then > set the externals of stack it to "windows.dll" &cr& > "mac.bundle" > save stack it > delete stack it --> REMOVE FROM MEMORY > end if > end repeat > > set defaultFolder to tOrigDefault > end if > end setExternals -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 12 00:08:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 16:08:59 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: Message-ID: On 6/11/05 10:56 PM, "Klaus Major" wrote: Hi Klaus, >> B) may be it is possible that stack itself on load and start set >> correct >> external according to current platform? But again I will need >> include this >> code into each stack ... May be exists way to put this code into >> some shared >> single stack ? > > Exactly, you can do by "start using xyz" > > A good idea is to use an (empty) substack "xyz", so you simply use > something like: > > on openstack > set the externals of stack "xyz" to "MacExternal.bundle" & CR & > "WindowsExternal.dll" > start using stack "xyz" > ... > end openstack > > This way, every open stack can use the external. So we have * one xyz stack * it have only above one function * all rest 50 stacks DO NOT have references to this xyz this is good. Not clear to me: - so developer must at first manually open xyz in the revolution? - then he can use rest 50 projects, right ? Or each from 50 projects somehow on open do open that xyz stack also? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jun 12 00:16:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 11 16:16:48 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: Message-ID: On 6/11/05 11:49 PM, "Robert Brenstein" wrote: Hi Robert, > Ruslan and Ivan, > > I would make an index stack with each example being a substack of it. > Then you just need to set the external of this index stack and all > others will see it without further ado. I see. > This gives you also a single file to distribute. Why single? But we have also 50 other files located in own sub-folders on disk. > Furthermore, you can place handlers common to all > examples in the stack script of the index stack and they will be > available to all examples. Better factoring this way. This is EXACTLY what we need!!! We have this in Valentina for REALbasic and for Director. Deal is that we need to have few common utility methods that use all examples to allow easy switch any example between LOCAL and CLIENT/SERVER mode. Although in V4RB and V4md it works in reverse way. Example is MAIN project, and it use as sub-element some shared item. As I see in Revolution, you suggest way: one MAIN stack which have 50 sub-stacks, right ? > You handle the external path issue in the openStack handler placed on > the card level (this is important here) of the index stack. There > you set the path to the external depending on the platform -- yes, > you set it up at runtime when the stack loads -- and then initialize > Valentina (and close it at the end). > > Platform() is a function that tells you the OS type. In case of Mac, > you need further systemVersion() to distinguish between OS9 and OSX. > Ivan, if you need some extra info about this, contact me off list. > > By index stack, I mean a stack that has a list of all examples with > links to open them individually. It would be nice to include a short > description of what each example demonstrates (could be just a tool > tip). > > I think this addresses all the issues you raised. Okay, I like such MAIN stack, with list of all examples. This will play role of ExampleGuide. In the V4RB and V4MD we use PDF for this. Well, in V4REV we also may need PDF yet, because few examples have some text and even pictures that describe 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 rjb at robelko.com Sat Jun 11 23:46:36 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Jun 11 16:56:06 2005 Subject: [V4REV] How correctly prepare stack for cross-platform use ? In-Reply-To: References: Message-ID: At 00:16 +0300 12.06.2005, Ruslan Zasukhin wrote: > > This gives you also a single file to distribute. > >Why single? >But we have also 50 other files located in own sub-folders on disk. Single stackfile -- all you example stacks are within a single file. Database and other files come extra, of course. >As I see in Revolution, you suggest way: > one MAIN stack which have 50 sub-stacks, right ? Yes. Extra files can be placed in subfolders with your main stack figuring out the correct path to their root folder and passing it in a global, so example stacks can use relative paths. >Okay, I like such MAIN stack, with list of all examples. >This will play role of ExampleGuide. > >In the V4RB and V4MD we use PDF for this. >Well, in V4REV we also may need PDF yet, because few examples have some text >and even pictures that describe work. You can include pictures next to or in the text in stacks, but having printable PDF might be useful anyway. You could use tabbed interface in the example stacks, with one of the tabs being description. Robert From rjb at robelko.com Sun Jun 12 01:17:33 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Jun 11 18:19:07 2005 Subject: [V4REV] Error return value discussed. In-Reply-To: <852119348.20050609185213@public.kherson.ua> References: <852119348.20050609185213@public.kherson.ua> Message-ID: >Hello All, > > We have some set of methods which return handle of kernel object. > For example: VDatabase_SqlSelect method return handle of cursor. > > What should we return to script if exception in kernel occur? > > 1. "0" - it means bad handle. You can get kernel error number and string > later - if needed. > > So script seems like: > > put VDatabase_SqlSelect( dbRef, "select * from t1" ) into cursorRef > if cursorRef = 0 then > -- Error > end if > > > 2. "ERROR " as handle value. > >-- >Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua I think the current method of returning error is fine (your #2). At least it is consistent with the way other call return errors. Or are you planning to handle errors differently in V2? Robert From rjb at robelko.com Sun Jun 12 01:17:26 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Jun 11 18:20:03 2005 Subject: [V4REV] VTable_SortN syntax discussed. In-Reply-To: <1568714308.20050609184322@public.kherson.ua> References: <1568714308.20050609184322@public.kherson.ua> Message-ID: >Hello All, > > We are going to have VTable_SortN method in order to support >multiple-fields > table sorting. You mean this will allow us to resort an existing cursor? But then may be not since it has tableRef not cursorRef. > What do you think - how params should be looked? > > 1. > put VTable_SortN( > tblRef, > setRef, > fld1, inBoolAscending1, > [ fld2, inBoolAscending2, > fld3, inBoolAscending3, > fld4, inBoolAscending4 ] ) INTO ArraySetRef > > Example: > put VTable_SortN( t1,allSet, f1, true, f2, false ) > > 2. > put VTable_SortN( > tblRef, > setRef, > "fld1 inBoolAscending1", > [ "fld2 [inBoolAscending2 = true]", > "fld3 [inBoolAscending3 = true]", > "fld4 [inBoolAscending4 = true]" ] ) INTO ArraySetRef > > Example: > put VTable_SortN( t1,allSet, f1, "f2 false" ) > #2 will surely be source of errors. Don't like it at all. But without fully understanding what this function does, I am not sure whether there is a better syntax than your #1. Robert From sunshine at public.kherson.ua Sun Jun 12 08:39:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 12 02:03:29 2005 Subject: [V4REV] VTable_SortN syntax discussed. In-Reply-To: Message-ID: On 6/12/05 2:17 AM, "Robert Brenstein" wrote: >> We are going to have VTable_SortN method in order to support >> multiple-fields >> table sorting. > > You mean this will allow us to resort an existing cursor? But then > may be not since it has tableRef not cursorRef. NO, this is for API way which do not use cursors at all, >> What do you think - how params should be looked? >> >> 1. >> put VTable_SortN( >> tblRef, >> setRef, >> fld1, inBoolAscending1, >> [ fld2, inBoolAscending2, >> fld3, inBoolAscending3, >> fld4, inBoolAscending4 ] ) INTO ArraySetRef >> >> Example: >> put VTable_SortN( t1,allSet, f1, true, f2, false ) >> >> 2. >> put VTable_SortN( >> tblRef, >> setRef, >> "fld1 inBoolAscending1", >> [ "fld2 [inBoolAscending2 = true]", >> "fld3 [inBoolAscending3 = true]", >> "fld4 [inBoolAscending4 = true]" ] ) INTO ArraySetRef >> >> Example: >> put VTable_SortN( t1,allSet, f1, "f2 false" ) >> > > #2 will surely be source of errors. Don't like it at all. But without > fully understanding what this function does, I am not sure whether > there is a better syntax than your #1. You have TableRef and some SET of records for this table. You want sort this set by one or two or three or more fields. In SQL we use ORDER BY f1, f2 DESC, f3, f4 In API we can do put VTable_SortN( t1, Set1, f1, kAsc, f2 kDesc, f3 kAsc ) into SortedSet Or using strings -- style of Revolution put VTable_SortN( t1, Set1, "f1, f2 kDesc, f3" ) into SortedSet In second case we have single last param, and V4REV should self parse string, and it looks we can avoid writing of kAsc. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 12 08:41:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 12 02:03:37 2005 Subject: [V4REV] Discussion of Error Notification. In-Reply-To: Message-ID: On 6/12/05 2:17 AM, "Robert Brenstein" wrote: > I think the current method of returning error is fine (your #2). At > least it is consistent with the way other call return errors. Or are > you planning to handle errors differently in V2? For now we have made it as "Error nnn" But we wonder if exists any better way for Revolution ? Revolution do not have exceptions, right? And it is better return "Error nnn" to avoid extra call Database_LastError Right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Sun Jun 12 16:34:43 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Jun 12 09:50:03 2005 Subject: [V4REV] VTable_SortN syntax discussed. In-Reply-To: References: Message-ID: Should not this discussion be moved to beta list? > >>> We are going to have VTable_SortN method in order to support >>> multiple-fields >>> table sorting. >> >> You mean this will allow us to resort an existing cursor? But then >> may be not since it has tableRef not cursorRef. > >NO, this is for API way which do not use cursors at all, Are you saying that this function will sort record in the database itself? I think I do not get the big picture of the API changes. > >> What do you think - how params should be looked? > >> >>> 1. >>> put VTable_SortN( >>> tblRef, >>> setRef, >>> fld1, inBoolAscending1, >>> [ fld2, inBoolAscending2, >>> fld3, inBoolAscending3, >>> fld4, inBoolAscending4 ] ) INTO ArraySetRef >>> >>> Example: >>> put VTable_SortN( t1,allSet, f1, true, f2, false ) >>> >>> 2. >>> put VTable_SortN( >>> tblRef, >>> setRef, >>> "fld1 inBoolAscending1", >>> [ "fld2 [inBoolAscending2 = true]", >>> "fld3 [inBoolAscending3 = true]", >>> "fld4 [inBoolAscending4 = true]" ] ) INTO >>>ArraySetRef >>> >>> Example: >>> put VTable_SortN( t1,allSet, f1, "f2 false" ) >>> >> >> #2 will surely be source of errors. Don't like it at all. But without >> fully understanding what this function does, I am not sure whether >> there is a better syntax than your #1. > >You have TableRef and some SET of records for this table. >You want sort this set by one or two or three or more fields. > >In SQL we use > ORDER BY f1, f2 DESC, f3, f4 > >In API we can do > > put VTable_SortN( t1, Set1, f1, kAsc, f2 kDesc, f3 kAsc ) into SortedSet > >Or using strings -- style of Revolution > > put VTable_SortN( t1, Set1, "f1, f2 kDesc, f3" ) into SortedSet > > >In second case we have single last param, >and V4REV should self parse string, >and it looks we can avoid writing of kAsc. > What you wrote here is different than what Ivan wrote earlier. And from point of view of Rev, the last two function calls are different: the first has min 3 but unlimited number of params (well, limited by number of fields), the second has exactly 3 parameters. Robert From rjb at robelko.com Sun Jun 12 16:55:31 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Jun 12 10:10:04 2005 Subject: [V4REV] Discussion of Error Notification. In-Reply-To: References: Message-ID: At 08:41 +0300 12.06.2005, Ruslan Zasukhin wrote: >On 6/12/05 2:17 AM, "Robert Brenstein" wrote: > >> I think the current method of returning error is fine (your #2). At >> least it is consistent with the way other call return errors. Or are >> you planning to handle errors differently in V2? > >For now we have made it as "Error nnn" > >But we wonder if exists any better way for Revolution ? > >Revolution do not have exceptions, right? > >And it is better return "Error nnn" to avoid extra call > Database_LastError > >Right ? > Revolution has exceptions and we can trigger them in Transcript. Look at the "try" structure and the "throw" command. However, I'd personally rather keep exceptions for trapping runtime execution errors and special situations. I find it easy enough and convenient to handle getting "error xxx" in the result, although in principle, either this way or "Database_LastError" are fine as long as it is consistent. On the other hand, the small but nevertheless overhead of the extra function call to "Database_LastError" may add up when running loops through thousands of records, particularly as it may be called multiple times in a single loop. The only thing that I find somewhat annoying in this area with Valentina 1.x is that while most functions return "error", some functions return false in case of failure and some return 0. Because of that I need always 3 different assertion handlers and make sure to use the right one after any Valentina call. Robert From valentina at panamind.com Sun Jun 12 21:30:47 2005 From: valentina at panamind.com (Gary Edge) Date: Sun Jun 12 20:30:59 2005 Subject: Limitations Message-ID: <76E4CFF2-211A-49D4-AC7A-A100BDE6F392@panamind.com> Is there a limitation on the number of databases open in V4RB2 that I don't have a serial number for yet? I'm still trying it out for size and after opening the first database it ignores commands to create or open a second. Gary From heinrichruoff at gmail.com Mon Jun 13 09:22:43 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 02:22:52 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: <1918379195.20050610172007@public.kherson.ua> References: <1918379195.20050610172007@public.kherson.ua> Message-ID: Hello Ivan, did you have a look at the problem? any news? thanks Heinrich On 6/10/05, Ivan Smahin wrote: > Hello Heinrich, > > Friday, June 10, 2005, 4:06:05 PM, you wrote: > > HR> SELECT * FROM tb LIMIT 0,4 > HR> gives me 7 instead of 4 results > HR> result 1-4 are correct, 5-7 are crap > > HR> using the following everything works perfect > HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 > > HR> Is there a bug in Valentina.version 2.0.3 > HR> or is something wrong with my syntax? > > Could you tried it in viSQL? > If problems still present, please, send us database if it is not very big. > > > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Jun 13 10:24:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 02:24:13 2005 Subject: Limitations In-Reply-To: <76E4CFF2-211A-49D4-AC7A-A100BDE6F392@panamind.com> Message-ID: On 6/13/05 4:30 AM, "Gary Edge" wrote: Hi Gary, > Is there a limitation on the number of databases open in V4RB2 that I > don't have a serial number for yet? No. > I'm still trying it out for size and after opening the first database it > ignores commands to create or open a second. Have you create second db object ? You need db1 = new Vdatabase db2 = new Vdatabase db1.open( where1 ) db2.open( where2 ) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 13 10:33:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 02:34:08 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: Message-ID: On 6/13/05 10:22 AM, "Heinrich Ruoff" wrote: > Hello Ivan, > > did you have a look at the problem? > any news? Hi Heinrich, I have see in Mantis http://paradigma.ukrcom.kherson.ua/bt/ That one bug was fixed. But it seems Ivan have told this is NOT bug that you describe. -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jun 13 10:49:17 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 13 02:49:21 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1918379195.20050610172007@public.kherson.ua> Message-ID: <16110232380.20050613104917@public.kherson.ua> Hello Heinrich, Monday, June 13, 2005, 10:22:43 AM, you wrote: HR> Hello Ivan, HR> did you have a look at the problem? HR> any news? I've got your project. Just now we will be debugging the problem. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From IvanSmahin at public.kherson.ua Mon Jun 13 10:58:30 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 13 02:58:36 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1918379195.20050610172007@public.kherson.ua> Message-ID: <633433089.20050613105830@public.kherson.ua> Hello Heinrich, Friday, June 10, 2005, 7:24:14 PM, you wrote: HR> Where can I get viSQL? HR> On 6/10/05, Ivan Smahin wrote: >> Hello Heinrich, >> >> Friday, June 10, 2005, 4:06:05 PM, you wrote: >> >> HR> SELECT * FROM tb LIMIT 0,4 >> HR> gives me 7 instead of 4 results >> HR> result 1-4 are correct, 5-7 are crap >> >> HR> using the following everything works perfect >> HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 >> I've tried next: SELECT * FROM tb_bje_artikel WHERE Artikelnummer LIKE '2%' LIMIT 0,4 SELECT * FROM tb_bje_artikel LIMIT 0,4 All works fine. Could you send me exactly that query which you mention as limit-bug? Just I see the database consist of single table with thousand of records. As far as I get it you get a problem with another table? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From heinrichruoff at gmail.com Mon Jun 13 10:28:21 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 03:28:30 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: <633433089.20050613105830@public.kherson.ua> References: <1918379195.20050610172007@public.kherson.ua> <633433089.20050613105830@public.kherson.ua> Message-ID: thats strange I have the problem with the "tb_bje_artikel" table as well. curs = gDb.sqlSelect("SELECT * FROM tb_bje_artikel LIMIT 0,4") gives me an curs.recordCount of 7 instead of 4 did you try it in Director? On 6/13/05, Ivan Smahin wrote: > Hello Heinrich, > > Friday, June 10, 2005, 7:24:14 PM, you wrote: > > HR> Where can I get viSQL? > > > HR> On 6/10/05, Ivan Smahin wrote: > >> Hello Heinrich, > >> > >> Friday, June 10, 2005, 4:06:05 PM, you wrote: > >> > >> HR> SELECT * FROM tb LIMIT 0,4 > >> HR> gives me 7 instead of 4 results > >> HR> result 1-4 are correct, 5-7 are crap > >> > >> HR> using the following everything works perfect > >> HR> SELECT * FROM tb WHERE f1 LIKE '2%' LIMIT 0,4 > >> > > I've tried next: > > SELECT * FROM tb_bje_artikel WHERE Artikelnummer LIKE '2%' LIMIT 0,4 > SELECT * FROM tb_bje_artikel LIMIT 0,4 > > > All works fine. > > Could you send me exactly that query which you mention as limit-bug? > Just I see the database consist of single table with thousand of records. > As far as I get it you get a problem with another table? > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Jun 13 11:40:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 03:41:02 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: Message-ID: On 6/13/05 11:28 AM, "Heinrich Ruoff" wrote: > thats strange > I have the problem with the "tb_bje_artikel" table as well. > curs = gDb.sqlSelect("SELECT * FROM tb_bje_artikel LIMIT 0,4") > gives me an curs.recordCount of 7 instead of 4 > > did you try it in Director? Yes he did -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jun 13 11:41:20 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 13 03:41:23 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1918379195.20050610172007@public.kherson.ua> <633433089.20050613105830@public.kherson.ua> Message-ID: <988237777.20050613114120@public.kherson.ua> Hello Heinrich, Monday, June 13, 2005, 11:28:21 AM, you wrote: HR> thats strange HR> I have the problem with the "tb_bje_artikel" table as well. HR> curs = gDb.sqlSelect("SELECT * FROM tb_bje_artikel LIMIT 0,4") HR> gives me an curs.recordCount of 7 instead of 4 HR> did you try it in Director? Could you try it with new build? I did not see any "visual" result from director play, but I see logs only. Probably I do something wrong. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Mon Jun 13 11:41:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 03:41:49 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: Message-ID: On 6/13/05 11:28 AM, "Heinrich Ruoff" wrote: > thats strange > I have the problem with the "tb_bje_artikel" table as well. > curs = gDb.sqlSelect("SELECT * FROM tb_bje_artikel LIMIT 0,4") > gives me an curs.recordCount of 7 instead of 4 > > did you try it in Director? Heinrich, What version do you use ? 2.0.3 Please subscribe to beta list to see URLS for new builds. Exists V4MD 2.0.4 fc5 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon Jun 13 12:04:12 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 05:04:19 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: Message-ID: after update from 2.0.3 to 2.0.4 fc5 the first recordCount is reported correctly ("SELECT * FROM tb_bje_artikel LIMIT 0,4") but "SELECT * FROM tb_bje_artikel LIMIT 8,12" returns an recordCount of 12 instead of 4 apart from that retrieving strings from the database doesn't seen to work anymore with 2.0.4 fc5 On 6/13/05, Ruslan Zasukhin wrote: > On 6/13/05 11:28 AM, "Heinrich Ruoff" wrote: > > > thats strange > > I have the problem with the "tb_bje_artikel" table as well. > > curs = gDb.sqlSelect("SELECT * FROM tb_bje_artikel LIMIT 0,4") > > gives me an curs.recordCount of 7 instead of 4 > > > > did you try it in Director? > > Heinrich, > > What version do you use ? 2.0.3 > > Please subscribe to beta list to see URLS for new builds. > > Exists V4MD 2.0.4 fc5 > > > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 IvanSmahin at public.kherson.ua Mon Jun 13 13:34:15 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 13 05:34:22 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: Message-ID: <1119729389.20050613133415@public.kherson.ua> Hello Heinrich, Monday, June 13, 2005, 1:04:12 PM, you wrote: HR> after update from 2.0.3 to 2.0.4 fc5 HR> the first recordCount is reported correctly HR> ("SELECT * FROM tb_bje_artikel LIMIT 0,4") HR> but "SELECT * FROM tb_bje_artikel LIMIT 8,12" HR> returns an recordCount of 12 instead of 4 This is wrong. "... LIMIT 8,12" means - 12 records starting after 8 position (9). So we have 12 records Try it - you can easy see affecyed rows SELECT RecID, * FROM tb_bje_artikel LIMIT 8,12 -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From heinrichruoff at gmail.com Mon Jun 13 13:13:07 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 06:13:19 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: <1119729389.20050613133415@public.kherson.ua> References: <1119729389.20050613133415@public.kherson.ua> Message-ID: I thought 12 is the last position an not the total number of records thanks - now LIMIT works as expected using 2.0.4 fc5 do you have a clue whats wrong with the strings from DB? did there anything change in V4MD 2.0.4 fc5 regarding encoding? On 6/13/05, Ivan Smahin wrote: > Hello Heinrich, > > Monday, June 13, 2005, 1:04:12 PM, you wrote: > > HR> after update from 2.0.3 to 2.0.4 fc5 > HR> the first recordCount is reported correctly > HR> ("SELECT * FROM tb_bje_artikel LIMIT 0,4") > > HR> but "SELECT * FROM tb_bje_artikel LIMIT 8,12" > HR> returns an recordCount of 12 instead of 4 > > This is wrong. > "... LIMIT 8,12" means - 12 records starting after 8 position (9). > > So we have 12 records > > Try it - you can easy see affecyed rows > SELECT RecID, * FROM tb_bje_artikel LIMIT 8,12 > > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Jun 13 14:45:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 06:46:16 2005 Subject: [ANN] UPDATE of V4RB_reference_2_en.pdf Message-ID: Hi REALbasic developers, Please download update version of V4RB_reference_2_en.pdf document. Some places are corrected. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon Jun 13 14:55:50 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 07:55:57 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: <1119729389.20050613133415@public.kherson.ua> Message-ID: all Data in Field Type "Text" is still working all Data in Fileld Type "VarChar" won't work On 6/13/05, Heinrich Ruoff wrote: > I thought 12 is the last position an not the total number of records > thanks - now LIMIT works as expected using 2.0.4 fc5 > > do you have a clue whats wrong with the strings from DB? > did there anything change in V4MD 2.0.4 fc5 regarding encoding? > > > On 6/13/05, Ivan Smahin wrote: > > Hello Heinrich, > > > > Monday, June 13, 2005, 1:04:12 PM, you wrote: > > > > HR> after update from 2.0.3 to 2.0.4 fc5 > > HR> the first recordCount is reported correctly > > HR> ("SELECT * FROM tb_bje_artikel LIMIT 0,4") > > > > HR> but "SELECT * FROM tb_bje_artikel LIMIT 8,12" > > HR> returns an recordCount of 12 instead of 4 > > > > This is wrong. > > "... LIMIT 8,12" means - 12 records starting after 8 position (9). > > > > So we have 12 records > > > > Try it - you can easy see affecyed rows > > SELECT RecID, * FROM tb_bje_artikel LIMIT 8,12 > > > > > > -- > > Best regards, > > Ivan mailto:IvanSmahin@public.kherson.ua > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > From sunshine at public.kherson.ua Mon Jun 13 15:56:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 07:57:01 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: Message-ID: On 6/13/05 2:13 PM, "Heinrich Ruoff" wrote: > I thought 12 is the last position an not the total number of records > thanks - now LIMIT works as expected using 2.0.4 fc5 > > do you have a clue whats wrong with the strings from DB? > did there anything change in V4MD 2.0.4 fc5 regarding encoding? Yes. What is wrong ?! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon Jun 13 15:02:04 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jun 13 08:02:16 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: References: Message-ID: e.g.: cursor.field(2).value returns "x?x?" instead of the string "2006/6 US" On 6/13/05, Ruslan Zasukhin wrote: > On 6/13/05 2:13 PM, "Heinrich Ruoff" wrote: > > > I thought 12 is the last position an not the total number of records > > thanks - now LIMIT works as expected using 2.0.4 fc5 > > > > do you have a clue whats wrong with the strings from DB? > > did there anything change in V4MD 2.0.4 fc5 regarding encoding? > > Yes. What is wrong ?! > > -- > Best regards, > > Ruslan Zasukhin > VP 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 Jun 13 16:02:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 13 08:02:47 2005 Subject: [V4MD2] SELECT LIMIT In-Reply-To: Message-ID: On 6/13/05 3:55 PM, "Heinrich Ruoff" wrote: > all Data in Field Type "Text" is still working > all Data in Fileld Type "VarChar" won't work Can you tell me using our examples ? E.g. Which example is broken ? Api_way/Records_AddDelete Works ? It have string, VarChar and text fields. Do you enter English text or no ? -- Best regards, Ruslan Zasukhin VP Engineering 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 at panamind.com Mon Jun 13 09:49:34 2005 From: valentina at panamind.com (Gary Edge) Date: Mon Jun 13 08:49:45 2005 Subject: Limitations In-Reply-To: References: Message-ID: <0468C240-EAC8-45BE-B94E-EB0CC07F9A3D@panamind.com> On Jun 13, 2005, at 3:24 AM, Ruslan Zasukhin wrote: > Have you create second db object ? > > You need > > db1 = new Vdatabase > db2 = new Vdatabase > > db1.open( where1 ) > db2.open( where2 ) > > Hi Ruslan, How soon I forget. I encountered the same problem I had before. I forgot to include the call to the constructor of the VDatabase class (vdatabase(0)) in the constructor of my db object. Thanks Gary From lfredricks at proactive-intl.com Mon Jun 13 07:00:42 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon Jun 13 09:00:52 2005 Subject: Paradigma Software Announces Valentina 2 for Revolution Message-ID: <20050613140042.D160F17D02C@spatula.dreamhost.com> Paradigma Software Announces Valentina 2 for Revolution NEW DESKTOP AND TRUE SERVER APPLICATION DEPLOYMENT OPTIONS FOR REV DEVELOPERS; SPONSORED REVCON CONFERENCE BUYERS GET $100 DISCOUNT June 13, 2005. Beaverton, Oregon. Paradigma Software, Inc, makers of the ultra-fast Valentina 2 Office Server for MacOS X and Windows, announce Valentina 2 for Revolution ADK and Valentina Developer Network for Revolution products. Valentina 2 technology is the result of three years of improvements upon the incredibly fast and robust database technology underlying many developer solutions for Macintosh and Windows. Valentina 2 Application Developer Kits provide software developers with the incredibly fast and robust Valentina 2 database engine for royalty free incorporation into their desktop applications. Developers who use Runtime Revolution (http://www.runrev.com) on MacOS X and Windows have previously been able to use Valentina XCMD 1.x for their projects. New advances in Valentina 2 include: -New Abstraction Links. Foreign Keys, fast Valentina ObjectPtrs and Valentina Binary links for 1:1, 1:M and M:M links. -New Speed Improvements. Valentina 2 Cache, new internal file system and RAM-based options dramatically increase speed over the already fast Valentina 1.x technology. -Unicode. Support for the original 170 encodings plus UTF-8 and UTF-16 native databases, leveraging IBM's superior Unicode framework. -Valentina XML. Import and export both data and schema. -Valentina SQL. SQL'92 compliance as well as native API calls in all products. -Simultaneous Data Exchange. Connect to data stored on read-only media such as CDROMS, Valentina-based servers on intranets or the Internet, local databases and more. -Transparent File Format. Use the same database files on Windows and MacOS X clients and servers. -50 example projects to work with. Others include new reference integrity, record level locks and 448-bit encryption. Valentina 2 for Revolution (single OS) has a price of $199. Valentina 2 for Revolution Professional includes all operating systems supported and a free copy of Valentina Studio Administrator, has a price of $299. Valentina Developer Network Platform Edition for Revolution includes all the benefits of a Valentina 2 Professional ADK, but also includes: -License to deploy Valentina 2 Embedded Server (default five connections), royalty free, on all operating systems supported. -VDN member only rights to purchase additional Connections to extend the number of connections on a deployment of Embedded Server. -VDN member only rights to purchase Embedded Server Unlimited Connections for deployment. -Internal developer edition versions of Valentina 2 Office Server -Prioritized Support and access to VDN private support forum. - Reseller pricing on Valentina 2 Office Server. -Free technology updates for at least two years. Valentina Developer Network pricing begins at $499. During the week of RevCon West (http://www.altuit.com/webs/altuit/RevConWest/) from June 13-June 20, early adopters can pre-order Valentina 2 Professional for Revolution and VDN Platform Edition (Revolution) at a savings of $100. Orders must be placed through the Paradigma Software online store with the discount voucher REVCONWEST. Paradigma Software is a sponsor of the show and will be available to answer questions about Paradigma Software support for Runtime Revolution. Valentina-based solutions are available for all major development environments, including COM, .Net, Java, REAL Software's REALbasic and Macromedia Director. Linux development is underway. For more information, visit the Paradigma Software at http://www.paradigmasoft.com or its authorized European distributors. About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading provider of incredibly fast and robust database solutions for business and development. Valentina 2 technology powers solutions as diverse as graphics applications from major Japanese electronics companies to solutions supporting US public schools. Paradigma Software solutions are available for every major development environment on the Windows and Macintosh platforms. For additional information, visit the Paradigma Software website at http://www.paradigmasoft.com. Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com From j.peters at valentina-db.de Mon Jun 13 19:58:34 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Jun 13 12:59:28 2005 Subject: [ANN] Valentina Studio Administrator 2.0 b8 (Mac) available Message-ID: <8C62DD8C-A1AB-4C67-A636-1ADA9D60CE0E@valentina-db.de> Hi all, i have uploaded Valentina Studio Administrator 2.0 b8 (Mac) to http://www.paradigmasoft.com and http://www.valentina-db.de The Windows version will be available tomorrow. This is the change log: VStudio - 2.0 b8 ================ - 0000861: [VServer connection] Server Monitor does not work (Jochen Peters) - 0000860: [Import/Export] Import from V1 databases does not work (Jochen Peters) - 0000857: [Application Menu] Crash during quit, if more then 1 db is open (Jochen Peters) - 0000859: [Import/Export] Automatic field creation does not work for some fields (Jochen Peters) - 0000572: [Table Browser] On V1Db's not all fields are shown (Jochen Peters) - 0000844: [Table Browser] Cannot create Text field (Andrey Kalinichenko) - 0000723: [Drag&Drop] Text import problem (Jochen Peters) - 0000825: [ODBC] VarChar fields are truncated to 20 characters (Jochen Peters) - 0000791: [Feature] XML/SQL Dump and Load. Compact, Defragment. (Andrey Kalinichenko) - 0000711: [Structure Browser] no way to create methods for V2 databases (Andrey Kalinichenko) - 0000659: [Table Browser] The changes of values in the just create boolean field cause crash (Andrey Kalinichenko) - 0000715: [Application Menu] No way to use convert1_2 from kernel (Andrey Kalinichenko) - 0000782: [Feature] Add parameter for DIAGNOSE command in Utility Menu (Andrey Kalinichenko) - 0000773: [Application Menu] File-Close menu item broken (Andrey Kalinichenko) - 0000706: [Structure Browser] We need way ASSIGN/CHANGE a Primary Key for a Table. (Andrey Kalinichenko) -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From snw at paradise.net.nz Tue Jun 14 09:43:07 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Jun 13 16:43:20 2005 Subject: locale, storageEncoding options Message-ID: <6.2.1.2.2.20050614093619.046dad50@pop3.paradise.net.nz> Hi Ruslan, Where can I find a list of options for both these properties? Thanks, -Sean. From snw at paradise.net.nz Tue Jun 14 09:43:11 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Jun 13 16:43:26 2005 Subject: segmentSize Message-ID: <6.2.1.2.2.20050614093756.046dbd80@pop3.paradise.net.nz> Hi Ruslan, How can I calculate the optimal segmentSize for a database, and how does the segmentSize impact efficiency, speed, ...? Thanks, -Sean. From sunshine at public.kherson.ua Tue Jun 14 08:48:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 00:48:17 2005 Subject: locale, storageEncoding options In-Reply-To: <6.2.1.2.2.20050614093619.046dad50@pop3.paradise.net.nz> Message-ID: On 6/14/05 12:43 AM, "Sean Wilson" wrote: > Hi Ruslan, > > Where can I find a list of options for both these properties? Hi Sean, * storageEncoding for now works only UTF16. * locale this is ISO standard: en_US en_GB de_DE ru_RU -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 14 09:10:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 01:10:50 2005 Subject: segmentSize In-Reply-To: <6.2.1.2.2.20050614093756.046dbd80@pop3.paradise.net.nz> Message-ID: On 6/14/05 12:43 AM, "Sean Wilson" wrote: > Hi Ruslan, > > How can I calculate the optimal segmentSize for a database, and how does > the segmentSize impact efficiency, speed, ...? Hi Sean, Hard to say what is optimial * for dbs in 5Mb and more I think you can use 8 16 or 32 Kb segment * for very small dbs which will have or MUST have size < 1Mb you will prefer segment in 2KB -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 14 20:51:09 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Tue Jun 14 03:51:21 2005 Subject: segmentSize In-Reply-To: References: <6.2.1.2.2.20050614093756.046dbd80@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050614204451.03a8c280@pop3.paradise.net.nz> Hi Ruslan, >Hard to say what is optimial > >* for dbs in 5Mb and more I think you can use 8 16 or 32 Kb segment > >* for very small dbs which will have or MUST have size < 1Mb you will prefer >segment in 2KB Hmmm, but what do you base these suggested sizes on? For example, I could give details of field types, max lengths, etc. and you could suggest a segment size. But if I had an idea of how you arrive at such a determination I - and others - wouldn't need to ask :-). I guess what I was hoping for was an insightful essay on segment size/page size and how it affects BLOB, text, varchar, etc fields. Something that might form the basis of a white paper/technote/addition to the kernel doc. Thanks, -Sean. From wonderfef at noos.fr Tue Jun 14 10:59:27 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Jun 14 03:59:36 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: References: Message-ID: <42345C83-7229-41DE-85E9-2E5DEC17F034@noos.fr> Le 10 juin 2005 ? 16:39, erne a ?crit : > Unfortunately (and oddly) RB does not have built-in conversion tools > (MBS plugin do) so you must use workarounds Thanks Erne. I use the MBS plugin, so I'll try this tip as soon as possible. Eric From wonderfef at noos.fr Tue Jun 14 11:02:31 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Jun 14 04:02:41 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: References: Message-ID: <6DD58907-D640-45E7-9A52-3788076C1537@noos.fr> Le 10 juin 2005 ? 14:05, Ruslan Zasukhin a ?crit : > I very ask you go to beta list and bomb us with bug reports, > Send us dbs, projects and we will try make them working ASAP for you. Thank you Ruslan. I've just downloaded Valentina Studio 2.0b8. It seems that it succeeded in converting my db! I now need to install a new version of Office Server. I'll get back to you as soon as I can. Thanks again. Eric From daisychain at iinet.net.au Tue Jun 14 19:18:46 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 14 04:18:57 2005 Subject: beta list In-Reply-To: <6.2.1.2.2.20050614204451.03a8c280@pop3.paradise.net.nz> Message-ID: <000901c570c2$1141f9f0$ae00a8c0@DamonsPC> How does one sugscribe to the beta list so I can download the beta version of RB Valentina? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Sean Wilson Sent: Tuesday, 14 June 2005 6:51 PM To: Valentina Developers Subject: Re: segmentSize Hi Ruslan, >Hard to say what is optimial > >* for dbs in 5Mb and more I think you can use 8 16 or 32 Kb segment > >* for very small dbs which will have or MUST have size < 1Mb you will prefer >segment in 2KB Hmmm, but what do you base these suggested sizes on? For example, I could give details of field types, max lengths, etc. and you could suggest a segment size. But if I had an idea of how you arrive at such a determination I - and others - wouldn't need to ask :-). I guess what I was hoping for was an insightful essay on segment size/page size and how it affects BLOB, text, varchar, etc fields. Something that might form the basis of a white paper/technote/addition to the kernel doc. Thanks, -Sean. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Jun 14 12:23:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 04:24:09 2005 Subject: beta list In-Reply-To: <000901c570c2$1141f9f0$ae00a8c0@DamonsPC> Message-ID: On 6/14/05 12:18 PM, "Damon Pillinger" wrote: > How does one sugscribe to the beta list so I can download the beta > version of RB Valentina? Hi Damon, Please go to Support page on our site. Here exists link for subscriuprtion -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Tue Jun 14 19:37:53 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 14 04:38:02 2005 Subject: beta list In-Reply-To: Message-ID: <000b01c570c4$bd52d370$ae00a8c0@DamonsPC> Thanks 'done Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 14 June 2005 7:24 PM To: valentina@lists.macserve.net Subject: Re: beta list On 6/14/05 12:18 PM, "Damon Pillinger" wrote: > How does one sugscribe to the beta list so I can download the beta > version of RB Valentina? Hi Damon, Please go to Support page on our site. Here exists link for subscriuprtion -- Best regards, Ruslan Zasukhin VP 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 Jun 14 13:11:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 05:11:19 2005 Subject: segmentSize In-Reply-To: <6.2.1.2.2.20050614204451.03a8c280@pop3.paradise.net.nz> Message-ID: On 6/14/05 11:51 AM, "Sean Wilson" wrote: Hi Sean, >> Hard to say what is optimial >> >> * for dbs in 5Mb and more I think you can use 8 16 or 32 Kb segment >> >> * for very small dbs which will have or MUST have size < 1Mb you will prefer >> segment in 2KB > > Hmmm, but what do you base these suggested sizes on? Valentina on default set 32Kb > For example, I could > give details of field types, max lengths, etc. and you could suggest a > segment size. In fact this is not so important parameter IF you not try to make db small. > But if I had an idea of how you arrive at such a determination I - and others > - wouldn't need to ask :-). > > I guess what I was hoping for was an insightful essay on segment size/page > size and how it affects BLOB, text, varchar, etc fields. Something that might > form the basis of a white paper/technote/addition to the kernel doc. Db.Segment do NOT affect BLOBs and rest! Db.Segment -- this is how many Valentina allocate disk space when it need extend some file. Note, that BLOB fields have own VBLOB.segmentSize, Which is not the same as db.SegmentSize. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 14 13:15:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 05:15:50 2005 Subject: [V4RB-VServer] can't work with pictures In-Reply-To: <6DD58907-D640-45E7-9A52-3788076C1537@noos.fr> Message-ID: On 6/14/05 12:02 PM, "Eric Ferrer" wrote: > > Le 10 juin 2005 ? 14:05, Ruslan Zasukhin a ?crit : > >> I very ask you go to beta list and bomb us with bug reports, >> Send us dbs, projects and we will try make them working ASAP for you. > > Thank you Ruslan. > > I've just downloaded Valentina Studio 2.0b8. > It seems that it succeeded in converting my db! Wow. Sounds Great! So we start to see light :-) > I now need to install a new version of Office Server. > > I'll get back to you as soon as I can. > Thanks again. You have link to fc5 of vserver ? Here it is: www.paradigmasoft.com/download/VServer_Office_204fc5_win.exe www.paradigmasoft.com/download/VServer_Office_204fc5_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 j.peters at valentina-db.de Tue Jun 14 17:17:24 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Tue Jun 14 10:18:40 2005 Subject: [ANN] Valentina Studio Administrator 2.0b8 (Win) Message-ID: Hi all, i have uploaded Valentina Studio Administrator 2.0 b8 (Win) to http://www.paradigmasoft.com and http://www.valentina-db.de This is the change log: VStudio - 2.0 b8 ================ - 0000861: [VServer connection] Server Monitor does not work (Jochen Peters) - 0000860: [Import/Export] Import from V1 databases does not work (Jochen Peters) - 0000857: [Application Menu] Crash during quit, if more then 1 db is open (Jochen Peters) - 0000859: [Import/Export] Automatic field creation does not work for some fields (Jochen Peters) - 0000572: [Table Browser] On V1Db's not all fields are shown (Jochen Peters) - 0000844: [Table Browser] Cannot create Text field (Andrey Kalinichenko) - 0000723: [Drag&Drop] Text import problem (Jochen Peters) - 0000825: [ODBC] VarChar fields are truncated to 20 characters (Jochen Peters) - 0000791: [Feature] XML/SQL Dump and Load. Compact, Defragment. (Andrey Kalinichenko) - 0000711: [Structure Browser] no way to create methods for V2 databases (Andrey Kalinichenko) - 0000659: [Table Browser] The changes of values in the just create boolean field cause crash (Andrey Kalinichenko) - 0000715: [Application Menu] No way to use convert1_2 from kernel (Andrey Kalinichenko) - 0000782: [Feature] Add parameter for DIAGNOSE command in Utility Menu (Andrey Kalinichenko) - 0000773: [Application Menu] File-Close menu item broken (Andrey Kalinichenko) - 0000706: [Structure Browser] We need way ASSIGN/CHANGE a Primary Key for a Table. (Andrey Kalinichenko) -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Tue Jun 14 19:05:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 11:05:45 2005 Subject: [SPEED] Improved performance of cache work Message-ID: Hi All, I have good news. I was able just only improve performance of caching. On million table "SELECT * FROM T" before 1.8 sec now 0.8 sec -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 14 23:34:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 14 15:34:45 2005 Subject: [SPEED] Improved performance of cache work In-Reply-To: Message-ID: On 6/14/05 7:05 PM, "Ruslan Zasukhin" wrote: > Hi All, > > I have good news. > > I was able just only improve performance of caching. > > On million table "SELECT * FROM T" > > before 1.8 sec > now 0.8 sec After little more work now 0.7 sec on first query 0.5 on next queries (i.e. cached) If use kNoLocks for query then no locks 0.1 - 0.09 ------------- Btw, I have similar bench for RB2005 - SQL Lite v3 I.e. Table with million records. sql lite 24 secs Comparing to no locks (because they do not have locks) We get Valentina is faster 240 times on this 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 sunshine at public.kherson.ua Wed Jun 15 08:57:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 00:58:01 2005 Subject: sorting w accents In-Reply-To: <000001c57014$fe9101a0$0201a8c0@JOHNHP> Message-ID: On 6/13/05 3:39 PM, "John W. Miescher" wrote: > Hi Ruslan, > attached is the sample project. 1. Create the DB, 2. run a query. > > using the prefab '%fred%' finds nothing, but '%fr?d%' finds 3 records. > > Both are wrong - the should find Fr?d?rik, not more and not less. > > Hope you can debug me. Best regards, john m. > > E: miescher@bizdata.com Hi John, Simple. You have to use UTF8 for storage encoding. Not works now. I have replace to mDB_UTF8 = CreateDatabase( "UTF16" ) And query works as you expect -- one record Fr?d?rik is found -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 08:46:24 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 01:46:35 2005 Subject: Help for SQL query Message-ID: <001301c57175$f3425490$7d1d1e97@vmtrm4p9ipbkv2> Hi list, I need to optimize this query... on searchStringBySQL searchString = member("searchString").text gCursor = 0 query = "SELECT RecID, * from STUDENTI\ WHERE sF1 = '" & searchString & "'\ OR sF2 = '" & searchString & "'\ OR sF3 = '" & searchString & "'\ -- and so on... OR sF30 = '" & searchString & "'" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) if CheckValError() then exit updateResultGrid() end ... but I don't know if is possible to insert a repeat loop into query, or to use some other solution somebody have a suggestion? Thanks Paolo V4MD 2.0.2 WIN XP-PRO From sunshine at public.kherson.ua Wed Jun 15 10:06:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 02:06:19 2005 Subject: Help for SQL query In-Reply-To: <001301c57175$f3425490$7d1d1e97@vmtrm4p9ipbkv2> Message-ID: On 6/15/05 9:46 AM, "info@vallemediatime.com" wrote: > Hi list, > I need to optimize this query... > > on searchStringBySQL > searchString = member("searchString").text > gCursor = 0 > query = "SELECT RecID, * from STUDENTI\ > WHERE sF1 = '" & searchString & "'\ > OR sF2 = '" & searchString & "'\ > OR sF3 = '" & searchString & "'\ > -- and so on... > OR sF30 = '" & searchString & "'" > > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > if CheckValError() then exit > updateResultGrid() > end > > ... but I don't know if is possible to insert a repeat loop into query, or > to use some other solution > somebody have a suggestion? Hi Paolo, You can use WHERE fld IN (v1, v2, v3) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 09:34:47 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 02:34:51 2005 Subject: Help for SQL query References: Message-ID: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2> ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 15, 2005 9:06 AM Subject: Re: Help for SQL query > On 6/15/05 9:46 AM, "info@vallemediatime.com" > wrote: > > > Hi list, > > I need to optimize this query... > > > > on searchStringBySQL > > searchString = member("searchString").text > > gCursor = 0 > > query = "SELECT RecID, * from STUDENTI\ > > WHERE sF1 = '" & searchString & "'\ > > OR sF2 = '" & searchString & "'\ > > OR sF3 = '" & searchString & "'\ > > -- and so on... > > OR sF30 = '" & searchString & "'" > > > > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > > if CheckValError() then exit > > updateResultGrid() > > end > > > > ... but I don't know if is possible to insert a repeat loop into query, or > > to use some other solution > > somebody have a suggestion? > > Hi Paolo, > > You can use > > WHERE fld IN (v1, v2, v3) good, this works but if I use: WHERE fld IN (v1) -- only one value I get a Verror... is normal? Paolo > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From info at vallemediatime.com Wed Jun 15 09:42:12 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 02:42:26 2005 Subject: Help for SQL query References: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2> Message-ID: <000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2> with: WHERE fld IN (v1, v1) -- same fields the query works, it's probably that this sql sintax need two or more value, right? Paolo ----- Original Message ----- From: To: "Valentina Developers" Sent: Wednesday, June 15, 2005 9:34 AM Subject: Re: Help for SQL query > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Wednesday, June 15, 2005 9:06 AM > Subject: Re: Help for SQL query > > > > On 6/15/05 9:46 AM, "info@vallemediatime.com" > > wrote: > > > > > Hi list, > > > I need to optimize this query... > > > > > > on searchStringBySQL > > > searchString = member("searchString").text > > > gCursor = 0 > > > query = "SELECT RecID, * from STUDENTI\ > > > WHERE sF1 = '" & searchString & "'\ > > > OR sF2 = '" & searchString & "'\ > > > OR sF3 = '" & searchString & "'\ > > > -- and so on... > > > OR sF30 = '" & searchString & "'" > > > > > > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > > > if CheckValError() then exit > > > updateResultGrid() > > > end > > > > > > ... but I don't know if is possible to insert a repeat loop into query, > or > > > to use some other solution > > > somebody have a suggestion? > > > > Hi Paolo, > > > > You can use > > > > WHERE fld IN (v1, v2, v3) > > good, this works > but if I use: > WHERE fld IN (v1) -- only one value > I get a Verror... is normal? > Paolo > > > > > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP 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 > > > > > > > > -- > > Internal Virus Database is out-of-date. > > Checked by AVG Anti-Virus. > > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From IvanSmahin at public.kherson.ua Wed Jun 15 10:52:29 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Jun 15 02:52:34 2005 Subject: Help for SQL query In-Reply-To: <000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2> References: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2> <000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2> Message-ID: <668313781.20050615105229@public.kherson.ua> Hello Paolo, Wednesday, June 15, 2005, 10:42:12 AM, you wrote: ivc> with: ivc> WHERE fld IN (v1, v1) -- same fields ivc> the query works, it's probably that this sql sintax need two or more value, ivc> right? No. It is allowed to use any number of arguments (not zero) in the "IN" clause. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From info at vallemediatime.com Wed Jun 15 09:57:45 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 02:57:53 2005 Subject: Help for SQL query References: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2><000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2> <668313781.20050615105229@public.kherson.ua> Message-ID: <000801c5717f$eae57a20$c01c1e97@vmtrm4p9ipbkv2> ----- Original Message ----- From: "Ivan Smahin" To: "Valentina Developers" Sent: Wednesday, June 15, 2005 9:52 AM Subject: Re[2]: Help for SQL query > Hello Paolo, > > Wednesday, June 15, 2005, 10:42:12 AM, you wrote: > > ivc> with: > ivc> WHERE fld IN (v1, v1) -- same fields > ivc> the query works, it's probably that this sql sintax need two or more value, > ivc> right? > > No. It is allowed to use any number of arguments (not zero) in the "IN" clause. Thanks, but with: WHERE fld IN (v1) I get a Verror, can you test this? Paolo V4MD 2.0.2 WIN > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From sunshine at public.kherson.ua Wed Jun 15 11:21:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 03:21:27 2005 Subject: Help for SQL query In-Reply-To: <000801c5717f$eae57a20$c01c1e97@vmtrm4p9ipbkv2> Message-ID: On 6/15/05 10:57 AM, "info@vallemediatime.com" wrote: > Thanks, but with: > WHERE fld IN (v1) > I get a Verror, can you test this? > Paolo > V4MD 2.0.2 WIN Probably this is fixed in newer builds. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Wed Jun 15 11:22:17 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Jun 15 03:22:21 2005 Subject: Help for SQL query In-Reply-To: <000801c5717f$eae57a20$c01c1e97@vmtrm4p9ipbkv2> References: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2><000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2> <668313781.20050615105229@public.kherson.ua> <000801c5717f$eae57a20$c01c1e97@vmtrm4p9ipbkv2> Message-ID: <1114325194.20050615112217@public.kherson.ua> Hello info, Wednesday, June 15, 2005, 10:57:45 AM, you wrote: ivc> ----- Original Message ----- ivc> WHERE fld IN (v1) ivc> I get a Verror, can you test this? ivc> Paolo ivc> V4MD 2.0.2 WIN Sure. Send us project which reproduce it please. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From wonderfef at noos.fr Wed Jun 15 10:36:01 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 03:36:31 2005 Subject: [V4RB2] Register, Connect, Create and other issues Message-ID: <551E70C1-EF73-410D-9D61-00697A111EAE@noos.fr> Hello all, Well, it seems that VStudio was able to convert my db to v2. It says that the operation was successfull and it is able to open the converted db and browse its data. Well, that's a good point. But now, I'd like Valentina Office Server to handle my database, but none of the "Register" methods I could find was able to do it : Most of the time, VStudio quits when I try to connect to Valentina Office Server. If I can connect to server, it quits when I use the function "Register Database". So I tried a trick : - create a blank database to force Valentina Server to register it, - close the Valentina Server service, - replace the freshly created db by my old good one - launch the Valentina Server service again But that does not seem to work neither... In the meantime, I discovered that even if I create the new db using mode 5 (.vdb + .ind), I always get a mode 4 (.blb + .dat + .ind + .vdb) How long is the way to V2? Everything quits, crashes or freezes... What's wrong with the way I use Valentina? Where is the time when setting up Vserver was a 3 step process that worked right away? Moreover, how to register VStudio? I'm fed up with the demo message. I was told that buying a license of VServer beta allows me to use V2 and V2 users are supposed to get a free copy of VStudio, nope? Eric From info at vallemediatime.com Wed Jun 15 10:43:15 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 03:46:42 2005 Subject: Help for SQL query References: <000601c5717c$b5463dd0$c01c1e97@vmtrm4p9ipbkv2><000601c5717d$be9ba810$c01c1e97@vmtrm4p9ipbkv2><668313781.20050615105229@public.kherson.ua><000801c5717f$eae57a20$c01c1e97@vmtrm4p9ipbkv2> <1114325194.20050615112217@public.kherson.ua> Message-ID: <000601c57186$46075850$cf261e97@vmtrm4p9ipbkv2> ----- Original Message ----- From: "Ivan Smahin" To: "Valentina Developers" Sent: Wednesday, June 15, 2005 10:22 AM Subject: Re[4]: Help for SQL query > Hello info, > > Wednesday, June 15, 2005, 10:57:45 AM, you wrote: > > ivc> ----- Original Message ----- > ivc> WHERE fld IN (v1) > ivc> I get a Verror, can you test this? > ivc> Paolo > ivc> V4MD 2.0.2 WIN > > Sure. Send us project which reproduce it please. I'm sure, all other query works good, but this show me: ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unexpected token:)) I can wait for 2.0.4 and then I send you a reproducible project Paolo > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From sunshine at public.kherson.ua Wed Jun 15 12:10:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 04:10:15 2005 Subject: Help for SQL query In-Reply-To: <000601c57186$46075850$cf261e97@vmtrm4p9ipbkv2> Message-ID: On 6/15/05 11:43 AM, "info@vallemediatime.com" wrote: >> ivc> WHERE fld IN (v1) >> ivc> I get a Verror, can you test this? >> ivc> Paolo >> ivc> V4MD 2.0.2 WIN >> >> Sure. Send us project which reproduce it please. > > I'm sure, all other query works good, but this show me: > ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unexpected token:)) Aha, then it looks like Parser error. Sergey please check such query in SQL parser tests -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 12:18:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 04:19:12 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: <551E70C1-EF73-410D-9D61-00697A111EAE@noos.fr> Message-ID: On 6/15/05 11:36 AM, "Eric Ferrer" wrote: Jochen, Have you check this features in b8? Works? > Hello all, > > Well, it seems that VStudio was able to convert my db to v2. > It says that the operation was successfull and it is able to open the > converted db and browse its data. > > Well, that's a good point. > > But now, I'd like Valentina Office Server to handle my database, but > none of the "Register" methods I could find was able to do it : > Most of the time, VStudio quits when I try to connect to Valentina > Office Server. > If I can connect to server, it quits when I use the function > "Register Database". Eric, question: do you use Vstudio b8 ? Just yesterday was ship of b8 I have try on my MAA and no problems connect to Vserver. Then other question: what Vserver version you use ? If you use 2.0.3 then please subscribe to beta list to get access for Vserver 2.0.4fc5 > So I tried a trick : > - create a blank database to force Valentina Server to register it, > - close the Valentina Server service, > - replace the freshly created db by my old good one > - launch the Valentina Server service again > But that does not seem to work neither... > > In the meantime, I discovered that even if I create the new db using > mode 5 (.vdb + .ind), I always get a mode 4 (.blb + .dat + .ind + .vdb) > > > How long is the way to V2? > Everything quits, crashes or freezes... > What's wrong with the way I use Valentina? > Where is the time when setting up Vserver was a 3 step process that > worked right away? > > > Moreover, how to register VStudio? > I'm fed up with the demo message. > I was told that buying a license of VServer beta allows me to use V2 > and V2 users are supposed to get a free copy of VStudio, nope? > > > Eric > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Wed Jun 15 11:29:08 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Jun 15 04:29:24 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: References: <551E70C1-EF73-410D-9D61-00697A111EAE@noos.fr> Message-ID: <56407.62.154.199.179.1118827748.squirrel@webmail3.server-einstellung.de> > On 6/15/05 11:36 AM, "Eric Ferrer" wrote: > > Jochen, > > Have you check this features in b8? Works? Yes - it should work. But i only have tested with the latest server version! > > >> Hello all, >> >> Well, it seems that VStudio was able to convert my db to v2. >> It says that the operation was successfull and it is able to open the >> converted db and browse its data. >> >> Well, that's a good point. >> >> But now, I'd like Valentina Office Server to handle my database, but >> none of the "Register" methods I could find was able to do it : >> Most of the time, VStudio quits when I try to connect to Valentina >> Office Server. >> If I can connect to server, it quits when I use the function >> "Register Database". > > Eric, question: do you use Vstudio b8 ? > Just yesterday was ship of b8 > > I have try on my MAA and no problems connect to Vserver. > > Then other question: what Vserver version you use ? > If you use 2.0.3 then please subscribe to beta list to get access for > Vserver 2.0.4fc5 > > >> So I tried a trick : >> - create a blank database to force Valentina Server to register it, >> - close the Valentina Server service, >> - replace the freshly created db by my old good one >> - launch the Valentina Server service again >> But that does not seem to work neither... >> >> In the meantime, I discovered that even if I create the new db using >> mode 5 (.vdb + .ind), I always get a mode 4 (.blb + .dat + .ind + .vdb) >> >> >> How long is the way to V2? >> Everything quits, crashes or freezes... >> What's wrong with the way I use Valentina? >> Where is the time when setting up Vserver was a 3 step process that >> worked right away? >> >> >> Moreover, how to register VStudio? >> I'm fed up with the demo message. >> I was told that buying a license of VServer beta allows me to use V2 >> and V2 users are supposed to get a free copy of VStudio, nope? >> >> >> Eric >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-studio mailing list > Valentina-studio@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-studio > -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From wonderfef at noos.fr Wed Jun 15 11:37:19 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 04:37:29 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: References: Message-ID: <4C6D84A5-8C00-44DC-8712-41C820E7DBA8@noos.fr> Le 15 juin 2005 ? 11:18, Ruslan Zasukhin a ?crit : > Eric, question: do you use Vstudio b8 ? > Just yesterday was ship of b8 Yes > Then other question: what Vserver version you use ? > If you use 2.0.3 then please subscribe to beta list to get access for > Vserver 2.0.4fc5 I think it's the latest version, I'm a bit lost with all these versions. I'm developping with RB 5.5.5 for Mac, I compile for Mac and Windows, the server is on Windows. I'm going to uninstall/reinstall the whole stuff. I'll get back to you Thanks Eric From sunshine at public.kherson.ua Wed Jun 15 12:43:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 04:43:50 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: <4C6D84A5-8C00-44DC-8712-41C820E7DBA8@noos.fr> Message-ID: On 6/15/05 12:37 PM, "Eric Ferrer" wrote: > >> Then other question: what Vserver version you use ? >> If you use 2.0.3 then please subscribe to beta list to get access for >> Vserver 2.0.4fc5 > I think it's the latest version, I'm a bit lost with all these versions. > I'm developping with RB 5.5.5 for Mac, I compile for Mac and Windows, > the server is on Windows. I have check, on my MAC now works Sat Jun 11 2005 00:32:21.784277 VServer_Office (2.0, Protocol 2.0, Kernel 2.0.3) And Vstudio works 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 sun2 at public.kherson.ua Wed Jun 15 12:48:35 2005 From: sun2 at public.kherson.ua (Serge) Date: Wed Jun 15 04:48:46 2005 Subject: Help for SQL query In-Reply-To: <000601c57186$46075850$cf261e97@vmtrm4p9ipbkv2> Message-ID: Hi Paolo, > I'm sure, all other query works good, but this show me: > ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unexpected token:)) > > I can wait for 2.0.4 and then I send you a reproducible project > Paolo > Yes, this is the parser's problem. You don't need to send us your project (I reproduced this problem myself). It will be fixed on the next build. -- Best regards, Serge From wonderfef at noos.fr Wed Jun 15 15:27:12 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 08:27:22 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: References: Message-ID: Hello, I uninstalled/reinstalled Valentina Office Server for Windows 2.0.4fc5. VStudio is 2.0b8 both on Mac and Windows. I was able to register my converted db to VServer... but all quitted and then VServer was inactive. VStudio was then unable to connect to VServer... I started again from scratch, reinstalling everything. This time, I converted my db from v1 to V2 on Windows (using VStudio)... OK. I registered my db to VServer... OK ! Now let's see how my application works with this new server. I'm expecting new surprises... Thanks Eric From wonderfef at noos.fr Wed Jun 15 15:50:12 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 08:50:21 2005 Subject: [V4RB] order by ullong field Message-ID: Hello all, Isn't it possible to ORDER BY a ULLONG field ? I get error 'field xxxxx does not exist' in Valentina Office Server log file - though the field does exist, that's for sure. Thanks again for your help Eric From sunshine at public.kherson.ua Wed Jun 15 17:09:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 09:09:29 2005 Subject: [V4RB] order by ullong field In-Reply-To: Message-ID: On 6/15/05 4:50 PM, "Eric Ferrer" wrote: > > Hello all, > > Isn't it possible to ORDER BY a ULLONG field ? > > I get error 'field xxxxx does not exist' in Valentina Office Server > log file - though the field does exist, that's for sure. It have such name ULLONG ? This will not work because ULLONG is keyword of SQL -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 17:09:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 09:10:07 2005 Subject: [V4RB] order by ullong field In-Reply-To: Message-ID: On 6/15/05 4:50 PM, "Eric Ferrer" wrote: > > Hello all, > > Isn't it possible to ORDER BY a ULLONG field ? > > I get error 'field xxxxx does not exist' in Valentina Office Server > log file - though the field does exist, that's for sure. You can make it work I think if you will use ORDER BY "ullong" Or ORDER BY [ullong] -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 17:11:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 09:11:43 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: Message-ID: On 6/15/05 4:27 PM, "Eric Ferrer" wrote: Hi Eric, > I uninstalled/reinstalled Valentina Office Server for Windows 2.0.4fc5. > > VStudio is 2.0b8 both on Mac and Windows. > > I was able to register my converted db to VServer... but all quitted > and then VServer was inactive. > VStudio was then unable to connect to VServer... > > I started again from scratch, reinstalling everything. > > This time, I converted my db from v1 to V2 on Windows (using > VStudio)... OK. > I registered my db to VServer... OK ! I have not understand how attempt 2 differ from 1 ? > Now let's see how my application works with this new server. > I'm expecting new surprises... -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 15 16:28:27 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 09:28:37 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: References: Message-ID: <4502C7EE-DB5A-41DD-92C2-1698FACAF166@noos.fr> Le 15 juin 2005 ? 16:11, Ruslan Zasukhin a ?crit : > I have not understand how attempt 2 differ from 1 ? First attempt failed certainly because I had converted my DB from V1 to V2 on Mac. For the second attempt, I converted my DB on Windows, where my VServer is running. By the way, VStudio for Mac is never able to connect to VServer on Windows, though VStudio on Windows has no problem with this. Eric From wonderfef at noos.fr Wed Jun 15 16:31:57 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 09:32:11 2005 Subject: [V4RB] order by ullong field In-Reply-To: References: Message-ID: <9CA7FE7F-9CF0-4CB2-834A-EA8875B4666E@noos.fr> Le 15 juin 2005 ? 16:09, Ruslan Zasukhin a ?crit : > It have such name ULLONG ? > This will not work because ULLONG is keyword of SQL Of course, my field name is NOT ULLONG. SELECT Name FROM Clients ORDER BY CreationDate Name is a varchar CreationDate is ullong VServer says that CreationDate does not exist, and I swear it does. Thanks for your help Eric From sunshine at public.kherson.ua Wed Jun 15 18:26:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 10:26:06 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: <4502C7EE-DB5A-41DD-92C2-1698FACAF166@noos.fr> Message-ID: On 6/15/05 5:28 PM, "Eric Ferrer" wrote: > > Le 15 juin 2005 ? 16:11, Ruslan Zasukhin a ?crit : > >> I have not understand how attempt 2 differ from 1 ? > > First attempt failed certainly because I had converted my DB from V1 > to V2 on Mac. > > For the second attempt, I converted my DB on Windows, where my > VServer is running. I see. > By the way, VStudio for Mac is never able to connect to VServer on > Windows, though VStudio on Windows has no problem with this. You mean Vstudio win can connect to Vserver mac ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 15 18:26:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 10:27:05 2005 Subject: [V4RB] order by ullong field In-Reply-To: <9CA7FE7F-9CF0-4CB2-834A-EA8875B4666E@noos.fr> Message-ID: On 6/15/05 5:31 PM, "Eric Ferrer" wrote: > > Le 15 juin 2005 ? 16:09, Ruslan Zasukhin a ?crit : > >> It have such name ULLONG ? >> This will not work because ULLONG is keyword of SQL > > Of course, my field name is NOT ULLONG. > > SELECT Name FROM Clients ORDER BY CreationDate > > Name is a varchar > CreationDate is ullong > > > VServer says that CreationDate does not exist, and I swear it does. Aha, In 2.0 we follow standard of SQL92 you can ORDER BY only fields that in in SELECT So you need SELECT Name, CreationDate FROM Clients ORDER BY CreationDate -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 17:32:00 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 10:37:53 2005 Subject: Search string with case or no-case in API and SQL way Message-ID: <000201c571bf$d6befc20$13191e97@vmtrm4p9ipbkv2> Hi Ruslan and list, I've seen that in V2 the case and no-case search are changed. In API way seems to me that searching works in 'no_case' setting; in SQL way the searching works in 'case' setting... right? Can you tell me more informations? Or where to find it? Thanks Now I want try thid query with 'no_case' setting but I need some help. on searchByString searchString = member("searchString").text gCursor = 0 query = "SELECT RecID, * from STUDENTI\ WHERE '" & searchString & "' IN\ (sF1, sF2, sF3, sF4, sF5, sF6, sF7, sF8, sF9, sF10,\ sF11, sF12, sF13, sF14, sF15, sF16, sF17, sF18, sF19, sF20,\ sF21, sF22, sF23, sF24, sF25, sF26, sF27, sF28, sF29, sF30)" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) if CheckValError() then exit updateResultGrid() end I must insert 'no_case' like V1 or what? Thanks Paolo From wonderfef at noos.fr Wed Jun 15 17:39:52 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 10:40:00 2005 Subject: [V4RB2] Register, Connect, Create and other issues In-Reply-To: References: Message-ID: <9D5C7256-D44A-4CE8-81B6-D0454E4C9EE3@noos.fr> Le 15 juin 2005 ? 17:26, Ruslan Zasukhin a ?crit : > You mean Vstudio win can connect to Vserver mac ? Nope. I will certainly never install/test VServer on a Mac, because my Server is going to remain on a PC for a long time. VServer is on Windows. VStudio and my client application (developed with RB) should both run on Mac and Windows. What I meant is that VStudio for Mac can't connect to Vserver on Windows: it freezes when I click on the "Connect" button Thanks Eric From wonderfef at noos.fr Wed Jun 15 18:00:44 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 11:00:54 2005 Subject: [V4RB] order by ullong field In-Reply-To: References: Message-ID: <1EC66CAC-010E-4E73-9C92-F8A5B1C0AF2D@noos.fr> Le 15 juin 2005 ? 17:26, Ruslan Zasukhin a ?crit : > you can ORDER BY only fields that in in SELECT > Sorry, I now remember having read such a comment on the list. But Valentina error was not that clear... I think this point is not very cool, because forces me to ask the server for data I will never use. Anyway, updating my application is really going to be long... Thanks Eric From wonderfef at noos.fr Wed Jun 15 18:08:12 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 15 11:08:22 2005 Subject: [V4RB2] ServerSide and BulkServerSide cursors Message-ID: <6BCF4C4A-70CE-485E-98B3-5C32A576DEBD@noos.fr> Sorry, it's me again... My application (Mac) crashes when I try to get a ServerBulkSide or a ServerSide cursor. VServer is on Windows. With VStudio (Windows) : Windows error "Memory cannot be read" only with Bulk queries. Did I miss something again? Thanks for your support and help Eric From sunshine at public.kherson.ua Wed Jun 15 19:11:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 11:11:54 2005 Subject: [V4RB] order by ullong field In-Reply-To: <1EC66CAC-010E-4E73-9C92-F8A5B1C0AF2D@noos.fr> Message-ID: On 6/15/05 7:00 PM, "Eric Ferrer" wrote: > > Le 15 juin 2005 ? 17:26, Ruslan Zasukhin a ?crit : > >> you can ORDER BY only fields that in in SELECT >> > > Sorry, I now remember having read such a comment on the list. > But Valentina error was not that clear... > I think this point is not very cool, because forces me to ask the > server for data I will never use. > > Anyway, updating my application is really going to be long... All other developers was able do that maximum in 2 days as I have hear -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Wed Jun 15 18:25:23 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jun 15 11:24:06 2005 Subject: [V4RB] order by ullong field In-Reply-To: References: Message-ID: Le 15 juin 05 ? 18:11, Ruslan Zasukhin a ?crit : > On 6/15/05 7:00 PM, "Eric Ferrer" wrote: > > >> >> Le 15 juin 2005 ? 17:26, Ruslan Zasukhin a ?crit : >> >> >>> you can ORDER BY only fields that in in SELECT >>> >>> >> >> Sorry, I now remember having read such a comment on the list. >> But Valentina error was not that clear... >> I think this point is not very cool, because forces me to ask the >> server for data I will never use. >> >> Anyway, updating my application is really going to be long... >> > > All other developers was able do that maximum in 2 days as I have hear MORE, MORE and it's not finished yet jules > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From info at vallemediatime.com Wed Jun 15 17:32:00 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 15 11:47:37 2005 Subject: Search string with case or no-case in API and SQL way Message-ID: <000701c571bf$679a39e0$13191e97@vmtrm4p9ipbkv2> Hi Ruslan and list, I've seen that in V2 the case and no-case search are changed. In API way seems to me that searching works in 'no_case' setting; in SQL way the searching works in 'case' setting... right? Can you tell me more informations? Or where to find it? Thanks Now I want try thid query with 'no_case' setting but I need some help. on searchByString searchString = member("searchString").text gCursor = 0 query = "SELECT RecID, * from STUDENTI\ WHERE '" & searchString & "' IN\ (sF1, sF2, sF3, sF4, sF5, sF6, sF7, sF8, sF9, sF10,\ sF11, sF12, sF13, sF14, sF15, sF16, sF17, sF18, sF19, sF20,\ sF21, sF22, sF23, sF24, sF25, sF26, sF27, sF28, sF29, sF30)" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) if CheckValError() then exit updateResultGrid() end I must insert 'no_case' like V1 or what? Thanks Paolo From SWILK at ags.com Wed Jun 15 13:22:10 2005 From: SWILK at ags.com (Wilk, Steven) Date: Wed Jun 15 12:22:21 2005 Subject: [V4MD2] Special character problem Message-ID: <065445830D7F35439CE1BBEEB0CFF2CEFA4699@md-admin.ags.com> We are developing a cross-platform application. Everything on the Windows PC side is working great. On the Mac side I am having a problem with special characters like ?,?,? in the database. The are not showing up after I create the database, the show as squares. I am creating the database on the Mac using a text file which contains insert statements. I tried importing a text file in thru Studio by the field mapping stops working after about 4 mappings. This is my last issue to figure out, please help! This is an English database. Thanks Steve WIlk From sunshine at public.kherson.ua Wed Jun 15 20:34:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 12:34:53 2005 Subject: [V4RB2] ServerSide and BulkServerSide cursors In-Reply-To: <6BCF4C4A-70CE-485E-98B3-5C32A576DEBD@noos.fr> Message-ID: On 6/15/05 7:08 PM, "Eric Ferrer" wrote: > > Sorry, it's me again... > > My application (Mac) crashes when I try to get a ServerBulkSide or a > ServerSide cursor. > VServer is on Windows. > > With VStudio (Windows) : > Windows error "Memory cannot be read" only with Bulk queries. > > Did I miss something again? We need remove ServerBulkSide constant. It is deprecated Now ServerSide can do the same in general. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 15 20:37:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 12:37:40 2005 Subject: [V4MD2] Special character problem In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CEFA4699@md-admin.ags.com> Message-ID: On 6/15/05 8:22 PM, "Wilk, Steven" wrote: > We are developing a cross-platform application. Everything on the Windows PC > side is working great. On the Mac side I am having a problem with special > characters like ?,?,? in the database. The are not showing up after I create > the database, the show as squares. I am creating the database on the Mac > using a text file which contains insert statements. I tried importing a text > file in thru Studio by the field mapping stops working after about 4 > mappings. This is my last issue to figure out, please help! This is an > English database. Hi Wilk, What version of V4MD you use? 2.0.3 We have made fix in 2.0.4 builds for V4MD MAC and such chars. You need try new build. You need Beta list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 15 20:55:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 15 12:55:38 2005 Subject: Search string with case or no-case in API and SQL way In-Reply-To: <000201c571bf$d6befc20$13191e97@vmtrm4p9ipbkv2> Message-ID: On 6/15/05 6:32 PM, "info@vallemediatime.com" wrote: > Hi Ruslan and list, > I've seen that in V2 the case and no-case search are changed. > In API way seems to me that searching works in 'no_case' setting; > in SQL way the searching works in 'case' setting... right? In general no. Both should work in the same way And this way is defined mainly by db.CollationAttribute( kStrength ) = kPrimary/kSecondary/... > Can you tell me more informations? Or where to find it? > Thanks > > > Now I want try thid query with 'no_case' setting but I need some help. > > on searchByString > searchString = member("searchString").text > gCursor = 0 > query = "SELECT RecID, * from STUDENTI\ > WHERE '" & searchString & "' IN\ > (sF1, sF2, sF3, sF4, sF5, sF6, sF7, sF8, sF9, sF10,\ > sF11, sF12, sF13, sF14, sF15, sF16, sF17, sF18, sF19, sF20,\ > sF21, sF22, sF23, sF24, sF25, sF26, sF27, sF28, sF29, sF30)" > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > if CheckValError() then exit > updateResultGrid() > end > > I must insert 'no_case' like V1 or what? V2 do not have keyword no case. You can use for REGEX the (?i) to change case sensitivity. Look again on example Field_Find. Note, in V4MD it was fixed in 2.0.4 -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 16 08:52:40 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 16 01:52:47 2005 Subject: Search string with case or no-case in API and SQL way References: Message-ID: <000801c5723f$fdffe800$f51c1e97@vmtrm4p9ipbkv2> > > Hi Ruslan and list, > > I've seen that in V2 the case and no-case search are changed. > > In API way seems to me that searching works in 'no_case' setting; > > in SQL way the searching works in 'case' setting... right? > > In general no. Both should work in the same way Strange, I get case insensitive result table by API and case sensitve by SQL > And this way is defined mainly by > db.CollationAttribute( kStrength ) = kPrimary/kSecondary/... > > Can you tell me more informations? Or where to find it? > > Thanks In doc VKernel p.68 I read few line about this problem and in SQL doc, about LIKE, I read only example for ESCAPE expressions... > > Now I want try thid query with 'no_case' setting but I need some help. > > > > on searchByString > > searchString = member("searchString").text > > gCursor = 0 > > query = "SELECT RecID, * from STUDENTI\ > > WHERE '" & searchString & "' IN\ > > (sF1, sF2, sF3, sF4, sF5, sF6, sF7, sF8, sF9, sF10,\ > > sF11, sF12, sF13, sF14, sF15, sF16, sF17, sF18, sF19, sF20,\ > > sF21, sF22, sF23, sF24, sF25, sF26, sF27, sF28, sF29, sF30)" > > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > > if CheckValError() then exit > > updateResultGrid() > > end > > I must insert 'no_case' like V1 or what? > V2 do not have keyword no case. > You can use for REGEX the (?i) to change case sensitivity. I understand that for use REGEX in SQL is necessary insert LIKE operator in sql query, right? I've tried to insert LIKE in my code but not works and I have not idea if this is the right way, sorry, I think that this is a ordinary query and I don't know because it's become more difficult in V2 :-) query = "SELECT RecID, * from" && gTableName &&\ "WHERE '" & searchString & "' LIKE '(?i)" && searchString & "' IN" && member("fieldNameList").text Some suggestion? > Look again on example Field_Find. It's a example for API way, I need for SQL instead In API search I've not problem with case insensitive, but it's works much more slowly of the sql search... because I need more repeat loops for get the value in result table. > Note, in V4MD it was fixed in 2.0.4 ok Thanks Paolo > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 > > From sunshine at public.kherson.ua Thu Jun 16 10:11:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 02:11:42 2005 Subject: Search string with case or no-case in API and SQL way In-Reply-To: <000801c5723f$fdffe800$f51c1e97@vmtrm4p9ipbkv2> Message-ID: On 6/16/05 9:52 AM, "info@vallemediatime.com" wrote: > I understand that for use REGEX in SQL is necessary insert LIKE operator in > sql query, right? No, Exists fld LIKE fld REGEX -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 16 10:12:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 02:12:32 2005 Subject: Search string with case or no-case in API and SQL way In-Reply-To: <000801c5723f$fdffe800$f51c1e97@vmtrm4p9ipbkv2> Message-ID: On 6/16/05 9:52 AM, "info@vallemediatime.com" wrote: >> Look again on example Field_Find. > It's a example for API way, I need for SQL instead It exists in SQL form also! > In API search I've not problem with case insensitive, but it's works much > more slowly of the sql search... > because I need more repeat loops for get the value in result table. Paolo, I think first of all problem 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 info at vallemediatime.com Thu Jun 16 10:00:40 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 16 03:02:20 2005 Subject: Search string with case or no-case in API and SQL way References: Message-ID: <000601c57249$7dc1d040$59091e97@vmtrm4p9ipbkv2> > It exists in SQL form also! Sure? I have not example Field_Find in SQL_way folder example for V4MD Paolo From peter.salomon at gmx.net Thu Jun 16 10:00:56 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Jun 16 03:04:11 2005 Subject: [V4RB] rb 2005 Message-ID: <42B131B8.50207@gmx.net> Hi Ruslan, does the v4md plugIn work generally work within rb2005? i dl yesterday the demo and rb does not start with the v4rb plugIn installed. The "disableRBDB" hint from the docs does not remove menuitems of rbdb... in 2005. have you also already checked? peter From sunshine at public.kherson.ua Thu Jun 16 11:07:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 03:07:45 2005 Subject: Search string with case or no-case in API and SQL way In-Reply-To: <000601c57249$7dc1d040$59091e97@vmtrm4p9ipbkv2> Message-ID: On 6/16/05 11:00 AM, "info@vallemediatime.com" wrote: >> It exists in SQL form also! > Sure? I have not example Field_Find in SQL_way folder example for V4MD > Paolo Igor, Do you have SQL/Field_Find exmaple in 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 peter.salomon at gmx.net Thu Jun 16 10:25:55 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Jun 16 03:29:22 2005 Subject: [V4RB] rb 2005 In-Reply-To: <42B131B8.50207@gmx.net> References: <42B131B8.50207@gmx.net> Message-ID: <42B13793.9030205@gmx.net> sorry i forgot: on the mac > Hi Ruslan, > > does the v4md plugIn work generally work within rb2005? > i dl yesterday the demo and rb does not start with the v4rb plugIn > installed. The "disableRBDB" hint from the docs does not remove > menuitems of rbdb... in 2005. > have you also already checked? > > peter > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From wonderfef at noos.fr Thu Jun 16 10:45:18 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Jun 16 03:45:26 2005 Subject: [V4RB2] ServerSide and BulkServerSide cursors In-Reply-To: References: Message-ID: <6C068A47-E758-4EF1-9718-A8C30AAB4CD4@noos.fr> Le 15 juin 2005 ? 19:34, Ruslan Zasukhin a ?crit : > We need remove ServerBulkSide constant. > It is deprecated > > Now ServerSide can do the same in general. Thanks Ruslan. I've replaced all bulk-based cursors by server-based cursor. Then I discovered that server side cursors have a "ghost" record, a kind of a blank record before all other records that follow. The property ".recordcount" is correct. The work around is to call the function ".firstRecord" before looping into the records. But it sounds like a bug to me. This does not appear using VStudio 2.0b8 on Windows (I still can't test with VStudio for Mac since it is not able to connect to VServer on the PC) Eric From sunshine at public.kherson.ua Thu Jun 16 12:32:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 04:32:17 2005 Subject: [V4RB2] ServerSide and BulkServerSide cursors In-Reply-To: <6C068A47-E758-4EF1-9718-A8C30AAB4CD4@noos.fr> Message-ID: On 6/16/05 11:45 AM, "Eric Ferrer" wrote: >> We need remove ServerBulkSide constant. >> It is deprecated >> >> Now ServerSide can do the same in general. > > Thanks Ruslan. > > I've replaced all bulk-based cursors by server-based cursor. > > Then I discovered that server side cursors have a "ghost" record, a > kind of a blank record before all other records that follow. > The property ".recordcount" is correct. > The work around is to call the function ".firstRecord" before looping > into the records. > But it sounds like a bug to me. Hmm, it seems such bug was fixed already. Igor will check again. In fact it is correct to call FirstRecord() after creation. Even although Valentina cursors on default should be on first record. > This does not appear using VStudio 2.0b8 on Windows (I still can't > test with VStudio for Mac since it is not able to connect to VServer > on the PC) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 16 12:37:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 04:37:36 2005 Subject: [V4RB] rb 2005 In-Reply-To: <42B131B8.50207@gmx.net> Message-ID: On 6/16/05 11:00 AM, "peter salomon" wrote: Hi Peter, > Hi Ruslan, > > does the v4md plugIn work generally work within rb2005? Yes V4RB2 works in RB2005, Frank, Charles do use it there as I know. > i dl yesterday the demo and rb does not start with the v4rb plugIn > installed. The "disableRBDB" hint from the docs does not remove > menuitems of rbdb... in 2005. > have you also already checked? RB not start at all ??? But you say you see menu items ... So it sounds like it starts -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 16 12:10:59 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Jun 16 05:16:48 2005 Subject: [V4RB] rb 2005 In-Reply-To: References: Message-ID: <42B15033.4060200@gmx.net> Hi Ruslan, no - only if i drag the Valentina PlugIn out of the PlugIn Folder. With v4rb is does not start at all.This Mac has comletely fresh system, fresh rb 2005 fresh V4rb. Funny thing is that on my other mac the plugIn runs... but there were also older Val and RB packages installed. Main difference is that i have unix file system now... peter >RB not start at all ??? >But you say you see menu items ... So it sounds like it starts > > > > From peter.salomon at gmx.net Thu Jun 16 13:44:27 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Jun 16 06:48:05 2005 Subject: [V4RB] rb 2005 In-Reply-To: <42B15033.4060200@gmx.net> References: <42B15033.4060200@gmx.net> Message-ID: <42B1661B.9010601@gmx.net> peter salomon wrote: > Hi Ruslan, > > no - only if i drag the Valentina PlugIn out of the PlugIn Folder. > With v4rb is does not start at all.This Mac has comletely fresh > system, fresh rb 2005 fresh V4rb. > > Funny thing is that on my other mac the plugIn runs... > but there were also older Val and RB packages installed. Main > difference is that i have unix file system now... > peter Hmm, additionally to mention: on the system with working PlugIn each PlugIn has the rb plugIn FinderIcon, on the other renewed system they have not. But not only V4RB, other PlugIns as well But - with other PlugIns rb2005 comes up. its only the v4rb plugin which makes trouble on this machine I checked permissions - /Library was again wrong after installing but repairing them made no difference. What could i do next? Do i really need to reinstall Tiger on a hfs+ filesystem? any idea? peter From andrew at learningware.com Thu Jun 16 08:03:09 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 16 08:03:15 2005 Subject: Error = Record not found In-Reply-To: References: Message-ID: <42B1788D.9040107@learningware.com> I'm using V4MD. In our product, users enter questions and answers in and editor, and the data is written to a database. There are some redundant data storage methods in place, so I can view the data even though one of the records has become corrupt. A customer has pasted an answer from Word into the editor and saved the question to the database. The answer seems to have resulted in a corrupt record. I suspect that the problem is ascii character 9 (long-space). Could this be true? What does this error mean: "Record not found" ? This is not the same as a record that doesn't exist. For example, "SELECT * FROM answers WHERE qId = 93745923" results in valid cursor with zero records. In this case, "SELECT * FROM answers WHERE qId = 216" (216 is the qId of the question), I get the error. Unfortunately, "DELETE FROM answers WHERE qId = 216" also results in an error. How do I clean this problem up? Thanks. From sunshine at public.kherson.ua Thu Jun 16 18:21:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 10:21:10 2005 Subject: Error = Record not found In-Reply-To: <42B1788D.9040107@learningware.com> Message-ID: On 6/16/05 4:03 PM, "Andrew Sinning" wrote: Hi Andrew, > I'm using V4MD. V4MD 2 ? > In our product, users enter questions and answers in and editor, and the > data is written to a database. There are some redundant data storage > methods in place, so I can view the data even though one of the records > has become corrupt. > > A customer has pasted an answer from Word into the editor and saved the > question to the database. The answer seems to have resulted in a > corrupt record. I suspect that the problem is ascii character 9 > (long-space). Could this be true? What type has field Answer? > What does this error mean: "Record not found" ? > > This is not the same as a record that doesn't exist. For example, > "SELECT * FROM answers WHERE qId = 93745923" results in valid cursor > with zero records. > In this case, "SELECT * FROM answers WHERE qId = 216" (216 is the qId of > the question), I get the error. Unfortunately, "DELETE FROM answers > WHERE qId = 216" also results in an error. How do I clean this problem up? Usually XML 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 sunshine at public.kherson.ua Thu Jun 16 18:22:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 10:22:45 2005 Subject: [V4RB] rb 2005 In-Reply-To: <42B1661B.9010601@gmx.net> Message-ID: On 6/16/05 2:44 PM, "peter salomon" wrote: > peter salomon wrote: > >> Hi Ruslan, >> >> no - only if i drag the Valentina PlugIn out of the PlugIn Folder. >> With v4rb is does not start at all.This Mac has comletely fresh >> system, fresh rb 2005 fresh V4rb. >> >> Funny thing is that on my other mac the plugIn runs... >> but there were also older Val and RB packages installed. Main >> difference is that i have unix file system now... >> peter > > Hmm, additionally to mention: > > on the system with working PlugIn each PlugIn has the rb plugIn > FinderIcon, on the other renewed system they have not. But not only > V4RB, other PlugIns as well > But - with other PlugIns rb2005 comes up. its only the v4rb plugin which > makes trouble on this machine > > I checked permissions - /Library was again wrong after installing but > repairing them made no difference. What could i do next? Do i really > need to reinstall Tiger on a hfs+ filesystem? I do not know Peter, it seems you are first who have try unix file system, or at least first who think problem 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 peter.salomon at gmx.net Thu Jun 16 17:49:40 2005 From: peter.salomon at gmx.net (peter salomon) Date: Thu Jun 16 10:54:50 2005 Subject: [V4RB] rb 2005 In-Reply-To: References: Message-ID: <42B19F94.5050704@gmx.net> hi ruslan, it is the only difference from a standard installation of MacOS. Completely new. There is only RB Demo and v4rb. Nothing else! And it does not work togeher... I don?t know if parts of v4rb don?t fit with unix file system but it seems you neither. So ok - because i could not remember why the hell i?ve chosen unix fs i?ll reinstall complete OS with hfs+... and let you know if you?re interested... peter >I do not know Peter, it seems you are first who have try unix file system, >or at least first who think problem here... > > > From andrew at learningware.com Thu Jun 16 11:00:25 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 16 11:00:32 2005 Subject: Error = Record not found In-Reply-To: References: Message-ID: <42B1A219.5060103@learningware.com> Ruslan, could you please answer this one part of my question, thanks: >What does this error mean: "Record not found" ? > >This is not the same as a record that doesn't exist. For example, >"SELECT * FROM answers WHERE qId = 93745923" results in valid cursor >with zero records. > To answer your questions: I am using V4MD version 1. The field type is text VarChar(1024,'ASCII') NOT NULL From andrew at learningware.com Thu Jun 16 11:37:19 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 16 11:37:29 2005 Subject: Error = Record not found In-Reply-To: <42B1A219.5060103@learningware.com> References: <42B1A219.5060103@learningware.com> Message-ID: <42B1AABF.7070703@learningware.com> I have a function in my Director program that Dumps the database, deletes the database files, then reloads the dump into a new database. However, when I do this, I end up with a huge amount of missing data, so I think that either my database is just too corrupt, or there's a problem with the algorithm that I'm using to reload the db. The xml file that results from the Dump looks great, and all of my questions and answers (including the "Record not found" answer entry) are there. Can I borrow a copy of Valentina Studio Version 1.0 so that I can use a different tool to view, dump and reload the database? I don't see it on the Paragma site, only version 2.0. Thanks. Andrew Sinning wrote: > Ruslan, could you please answer this one part of my question, thanks: > >> What does this error mean: "Record not found" ? >> >> This is not the same as a record that doesn't exist. For example, >> "SELECT * FROM answers WHERE qId = 93745923" results in valid cursor >> with zero records. >> > > To answer your questions: > > I am using V4MD version 1. The field type is > > text VarChar(1024,'ASCII') NOT NULL > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From andrew at learningware.com Thu Jun 16 11:47:58 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 16 11:48:03 2005 Subject: Error = Record not found In-Reply-To: <42B1AABF.7070703@learningware.com> References: <42B1A219.5060103@learningware.com> <42B1AABF.7070703@learningware.com> Message-ID: <42B1AD3E.8090403@learningware.com> When I try to LoadDump, I get the following error: "Expected BaseObject not found" What next? Andrew Sinning wrote: > I have a function in my Director program that Dumps the database, > deletes the database files, then reloads the dump into a new > database. However, when I do this, I end up with a huge amount of > missing data, so I think that either my database is just too corrupt, > or there's a problem with the algorithm that I'm using to reload the > db. The xml file that results from the Dump looks great, and all of > my questions and answers (including the "Record not found" answer > entry) are there. > Can I borrow a copy of Valentina Studio Version 1.0 so that I can use > a different tool to view, dump and reload the database? I don't see > it on the Paragma site, only version 2.0. > > Thanks. > > Andrew Sinning wrote: > >> Ruslan, could you please answer this one part of my question, thanks: >> >>> What does this error mean: "Record not found" ? >>> >>> This is not the same as a record that doesn't exist. For example, >>> "SELECT * FROM answers WHERE qId = 93745923" results in valid cursor >>> with zero records. >>> >> >> To answer your questions: >> >> I am using V4MD version 1. The field type is >> >> text VarChar(1024,'ASCII') NOT NULL >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> >> > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Thu Jun 16 21:24:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 13:24:22 2005 Subject: Error = Record not found In-Reply-To: <42B1A219.5060103@learningware.com> Message-ID: On 6/16/05 7:00 PM, "Andrew Sinning" wrote: > Ruslan, could you please answer this one part of my question, thanks: > >> What does this error mean: "Record not found" ? What is ERROR CODE ? I think it means that you try to go to record which not exists >> This is not the same as a record that doesn't exist. For example, >> "SELECT * FROM answers WHERE qId = 93745923" results in valid cursor >> with zero records. >> > > To answer your questions: > > I am using V4MD version 1. The field type is > > text VarChar(1024,'ASCII') NOT 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 sunshine at public.kherson.ua Thu Jun 16 21:28:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 13:28:11 2005 Subject: Error = Record not found In-Reply-To: <42B1AD3E.8090403@learningware.com> Message-ID: On 6/16/05 7:47 PM, "Andrew Sinning" wrote: Hi Andrew, > When I try to LoadDump, I get the following error: > > "Expected BaseObject not found" > > What next? > > Andrew Sinning wrote: > >> I have a function in my Director program that Dumps the database, >> deletes the database files, then reloads the dump into a new >> database. ok >> However, when I do this, I end up with a huge amount of >> missing data, so I think that either my database is just too corrupt, I afraid yes >> or there's a problem with the algorithm that I'm using to reload the >> db. The xml file that results from the Dump looks great, and all of >> my questions and answers (including the "Record not found" answer >> entry) are there. Aha, so XML is well formed. And data are here. >> Can I borrow a copy of Valentina Studio Version 1.0 so that I can use >> a different tool to view, dump and reload the database? I don't see >> it on the Paragma site, only version 2.0. Hmm, really there is no link to VAPP 1.x Here it is http://www.paradigmasoft.com/download/v1/Valentina_Carbon.sit.bin -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 16 21:29:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 16 13:29:19 2005 Subject: [V4RB] rb 2005 In-Reply-To: <42B19F94.5050704@gmx.net> Message-ID: On 6/16/05 6:49 PM, "peter salomon" wrote: > hi ruslan, > it is the only difference from a standard installation of MacOS. > Completely new. There is only RB Demo and v4rb. Nothing else! And it > does not work togeher... > > I don?t know if parts of v4rb don?t fit with unix file system but it > seems you neither. > > So ok - because i could not remember why the hell i?ve chosen unix fs > i?ll reinstall complete OS with hfs+... and let you know if you?re > interested... Yes of course Peter -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jun 16 13:32:35 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 16 13:32:39 2005 Subject: Error = Record not found In-Reply-To: References: Message-ID: <42B1C5C3.70902@learningware.com> Is this Mac only? Is there a Windows version? >Hmm, really there is no link to VAPP 1.x > >Here it is > > http://www.paradigmasoft.com/download/v1/Valentina_Carbon.sit.bin > > > > From bkeeney at everestkc.net Thu Jun 16 17:54:30 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Thu Jun 16 17:54:36 2005 Subject: VServer_Office Mac Can't Open Master Database In-Reply-To: <20050616155459.EA9BA33D5FE@edison.macserve.net> References: <20050616155459.EA9BA33D5FE@edison.macserve.net> Message-ID: <41BBB65E-4C98-48D3-8F93-CE4C161E687F@everestkc.net> Greetings, I'm trying out VServer_Office for the Mac and did the basic install and I keep receiving the following log message: ERROR 0xFFFFFFD9: Cannot open 'master' database Since I had the same error on the release version I went and installed fc5 but I get the same error. I'm running Tiger.1 and received a couple of dialogs asking me if I wanted to fix permissions (which I did). Does anyone have any suggestions on a work-a-round? Thanks, Bob Keeney BKeeney Software Inc. From yeomans at desuetude.com Thu Jun 16 20:57:29 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jun 16 19:57:38 2005 Subject: [V4Rb 2] Searching by date Message-ID: The following SQL doesn't work (either with V4Rb or VStudio) -- SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries WHERE EntryDate='2005-06-16' but this one does -- SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries WHERE EntryDate='6/16/2005' Is this a known problem? -------------- Charles Yeomans From Claudius at sailer-online.de Fri Jun 17 05:58:20 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Jun 16 22:58:32 2005 Subject: [V4Rb 2] Searching by date In-Reply-To: References: Message-ID: Am 17. Jun 2005 um 02:57 Uhr schrieb Charles Yeomans: > The following SQL doesn't work (either with V4Rb or VStudio) -- > > SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries > WHERE EntryDate='2005-06-16' > > but this one does -- > SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries > WHERE EntryDate='6/16/2005' > > Is this a known problem? try this WHERE EntryDate=date'6/16/2005' bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Jun 17 08:24:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 17 00:24:16 2005 Subject: VServer_Office Mac Can't Open Master Database In-Reply-To: <41BBB65E-4C98-48D3-8F93-CE4C161E687F@everestkc.net> Message-ID: On 6/17/05 1:54 AM, "Bob Keeney" wrote: Hi Bob, > Greetings, > I'm trying out VServer_Office for the Mac and did the basic install > and I keep receiving the following log message: > > ERROR 0xFFFFFFD9: Cannot open 'master' database > > Since I had the same error on the release version I went and > installed fc5 but I get the same error. > > I'm running Tiger.1 and received a couple of dialogs asking me if I > wanted to fix permissions (which I did). Does anyone have any > suggestions on a work-a-round? I also have see this problem on Tiger. And it is fixed for next build. Just trash masterdb after installation and restart. There was some permissions problems which Tiger do not like. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 17 10:34:12 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Jun 17 02:34:16 2005 Subject: [V4Rb 2] Searching by date In-Reply-To: References: Message-ID: <1684493355.20050617103412@public.kherson.ua> Hello Charles, Friday, June 17, 2005, 3:57:29 AM, you wrote: CY> The following SQL doesn't work (either with V4Rb or VStudio) -- CY> SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries WHERE CY> EntryDate='2005-06-16' CY> but this one does -- CY> SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries WHERE CY> EntryDate='6/16/2005' CY> Is this a known problem? Obviously db has MDY date format and '/' as date separator. If you want to use another format you could do next: mDB.DateFormat = EVDateFormat.kYMD mDB.DateSep = '-' -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Fri Jun 17 15:09:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 17 07:09:16 2005 Subject: Error = Record not found In-Reply-To: <42B1C5C3.70902@learningware.com> Message-ID: On 6/16/05 9:32 PM, "Andrew Sinning" wrote: > Is this Mac only? Is there a Windows version? > >> Hmm, really there is no link to VAPP 1.x >> >> Here it is >> >> http://www.paradigmasoft.com/download/v1/Valentina_Carbon.sit.bin VAPP was only for MAC. If you need the Windows version you can try to use Valentina Studio for WIN. It understand both 1.x dbs and 2.0 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 andrew at learningware.com Fri Jun 17 10:39:47 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Jun 17 10:39:54 2005 Subject: Error = Record not found In-Reply-To: References: Message-ID: <42B2EEC3.5090902@learningware.com> Thanks Ruslan. Ruslan Zasukhin wrote: >On 6/16/05 9:32 PM, "Andrew Sinning" wrote: > > > >>Is this Mac only? Is there a Windows version? >> >> >> >>>Hmm, really there is no link to VAPP 1.x >>> >>>Here it is >>> >>> http://www.paradigmasoft.com/download/v1/Valentina_Carbon.sit.bin >>> >>> > >VAPP was only for MAC. > >If you need the Windows version you can try to use Valentina Studio for WIN. >It understand both 1.x dbs and 2.0 dbs. > > > > From yeomans at desuetude.com Fri Jun 17 11:42:14 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jun 17 10:42:20 2005 Subject: [V4Rb 2] Searching by date In-Reply-To: <1684493355.20050617103412@public.kherson.ua> References: <1684493355.20050617103412@public.kherson.ua> Message-ID: <69a369a3b015d72309826490ec6b2d0c@desuetude.com> On Jun 17, 2005, at 3:34 AM, Ivan Smahin wrote: > Hello Charles, > > Friday, June 17, 2005, 3:57:29 AM, you wrote: > > CY> The following SQL doesn't work (either with V4Rb or VStudio) -- > > CY> SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries > WHERE > CY> EntryDate='2005-06-16' > > CY> but this one does -- > CY> SELECT recID, MatterPtr, Description, TimeWorked FROM TimeEntries > WHERE > CY> EntryDate='6/16/2005' > > CY> Is this a known problem? > > Obviously db has MDY date format and '/' as date separator. > If you want to use another format you could do next: > > mDB.DateFormat = EVDateFormat.kYMD > mDB.DateSep = '-' Ah, I see. Thanks. -------------- Charles Yeomans From pmccon at bigpond.net.au Sat Jun 18 17:27:27 2005 From: pmccon at bigpond.net.au (Peter McConachie) Date: Sat Jun 18 02:27:34 2005 Subject: [VXCMD] Help with Text fields Message-ID: Can anyone please help, I'm having trouble adding a TEXT field to a table under Version1 & MCard 2.6.2. Table has 2 string columns (cName,cText) and one TEXT column (cData). To add a new record I imagine one first adds a row with put "SELECT cName,cText from Table where recID=0" into sSQL put "valueForcName"&tab&"valueForcText" into addStr put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef put Valentina("Cursor_AddRecord",cRef,addStr,tab) into tRes get Valentina("Cursor_Remove", cRef) get Valentina("DataBase_Flush",dbRef) Then knowing the recID of the added row I imagine one then updates the TEXT column using the following local data put somedata into data put "SELECT * from Table where recID=1" into sSQL put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef get Valentina("BINARY_WriteData",fRef,"data") get Valentina("Cursor_UpdateRecord",cRef) get Valentina("Cursor_Remove", cRef) get Valentina("DataBase_Flush",dbRef) And to read back the added data local data put "SELECT * from Table where recID=1" into sSQL put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef put Valentina("BLOB_GetDataSize",fRef) into bSize get Valentina("BINARY_ReadData",fRef,"data",bSize,0) get Valentina("Cursor_Remove", cRef) get Valentina("DataBase_Flush",dbRef) I can't get this to work as TEXT. 1. Seems not to write anything to cData. On read BLOB_GetDataSize return zero 2. If I change the TEXT field to VarBinary[65300] then it works OK. I need to remove the BLOB_GetDataSize command (gives a 310 error) contrary to documentation. 3. Should I be using BLOB_WriteData instead of Binary_WriteData ? However if this is the case how does one get the data out of the MemoryBuffer ? 4. Is there some easier way to add/retrieve large text files ? Many thanks, Peter McConachie From sunshine at public.kherson.ua Sat Jun 18 14:13:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 18 06:14:19 2005 Subject: Your 3 DREAM FEATURE for Vstudio ? Message-ID: Hi all, Can you tell us please your 3 (or more) dream features which you expect to see in the Valentina Studio in the nearest time to make you happy ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 18 15:49:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 18 07:49:41 2005 Subject: [VXCMD] Help with Text fields In-Reply-To: Message-ID: On 6/18/05 10:27 AM, "Peter McConachie" wrote: > Can anyone please help, > > I'm having trouble adding a TEXT field to a table under Version1 & MCard > 2.6.2. Table has 2 string columns (cName,cText) and one TEXT column (cData). > > To add a new record I imagine one first adds a row with > put "SELECT cName,cText from Table where recID=0" into sSQL > put "valueForcName"&tab&"valueForcText" into addStr > put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef > put Valentina("Cursor_AddRecord",cRef,addStr,tab) into tRes > get Valentina("Cursor_Remove", cRef) > get Valentina("DataBase_Flush",dbRef) No, Peter, Steps should be as put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef put Valentina("Cursor_SetBlank",cRef,addStr,tab) into tRes // fill fields put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef get Valentina("BINARY_WriteData",fRef,"data") put Valentina("Cursor_AddRecord",cRef,addStr,tab) into tRes > Then knowing the recID of the added row I imagine one then updates the TEXT > column using the following > local data > put somedata into data > put "SELECT * from Table where recID=1" into sSQL > put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef > put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef > get Valentina("BINARY_WriteData",fRef,"data") > get Valentina("Cursor_UpdateRecord",cRef) > get Valentina("Cursor_Remove", cRef) > get Valentina("DataBase_Flush",dbRef) > > And to read back the added data > local data > put "SELECT * from Table where recID=1" into sSQL > put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef > put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef > put Valentina("BLOB_GetDataSize",fRef) into bSize > get Valentina("BINARY_ReadData",fRef,"data",bSize,0) > get Valentina("Cursor_Remove", cRef) > get Valentina("DataBase_Flush",dbRef) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 18 15:51:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 18 07:51:52 2005 Subject: [VXCMD] Help with Text fields In-Reply-To: Message-ID: On 6/18/05 10:27 AM, "Peter McConachie" wrote: > 1. Seems not to write anything to cData. On read BLOB_GetDataSize return > zero > 2. If I change the TEXT field to VarBinary[65300] then it works OK. > I need to remove the BLOB_GetDataSize command (gives a 310 error) contrary > to documentation. > > 3. Should I be using BLOB_WriteData instead of Binary_WriteData ? However if > this is the case how does one get the data out of the MemoryBuffer ? OF COURSE you need to use BLOB_WriteData() > 4. Is there some easier way to add/retrieve large text files ? It should be easy. Just forget Binary_xxx methods. They are for BINARY fields. BLOB is NOT Binary field -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From pmccon at bigpond.net.au Sun Jun 19 00:00:56 2005 From: pmccon at bigpond.net.au (Peter McConachie) Date: Sat Jun 18 09:01:02 2005 Subject: [VXCMD] Help with Text fields In-Reply-To: Message-ID: on 18/6/05 10:51 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > OF COURSE you need to use BLOB_WriteData() > >> 4. Is there some easier way to add/retrieve large text files ? > > It should be easy. > > Just forget Binary_xxx methods. They are for BINARY fields. > > BLOB is NOT Binary field > OK so far. What I don't understand is how you get data in & out of the memory buffer. Reading the VXCMD reference I need the following put "SELECT * FROM Table WHERE recID=1" into sSQL put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef put Valentina("BLOB_GetDataSize",fRef) into blobSize put Valentina("MemBuffer_Allocate",blobSize) into bValRef < Line 5 get Valentina("BLOB_ReadData",fRef,bValRef,blobSize) >From what I can read, line 5 allocates memory buffer of blobSize bytes to receive data read from field "cData" of cursor. bValRef is an integer. How do I get the data from this buffer into say a MetaCard field or other variable ? How do I put data into this buffer to prepare for a BLOB_Write Data operation ? Many thanks, Peter McConachie From sunshine at public.kherson.ua Sat Jun 18 21:56:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 18 13:56:57 2005 Subject: [VXCMD] Help with Text fields In-Reply-To: Message-ID: On 6/18/05 5:00 PM, "Peter McConachie" wrote: >> BLOB is NOT Binary field >> > > OK so far. What I don't understand is how you get data in & out of the > memory buffer. Reading the VXCMD reference I need the following Wait a moment. But you need not pure BLOB, but TEXT field, write ? Peter, I think that example from VXCMD 1 do have TEXT field. You need use simply Field_PutString() and Field_GetString() To put/get strings into TEXT field Exactly as with String and VarChar fields. > put "SELECT * FROM Table WHERE recID=1" into sSQL > put Valentina("DataBase_SQLSelect",dbRef,sSQL,"1","1","1") into cRef > put Valentina("Cursor_GetFieldRef",cRef,"cData") into fRef > put Valentina("BLOB_GetDataSize",fRef) into blobSize > put Valentina("MemBuffer_Allocate",blobSize) into bValRef < Line 5 > get Valentina("BLOB_ReadData",fRef,bValRef,blobSize) > >> From what I can read, line 5 allocates memory buffer of blobSize bytes to > receive data read from field "cData" of cursor. bValRef is an integer. > > How do I get the data from this buffer into say a MetaCard field or other > variable ? How do I put data into this buffer to prepare for a BLOB_Write > Data operation ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Sun Jun 19 15:09:51 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Jun 19 00:10:04 2005 Subject: [VXCMD] Help with Text fields In-Reply-To: Message-ID: <000201c5748d$205e2a20$12bc09d2@HPlaptop> Hi All , Is there a time frame when the RB Beta for windows might be available? Thanks Damon From daisychain at iinet.net.au Sun Jun 19 15:10:39 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Jun 19 00:10:48 2005 Subject: RB WIN Beta In-Reply-To: Message-ID: <000301c5748d$3c7e7b60$12bc09d2@HPlaptop> Hi All , Is there a time frame when the RB Beta for windows might be available? Thanks Damon From daisychain at iinet.net.au Sun Jun 19 15:21:15 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Jun 19 00:21:29 2005 Subject: RB WIN Beta In-Reply-To: Message-ID: <000901c5748e$b7ac0810$12bc09d2@HPlaptop> Hi All , PS RB 2005 Thanks Damon From daisychain at iinet.net.au Sun Jun 19 15:27:09 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Jun 19 00:27:33 2005 Subject: RB WIN Beta In-Reply-To: Message-ID: <000a01c5748f$91524340$12bc09d2@HPlaptop> Hi All , Don't worry found it on the web site Thanks Thanks Damon From info at vallemediatime.com Sun Jun 19 11:41:34 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 19 04:41:44 2005 Subject: V4MD request Message-ID: <000c01c574b3$153378f0$c3151e97@vmtrm4p9ipbkv2> Hi Ruslan, is it possible to add and/or syncronize this properties in next upgrade... ...and get RecID in a simple way in both API and SQL way? e.g. API put table.recordCount -- already works put table.position -- Null put table.RecID -- 0 e.g. SQL put gCursor.recordCount -- already works put gCursor.position -- already works put gCursor.RecID -- Null Thanks Paolo From info at vallemediatime.com Sun Jun 19 12:55:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 19 05:56:03 2005 Subject: V4MD escape apostrophe Message-ID: <000a01c574bd$77831f10$61251e97@vmtrm4p9ipbkv2> Hi all If I search a string like "DALL'OSTO" I get this: ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unsexpected token:DALL) my query is: query = "SELECT RecID, * from" && gTableName &&\ "WHERE '" & searchString & "' IN" && member("fieldNameList").text gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) I read in the docs that is necessary to ESCAPE the apostrophe, but I don't know how to insert the ESCAPE expression in my query. Can somebody help me, please? Sorry if the question is old for others members list... Thanks Paolo From sunshine at public.kherson.ua Sun Jun 19 23:14:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 19 15:14:29 2005 Subject: V4MD request In-Reply-To: <000c01c574b3$153378f0$c3151e97@vmtrm4p9ipbkv2> Message-ID: On 6/19/05 12:41 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > is it possible to add and/or syncronize this properties in next upgrade... > ...and get RecID in a simple way in both API and SQL way? NO. you have wrong expectations here. > e.g. API > put table.recordCount -- already works > put table.position -- Null > put table.RecID -- 0 .position -- there is NO such property for Table. this is property of cursor. > e.g. SQL > put gCursor.recordCount -- already works > put gCursor.position -- already works > put gCursor.RecID -- Null .RecID -- such property NOT exists for Cursor. IT exists only for Table. There is no sense add properties as you ask. That is wrong. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 19 23:15:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 19 15:15:49 2005 Subject: V4MD escape apostrophe In-Reply-To: <000a01c574bd$77831f10$61251e97@vmtrm4p9ipbkv2> Message-ID: On 6/19/05 1:55 PM, "info@vallemediatime.com" wrote: > Hi all > > If I search a string like "DALL'OSTO" I get this: > ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unsexpected token:DALL) LIKE 'string' Must be single quotes And you need escape quote: LIKE 'DALL\'OSTO' > my query is: > query = "SELECT RecID, * from" && gTableName &&\ > "WHERE '" & searchString & "' IN" && member("fieldNameList").text > gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) > > I read in the docs that is necessary to ESCAPE the apostrophe, > but I don't know how to insert the ESCAPE expression in my query. For this you can use Valentina.EscapeString() method > Can somebody help me, please? > > Sorry if the question is old for others members list... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Sun Jun 19 23:09:10 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 19 16:09:17 2005 Subject: V4MD escape apostrophe References: Message-ID: <002101c57513$23c94ab0$9b1b1e97@vmtrm4p9ipbkv2> Hi Ruslan, thanks for your answer. But I have a more complex problem: for search a string the user of my app can click in a cell of grid (I use cXtraStringGrid), the string cell is automatically send in field "searchString" and after start the search query. I can't preview if surname have an apostrophe... and where is it. I need of a solution for all strings that have an apostrophe in some place. After your answer I suppose that it is necessary to create a loop for get the apostrophe position and after start the query con a variable escape position. But other member how do it if the searchString is variable? Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Sunday, June 19, 2005 10:15 PM Subject: Re: V4MD escape apostrophe > On 6/19/05 1:55 PM, "info@vallemediatime.com" > wrote: > > > Hi all > > > > If I search a string like "DALL'OSTO" I get this: > > ERROR: ERR_SQL_PARSER_ERROR(line 1:1: unsexpected token:DALL) > > LIKE 'string' > > Must be single quotes > And you need escape quote: > > LIKE 'DALL\'OSTO' > > > > my query is: > > query = "SELECT RecID, * from" && gTableName &&\ > > "WHERE '" & searchString & "' IN" && member("fieldNameList").text > > gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) > > > > I read in the docs that is necessary to ESCAPE the apostrophe, > > but I don't know how to insert the ESCAPE expression in my query. > > For this you can use Valentina.EscapeString() method > > > Can somebody help me, please? > > > > Sorry if the question is old for others members list... > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005 > > From snw at paradise.net.nz Mon Jun 20 10:08:31 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sun Jun 19 17:08:58 2005 Subject: V4MD escape apostrophe In-Reply-To: <002101c57513$23c94ab0$9b1b1e97@vmtrm4p9ipbkv2> References: <002101c57513$23c94ab0$9b1b1e97@vmtrm4p9ipbkv2> Message-ID: <6.2.1.2.2.20050620100605.03f33d60@pop3.paradise.net.nz> >But other member how do it if the searchString is variable? If you are going to permit end users to choose/enter search strings, you have to pass them to Valentina.escapeString() before using them in a SELECT statement (you can't be sure they will properly escape "reserved" characters, like the apostrophe, or backslash - if you're using RegEx) -Sean. From daisychain at iinet.net.au Mon Jun 20 12:22:55 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Jun 19 21:22:50 2005 Subject: RB Valentina - schema from RB In-Reply-To: <002101c57513$23c94ab0$9b1b1e97@vmtrm4p9ipbkv2> Message-ID: <004101c5753e$f8258dc0$ae00a8c0@DamonsPC> When you open a database from the RB window i.e. menu File/ Add Data Source/ New Valentina You create a new table i.e. MyData Then create a field called Address1 of type 'Varchar' It saves but when you go back in it displays as type 'Char' Also when you try another field at this second stage it gives you an error Line 1:1: unexpected token: ) Tested on release and 204 fc7 with same result Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Mon Jun 20 09:50:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 01:50:24 2005 Subject: V4MD escape apostrophe In-Reply-To: <002101c57513$23c94ab0$9b1b1e97@vmtrm4p9ipbkv2> Message-ID: On 6/20/05 12:09 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > thanks for your answer. > But I have a more complex problem: for search a string the user of my app > can click in a cell of grid (I use cXtraStringGrid), the string cell is > automatically send in field "searchString" and after start the search query. > I can't preview if surname have an apostrophe... and where is it. And you should not. Just any string ENTERED by user should be prepared by Valentina.EscapeString() > I need of a solution for all strings that have an apostrophe in some place. > After your answer I suppose that it is necessary to create a loop for get > the apostrophe position and after start the query con a variable escape > position. > But other member how do it if the searchString is variable? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cindy at kowhaiprogramming.com Mon Jun 20 20:52:30 2005 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Mon Jun 20 03:52:42 2005 Subject: Valentina 1.x and REALbasic 2005 Message-ID: Hi, Just wondering if REALbasic 2005 can be used with Valentina 1.x. Thanks. Cindy Brown From sunshine at public.kherson.ua Mon Jun 20 12:56:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 04:56:57 2005 Subject: FIXED: RB Valentina - schema from RB In-Reply-To: <004101c5753e$f8258dc0$ae00a8c0@DamonsPC> Message-ID: On 6/20/05 5:22 AM, "Damon Pillinger" wrote: Hi Damon, > When you open a database from the RB window > i.e. menu File/ Add Data Source/ New Valentina > > You create a new table i.e. MyData > > Then create a field called Address1 of type 'Varchar' > > It saves but when you go back in it displays as type 'Char' > > Also when you try another field at this second stage it gives you an > error > > Line 1:1: unexpected token: ) > > Tested on release and 204 fc7 with same result Here was found 2 bugs and fixed. * Sergey have fix bug in SQL parser to allow ALTER TABLE T add (fld type) () with single field was not allow before. * VarChar => Char 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 sunshine at public.kherson.ua Mon Jun 20 12:57:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 04:57:28 2005 Subject: Valentina 1.x and REALbasic 2005 In-Reply-To: Message-ID: On 6/20/05 11:52 AM, "Cindy Brown" wrote: > Hi, > > Just wondering if REALbasic 2005 can be used with Valentina 1.x. Thanks. It seems YES, Cindy -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 20 13:05:51 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Jun 20 06:06:00 2005 Subject: V4MD escape apostrophe References: Message-ID: <004101c57588$061e7ab0$7f0a1e97@vmtrm4p9ipbkv2> Hi Ruslan > > But I have a more complex problem: for search a string the user of my app > > can click in a cell of grid (I use cXtraStringGrid), the string cell is > > automatically send in field "searchString" and after start the search query. > > I can't preview if surname have an apostrophe... and where is it. > > And you should not. > > Just any string ENTERED by user should be prepared by > Valentina.EscapeString() ok, And so I return to API way, I've test new beta and now the performance are better, and with API search I've not problem with apostrophe and case_insensitive strings :-) Thanks Paolo From realsoftlists at gmail.com Mon Jun 20 09:54:44 2005 From: realsoftlists at gmail.com (Mathieu Langlois) Date: Mon Jun 20 08:54:49 2005 Subject: Binary links and SQL Message-ID: <5d7ca37e0506200654229b13de@mail.gmail.com> Hello, I have been evaluating the demo of valentina for Realbasic, and I have one question. Is there a way to use binary links on a SQL Join? With foreign keys, you have something like JOIN Table ON key = ptr, but what syntax (if any) can be used for binary links? Thank you Math From jules.jacquot at wanadoo.fr Mon Jun 20 17:11:19 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jun 20 10:10:00 2005 Subject: compilation Classic failed in rb2005 Message-ID: <14D75D13-F8F8-4E91-9635-C522D22377E8@wanadoo.fr> hi, ruslan compiling Mac Os Classic only in RB2005 i get this error cannot load Mac OS Version of plugin " plugin:V4RB:128" best jules --------------------------------------------------------- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From giv at tlc.kherson.ua Thu Jun 16 13:03:50 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Jun 20 10:47:38 2005 Subject: Search string with case or no-case in API and SQL way References: Message-ID: <01a301c575af$5e774ad0$3b04a8c0@giv> > >> It exists in SQL form also! > > Sure? I have not example Field_Find in SQL_way folder example for V4MD > > Paolo > > Igor, > > Do you have SQL/Field_Find exmaple in V4MD ? V4RB & V4MD do not have such example. It exists only in API_Way folder. -- 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 Jun 20 21:27:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 13:27:20 2005 Subject: Binary links and SQL In-Reply-To: <5d7ca37e0506200654229b13de@mail.gmail.com> Message-ID: On 6/20/05 4:54 PM, "Mathieu Langlois" wrote: Hi Mathieu, > Hello, I have been evaluating the demo of valentina for Realbasic, and > I have one question. Is there a way to use binary links on a SQL > Join? Yes of course! > With foreign keys, you have something like JOIN Table ON key = > ptr, but what syntax (if any) can be used for binary links? SELECT FROM T1 join T2 on link_name -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 20 21:28:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 13:28:06 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: <14D75D13-F8F8-4E91-9635-C522D22377E8@wanadoo.fr> Message-ID: On 6/20/05 6:11 PM, "Jules Jacquot" wrote: > hi, ruslan > > compiling Mac Os Classic only in RB2005 i get this error > > cannot load Mac OS Version of plugin " plugin:V4RB:128" Hi Jules, Correct. Valentina 2.0 support Carbon, but not Classic. -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jun 20 22:06:44 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Jun 20 15:07:36 2005 Subject: [ANN] Valentina Studio 2.0b9 Mac available Message-ID: <613317FD-A0B9-4495-9332-0F9005655D56@valentina-db.de> Hi all, i have just uploaded Valentina Studio 2.0b9 Mac. This release contains the latest kernel fixes. You can download it from: http://www.valentina-db.de or http://www.paradigmasoft.com -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From bkeeney at everestkc.net Mon Jun 20 15:23:20 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Mon Jun 20 15:23:29 2005 Subject: [V4RB2] VResources Folder Questions In-Reply-To: <20050620095700.118363407B7@edison.macserve.net> References: <20050620095700.118363407B7@edison.macserve.net> Message-ID: From the documentation it looks like there are 2 options for running an RB built application: 1. Install the VResources folder in the /Library/CFM Support directory 2. Put them in the same folder as your application. Is there any way to put these files in the application bundle under OS X? How is everybody deploying this on OS X? Installer? Dmg file with the contents of the VResources folder out in the open? Thanks, Bob Keeney BKeeney Software Inc. From jda at his.com Mon Jun 20 16:35:54 2005 From: jda at his.com (jda) Date: Mon Jun 20 15:36:00 2005 Subject: [V4RB2] VResources Folder Questions In-Reply-To: References: <20050620095700.118363407B7@edison.macserve.net> Message-ID: >From the documentation it looks like there are 2 options for running >an RB built application: > >1. Install the VResources folder in the /Library/CFM Support directory >2. Put them in the same folder as your application. > >Is there any way to put these files in the application bundle under OS X? > >How is everybody deploying this on OS X? Installer? Dmg file with >the contents of the VResources folder out in the open? > That's what I'm doing now. Hopefully we'll get the Valentina plug-in as MACH-O at some point, in which case I gather it could be placed in a bundle. Jon From daisychain at iinet.net.au Tue Jun 21 08:58:35 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Jun 20 17:58:28 2005 Subject: RB WIN Valentina - date/datetime/binary/picture from RB In-Reply-To: Message-ID: <000701c575eb$96d5b740$ae00a8c0@DamonsPC> 1. If you create a table with a field 'f3' of type 'date', then use a datacontrol to update the value which is bound to an editfield with the value "2005-06-20", as per the realbasic instructions, the value is not saved in Valentina. Nor is it displayed in the RB database View table contents window. The value saved is 0-00-00. The exact same method works for both realbasic database and SQLite database. 2. When you open a database from the RB window i.e. menu File/ Add Data Source/ New Valentina You create a new table i.e. MyData Then create a field called 'f4' of type 'datetime' It saves but when you go back in it displays as type 'Unknown' 3. When you open a database from the RB window i.e. menu File/ Add Data Source/ New Valentina You create a new table i.e. MyData Then create a field called 'f5' of type 'binary' And try to save it, you an error 'Unexpected token: binary' 4. When you open a database from the RB window i.e. menu File/ Add Data Source/ New Valentina You create a new table i.e. MyData Then create a field called 'f6' of type 'picture' And try to save it, you an error 'expecting "(", found ")"' Tested on fc7 and release Thanks Damon From sunshine at public.kherson.ua Tue Jun 21 02:03:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 18:03:43 2005 Subject: RB WIN Valentina - date/datetime/binary/picture from RB In-Reply-To: <000701c575eb$96d5b740$ae00a8c0@DamonsPC> Message-ID: On 6/21/05 1:58 AM, "Damon Pillinger" wrote: > 1. > If you create a table with a field 'f3' of type 'date', then use a > datacontrol to update the value which is bound to an editfield with the > value "2005-06-20", as per the realbasic instructions, the value is not > saved in Valentina. Nor is it displayed in the RB database View table > contents window. The value saved is 0-00-00. > The exact same method works for both realbasic database and SQLite > database. I think this is because your db.DateTimeFormat is not YMD. In the latest fc7 or fc8 build you can executeSql() "SET PROPERTY DateTimeFormat of DATABASE TO 'kYMD'" -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 02:09:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 20 18:09:49 2005 Subject: RB WIN Valentina - date/datetime/binary/picture from RB In-Reply-To: <000701c575eb$96d5b740$ae00a8c0@DamonsPC> Message-ID: On 6/21/05 1:58 AM, "Damon Pillinger" wrote: > 2. > When you open a database from the RB window > i.e. menu File/ Add Data Source/ New Valentina You create a new table > i.e. MyData > Then create a field called 'f4' of type 'datetime' > It saves but when you go back in it displays as type 'Unknown' > > 3. > When you open a database from the RB window > i.e. menu File/ Add Data Source/ New Valentina You create a new table > i.e. MyData > Then create a field called 'f5' of type 'binary' > And try to save it, you an error 'Unexpected token: binary' > > 4. > When you open a database from the RB window > i.e. menu File/ Add Data Source/ New Valentina You create a new table > i.e. MyData > Then create a field called 'f6' of type 'picture' > And try to save it, you an error 'expecting "(", found ")"' Picture Sergey have fix today. Problem was that Valentina SQL expect that you specify segment size create table T (fld picture(1024) ) REALbasic do not give you ability specify this parameter, as weel as length for string fields. IMHO this is stupid. So Sergey have improve our parser to allow create table T (fld picture ) And segment will be 512 always. The same for TEXT, BLOB, and VarChar fields. In RBDB way you cannot specify length of this fields. This is why I again and again will say: * RBDB API we have made just to have it. * IMHO RBDB API is very weak comparing to Valentina features. And I do not recommend to use it, if only you have strong reasons. --------- But we doubt...REALBasic do not have picture type? So I afraid RB DB API do not have way to set picture into field. SQL Lite also did not have picture field. They just send it as binary data. Although may be RBDB really support picture 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 daisychain at iinet.net.au Tue Jun 21 09:18:28 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Jun 20 18:18:22 2005 Subject: RB WIN Valentina - date/datetime/binary/picture from RB In-Reply-To: Message-ID: <000801c575ee$5e1d1e40$ae00a8c0@DamonsPC> HI Ruslan When I use dataControl1.database.sqlExecute ("SET PROPERTY DateTimeFormat of DATABASE TO 'kYMD' ") if dataControl1.database.error then msgbox dataControl1.database.errorMessage I get the msgbox 'Invalid parameter value' Database is called ValentinaDB Table is called test Field is called f4 of type Date Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 21 June 2005 9:04 AM To: valentina@lists.macserve.net Subject: Re: RB WIN Valentina - date/datetime/binary/picture from RB On 6/21/05 1:58 AM, "Damon Pillinger" wrote: > 1. > If you create a table with a field 'f3' of type 'date', then use a > datacontrol to update the value which is bound to an editfield with the > value "2005-06-20", as per the realbasic instructions, the value is not > saved in Valentina. Nor is it displayed in the RB database View table > contents window. The value saved is 0-00-00. > The exact same method works for both realbasic database and SQLite > database. I think this is because your db.DateTimeFormat is not YMD. In the latest fc7 or fc8 build you can executeSql() "SET PROPERTY DateTimeFormat of DATABASE TO 'kYMD'" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From tjames1 at bigpond.net.au Tue Jun 21 10:09:02 2005 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Jun 20 19:07:44 2005 Subject: Convert 1_2 in Vstudio Message-ID: <57ec162fe352c59ebeb0712f903b842f@bigpond.net.au> Vstudio b2.09 crashes during convert of 1.0 Db. Can someone tell me where to look for debug info - or do I just send the DB to Valentina ?? TIA Tim From jules.jacquot at wanadoo.fr Tue Jun 21 06:40:27 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jun 20 23:39:08 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: Le 20 juin 05 ? 20:28, Ruslan Zasukhin a ?crit : > > Hi Jules, > > Correct. > > Valentina 2.0 support Carbon, but not Classic. > and then ? For those who uses Classic ? ( and they are million ) they are throw away to the extern shadows :-)) best jules > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From daisychain at iinet.net.au Tue Jun 21 14:46:39 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Jun 20 23:46:29 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <000801c575ee$5e1d1e40$ae00a8c0@DamonsPC> Message-ID: <003601c5761c$37488ab0$ae00a8c0@DamonsPC> Hi , I have created a Valentina Database for WIN RB 5.5 of type VRBDataBase When I click on menu / add data source / select Valentina I can load in the database which is renamed to JensenDatabase However when I click on it real basic accesses the hard drive for about 20 seconds and the RB 5.5.5 crashes out (Please tell Microsoft of the problem window) Any ideas what might be happening Using Fc7 Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Tue Jun 21 08:23:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 00:23:58 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: Message-ID: On 6/21/05 7:40 AM, "Jules Jacquot" wrote: >> Hi Jules, >> >> Correct. >> >> Valentina 2.0 support Carbon, but not Classic. >> > and then ? > For those who uses Classic ? ( and they are million ) Valentina 1.x is an answer > they are throw away to the extern shadows :-)) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Tue Jun 21 07:39:17 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jun 21 00:38:06 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: <83662985-18D6-41D9-98EA-82D1002A198C@wanadoo.fr> Le 21 juin 05 ? 07:23, Ruslan Zasukhin a ?crit : > On 6/21/05 7:40 AM, "Jules Jacquot" wrote: > > >>> Hi Jules, >>> >>> Correct. >>> >>> Valentina 2.0 support Carbon, but not Classic. >>> >>> >> and then ? >> For those who uses Classic ? ( and they are million ) >> > > Valentina 1.x is an answer you know well that is a disatisfactory answer that is the great portion of market which is closed for RB2005 and Valentina 2.0 best jules > > >> they are throw away to the extern shadows :-)) >> > > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From daisychain at iinet.net.au Tue Jun 21 17:46:53 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 21 02:47:04 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <003601c5761c$37488ab0$ae00a8c0@DamonsPC> Message-ID: <005301c57635$640ee850$ae00a8c0@DamonsPC> Don't worry It was a ' in the data Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Tuesday, 21 June 2005 2:47 PM To: 'Valentina Developers' Subject: RB WIN database causes RB to crash Hi , I have created a Valentina Database for WIN RB 5.5 of type VRBDataBase When I click on menu / add data source / select Valentina I can load in the database which is renamed to JensenDatabase However when I click on it real basic accesses the hard drive for about 20 seconds and the RB 5.5.5 crashes out (Please tell Microsoft of the problem window) Any ideas what might be happening Using Fc7 Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Tue Jun 21 18:21:24 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 21 03:21:35 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <005301c57635$640ee850$ae00a8c0@DamonsPC> Message-ID: <005401c5763a$37003b70$ae00a8c0@DamonsPC> No still crashes, wasn't the ' after all as escapestring fixed that Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Tuesday, 21 June 2005 5:47 PM To: 'Valentina Developers' Subject: RE: RB WIN database causes RB to crash Don't worry It was a ' in the data Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Tuesday, 21 June 2005 2:47 PM To: 'Valentina Developers' Subject: RB WIN database causes RB to crash Hi , I have created a Valentina Database for WIN RB 5.5 of type VRBDataBase When I click on menu / add data source / select Valentina I can load in the database which is renamed to JensenDatabase However when I click on it real basic accesses the hard drive for about 20 seconds and the RB 5.5.5 crashes out (Please tell Microsoft of the problem window) Any ideas what might be happening Using Fc7 Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 _______________________________________________ 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 Tue Jun 21 11:39:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 03:40:03 2005 Subject: RB WIN Valentina - date/datetime/binary/picture from RB In-Reply-To: <000801c575ee$5e1d1e40$ae00a8c0@DamonsPC> Message-ID: On 6/21/05 2:18 AM, "Damon Pillinger" wrote: > HI Ruslan > > When I use > > dataControl1.database.sqlExecute ("SET PROPERTY DateTimeFormat of > DATABASE TO 'kYMD' ") > > if dataControl1.database.error then msgbox > dataControl1.database.errorMessage > > I get the msgbox 'Invalid parameter value' > > Database is called ValentinaDB > Table is called test > Field is called f4 of type Date Do you test this on fc7 ? Can you send us your test 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 Tue Jun 21 11:44:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 03:44:39 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <005401c5763a$37003b70$ae00a8c0@DamonsPC> Message-ID: On 6/21/05 11:21 AM, "Damon Pillinger" wrote: > No still crashes, wasn't the ' after all as escapestring fixed that Open this db in viSQL and make DIAGNOSE DATABASE Or DIAGNOSE DATABASE HIGH What result ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 11:42:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 03:44:53 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <003601c5761c$37488ab0$ae00a8c0@DamonsPC> Message-ID: On 6/21/05 7:46 AM, "Damon Pillinger" wrote: Hi Damon, > I have created a Valentina Database for WIN RB 5.5 of type VRBDataBase > > When I click on menu / add data source / select Valentina I can load in > the database which is renamed to JensenDatabase You mean that you have create at first db with other name? Later rename it in the Finder ? Not sure that REALbasic allow this operation. It store in the project name of database as I have see. Or you do this in the fresh project ? Again can you give us steps to reproduce problem? > However when I click on it real basic accesses the hard drive for about > 20 seconds and the RB 5.5.5 crashes out (Please tell Microsoft of the > problem window) > > Any ideas what might be happening > > Using Fc7 -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 11:46:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 03:47:06 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: <83662985-18D6-41D9-98EA-82D1002A198C@wanadoo.fr> Message-ID: On 6/21/05 8:39 AM, "Jules Jacquot" wrote: >> Valentina 1.x is an answer > > you know well that is a disatisfactory answer > > that is the great portion of market which is closed for RB2005 and > Valentina 2.0 Jules, I think you perfectly see what happens in the world :-) Soon PPC macs will die. But you worry about very old OS 9 computes. You know I have read statistic, that OS 9 users almost NOTHING buy. So if you develop new application -- forget about them. They will not buy it. Even it very cool and will work on OS 9. Because they also do not want invest into old hardware and expect get newer sooner of later. At least such talk I have read somewhere on mac forums. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 11:51:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 03:51:26 2005 Subject: Convert 1_2 in Vstudio In-Reply-To: <57ec162fe352c59ebeb0712f903b842f@bigpond.net.au> Message-ID: On 6/21/05 3:09 AM, "Tim James" wrote: > Vstudio b2.09 crashes during convert of 1.0 Db. > > Can someone tell me where to look for debug info - or do I just send > the DB to Valentina ?? Hi Tim, If db is not very big in compressed form please send 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 rjb at robelko.com Tue Jun 21 12:54:29 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 21 05:56:07 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: Sorry to barge in but I can't resist seeing these over-generalizations... >I think you perfectly see what happens in the world :-) >Soon PPC macs will die. Rubbish. PPC hardware is not gonna die just because newer Macs will run on Intel. Apple's hardware is known for longevity. OSX is 5 years old and even Apple admits that half of Mac users still haven't migrated. And even among those who did, quite a few run it on old G3s or G4s. >But you worry about very old OS 9 computes. Is G4 really so old? I have a few running OS9. When talking really old, I have a mail server running under 8.1 on 7100 at one client (a department at a university). >You know I have read statistic, that OS 9 users almost NOTHING buy. Also rubbish as generalization. True only if you talk about general consumer software. And partly at least because most developers stopped producing newer versions for OS9, so there is little new to buy that they don't have. Totally irrelevant statistics if you talk about specialized programs. I know of people who have substantial client base among classic users and still making good money of them. >> Valentina 1.x is an answer But Paradigma seems to stop selling V1 products for which V2 is out. Robert From jules.jacquot at wanadoo.fr Tue Jun 21 12:59:19 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jun 21 05:57:57 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: hi, ruslan you're right for the future i think that OS Classic has yet great days in front of it and be unaware of it is a error my opinion jules Le 21 juin 05 ? 10:46, Ruslan Zasukhin a ?crit : > On 6/21/05 8:39 AM, "Jules Jacquot" wrote: > > >>> Valentina 1.x is an answer >>> >> >> you know well that is a disatisfactory answer >> >> that is the great portion of market which is closed for RB2005 and >> Valentina 2.0 >> > > Jules, > > I think you perfectly see what happens in the world :-) > Soon PPC macs will die. when? next xxxx years > But you worry about very old OS 9 computes. 5 years ago maximum > > You know I have read statistic, that OS 9 users almost NOTHING buy. You're right in absolute. But here there are my users and i must to upgrade > > So if you develop new application -- forget about them. > They will not buy it. Even it very cool and will work on OS 9. > Because they also do not want invest into old hardware and expect > get newer > sooner of later. The best is that i'm going to ask them to invest into new hardware fortunately they are very friendly. Hope keeps alive best jules > > At least such talk I have read somewhere on mac forums. > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > une longue route commence par un petit pas. proverbe chinois From sunshine at public.kherson.ua Tue Jun 21 15:38:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 07:41:39 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: Message-ID: On 6/21/05 1:54 PM, "Robert Brenstein" wrote: > Sorry to barge in but I can't resist seeing these over-generalizations... :-) I knew this will start big flame >> I think you perfectly see what happens in the world :-) >> Soon PPC macs will die. > > Rubbish. PPC hardware is not gonna die just because newer Macs will > run on Intel. Apple's hardware is known for longevity. Robert, I also long time MAC user, and remember this marketing phrases. I self have sale MACs some time in the past. :-) But I think times have changes. There was time when MAC developer did have only MacOS 9, And we have smile on WIN developers which have fight with win 3.1, win 95, win NT Now I think all in reverse. Windows have many years stability. But we on MacOS jump as monkeys from Classic to Carbon, then to OS X Macho, then to Intel I say hardware will start to die, because I think in ONE year you will see the number of new apps for PPC reduced in times. Very soon you will see that promised feature of FAT app become more and more limited. Like we have see this with Carbon, which now is limited practically to 9.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 sunshine at public.kherson.ua Tue Jun 21 15:42:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 07:46:21 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: Message-ID: On 6/21/05 1:54 PM, "Robert Brenstein" wrote: > Sorry to barge in but I can't resist seeing these over-generalizations... > >> I think you perfectly see what happens in the world :-) >> Soon PPC macs will die. > > Rubbish. PPC hardware is not gonna die just because newer Macs will > run on Intel. Apple's hardware is known for longevity. > > OSX is 5 years old and even Apple admits that half of Mac users still > haven't migrated. And even among those who did, quite a few run it on > old G3s or G4s. > >> But you worry about very old OS 9 computes. > > Is G4 really so old? I have a few running OS9. Who do not allow you switch to OS X on this G4? > When talking really old, I have a mail server running under 8.1 on > 7100 at one client (a department at a university). And you use OLD software for this, right? :-) >> You know I have read statistic, that OS 9 users almost NOTHING buy. > > Also rubbish as generalization. True only if you talk about general > consumer software. And partly at least because most developers > stopped producing newer versions for OS9, so there is little new to > buy that they don't have. CORRECT ROBERT !!!!!!!!!!! The same will happens very soon with PPC macs. > Totally irrelevant statistics if you talk about specialized programs. > I know of people who have substantial client base among classic users > and still making good money of them. Ok, but they use OLD compilers, OLD tools, and so on. >>> Valentina 1.x is an answer > > But Paradigma seems to stop selling V1 products for which V2 is out. Not exactly. We have some user which have buy not so far Valentina and express wish to get serials for 1.x. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 15:47:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 07:54:02 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: Message-ID: On 6/21/05 1:59 PM, "Jules Jacquot" wrote: >> You know I have read statistic, that OS 9 users almost NOTHING buy. > > You're right in absolute. But here there are my users and i must to > upgrade >> >> So if you develop new application -- forget about them. >> They will not buy it. Even it very cool and will work on OS 9. >> Because they also do not want invest into old hardware and expect >> get newer >> sooner of later. > > The best is that i'm going to ask them to invest into new hardware > > fortunately they are very friendly. > Hope keeps alive Guys, how you want from Valentina support OS 9 and unicode? IBM ICU do not work 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 rjb at robelko.com Tue Jun 21 15:23:01 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 21 08:35:37 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: > > Is G4 really so old? I have a few running OS9. > >Who do not allow you switch to OS X on this G4? Operational costs. The OS9 server just runs. No extra personnel needed. Upgrade costs. All programs have to be repurchased and some have no direct upgrades. > > When talking really old, I have a mail server running under 8.1 on >> 7100 at one client (a department at a university). > >And you use OLD software for this, right? :-) Yes, of course :) New software would not run on such old hardware. Of course, I would use a newer hardware if there was a need. > > Totally irrelevant statistics if you talk about specialized programs. >> I know of people who have substantial client base among classic users >> and still making good money of them. > >Ok, but they use OLD compilers, OLD tools, and so on. > Nop. Revolution is just beta testing new release for OS9, so they can continue using the newest stuff. And Revolution is made with CodeWarrior, I believe, which also updated their OS9 compiler. > >>> Valentina 1.x is an answer >> >> But Paradigma seems to stop selling V1 products for which V2 is out. > >Not exactly. We have some user which have buy not so far Valentina and >express wish to get serials for 1.x. Ah, so it is available for asking. Robert From rjb at robelko.com Tue Jun 21 15:25:15 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 21 08:35:42 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: >On 6/21/05 1:59 PM, "Jules Jacquot" wrote: > >>> You know I have read statistic, that OS 9 users almost NOTHING buy. >> >> You're right in absolute. But here there are my users and i must to > > upgrade > >Guys, how you want from Valentina support OS 9 and unicode? >IBM ICU do not work there. > >-- Yes, OS9 fell victim to your choosing IBM ICU as ground technology for V2. WE have to accept that. Too bad that Paradigma does not have resources to keep V1 as a Lite line of products, at least for a few years, the transition period, to serve those behind the technology frontlines and those with little needs. Robert From sunshine at public.kherson.ua Tue Jun 21 16:45:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 09:06:26 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: Message-ID: On 6/21/05 4:25 PM, "Robert Brenstein" wrote: > Too bad that Paradigma does not have resources to keep V1 as a Lite > line of products, at least for a few years, the transition period, to > serve those behind the technology frontlines and those with little > needs. Resources for what ??? Future development of has no sense. Bug fixes... Was made few. We will get 1.12 release sooner or later. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 21 17:00:01 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 21 10:15:20 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: >On 6/21/05 1:54 PM, "Robert Brenstein" wrote: > >> Sorry to barge in but I can't resist seeing these over-generalizations... > >:-) > >I knew this will start big flame Well, I don't really want to argue but I felt what you said was an overstatement. It might be how you feel about where Valentina is going but it is not fair to say such doomsay to all of us. >There was time when MAC developer did have only MacOS 9, >And we have smile on WIN developers which have fight with > win 3.1, win 95, win NT Well, Mac went through OS7, OS8, OS9 and their incarnations in that time. And Apple changed the chips several times, each change being smaller or bigger headache for developers, although they might have had less impact on end users as it was in Windows world. >Now I think all in reverse. > >Windows have many years stability. But we on MacOS jump as monkeys from > Classic to Carbon, then to OS X Macho, then to Intel > >I say hardware will start to die, because I think in ONE year you will see >the number of new apps for PPC reduced in times. I think you are painting an awfully black picture. Even Apple plans 2 years for the transition to Intel chips. And hardware sales are their staple, so they will figure out something to keep them going. >Very soon you will see that promised feature of FAT app become more and more >limited. Like we have see this with Carbon, which now is limited practically >to 9.2 Sure. But look how many years passed between OSX announcement until Macho came. Change is inevitable and developers like you need to follow the trend but things don't happen overnight. The problem is of course how much the support of laggards should trail behind. This was discussed not that long ago at Revolution list. The concensus was that practically all serious Mac developers (I distinguish here from hobbysts and folks that work under Windows) are working under OSX but a number still have large enough audiences of OS9 customers that they ask RunRev folks to keep OS9 version for a while yet. Of course, some said they dropped OS9 altogether and see no need for it. Paradigma is in a similar situation. What valentina developers use themselves is one issue but what their customers use is another. This is something not to forget. And there all those small developers that do stuff only for themselves or their friends. But few of them hang on this list I suspect. Robert From rjb at robelko.com Tue Jun 21 17:25:30 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Jun 21 10:35:42 2005 Subject: compilation Classic failed in rb2005 In-Reply-To: References: Message-ID: >On 6/21/05 4:25 PM, "Robert Brenstein" wrote: > >> Too bad that Paradigma does not have resources to keep V1 as a Lite >> line of products, at least for a few years, the transition period, to >> serve those behind the technology frontlines and those with little >> needs. > >Resources for what ??? > >Future development of has no sense. > >Bug fixes... Was made few. >We will get 1.12 release sooner or later. > Keeping it as a Lite line would not mean further development. Here we agree. But bux fixes and tweaking, if only to keep it working with new OS releases, or dealing with users, does require some resources (I mean time and effort). I need to search for my list of V1 glitches and enter them into bug tracker, so they get fixed :) Robert From peter.salomon at gmx.net Tue Jun 21 20:59:15 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Tue Jun 21 14:59:32 2005 Subject: [V4RB] rb 2005 In-Reply-To: References: Message-ID: <61E5C385-1869-4AF7-8861-40C4F23DD51B@gmx.net> HI Ruslan, in the meantime i installed a complete 10.4 with hfs+. now rb2005 and val run well. strange - in any case i thought that another file sysem would not cause such trouble. just to let you know.. peter Am 16.06.2005 um 20:29 schrieb Ruslan Zasukhin: >> hi ruslan, >> it is the only difference from a standard installation of MacOS. >> Completely new. There is only RB Demo and v4rb. Nothing else! And it >> does not work togeher... >> >> I don?t know if parts of v4rb don?t fit with unix file system but it >> seems you neither. >> >> So ok - because i could not remember why the hell i?ve chosen unix fs >> i?ll reinstall complete OS with hfs+... and let you know if you?re >> interested... >> > > Yes of course Peter > From daisychain at iinet.net.au Wed Jun 22 08:27:59 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 21 17:28:18 2005 Subject: RB WIN database causes RB to crash In-Reply-To: Message-ID: <000901c576b0$7ab23c30$ae00a8c0@DamonsPC> Hi Ruslan, I have looked through the web site but cannot find ViSql can you point me to a page? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 21 June 2005 6:44 PM To: valentina@lists.macserve.net Subject: Re: RB WIN database causes RB to crash On 6/21/05 11:21 AM, "Damon Pillinger" wrote: > No still crashes, wasn't the ' after all as escapestring fixed that Open this db in viSQL and make DIAGNOSE DATABASE Or DIAGNOSE DATABASE HIGH What result ? -- Best regards, Ruslan Zasukhin VP 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 daisychain at iinet.net.au Wed Jun 22 10:47:56 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 21 19:48:08 2005 Subject: RB WIN database causes RB to crash In-Reply-To: Message-ID: <001101c576c4$0854cd10$ae00a8c0@DamonsPC> When I tried to open the database in ViSQL I got the error Database could not be opened!!! [301] I have attached a program which I used to create the database. The database will be created in the folder it is run from and is called Jensen-databaseA.vdb Click on the first button which will make the database then close the program. Run it again and click on the second button which will show you the version number (with no crash), then click on the third button and the program will crash, all the third button does is read the tableschema into a listbox. If you try to view the tables from realbasic it will crash realbasic. Help is appreciated, Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 21 June 2005 6:44 PM To: valentina@lists.macserve.net Subject: Re: RB WIN database causes RB to crash On 6/21/05 11:21 AM, "Damon Pillinger" wrote: > No still crashes, wasn't the ' after all as escapestring fixed that Open this db in viSQL and make DIAGNOSE DATABASE Or DIAGNOSE DATABASE HIGH What result ? -- Best regards, Ruslan Zasukhin VP 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 Wed Jun 22 07:39:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 23:39:25 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <000901c576b0$7ab23c30$ae00a8c0@DamonsPC> Message-ID: On 6/22/05 1:27 AM, "Damon Pillinger" wrote: > Hi Ruslan, > I have looked through the web site but cannot find ViSql can you point > me to a page? ViSQL project is located in V4RB archive Examples/Advanced/viSQL -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 22 07:39:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 21 23:39:53 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <001101c576c4$0854cd10$ae00a8c0@DamonsPC> Message-ID: On 6/22/05 3:47 AM, "Damon Pillinger" wrote: > When I tried to open the database in ViSQL I got the error > > Database could not be opened!!! [301] I afraid you have use viSQL from 1.x 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 daisychain at iinet.net.au Wed Jun 22 14:45:24 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jun 21 23:45:36 2005 Subject: RB WIN database causes RB to crash In-Reply-To: Message-ID: <000901c576e5$3448ecf0$ae00a8c0@DamonsPC> When I run ViSQL_2 from real basic I get this error call StructureListBox.Add(iTopNode, "X1", "Collation.AttributeCount = " _ + GetCollAttrString(mDatabase.CollationAttribute( evColAttribute.kAttributeCount ) ) ) kAttributeCount This method or property does not exist?? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 22 June 2005 2:39 PM To: valentina@lists.macserve.net Subject: Re: RB WIN database causes RB to crash On 6/22/05 1:27 AM, "Damon Pillinger" wrote: > Hi Ruslan, > I have looked through the web site but cannot find ViSql can you point > me to a page? ViSQL project is located in V4RB archive Examples/Advanced/viSQL -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 22 09:56:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 22 01:56:56 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <000901c576e5$3448ecf0$ae00a8c0@DamonsPC> Message-ID: On 6/22/05 7:45 AM, "Damon Pillinger" wrote: > When I run ViSQL_2 from real basic I get this error > > call StructureListBox.Add(iTopNode, "X1", "Collation.AttributeCount = > " _ > + GetCollAttrString(mDatabase.CollationAttribute( > evColAttribute.kAttributeCount ) ) ) > > > kAttributeCount > This method or property does not exist?? Yes remove this lines of code. Property deprecated -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Wed Jun 22 17:08:35 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jun 22 02:08:45 2005 Subject: RB WIN database causes RB to crash In-Reply-To: Message-ID: <001301c576f9$353cabb0$ae00a8c0@DamonsPC> When I try to open the database it crashed viSQL, no error message just the "ViSQL has encounted a problem etc...Please tell Microsoft etc..." window Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 22 June 2005 4:56 PM To: valentina@lists.macserve.net Subject: Re: RB WIN database causes RB to crash On 6/22/05 7:45 AM, "Damon Pillinger" wrote: > When I run ViSQL_2 from real basic I get this error > > call StructureListBox.Add(iTopNode, "X1", "Collation.AttributeCount = > " _ > + GetCollAttrString(mDatabase.CollationAttribute( > evColAttribute.kAttributeCount ) ) ) > > > kAttributeCount > This method or property does not exist?? Yes remove this lines of code. Property deprecated -- Best regards, Ruslan Zasukhin VP 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 Wed Jun 22 10:14:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 22 02:15:03 2005 Subject: RB WIN database causes RB to crash In-Reply-To: <001301c576f9$353cabb0$ae00a8c0@DamonsPC> Message-ID: On 6/22/05 10:08 AM, "Damon Pillinger" wrote: > When I try to open the database it crashed viSQL, no error message just > the "ViSQL has encounted a problem etc...Please tell Microsoft etc..." > window Hi Damon, We cannot reproduce here problem with rename of db as you point. You need send us A) project B) steps to reproduce 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 peter.salomon at gmx.net Wed Jun 22 14:12:48 2005 From: peter.salomon at gmx.net (peter salomon) Date: Wed Jun 22 07:16:39 2005 Subject: [V4RB] error -61 - why? Message-ID: <42B955C0.7040003@gmx.net> Hi Ruslan, while learning rb i have a problem on adding a record in API way: i have as example: AtableRef = mydatabase.table("ATable") AtableRef.Field("fldA").value = "aaa" AtableRef.Field("fldB").value = "bbb" AtableRef.Field("fldC").value = "ccc" call AtableRef.Addrecord I get here an VException with the errorcode -61 (on MacOS) , which is "file locked" as i remember (?). But vdb file is not locked in finderinfo... Do you know as fast idea what could be the reason? Do there exist recordlocks also in API way? Peter From fvanlerberghe at freegates.be Wed Jun 22 16:35:05 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Wed Jun 22 09:35:34 2005 Subject: [V4RB] error -61 - why? In-Reply-To: <42B955C0.7040003@gmx.net> Message-ID: le 22/06/05 14:12, peter salomon a ?crit?: > I get here an VException with the errorcode -61 (on MacOS) , which is > "file locked" as i remember (?). But vdb file is not locked in finderinfo... I think you could have this when the database is opened by another application or is not well closed. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From peter.salomon at gmx.net Wed Jun 22 17:27:19 2005 From: peter.salomon at gmx.net (peter salomon) Date: Wed Jun 22 10:31:14 2005 Subject: [V4RB] error -61 - why? In-Reply-To: References: Message-ID: <42B98357.8090701@gmx.net> Francois Van Lerberghe wrote: >I think you could have this when the database is opened by another >application or is not well closed. > > > Hi Francois, yes, but it?s not that i open db by another application nor would i have needed to close it. I open db on opening main window and close the db on closing the mainwindow for now. Even before this part i write something in another table of the same db, get that recID and want to write the recID into objectptrfield and other strings into other stringfields. The first part works. Its also not a problem of objptr field. Only thing is that the second part is working from another method. Or have i defined two databaseobjects? I?ll have to check that.. thanks for hints Peter From heinrichruoff at gmail.com Wed Jun 22 18:13:19 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Jun 22 11:13:35 2005 Subject: [V4MD2] publish for Windows 98 Message-ID: Is there anything special to do when publishing a Director appliction with V4MD2 Xtra for Windows 98? On Windows 98 I get an "Director Player Error" telling me "Symbol expected when calling: Valentina = new (Xtra("Valentina")) On XP and Windows 2000 everything works fine. thx Heinrich From sunshine at public.kherson.ua Wed Jun 22 21:34:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 22 13:34:48 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: Message-ID: On 6/22/05 7:13 PM, "Heinrich Ruoff" wrote: Hi Heinrich, > Is there anything special to do when publishing a Director appliction > with V4MD2 Xtra for Windows 98? > > On Windows 98 I get an "Director Player Error" telling me "Symbol > expected when calling: > Valentina = new (Xtra("Valentina")) > > On XP and Windows 2000 everything works fine. It seems should be nothing special. So you have create single folder for YouApp, Copy here VComponents files, right ? And 2 dll from MS ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 22 23:30:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 22 16:31:04 2005 Subject: API search Message-ID: <001b01c57771$abf8db70$b50a1e97@vmtrm4p9ipbkv2> Hi Ruslan I've tried: table = gDb.table(gTableName) rs = table.field(clickedCol).findValue(searchString) -- this works with clickedCol = "F1" If I want try to search in all field of table: rs = table.field().findValue(searchString) I've read in your docs "if in selection is nil(?) then it searches in all records of the table" but this don't works, where is my mistake? Thanks Paolo From info at vallemediatime.com Thu Jun 23 00:07:09 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Jun 22 17:07:20 2005 Subject: [V4MD] RecordsSort - API example Message-ID: <000701c57776$bccd3ae0$b50a1e97@vmtrm4p9ipbkv2> Hi Ruslan, I've tried the API\RecordsSort, this line works automatically in ASC mode: sortedSet = person.sort(setAll, person.field("fld_Long")) but if I want to sort in DESC mode, how can do it, with same behaviour (not with sortMultiple method) Thanks Paolo From daisychain at iinet.net.au Thu Jun 23 11:43:30 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jun 22 20:43:38 2005 Subject: test file from Damon In-Reply-To: <000701c57776$bccd3ae0$b50a1e97@vmtrm4p9ipbkv2> Message-ID: <004b01c57794$f5668910$ae00a8c0@DamonsPC> Hi Ruslan, Did you get the test file I sent? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Thu Jun 23 09:05:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 23 01:05:41 2005 Subject: test file from Damon In-Reply-To: <004b01c57794$f5668910$ae00a8c0@DamonsPC> Message-ID: On 6/23/05 4:43 AM, "Damon Pillinger" wrote: > Hi Ruslan, > Did you get the test file I sent? No, Damon Please send it here sunshine@public.kherson.ua -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 23 09:26:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 23 01:26:17 2005 Subject: API search In-Reply-To: <001b01c57771$abf8db70$b50a1e97@vmtrm4p9ipbkv2> Message-ID: On 6/23/05 12:30 AM, "info@vallemediatime.com" wrote: Hi Paolo, > I've tried: > table = gDb.table(gTableName) > rs = table.field(clickedCol).findValue(searchString) > -- this works with clickedCol = "F1" > > If I want try to search in all field of table: > rs = table.field().findValue(searchString) What means in all ? In all 10 fields of table ?! Database do not work in this way. Well, I have see that people use Method for this fldAllFields = "concat(f1, ' ', f2, ' ', f3, ' ', f4, ' ', f5)" > I've read in your docs "if in selection is nil(?) then it searches in all > records of the table but this don't works, where is my mistake? This means ALL records by field F1. If you specify some selection then this will be search by SOME records of F1. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 23 09:28:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 23 01:28:38 2005 Subject: [V4MD] RecordsSort - API example In-Reply-To: <000701c57776$bccd3ae0$b50a1e97@vmtrm4p9ipbkv2> Message-ID: On 6/23/05 1:07 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > > I've tried the API\RecordsSort, this line works automatically in ASC mode: > sortedSet = person.sort(setAll, person.field("fld_Long")) > > but if I want to sort in DESC mode, how can do it, with same behaviour (not > with sortMultiple method) Hi Paolo, I see in the msg table" "sort object me, object selSet, object field, * -- [symbol order = #kAsc]\n" -- Executes sorting of a table selection inSet by the field Field.\n" So you need sortedSet = person.sort( setAll, person.field("fld_Long"), #kDesc ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Thu Jun 23 10:18:10 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jun 23 03:18:25 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: References: Message-ID: right. it is exactly the same folder structure and dll combination that works with XP and Windows 2000 On 6/22/05, Ruslan Zasukhin wrote: > On 6/22/05 7:13 PM, "Heinrich Ruoff" wrote: > > Hi Heinrich, > > > Is there anything special to do when publishing a Director appliction > > with V4MD2 Xtra for Windows 98? > > > > On Windows 98 I get an "Director Player Error" telling me "Symbol > > expected when calling: > > Valentina = new (Xtra("Valentina")) > > > > On XP and Windows 2000 everything works fine. > > It seems should be nothing special. > > So you have create single folder for YouApp, > Copy here VComponents files, right ? > > And 2 dll from MS ? > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 Thu Jun 23 12:33:20 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 23 05:33:36 2005 Subject: [V4MD] RecordsSort - API example References: Message-ID: <002501c577de$fa196320$1a1d1e97@vmtrm4p9ipbkv2> Hi Ruslan, > sortedSet = person.sort( setAll, person.field("fld_Long"), #kDesc ) ok, this works fine! Thanks Paolo From silversoft at skynet.be Thu Jun 23 15:48:28 2005 From: silversoft at skynet.be (Silversoft) Date: Thu Jun 23 08:48:59 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: Message-ID: <200506231348.j5NDmexs008250@outmx018.isp.belgacom.be> Hello all, where can I find the Powered by Valentina logo? I am about to finish a product, but can not find that logo. Thanks, Steven Ophalvens -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 22/06/2005 From info at vallemediatime.com Thu Jun 23 17:57:25 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 23 10:57:43 2005 Subject: API seach and sort Message-ID: <000701c5780c$4038eba0$dc231e97@vmtrm4p9ipbkv2> Hi Ruslan, I want find a born year of my Students and I want show a sort result table, in SQL is easy, but in API is more difficult... for me. This is my attempt: table = gDb.table(gTableName) setAll = table.selectAllRecords() rs = table.field("F8").findValue(searchString) sortedSet = table.sort( setAll, rs.field("F8"), #kAsc ) showResultGrid(rs, table) Thank for all your many help. Paolo From info at vallemediatime.com Thu Jun 23 18:18:09 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 23 11:18:24 2005 Subject: API search References: Message-ID: <001201c5780f$260ee4c0$eb1e1e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: ; Sent: Thursday, June 23, 2005 8:26 AM Subject: Re: API search > On 6/23/05 12:30 AM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > I've tried: > > table = gDb.table(gTableName) > > rs = table.field(clickedCol).findValue(searchString) > > -- this works with clickedCol = "F1" > > > > If I want try to search in all field of table: > > rs = table.field().findValue(searchString) > > What means in all ? > In all 10 fields of table ?! Yes > Database do not work in this way. > > Well, I have see that people use Method for this > > fldAllFields = "concat(f1, ' ', f2, ' ', f3, ' ', f4, ' ', f5)" Ok now I can try it, and I hope for the assigned Igor example. > > > I've read in your docs "if in selection is nil(?) then it searches in all > > records of the table but this don't works, where is my mistake? > > This means ALL records by field F1. ok > If you specify some selection then this will be > search by SOME records of F1. Now I've better understand, thanks Paolo > -- > Best regards, > > Ruslan Zasukhin > VP 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.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005 > > From sunshine at public.kherson.ua Thu Jun 23 22:08:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 23 14:08:18 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: <200506231348.j5NDmexs008250@outmx018.isp.belgacom.be> Message-ID: On 6/23/05 4:48 PM, "Silversoft" wrote: > Hello all, > > where can I find the Powered by Valentina logo? > I am about to finish a product, but can not find > that logo. Hi Steven, Please look on Support page or About page. There you can find link -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 23 22:11:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 23 14:11:38 2005 Subject: API seach and sort In-Reply-To: <000701c5780c$4038eba0$dc231e97@vmtrm4p9ipbkv2> Message-ID: On 6/23/05 6:57 PM, "info@vallemediatime.com" wrote: Hi Paolo. > Hi Ruslan, > I want find a born year of my Students and I want show a sort result table, > in SQL is easy, but in API is more difficult... for me. > This is my attempt: > > table = gDb.table(gTableName) > setAll = table.selectAllRecords() no need! > rs = table.field("F8").findValue(searchString) > sortedSet = table.sort( setAll, rs.field("F8"), #kAsc ) > showResultGrid(rs, table) Should be as table = gDb.table(gTableName) rs = table.field("F8").findValue(searchString) -- this is SET sortedSet = table.sort( rs, table.field("F8") ) showResultGrid(rs, table) ----------------------- Btw, in fc9 Igor have add VTable.GetRecord() function. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jun 24 00:00:00 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jun 23 17:00:13 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: References: Message-ID: has anyone else these problems with Windows 98? On 6/23/05, Heinrich Ruoff wrote: > right. > > it is exactly the same folder structure and dll combination that > works with XP and Windows 2000 > > > On 6/22/05, Ruslan Zasukhin wrote: > > On 6/22/05 7:13 PM, "Heinrich Ruoff" wrote: > > > > Hi Heinrich, > > > > > Is there anything special to do when publishing a Director appliction > > > with V4MD2 Xtra for Windows 98? > > > > > > On Windows 98 I get an "Director Player Error" telling me "Symbol > > > expected when calling: > > > Valentina = new (Xtra("Valentina")) > > > > > > On XP and Windows 2000 everything works fine. > > > > It seems should be nothing special. > > > > So you have create single folder for YouApp, > > Copy here VComponents files, right ? > > > > And 2 dll from MS ? > > > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP 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 Fri Jun 24 10:15:59 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu Jun 23 17:16:19 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: References: Message-ID: <6.2.1.2.2.20050624101305.03b5c4b0@pop3.paradise.net.nz> >has anyone else these problems with Windows 98? None of my clients has reported issues with Win 98, but I have no idea of end-user specs or raw distribution figures. Nor do I have a copy of Win 98 to test against. Are you talking about Win 98 SE2 (or whatever the moniker was for the "stable" release of Win 98)? I'd be surprised if DMX2004 runtime is supported on anything earlier. -Sean. From softil at onlinehome.de Fri Jun 24 00:27:31 2005 From: softil at onlinehome.de (SoftIl) Date: Thu Jun 23 17:27:47 2005 Subject: [V4MD2] publish for Windows 98 References: <6.2.1.2.2.20050624101305.03b5c4b0@pop3.paradise.net.nz> Message-ID: <001f01c57842$c176f320$fe7aa8c0@ipsbasis> Hi, >I'd be surprised if DMX2004 runtime is supported on anything earlier. DMX2004 suported only Win2000 and WinXP! DMX2004 Projects dosen't run on systems earlier Win2000! Best regards, Carsten From info at vallemediatime.com Fri Jun 24 00:53:23 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 23 17:53:36 2005 Subject: API seach and sort References: Message-ID: <000801c57846$5c99e300$ba171e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, June 23, 2005 9:11 PM Subject: Re: API seach and sort > On 6/23/05 6:57 PM, "info@vallemediatime.com" > wrote: > > Hi Paolo. > > > Hi Ruslan, > > I want find a born year of my Students and I want show a sort result table, > > in SQL is easy, but in API is more difficult... for me. > > > > This is my attempt: > > > > table = gDb.table(gTableName) > > setAll = table.selectAllRecords() > no need! > > > rs = table.field("F8").findValue(searchString) > > sortedSet = table.sort( setAll, rs.field("F8"), #kAsc ) > > showResultGrid(rs, table) > > Should be as > > table = gDb.table(gTableName) > > rs = table.field("F8").findValue(searchString) -- this is SET > sortedSet = table.sort( rs, table.field("F8") ) > > showResultGrid(rs, table) I've tried but don't works. I get a Director script error: "Object expected" the object is into a miaw and this is more difficult to debug. With simple: rs = table.field("sF8").findValue(searchString) showResultGrid(rs, table) I don't get error, strange! > Btw, in fc9 Igor have add > VTable.GetRecord() function. Are you sure? in the Mantis seems only assigned but not resolve. If it'is resolved can you send me the code for try it? The new function is not documented I think. Thanks Paolo > > > -- > Best regards, > > Ruslan Zasukhin > VP 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.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005 > > From barney at custombased.com Fri Jun 24 10:55:16 2005 From: barney at custombased.com (Barney) Date: Thu Jun 23 17:55:06 2005 Subject: Vserver not starting Message-ID: Hello, Have installed Vserver and Embedded Server, they are located in library folder. Upon startup OR when double clicked directly, neither server will start up. Error number is 10810, I can't find information about this error number in any archives messages. Nothing reported in the error log. Neither Vserver will even try to get started, error code immediately. If I put my old Vserver trial version back in Library folder and start it, it starts up and runs fine. Why would the new version downloaded yesterday not be running ? Thanks Barney From heinrichruoff at gmail.com Fri Jun 24 00:56:05 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jun 23 17:56:20 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: <001f01c57842$c176f320$fe7aa8c0@ipsbasis> References: <6.2.1.2.2.20050624101305.03b5c4b0@pop3.paradise.net.nz> <001f01c57842$c176f320$fe7aa8c0@ipsbasis> Message-ID: as far as I know DMX 2004 supports XP, 2000 and 98 but not Nt 4.0 and Millenium the machine I tested was 98 SE Heinrich On 6/24/05, SoftIl wrote: > Hi, > >I'd be surprised if DMX2004 runtime is supported on anything earlier. > DMX2004 suported only Win2000 and WinXP! > DMX2004 Projects dosen't run on systems earlier Win2000! > > Best regards, > Carsten > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From snw at paradise.net.nz Fri Jun 24 11:00:35 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu Jun 23 18:00:54 2005 Subject: [V4MD2] publish for Windows 98 In-Reply-To: <001f01c57842$c176f320$fe7aa8c0@ipsbasis> References: <6.2.1.2.2.20050624101305.03b5c4b0@pop3.paradise.net.nz> <001f01c57842$c176f320$fe7aa8c0@ipsbasis> Message-ID: <6.2.1.2.2.20050624105701.0468a140@pop3.paradise.net.nz> >>I'd be surprised if DMX2004 runtime is supported on anything earlier. >DMX2004 suported only Win2000 and WinXP! >DMX2004 Projects dosen't run on systems earlier Win2000! No, you're wrong about that. If you look at you'll see that what you say is true of *authoring*, while the OP and I were talking about run-time:- Director Player and Shockwave Player: Playback Requirements Windows * Win98, Pentium II, 64MB * Win2K, Pentium III, 128MB * WinXP, Pentium III, 128MB * Microsoft Internet Explorer 6sp1, 5.5sp2, 5.01sp2 * Netscape 7.1 -Sean. From daisychain at iinet.net.au Fri Jun 24 12:48:50 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jun 23 21:49:02 2005 Subject: test file from Damon In-Reply-To: Message-ID: <007601c57867$4093a670$ae00a8c0@DamonsPC> Hi Ruslan, I think I am tracking the problem down When the database is opened and the tables and fields are created everything is fine. I can read the schema's as long as the database is still open. But when I close the program, and run it again, as soon as it tries to open the database it crashes. Logically I must be doing something wrong to close the database I use valentina.init (8*1024*1024,"","my serial") and valentina.shutdown in the open and close methods of App d1 is global variable of type VRBDatabase To open fn="Jensen-DatabaseAA.vdb" d1=new vrBDatabase d1.DatabaseFile=getfolderItem("").child(fn) if d1.connect then ' all good and it processes fine end if To close d1.commit d1.close also tried d1.commit d1.close d1=nil The database is 16145 KB in size with no data, just the tables and fields. Any Ideas? Thanks From sunshine at public.kherson.ua Fri Jun 24 08:16:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 00:16:42 2005 Subject: test file from Damon In-Reply-To: <007601c57867$4093a670$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 5:48 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > I think I am tracking the problem down > > When the database is opened and the tables and fields are created > everything is fine. I can read the schema's as long as the database is > still open. > > But when I close the program, and run it again, as soon as it tries to > open the database it crashes. Hi Damon, First note on your project. Sergey says that you create tables using CREATE TABLE ALTER TABLE add field .... ALTER TABLE add field .... ALTER TABLE add field .... Why you use so strange way? Should be just CREATE TABLE T1( f1 int, f2 varchar(1022), f3 varchar(1022) ) You have 7 tables, so only 7 commands CREATE TABLE should be sent to engine. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 24 08:19:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 00:19:46 2005 Subject: Vserver not starting In-Reply-To: Message-ID: On 6/24/05 1:55 AM, "Barney" wrote: > Hello, > > Have installed Vserver and Embedded Server, they are located in library > folder. > > Upon startup OR when double clicked directly, neither server will start up. > > Error number is 10810, I can't find information about this error number in > any archives messages. > > Nothing reported in the error log. > > Neither Vserver will even try to get started, error code immediately. > > If I put my old Vserver trial version back in Library folder and start it, > it starts up and runs fine. > > Why would the new version downloaded yesterday not be running ? OS ? Version ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 24 08:22:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 00:22:12 2005 Subject: API seach and sort In-Reply-To: <000801c57846$5c99e300$ba171e97@vmtrm4p9ipbkv2> Message-ID: On 6/24/05 1:53 AM, "info@vallemediatime.com" wrote: >> Should be as >> >> table = gDb.table(gTableName) >> >> rs = table.field("F8").findValue(searchString) -- this is SET >> sortedSet = table.sort( rs, table.field("F8") ) >> >> showResultGrid(rs, table) > > I've tried but don't works. > I get a Director script error: "Object expected" > the object is into a miaw and this is more difficult to debug. > > With simple: > rs = table.field("sF8").findValue(searchString) > showResultGrid(rs, table) > > I don't get error, strange! Sounds like Sort() cause problems. Ahhhhhhhhh >> showResultGrid(rs, table) Must be showResultGrid(SortedSet, table) We must show new sorted set. >> Btw, in fc9 Igor have add >> VTable.GetRecord() function. > Are you sure? in the Mantis seems only assigned but not resolve. yes > If it'is resolved can you send me the code for try it? Usage is THE SAME as for cursor fields = table.GetRecord() > The new function is not documented 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 daisychain at iinet.net.au Fri Jun 24 15:31:03 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jun 24 00:31:03 2005 Subject: test file from Damon In-Reply-To: Message-ID: <007f01c5787d$e9ac5e80$ae00a8c0@DamonsPC> Hi Ruslan, It should not matter how the database is created. I do it this way so if I need to add or remove a field the list is easy to read on one screen without having to scroll left or right to find it. I have also tried f3 varchar(1024) but the same crash still occurs. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 24 June 2005 3:17 PM To: valentina@lists.macserve.net Subject: Re: test file from Damon On 6/24/05 5:48 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > I think I am tracking the problem down > > When the database is opened and the tables and fields are created > everything is fine. I can read the schema's as long as the database is > still open. > > But when I close the program, and run it again, as soon as it tries to > open the database it crashes. Hi Damon, First note on your project. Sergey says that you create tables using CREATE TABLE ALTER TABLE add field .... ALTER TABLE add field .... ALTER TABLE add field .... Why you use so strange way? Should be just CREATE TABLE T1( f1 int, f2 varchar(1022), f3 varchar(1022) ) You have 7 tables, so only 7 commands CREATE TABLE should be sent to engine. -- Best regards, Ruslan Zasukhin VP 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 Jun 24 08:50:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 00:50:21 2005 Subject: test file from Damon In-Reply-To: <007f01c5787d$e9ac5e80$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 8:31 AM, "Damon Pillinger" wrote: Hi Damon, > Hi Ruslan, > It should not matter how the database is created. That's right. And we work on this bug now. Just we wonder why you use such way ? > I do it this way so if > I need to add or remove a field the list is easy to read on one screen > without having to scroll left or right to find it. Remove in app code ??? easy: Sergey write it as: str = "CREATE TABLE DatabaseA(" str = str + "ack varchar," str = str + "boxes varchar," ' str = str + "cancelDate varchar," ' str = str + "control varchar," str = str + "DateA varchar," str = str + "filename varchar," str = str + "filetype varchar," str = str + "OrderA varchar," str = str + "receiver varchar," str = str + "refer varchar," str = str + "sender varchar," str = str + "sent varchar," str = str + "sort varchar," str = str + "store varchar," str = str + "timeA varchar," str = str + "valueA varchar" str = str + ")" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Fri Jun 24 15:50:26 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jun 24 00:50:31 2005 Subject: test file from Damon In-Reply-To: <007f01c5787d$e9ac5e80$ae00a8c0@DamonsPC> Message-ID: <008001c57880$9ebeab50$ae00a8c0@DamonsPC> OK so I made complete CREATE Table lines. It still crashes. :( CREATE TABLE DatabaseA(ack varchar(1024), boxes varchar(1024), cancelDate varchar(1024), control varchar(1024), DateA varchar(1024), filename varchar(1024), filetype varchar(1024), OrderA varchar(1024), receiver varchar(1024), refer varchar(1024), sender varchar(1024), sent varchar(1024), sort varchar(1024), store varchar(1024), timeA varchar(1024), valueA varchar(1024)) CREATE TABLE map(ali varchar(1024), bgm varchar(1024), bsn varchar(1024), cnt1 varchar(1024), cnt2 varchar(1024), cps varchar(1024), cps1 varchar(1024), dtm varchar(1024), loc varchar(1024), name varchar(1024), pac varchar(1024), pac1 varchar(1024), qty varchar(1024), rff varchar(1024), uci varchar(1024), unb varchar(1024)) CREATE TABLE mydata(accountfolder varchar(1024), add1 varchar(1024), add2 varchar(1024), add3 varchar(1024), add4 varchar(1024), add5 varchar(1024), autoarchive varchar(1024), barcodetype varchar(1024), body1 varchar(1024), body2 varchar(1024), body3 varchar(1024), clientname varchar(1024), connections varchar(1024), dept varchar(1024), dumbremote varchar(1024), ean varchar(1024), filetype varchar(1024), header1 varchar(1024), header2 varchar(1024), header3 varchar(1024), levelADP varchar(1024), linepad varchar(1024), mailboxkey varchar(1024), mailfrom varchar(1024), mailmethod varchar(1024), mailto varchar(1024), masteremail varchar(1024), mastername varchar(1024), masternotif varchar(1024), mastersendnotif varchar(1024), mastersendnptif varchar(1024), mastersendproduct varchar(1024), mastersendreceipt varchar(1024), mastersendstore varchar(1024), oneprinter varchar(1024), pref varchar(1024), prefvan varchar(1024), pricols varchar(1024), prifont varchar(1024), primaxlpack varchar(1024), printbar varchar(1024), printform varchar(1024), printscm varchar(1024), prirows varchar(1024), prixos varchar(1024), priyos varchar(1024), prodname varchar(1024), quick varchar(1024), remotecheck varchar(1024), remotecreateasn varchar(1024), remoteemail0 varchar(1024), remoteemail1 varchar(1024), remoteemail2 varchar(1024), remoteemail3 varchar(1024), remoteemail4 varchar(1024), remotename varchar(1024), remotenotif0 varchar(1024), remotenotif1 varchar(1024), remotenotif2 varchar(1024), remotenotif3 varchar(1024), remotenotif4 varchar(1024), remotepostcodes varchar(1024), remotesendnotif varchar(1024), remotesendreceipt varchar(1024), remotesendscan varchar(1024), repcodes varchar(1024), scmxos varchar(1024), scmyos varchar(1024), serverA varchar(1024), servicemaster varchar(1024), serviceremote varchar(1024), spreadsheetdir varchar(1024), spreadsheettype varchar(1024), stickertype varchar(1024), sticouhei varchar(1024), sticouwid varchar(1024), store varchar(1024), suppliermailbox varchar(1024), talk varchar(1024), vancoutbox varchar(1024), vancrun varchar(1024), vanname varchar(1024), vanpassword varchar(1024), vanserver varchar(1024), vanserverin varchar(1024), vanservername varchar(1024), vanserveroutname varchar(1024), vanserveroutpassword varchar(1024), vanserverouttype varchar(1024), vanserverpassword varchar(1024), ven varchar(1024)) CREATE TABLE numbers(asn varchar(1024), edi varchar(1024), rpo varchar(1024), scm varchar(1024)) CREATE TABLE products(accounting varchar(1024), barcode varchar(1024), closebox varchar(1024), colour varchar(1024), cost varchar(1024), description varchar(1024), keycode varchar(1024), mycode varchar(1024), packsize varchar(1024), retail varchar(1024), size varchar(1024), TUNitems varchar(1024), taxrate varchar(1024), weight varchar(1024)) CREATE TABLE stores(Address1 varchar(1024), Address2 varchar(1024), accountname varchar(1024), name varchar(1024), number varchar(1024), postcode varchar(1024), state varchar(1024), suburb varchar(1024)) CREATE TABLE vanlog(confirmed varchar(1024), control varchar(1024), DateA varchar(1024), filename varchar(1024), keyA varchar(1024), status varchar(1024), subject varchar(1024), timeA varchar(1024), tofrom varchar(1024), van varchar(1024)) Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Friday, 24 June 2005 3:31 PM To: 'Valentina Developers' Subject: RE: test file from Damon Hi Ruslan, It should not matter how the database is created. I do it this way so if I need to add or remove a field the list is easy to read on one screen without having to scroll left or right to find it. I have also tried f3 varchar(1024) but the same crash still occurs. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 24 June 2005 3:17 PM To: valentina@lists.macserve.net Subject: Re: test file from Damon On 6/24/05 5:48 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > I think I am tracking the problem down > > When the database is opened and the tables and fields are created > everything is fine. I can read the schema's as long as the database is > still open. > > But when I close the program, and run it again, as soon as it tries to > open the database it crashes. Hi Damon, First note on your project. Sergey says that you create tables using CREATE TABLE ALTER TABLE add field .... ALTER TABLE add field .... ALTER TABLE add field .... Why you use so strange way? Should be just CREATE TABLE T1( f1 int, f2 varchar(1022), f3 varchar(1022) ) You have 7 tables, so only 7 commands CREATE TABLE should be sent to engine. -- Best regards, Ruslan Zasukhin VP 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 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Fri Jun 24 15:52:42 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jun 24 00:52:44 2005 Subject: test file from Damon In-Reply-To: Message-ID: <008101c57880$efeb4f10$ae00a8c0@DamonsPC> Our emails must have crossed, great minds think alike. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 24 June 2005 3:50 PM To: valentina@lists.macserve.net Subject: Re: test file from Damon On 6/24/05 8:31 AM, "Damon Pillinger" wrote: Hi Damon, > Hi Ruslan, > It should not matter how the database is created. That's right. And we work on this bug now. Just we wonder why you use such way ? > I do it this way so if > I need to add or remove a field the list is easy to read on one screen > without having to scroll left or right to find it. Remove in app code ??? easy: Sergey write it as: str = "CREATE TABLE DatabaseA(" str = str + "ack varchar," str = str + "boxes varchar," ' str = str + "cancelDate varchar," ' str = str + "control varchar," str = str + "DateA varchar," str = str + "filename varchar," str = str + "filetype varchar," str = str + "OrderA varchar," str = str + "receiver varchar," str = str + "refer varchar," str = str + "sender varchar," str = str + "sent varchar," str = str + "sort varchar," str = str + "store varchar," str = str + "timeA varchar," str = str + "valueA varchar" str = str + ")" -- Best regards, Ruslan Zasukhin VP 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 daisychain at iinet.net.au Fri Jun 24 15:53:04 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jun 24 00:53:06 2005 Subject: test file from Damon In-Reply-To: Message-ID: <008201c57880$fd548950$ae00a8c0@DamonsPC> Is there a limit to the number of fields in a table? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 24 June 2005 3:50 PM To: valentina@lists.macserve.net Subject: Re: test file from Damon On 6/24/05 8:31 AM, "Damon Pillinger" wrote: Hi Damon, > Hi Ruslan, > It should not matter how the database is created. That's right. And we work on this bug now. Just we wonder why you use such way ? > I do it this way so if > I need to add or remove a field the list is easy to read on one screen > without having to scroll left or right to find it. Remove in app code ??? easy: Sergey write it as: str = "CREATE TABLE DatabaseA(" str = str + "ack varchar," str = str + "boxes varchar," ' str = str + "cancelDate varchar," ' str = str + "control varchar," str = str + "DateA varchar," str = str + "filename varchar," str = str + "filetype varchar," str = str + "OrderA varchar," str = str + "receiver varchar," str = str + "refer varchar," str = str + "sender varchar," str = str + "sent varchar," str = str + "sort varchar," str = str + "store varchar," str = str + "timeA varchar," str = str + "valueA varchar" str = str + ")" -- Best regards, Ruslan Zasukhin VP 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 Jun 24 09:32:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 01:32:39 2005 Subject: test file from Damon In-Reply-To: <008001c57880$9ebeab50$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 8:50 AM, "Damon Pillinger" wrote: > OK so I made complete CREATE Table lines. It still crashes. :( > > CREATE TABLE DatabaseA(ack varchar(1024), boxes varchar(1024), > cancelDate varchar(1024), control varchar(1024), DateA varchar(1024), > filename varchar(1024), filetype varchar(1024), OrderA varchar(1024), > receiver varchar(1024), refer varchar(1024), sender varchar(1024), sent > varchar(1024), sort varchar(1024), store varchar(1024), timeA > varchar(1024), valueA varchar(1024)) Btw Damon, Size of varchar should be 1022. Damon, we work on this 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 daisychain at iinet.net.au Fri Jun 24 16:34:26 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jun 24 01:34:28 2005 Subject: test file from Damon In-Reply-To: Message-ID: <008301c57886$c47e75e0$ae00a8c0@DamonsPC> Many thanks, and have a good weekend to all if I don't hear from you until next week. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 24 June 2005 4:33 PM To: valentina@lists.macserve.net Subject: Re: test file from Damon On 6/24/05 8:50 AM, "Damon Pillinger" wrote: > OK so I made complete CREATE Table lines. It still crashes. :( > > CREATE TABLE DatabaseA(ack varchar(1024), boxes varchar(1024), > cancelDate varchar(1024), control varchar(1024), DateA varchar(1024), > filename varchar(1024), filetype varchar(1024), OrderA varchar(1024), > receiver varchar(1024), refer varchar(1024), sender varchar(1024), sent > varchar(1024), sort varchar(1024), store varchar(1024), timeA > varchar(1024), valueA varchar(1024)) Btw Damon, Size of varchar should be 1022. Damon, we work on this crash -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Jun 24 09:36:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 01:36:06 2005 Subject: test file from Damon In-Reply-To: <008301c57886$c47e75e0$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 9:34 AM, "Damon Pillinger" wrote: > Many thanks, and have a good weekend to all if I don't hear from you > until next week. You will :-) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 24 09:36:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 01:36:56 2005 Subject: test file from Damon In-Reply-To: <008201c57880$fd548950$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 8:53 AM, "Damon Pillinger" wrote: > Is there a limit to the number of fields in a table? No limit. Bug is that it crashes on 50th fields. Never mind what order of tables and field. 50th field in db crashes in your project. We search why. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Fri Jun 24 08:49:37 2005 From: silversoft at skynet.be (Silversoft) Date: Fri Jun 24 01:49:58 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: Message-ID: <200506240649.j5O6niAm031533@outmx012.isp.belgacom.be> I can only find a link to the shuttle logo that is required for version 2, but this application still uses V4MD. Can I use the new logo for this project? Or is it better to use the old one for the older engine? (If I can find it). -----Oorspronkelijk bericht----- Van: valentina-bounces+silversoft=skynet.be@lists.macserve.net [mailto:valentina-bounces+silversoft=skynet.be@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: donderdag 23 juni 2005 21:08 Aan: valentina@lists.macserve.net Onderwerp: Re: [V4MD] Powered by Valentina logo On 6/23/05 4:48 PM, "Silversoft" wrote: > Hello all, > > where can I find the Powered by Valentina logo? > I am about to finish a product, but can not find > that logo. Hi Steven, Please look on Support page or About page. There you can find link -- Best regards, Ruslan Zasukhin VP 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.323 / Virus Database: 267.7.11/26 - Release Date: 22/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 22/06/2005 From info at vallemediatime.com Fri Jun 24 08:53:24 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jun 24 01:53:33 2005 Subject: V4MD fc9 - fields = table.GetRecord() Message-ID: <001901c57889$6ba279f0$89141e97@vmtrm4p9ipbkv2> Hi Ruslan >>Usage is THE SAME as for cursor >>fields = table.GetRecord() I have not found a solutions for insert new function in my code. I've tried in many ways, but I get always a RecID with 6 numbers i.e. 952965 and a empty grid. on ProduceTableData (n, rs, table) currRec = value(member("recPos").text) myData = [] fieldCount = gHeaderList.count sprite(n).colCount = fieldCount sprite(n).SetRow(0, string(gHeaderList)) -- Prepare table rows recCount = rs.itemCount if recCount > 0 then iter = rs.makeNewIterator() if iter.firstItem() then repeat with i = 1 to recCount row = [] table.RecId = iter.value repeat with j = 0 to fieldCount f = table.field(j) row[symbol(f.name)] = f.value sprite(n).SetCellText(j, i, string(f.value)) -- THIS WORKING -- fields = table.GetRecord(i) -- NOT WORKING -- sprite(n).SetRow(i,string(fields)) end repeat member("searchString").text = string(myData.count & "/" & recCount) myData[i + 1] = row iter.nextItem() -- row numbers sprite(n).rowCount = myData.count end repeat end if end if From info at vallemediatime.com Fri Jun 24 08:57:29 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jun 24 01:57:36 2005 Subject: API seach and sort References: Message-ID: <002601c57889$fd276fc0$89141e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, June 24, 2005 7:22 AM Subject: Re: API seach and sort > On 6/24/05 1:53 AM, "info@vallemediatime.com" > wrote: > > >> Should be as > >> > >> table = gDb.table(gTableName) > >> > >> rs = table.field("F8").findValue(searchString) -- this is SET > >> sortedSet = table.sort( rs, table.field("F8") ) > >> > >> showResultGrid(rs, table) > > > > I've tried but don't works. > > I get a Director script error: "Object expected" > > the object is into a miaw and this is more difficult to debug. > > > > With simple: > > rs = table.field("sF8").findValue(searchString) > > showResultGrid(rs, table) > > > > I don't get error, strange! > > Sounds like Sort() cause problems. > Ahhhhhhhhh > > >> showResultGrid(rs, table) > > Must be > > showResultGrid(SortedSet, table) > > We must show new sorted set. ok, but this correction not working also. I get always the same error "Object expected" Paolo > > >> Btw, in fc9 Igor have add > >> VTable.GetRecord() function. > > Are you sure? in the Mantis seems only assigned but not resolve. > > yes > > > If it'is resolved can you send me the code for try it? > > Usage is THE SAME as for cursor > > fields = table.GetRecord() > > > The new function is not documented 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] > > > _______________________________________________ > 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.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005 > > From sunshine at public.kherson.ua Fri Jun 24 16:35:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 08:35:25 2005 Subject: FIXED: test file from Damon In-Reply-To: <008301c57886$c47e75e0$ae00a8c0@DamonsPC> Message-ID: On 6/24/05 9:34 AM, "Damon Pillinger" wrote: Hi Damon, FIXED. Thank you very much for this project. It have expose easy way to reproduce this nasty bug. This bug was introduced in latest fc5-fc9 I think. Now your project works fine. We start check other projects. I think there is sense today make V4RB fc10 >> Many thanks, and have a good weekend to all if I don't hear from you >> until next week. > Damon, we work on this 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 erichg at mcmm.com Fri Jun 24 10:43:13 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Jun 24 08:35:53 2005 Subject: [V4MD] a couple of problems In-Reply-To: References: Message-ID: Hi Ruslan and list, we are currently trying to get a project finished which has been started with version 1.11. It uses picture fields. We need to know if a picture has been uploaded to the database but it seems that this does not work with version 1.11. The reference says that if there is no picture in the field it would return null but it fact it returns an object reference even if there is no picture in a field. So we tried to get the project running in OSX 10.2.8 and version 2.0.3 Not an easy task since a lot needs to be recoded. I am feeling a little dumb now since we aren't even able to open the database. All we get is: error () Here is what we get in the log file: * V4MD *: Valentina.logToFile()... return * V4MD *: new VDatabase... return * V4MD *: VDatabase.open()... PARAM: path = "Dual B:GeorgMang:Dir OSX:workDB.vdb" ERROR: 0xFFFFFFD9 return result = 0 ERROR: 0xFFFFFFD9 * V4MD *: VDatabase.close()... ERROR: 0x99517 return ERROR: 0x99517 * V4MD *: Valentina.shutDown()... return Please give me a starting point to solve our problems. - continue with v 1.11? - Is there a possibility to detect if pictures are in a field? - whats wrong with opening the database in v 2.0.3? - do we need to create a new one from scratch for v 2.0.3? THX Erich From sunshine at public.kherson.ua Fri Jun 24 10:34:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 08:41:36 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: <200506240649.j5O6niAm031533@outmx012.isp.belgacom.be> Message-ID: On 6/24/05 9:49 AM, "Silversoft" wrote: > I can only find a link to the shuttle logo that is required for version 2, > but this application still uses V4MD. Can I use the new logo for this > project? Or is it better to use the old one for the older engine? (If I can > find it). Lynn ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 24 16:48:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 08:49:00 2005 Subject: [V4MD] a couple of problems In-Reply-To: Message-ID: On 6/24/05 11:43 AM, "Erich Geiersberger" wrote: Hi Erich, > Hi Ruslan and list, > > we are currently trying to get a project finished which has been > started with version 1.11. > It uses picture fields. > We need to know if a picture has been uploaded to the database but it > seems that this does not work with version 1.11. The reference says > that if there is no picture in the field it would return null but it > fact it returns an object reference even if there is no picture in a > field. Wait. The docs means next: Let you do query: SELECT fldPicture FROM T Now you have cursor. To see if current record have picture you can do if curs.Field("fldPicture").IsNull() -- there is no picture else -- we have picture so we read it curs.Field("fldPicture").GetPicture() end if So NULL - means the VALUE NULL of database You it seems expect NULL for object reference. These are different things. > So we tried to get the project running in OSX 10.2.8 and version 2.0.3 > Not an easy task since a lot needs to be recoded. > I am feeling a little dumb now since we aren't even able to open the database. > All we get is: > > error () > > Here is what we get in the log file: There is nothing shown in letter > Please give me a starting point to solve our problems. > - continue with v 1.11? I think above explanation should help > - Is there a possibility to detect if pictures are in a field? curs.field().IsNull > - whats wrong with opening the database in v 2.0.3? I cannot say so directly. It needs study DIAGNOSE can help. > - do we need to create a new one from scratch for v 2.0.3? Today will be fc10. Now ALL our tests are DONE. We need yet check projects of other users. But there is hope that 2.0.4fc10 close to be stable. -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jun 24 08:16:36 2005 From: ayu8 at cdc.gov (Sims, John) Date: Fri Jun 24 09:09:44 2005 Subject: [V4RB] Crash similar to Damon's (was RE: test file from Damon) Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Friday, June 24, 2005 2:37 AM > To: valentina@lists.macserve.net > Subject: Re: test file from Damon > > > On 6/24/05 8:53 AM, "Damon Pillinger" wrote: > > > Is there a limit to the number of fields in a table? > > No limit. > > Bug is that it crashes on 50th fields. > Never mind what order of tables and field. > 50th field in db crashes in your project. > We search why. > > > -- > Best regards, > > Ruslan Zasukhin Hi Ruslan, I don't know if this might be related to your problem or not, but with FC9 I am getting a 'Inventory corruption of index "Unknown"' error with my project with steps similar to Damon's. I do not think I have made any changes to my code that could cause this but it was so late at night when this happened that I didn't have time to really debug or check the examples to see if I could reproduce. I thought I would bring this to your attention now because I do not have any tables with 50 or more fields so, if this is related, I thought it might help you determine the problem. Here are some details... RB 5.5.5 Val 2.0.4fc9 MacOS 10.2.8 My app uses the Classes way, no SQL. I have created Vtable subclasses for all of my tables with appropriate Vfields. I had not seen any problems prior to FC8 (I only used FC8 for 1 night before FC9 was out so I can't say for sure if the problem started in FC8 or FC9). When my app starts up (running in RB debug mode, not as a "built" app) the first time, it creates the database and populates a few tables with initial/default data. This seems to be working fine. When I close the app and run it again (again in RB debug mode), when it attempts to open the database, I get the 'Inventory corruption of index "Unknown"' message and it crashes out (I can't seem to catch the exception???). All of this had been working fine until now. Again, I have not had a chance to try the examples to see if I can reproduce or look through my code for changes that could be causing this. I just wanted to pass the info on in case it helps you find Damon's problem. If I can make it reproducible either with the examples or a small app, I'll file in Mantis. Take care. -John From peter.salomon at gmx.net Fri Jun 24 10:46:56 2005 From: peter.salomon at gmx.net (peter salomon) Date: Fri Jun 24 09:17:30 2005 Subject: [V4RB] beginners question store global objectRefs Message-ID: <42BBC880.7050306@gmx.net> Hi all, as i come from Lingo i have not well understood how RB handles global variables. I know that this one is more a RB question but maybe concerning V4rb there might be a common way.. I?ve tested the tutorial file where the databaseobject was created by caling "new" Then it?s stored within a property which is set to public. ok so far, i can use it within THIS window. But now i want to implement other functions within another new window, e.g. a preferencepanel. when i try to use the databaseobject from main windows property i get a nilobjectexception. hm - ok, so i made a function in which i transport the objectreference to the new window, something like: prefsWindow.prepare(databaseRef) method prepare is defined as prepare(inDB As VDatabase) // filling properties mtblA = inDB.table("tblA") mtblB = inDB.table("tblB") . me.show() . end i have created again some properties for this window with my tableRef names: inDB As VDatabase mtblA As VTable mtblB As VTable... so i thought i would have created tablereferences and made them public for all other methods. But when i want to use them e always get a nilobjectexception on my tablereferences. what is wrong here? I have thought that this must work... next step could be to define methods in main window and just call them from the new window but interaction between them seems to be ugly to me: from newWindow, e.g. pushbutton action: call mainWindow.methodA() and method in mainwindow: methodA() // some dbqueries . . call newWindow.methodB(resultFromMainWin) end So - which is the common way to use several windows using a valentinaDB? thanks for help, peter From erichg at mcmm.com Fri Jun 24 10:55:02 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Jun 24 09:25:52 2005 Subject: Version 2.0.3 Documentation In-Reply-To: References: Message-ID: The docs are containing a couple of typos which make them difficult to understand. Here is an example from V4MD Reference: >Valentina Symbols >Valentina for Director 2.0 uses many symbol constants to simplify >coding for a deloper. >Below you can see full list of symbols that Vaelntina understands. >Note, that numeric values are given only for information. You should >ner use numeric >values. What does this want to tell me??? - You should NOW use numeric values ? - You should NEVER use numeric values ? I also searched in vain for error handling in the docs which makes it very difficult to start. The only thing I found in Kernel reference was: >ErrNumber as Integer [DEPRECATED] >You cam examine this property to see if the last operation was successful... and >ErrString as String [DEPRECATED] >Returns the string which describe the last error.... We found examples in the example files but I believe they should also be contained in the documentation. There are also errors in the V4MD examples. examples/sql way/pictures.dir: This file contains a startmovie script with a badly positioned "end if": >global Valentina > >-- >on startMovie > > member("SavedImage").picture = member("Blank").picture > > Example_Init() > Initialize() >end if > >end startMovie > > >-- >on stopMovie > >-- Clean up sample. >CleanUp() >Example_Shutdown() >end stopMovie From softil at onlinehome.de Fri Jun 24 16:44:14 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Jun 24 09:44:25 2005 Subject: [V4MD2] publish for Windows 98 References: <6.2.1.2.2.20050624101305.03b5c4b0@pop3.paradise.net.nz><001f01c57842$c176f320$fe7aa8c0@ipsbasis> <6.2.1.2.2.20050624105701.0468a140@pop3.paradise.net.nz> Message-ID: <001801c578cb$33eb4cc0$fe7aa8c0@ipsbasis> Hi Sean, > Director Player and Shockwave Player: Playback Requirements > Windows > > * Win98, Pentium II, 64MB > * Win2K, Pentium III, 128MB > * WinXP, Pentium III, 128MB > * Microsoft Internet Explorer 6sp1, 5.5sp2, 5.01sp2 > * Netscape 7.1 > Oh, I havn't know this. That sounds good. Thanks a lot. Best regards Carsten From lfredricks at proactive-intl.com Fri Jun 24 07:49:15 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri Jun 24 09:49:26 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: Message-ID: <20050624144918.3A4FF17D3E1@spatula.dreamhost.com> > On 6/24/05 9:49 AM, "Silversoft" wrote: > > > I can only find a link to the shuttle logo that is required for > > version 2, but this application still uses V4MD. Can I use the new > > logo for this project? Or is it better to use the old one for the > > older engine? (If I can find it). > > Lynn ? Sure, go ahead and use the new one. Its much more attractive than the old one. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From sunshine at public.kherson.ua Fri Jun 24 22:33:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 14:33:39 2005 Subject: Version 2.0.3 Documentation In-Reply-To: Message-ID: On 6/24/05 11:55 AM, "Erich Geiersberger" wrote: > There are also errors in the V4MD examples. > examples/sql way/pictures.dir: > > This file contains a startmovie script with a badly positioned "end if": > > >> global Valentina >> >> -- >> on startMovie >> >> member("SavedImage").picture = member("Blank").picture >> >> Example_Init() >> Initialize() >> end if >> >> end startMovie Igor, fix this and commit. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 24 22:35:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 14:35:37 2005 Subject: Version 2.0.3 Documentation In-Reply-To: Message-ID: On 6/24/05 11:55 AM, "Erich Geiersberger" wrote: >> Valentina Symbols >> Valentina for Director 2.0 uses many symbol constants to simplify >> coding for a deloper. >> Below you can see full list of symbols that Vaelntina understands. >> Note, that numeric values are given only for information. You should >> ner use numeric >> values. > > What does this want to tell me??? > - You should NOW use numeric values ? > - You should NEVER use numeric values ? FIXED as Note, that numeric values are given only for information. You should never use numeric values. Thank you for point. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 24 22:36:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 14:36:48 2005 Subject: Version 2.0.3 Documentation In-Reply-To: Message-ID: On 6/24/05 11:55 AM, "Erich Geiersberger" wrote: > I also searched in vain for error handling in the docs which makes it > very difficult to start. Really, V4MD Ref do miss this part... We will add it asap -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 24 23:04:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 15:04:56 2005 Subject: [V4RB] beginners question store global objectRefs In-Reply-To: <42BBC880.7050306@gmx.net> Message-ID: On 6/24/05 11:46 AM, "peter salomon" wrote: > Hi all, > > as i come from Lingo i have not well understood how RB handles global > variables. I know that this one is more a RB question but maybe > concerning V4rb there might be a common way.. > > I?ve tested the tutorial file where the databaseobject was created by > caling "new" > Then it?s stored within a property which is set to public. > ok so far, i can use it within THIS window. YES, and because it is public you can access it from other places window.mDB > But now i want to implement other functions within another new window, > e.g. a preferencepanel. > when i try to use the databaseobject from main windows property i get a > nilobjectexception. Sounds like you USE it before you have initialize it. > hm - ok, so i made a function in which i transport the objectreference > to the new window, something like: NO NEED > prefsWindow.prepare(databaseRef) > > method prepare is defined as > prepare(inDB As VDatabase) > > // filling properties > mtblA = inDB.table("tblA") > mtblB = inDB.table("tblB") > . > me.show() > . > end > > i have created again some properties for this window with my tableRef > names: > > inDB As VDatabase > mtblA As VTable > mtblB As VTable... > > so i thought i would have created tablereferences and made them public > for all other methods. > But when i want to use them e always get a nilobjectexception on my > tablereferences. > > what is wrong here? I have thought that this must work... > next step could be to define methods in main window and just call them > from the new window but interaction between them seems to be ugly to me: > > from newWindow, e.g. pushbutton action: > call mainWindow.methodA() > > and method in mainwindow: > > methodA() > > // some dbqueries > . > . > call newWindow.methodB(resultFromMainWin) > end > > So - which is the common way to use several windows using a valentinaDB? > > thanks for help, > peter > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 24 23:05:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 15:05:28 2005 Subject: [V4RB] beginners question store global objectRefs In-Reply-To: <42BBC880.7050306@gmx.net> Message-ID: On 6/24/05 11:46 AM, "peter salomon" wrote: > Hi all, > > as i come from Lingo i have not well understood how RB handles global > variables. I know that this one is more a RB question but maybe > concerning V4rb there might be a common way.. > > I?ve tested the tutorial file where the databaseobject was created by > caling "new" > Then it?s stored within a property which is set Note, the most global place in RB I think is Application class. If you make property here you can use app.prop >From any point of 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 valentina-list at vermontsoftworks.com Fri Jun 24 16:19:49 2005 From: valentina-list at vermontsoftworks.com (Erik Mueller-Harder) Date: Fri Jun 24 15:20:03 2005 Subject: [V4RB] beginners question store global objectRefs In-Reply-To: References: Message-ID: <9E036F3E-2379-4F4D-89D5-D777285D78A4@vermontsoftworks.com> On Jun 24, 2005, at 16:05, Ruslan Zasukhin wrote: > Note, the most global place in RB I think is > > Application class. > > If you make property here you can use > > app.prop Or make a "globals" method with a property for your database; then it's callable from everywhere without the "app." prefix. I almost invariably call the VDatabase simply "db." -- Erik From bkeeney at everestkc.net Fri Jun 24 16:53:13 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Jun 24 16:53:30 2005 Subject: VServer_Office Mac Can't Open Master Database In-Reply-To: <20050617073417.48A3533DEAB@edison.macserve.net> References: <20050617073417.48A3533DEAB@edison.macserve.net> Message-ID: <639D7100-ED1F-4C69-85B4-4015CEBD360D@everestkc.net> On Jun 17, 2005, at 2:34 AM, valentina-request@lists.macserve.net wrote: >> Greetings, >> I'm trying out VServer_Office for the Mac and did the basic install >> and I keep receiving the following log message: >> >> ERROR 0xFFFFFFD9: Cannot open 'master' database >> >> Since I had the same error on the release version I went and >> installed fc5 but I get the same error. >> >> I'm running Tiger.1 and received a couple of dialogs asking me if I >> wanted to fix permissions (which I did). Does anyone have any >> suggestions on a work-a-round? >> > > I also have see this problem on Tiger. > And it is fixed for next build. > > Just trash masterdb after installation and restart. > > There was some permissions problems which Tiger do not like. Ruslan, The bug database says that this was resolved and I've tried fc9 with the same result. I've tried fixing permissions, trashing the database and restarting but to no avail. Perhaps I'm using the wrong build? Cheers, Bob Keeney From sunshine at public.kherson.ua Sat Jun 25 01:50:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 24 17:50:23 2005 Subject: VServer_Office Mac Can't Open Master Database In-Reply-To: <639D7100-ED1F-4C69-85B4-4015CEBD360D@everestkc.net> Message-ID: On 6/25/05 12:53 AM, "Bob Keeney" wrote: > Ruslan, > > The bug database says that this was resolved and I've tried fc9 with > the same result. I've tried fixing permissions, trashing the > database and restarting but to no avail. > > Perhaps I'm using the wrong build? You work on Tiger? With fc9 I will check tomorrow. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Sat Jun 25 01:45:38 2005 From: silversoft at skynet.be (Silversoft) Date: Fri Jun 24 18:46:10 2005 Subject: [V4MD] Powered by Valentina logo In-Reply-To: <20050624144918.3A4FF17D3E1@spatula.dreamhost.com> Message-ID: <200506242345.j5ONjttJ017597@outmx020.isp.belgacom.be> Thanks ! -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Lynn Fredricks Verzonden: vrijdag 24 juni 2005 16:49 Aan: 'Valentina Developers' Onderwerp: RE: [V4MD] Powered by Valentina logo > On 6/24/05 9:49 AM, "Silversoft" wrote: > > > I can only find a link to the shuttle logo that is required for > > version 2, but this application still uses V4MD. Can I use the new > > logo for this project? Or is it better to use the old one for the > > older engine? (If I can find it). > > Lynn ? Sure, go ahead and use the new one. Its much more attractive than the old one. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com _______________________________________________ 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.323 / Virus Database: 267.8.0/27 - Release Date: 23/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23/06/2005 From daisychain at iinet.net.au Sat Jun 25 17:32:21 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sat Jun 25 02:32:25 2005 Subject: Next Beta In-Reply-To: Message-ID: <001401c57958$07049170$0abc09d2@HPlaptop> Hi guys, Is it possible to get aother beta for WIN as I would love to try to convert my existing app database Thanks Damon From jules.jacquot at wanadoo.fr Sat Jun 25 18:50:25 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jun 25 11:49:06 2005 Subject: double becomes integer Message-ID: hi,ruslan if i have defined a double value like this cotisouv=tblCotisations.field("Assdouv").value i have 2,40 if i multiply cotisouv by a constant e.g. 3 cotisouv=tblCotisations.field("Assdouv").value*3 i have 6 workarond : cotisouv=cdbl(tblCotisations.field("Assdouv").getstring)*3 then i have the correct result 7,2 what do you think about ? Bug ? jules --------------------------------------------------------------- une longue route commence par un petit pas. proverbe chinois From sunshine at public.kherson.ua Sat Jun 25 20:25:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 25 12:26:00 2005 Subject: double becomes integer In-Reply-To: Message-ID: On 6/25/05 7:50 PM, "Jules Jacquot" wrote: Hi Jules, > hi,ruslan > > if i have defined a double value like this > > cotisouv=tblCotisations.field("Assdouv").value > > i have 2,40 > > if i multiply cotisouv by a constant e.g. 3 > > cotisouv=tblCotisations.field("Assdouv").value*3 > > i have 6 > > workarond : > > cotisouv=cdbl(tblCotisations.field("Assdouv").getstring)*3 > > then i have the correct result 7,2 > > what do you think about ? Bug ? No. this is why: tblCotisations.field("Assdouv").value * 3 ^^^^^^^^^ You use access as to Vfield.Value. This is VARIANT. I.e. This value do not have own type. Now you do * 3, which is integer. unknown type * integer What type RB choose for result? Right. Integer. You can do 1) tblCotisations.field("Assdouv").value * 3.0 2) tblCotisations.DoubleField("Assdouv").value*3 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sun Jun 26 06:47:17 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jun 25 23:46:00 2005 Subject: crash when windows.app launch Message-ID: <8AB1BB63-0864-486A-993D-71CC27562484@wanadoo.fr> hi, ruslan when i launch my app.windows i get these messages ( V4RB 2.0.3 ) can't find Kermel_Win32_Final_Cw.dll plugin.ccp:6828 Failure condition : pluginentrytable.getentry ( entrypointname,out) can't find plugin method VDatabase.SQLExecute(InQuery as string) as integer Failure condition : pluginentrytable.getentry ( entrypointname,out) can't find plugin method VDatabase.table(InName as string) as VTable best jules ------------------------------------- O? passeras-tu l'Eternit? ? From jules.jacquot at wanadoo.fr Sun Jun 26 06:53:00 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jun 25 23:51:44 2005 Subject: double becomes integer In-Reply-To: References: Message-ID: thanks ruslan jules Le 25 juin 05 ? 19:25, Ruslan Zasukhin a ?crit : > On 6/25/05 7:50 PM, "Jules Jacquot" wrote: > > Hi Jules, > > >> hi,ruslan >> >> if i have defined a double value like this >> >> cotisouv=tblCotisations.field("Assdouv").value >> >> i have 2,40 >> >> if i multiply cotisouv by a constant e.g. 3 >> >> cotisouv=tblCotisations.field("Assdouv").value*3 >> >> i have 6 >> >> workarond : >> >> cotisouv=cdbl(tblCotisations.field("Assdouv").getstring)*3 >> >> then i have the correct result 7,2 >> >> what do you think about ? Bug ? >> > > No. this is why: > > tblCotisations.field("Assdouv").value * 3 > ^^^^^^^^^ > > You use access as to Vfield.Value. This is VARIANT. > I.e. This value do not have own type. > > Now you do * 3, which is integer. > > unknown type * integer > > What type RB choose for result? > Right. Integer. > > You can do > > 1) > tblCotisations.field("Assdouv").value * 3.0 > > > 2) > tblCotisations.DoubleField("Assdouv").value*3 > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Sun Jun 26 08:24:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 26 00:24:28 2005 Subject: crash when windows.app launch In-Reply-To: <8AB1BB63-0864-486A-993D-71CC27562484@wanadoo.fr> Message-ID: On 6/26/05 7:47 AM, "Jules Jacquot" wrote: Hi Jules, > when i launch my app.windows i get these messages ( V4RB 2.0.3 ) > > can't find Kermel_Win32_Final_Cw.dll > > plugin.ccp:6828 > Failure condition : pluginentrytable.getentry ( entrypointname,out) > can't find plugin method VDatabase.SQLExecute(InQuery as string) as > integer > > Failure condition : pluginentrytable.getentry ( entrypointname,out) > can't find plugin method VDatabase.table(InName as string) as VTable Let me guess. You have made app on MAC and move it to windows ? You need at first download and install to windows V4RB WIN archive. It will install VComponents_win_cw folder. You need these components -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sun Jun 26 09:38:25 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 02:37:08 2005 Subject: crash when windows.app launch In-Reply-To: References: Message-ID: <0C4EC6C8-090F-4C19-B71F-D059B2DAA00D@wanadoo.fr> Le 26 juin 05 ? 07:24, Ruslan Zasukhin a ?crit : > On 6/26/05 7:47 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> when i launch my app.windows i get these messages ( V4RB 2.0.3 ) >> >> can't find Kermel_Win32_Final_Cw.dll >> >> plugin.ccp:6828 >> Failure condition : pluginentrytable.getentry ( entrypointname,out) >> can't find plugin method VDatabase.SQLExecute(InQuery as string) as >> integer >> >> Failure condition : pluginentrytable.getentry ( entrypointname,out) >> can't find plugin method VDatabase.table(InName as string) as VTable >> > > Let me guess. > > You have made app on MAC and move it to windows ? right > > You need at first download and install to windows V4RB WIN archive. > It will install VComponents_win_cw folder. You need these components and at my users ? do i need to install V4RB Win ? otherwise, they will not able to launch their win.app ? best jules > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > O? passeras-tu l'Eternit? ? From miescher at bizdata.com Sun Jun 26 09:50:21 2005 From: miescher at bizdata.com (John W. Miescher) Date: Sun Jun 26 02:50:26 2005 Subject: [V4RB] beginners question store global objectRefs Message-ID: <000701c57a23$b499a7a0$0201a8c0@JOHNHP> Are you using RB 2005? If so, no wonder - has trouble handling global variables under Windows XP home. I went back to the old one. john m. From jules.jacquot at wanadoo.fr Sun Jun 26 11:09:08 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 04:07:54 2005 Subject: crash when windows.app launch In-Reply-To: References: Message-ID: <05606854-2901-49CF-B289-921F53AE5995@wanadoo.fr> Le 26 juin 05 ? 07:24, Ruslan Zasukhin a ?crit : > On 6/26/05 7:47 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> when i launch my app.windows i get these messages ( V4RB 2.0.3 ) >> >> can't find Kermel_Win32_Final_Cw.dll >> >> plugin.ccp:6828 >> Failure condition : pluginentrytable.getentry ( entrypointname,out) >> can't find plugin method VDatabase.SQLExecute(InQuery as string) as >> integer >> >> Failure condition : pluginentrytable.getentry ( entrypointname,out) >> can't find plugin method VDatabase.table(InName as string) as VTable >> > > Let me guess. > > You have made app on MAC and move it to windows ? > > You need at first download and install to windows V4RB WIN archive. > It will install VComponents_win_cw folder. You need these components I have downloaded V4RB WIN archive and nothing works. It is like previously maybe the V4RB.dll is not put in its place ? thanks for your help jules > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Sun Jun 26 12:20:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 26 04:21:01 2005 Subject: crash when windows.app launch In-Reply-To: <0C4EC6C8-090F-4C19-B71F-D059B2DAA00D@wanadoo.fr> Message-ID: On 6/26/05 10:38 AM, "Jules Jacquot" wrote: >> You need at first download and install to windows V4RB WIN archive. >> It will install VComponents_win_cw folder. You need these components > > and at my users ? > > do i need to install V4RB Win ? YOU - yes. Your users - NO You need prepare your App folder to contain that VComponents Please read "Deployment" part - in V4RBRef.pdf > otherwise, they will not able to launch their win.app ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 26 12:22:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 26 04:22:45 2005 Subject: crash when windows.app launch In-Reply-To: <05606854-2901-49CF-B289-921F53AE5995@wanadoo.fr> Message-ID: On 6/26/05 12:09 PM, "Jules Jacquot" wrote: >> Let me guess. >> >> You have made app on MAC and move it to windows ? >> >> You need at first download and install to windows V4RB WIN archive. >> It will install VComponents_win_cw folder. You need these components > > I have downloaded V4RB WIN archive and nothing works. It is like > previously > > maybe the V4RB.dll is not put in its place ? 1) install V4RB WIN archive on windows 2) find Program Files/Paradigma Software/VComponents_win_cw 3) you need copy all items of this folder into your AppFolder. * May be try to build exe on windows using RB WIN * also make sure that examples of V4RB WIN do 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 jules.jacquot at wanadoo.fr Sun Jun 26 12:29:48 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 05:28:30 2005 Subject: crash when windows.app launch In-Reply-To: References: Message-ID: <1A88EBAF-2D43-4ACB-A0FA-298EE058A558@wanadoo.fr> Le 26 juin 05 ? 11:20, Ruslan Zasukhin a ?crit : > On 6/26/05 10:38 AM, "Jules Jacquot" wrote: > > >>> You need at first download and install to windows V4RB WIN archive. >>> It will install VComponents_win_cw folder. You need these components >>> >> >> and at my users ? >> >> do i need to install V4RB Win ? >> > > YOU - yes. > > Your users - NO > > You need prepare your App folder to contain that VComponents > Please read "Deployment" part - in V4RBRef.pdf i'm surely stupid i don't find "deployment" part although i have V4RB_Reference_2.pdf sorry jules > > >> otherwise, they will not able to launch their win.app ? >> > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > O? passeras-tu l'Eternit? ? From info at vallemediatime.com Sun Jun 26 13:26:32 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 26 06:28:52 2005 Subject: V4MD error in API\Link_ForeignKey_Recursion example Message-ID: <000b01c57a41$e7e40330$68211e97@vmtrm4p9ipbkv2> Hi Ruslan, if I open the file in object and I click on "FindAllLinked button" I get a script error... If I click on "All not linked" button I get: ERR_DYNAMIC_SQL_ERROR() this Valert appears in others example also. Btw, I still waiting for two answer to my previous e-mail (two days ago): - API search and sort - table.GetRecords() You will fix them in fc10? Thanks Paolo WIN fc9 From sunshine at public.kherson.ua Sun Jun 26 14:33:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 26 06:33:26 2005 Subject: V4MD error in API\Link_ForeignKey_Recursion example In-Reply-To: <000b01c57a41$e7e40330$68211e97@vmtrm4p9ipbkv2> Message-ID: On 6/26/05 2:26 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > > if I open the file in object and I click on > "FindAllLinked button" I get a script error... > If I click on "All not linked" button I get: ERR_DYNAMIC_SQL_ERROR() > this Valert appears in others example also. Igor please check this. > Btw, I still waiting for two answer to my previous e-mail (two days ago): > - API search and sort I did ask you send us project on this. And we have example for API sorting, right ? > - table.GetRecords() Igor have fix this > You will fix them in fc10? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sun Jun 26 13:51:53 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 06:50:36 2005 Subject: crash when windows.app launch In-Reply-To: References: Message-ID: Le 26 juin 05 ? 11:22, Ruslan Zasukhin a ?crit : > On 6/26/05 12:09 PM, "Jules Jacquot" wrote: > > >>> Let me guess. >>> >>> You have made app on MAC and move it to windows ? >>> >>> You need at first download and install to windows V4RB WIN archive. >>> It will install VComponents_win_cw folder. You need these components >>> >> >> I have downloaded V4RB WIN archive and nothing works. It is like >> previously >> >> maybe the V4RB.dll is not put in its place ? >> > > 1) install V4RB WIN archive on windows > > 2) find Program Files/Paradigma Software/VComponents_win_cw > > 3) you need copy all items of this folder into your AppFolder. Ruslan I have understood after redownloading the documents at my age i understand rapidly but you must to explain lengthily thanks a lot ruslan jules > > > * May be try to build exe on windows using RB WIN > * also make sure that examples of V4RB WIN do 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From rjb at robelko.com Sun Jun 26 14:46:23 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Jun 26 07:56:03 2005 Subject: Version 2.0.3 Documentation In-Reply-To: References: Message-ID: >On 6/24/05 11:55 AM, "Erich Geiersberger" wrote: > >> I also searched in vain for error handling in the docs which makes it >> very difficult to start. > >Really, > >V4MD Ref do miss this part... > >We will add it asap > >-- >Best regards, > >Ruslan Zasukhin >VP Engineering and New Technology >Paradigma Software, Inc V4REV doc is also missing a section explaining error handling. A few functions list error messages they can return but that is all. I also just noticed that V2 has Vdatabase_ErrNumber(dbRef) function. Does it mean that normal calls do not returns errors at all anymore? Or this is just an alternative function (which I hope it is)? And the newest version still has bogus installation instructions. Furthermore, the "Revolution start" section talks about Revolution PRO and Standard but we have DreamCard, Revolution Studio, and Revolution Enterprise as licensing options. And what is that about RBDB in that section? Is it really for Revolution? Then, looking further, the "Deployment of your application" does not seem to match the recommended installion (I mean as in the readme file not from documentation). Robert From jules.jacquot at wanadoo.fr Sun Jun 26 15:16:26 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 08:15:04 2005 Subject: Version 2.0.3 Documentation In-Reply-To: References: Message-ID: <177DF361-7903-4227-867A-5219E2C00DEC@wanadoo.fr> hi, robert you're using revolution ? I can't download Rev 2.6 for tiger can you point out how i can do it ? thanks jules --------------------------------------------------------------- Le 26 juin 05 ? 14:46, Robert Brenstein a ?crit : >> On 6/24/05 11:55 AM, "Erich Geiersberger" wrote: >> >> >>> I also searched in vain for error handling in the docs which >>> makes it >>> very difficult to start. >>> >> >> Really, >> >> V4MD Ref do miss this part... >> >> We will add it asap >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > O? passeras-tu l'Eternit? ? From rjb at robelko.com Sun Jun 26 15:18:15 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Jun 26 08:36:04 2005 Subject: Version 2.0.3 Documentation In-Reply-To: <177DF361-7903-4227-867A-5219E2C00DEC@wanadoo.fr> References: <177DF361-7903-4227-867A-5219E2C00DEC@wanadoo.fr> Message-ID: >hi, robert > >you're using revolution ? > >I can't download Rev 2.6 for tiger > >can you point out how i can do it ? > >thanks > >jules This weekend Rev web site is being moved to another server, so it is malfunctioning. Things should be back to normal by Monday. Robert From jules.jacquot at wanadoo.fr Sun Jun 26 17:50:58 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 10:49:38 2005 Subject: Version 2.0.3 Documentation In-Reply-To: References: <177DF361-7903-4227-867A-5219E2C00DEC@wanadoo.fr> Message-ID: <1E3BF908-3DB8-45CB-8674-FF35938A7444@wanadoo.fr> Thanks very much, robert jules Le 26 juin 05 ? 15:18, Robert Brenstein a ?crit : >> hi, robert >> >> you're using revolution ? >> >> I can't download Rev 2.6 for tiger >> >> can you point out how i can do it ? >> >> thanks >> >> jules >> > > This weekend Rev web site is being moved to another server, so it > is malfunctioning. Things should be back to normal by Monday. > > Robert > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From jules.jacquot at wanadoo.fr Sun Jun 26 18:11:21 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jun 26 11:10:04 2005 Subject: discordance between windows and osX Message-ID: <0741F549-D12F-4F9F-A7B6-9DFCD4C98CD9@wanadoo.fr> hi, ruslan i would like to consult the datas from a listbox like this ch=Listbox1.cell(li,0) // RecID Nomsal=Listbox1.cell(li,1) // Name dh=dab.SQLSelect("select RecID,* from Users where BNom='"+Nomsal +"'") dh.recordcount=2 in MacOs X dh.recordcount=0 in windows dh=dab.SQLSelect("select RecID,* from Users where RecID='"+ch+"'") dh.recordcount=2 in MacOs X dh.recordcount=2 in windows I'm making my app with OS X and compiling for both, and i have tendency to use the first way that is very annoying best jules ------------------------------------------------------ L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From info at vallemediatime.com Sun Jun 26 19:43:28 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 26 12:43:34 2005 Subject: V4MD error in API\Link examples Message-ID: <000b01c57a76$904110c0$3e161e97@vmtrm4p9ipbkv2> Hi Ruslan and Igor I get always errors when I open some API link binary example: i.e. look at: API\Link_Binary_Records API\Link_Binary API\Link_Binary_Recursion and... I stop here. The errors are: ERR_DYNAMIC_SQL_ERROR() Script error: Object expected link(linkRecords 1:1) Paolo V4MD fc9 x WIN From giv at tlc.kherson.ua Sun Jun 26 23:01:55 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Sun Jun 26 15:02:08 2005 Subject: V4MD error in API\Link_ForeignKey_Recursion example References: <000b01c57a41$e7e40330$68211e97@vmtrm4p9ipbkv2> Message-ID: <001a01c57a89$e8a2f8b0$3b04a8c0@giv> Hi Paolo, > if I open the file in object and I click on I don't understand what you mean... > "FindAllLinked button" I get a script error... > If I click on "All not linked" button I get: ERR_DYNAMIC_SQL_ERROR() > this Valert appears in others example also. I cann't reproduce this with fc10... If you are going to use Valentina in local mode (instead of client-server) then check that gClient variable (cast ValentinaGlobals.cst) was set to 'false'. -- 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 info at vallemediatime.com Sun Jun 26 22:11:14 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jun 26 15:11:21 2005 Subject: V4MD error in API\Link_ForeignKey_Recursion example References: <000b01c57a41$e7e40330$68211e97@vmtrm4p9ipbkv2> <001a01c57a89$e8a2f8b0$3b04a8c0@giv> Message-ID: <001301c57a8b$34bef5e0$aa181e97@vmtrm4p9ipbkv2> Hi Igor > > if I open the file in object and I click on > I don't understand what you mean... ops: object = mail subject > > "FindAllLinked button" I get a script error... > > If I click on "All not linked" button I get: ERR_DYNAMIC_SQL_ERROR() > > this Valert appears in others example also. > I cann't reproduce this with fc10... > If you are going to use Valentina in local mode (instead of client-server) > then check that gClient variable (cast ValentinaGlobals.cst) was set to > 'false'. done, but it's already setting to false.. I wait for build_10 :-) Paolo > -- > 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.323 / Virus Database: 267.8.1/28 - Release Date: 24/06/2005 > > From barney at custombased.com Mon Jun 27 14:04:47 2005 From: barney at custombased.com (Barney) Date: Sun Jun 26 21:04:34 2005 Subject: Vserver not starting Message-ID: >OS ? >Version ? Sorry, OSX 10.3.9 Barney On 6/24/05 1:55 AM, "Barney" wrote: > Hello, > > Have installed Vserver and Embedded Server, they are located in library > folder. > > Upon startup OR when double clicked directly, neither server will start up. > > Error number is 10810, I can't find information about this error number in > any archives messages. > > Nothing reported in the error log. > > Neither Vserver will even try to get started, error code immediately. > > If I put my old Vserver trial version back in Library folder and start it, > it starts up and runs fine. > > Why would the new version downloaded yesterday not be running ? OS ? Version ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jun 27 09:52:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 01:52:21 2005 Subject: Vserver not starting In-Reply-To: Message-ID: On 6/27/05 5:04 AM, "Barney" wrote: Hi Barney, > Sorry, > OSX 10.3.9 So this is not Tiger. >> Have installed Vserver and Embedded Server, they are located in library >> folder. >> >> Upon startup OR when double clicked directly, neither server will start up. Double click of server? This is not a way to start it. During development you can - open terminal window - drag into terminal file /Library/Startup Items/VServer_Office/VServer_Office - press enter. - In the ini file, before start, set VerboseLevel = 3. Show us what you see in terminal? >> Error number is 10810, I can't find information about this error number in >> any archives messages. >> >> Nothing reported in the error log. >> >> Neither Vserver will even try to get started, error code immediately. >> >> If I put my old Vserver trial version back in Library folder and start it, >> it starts up and runs fine. >> >> Why would the new version downloaded yesterday not be running ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 27 10:08:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 02:08:16 2005 Subject: Vserver not starting In-Reply-To: Message-ID: On 6/27/05 9:52 AM, "Ruslan Zasukhin" wrote: > On 6/27/05 5:04 AM, "Barney" wrote: > > Hi Barney, > >> Sorry, >> OSX 10.3.9 > > So this is not Tiger. > >>> Have installed Vserver and Embedded Server, they are located in library >>> folder. >>> >>> Upon startup OR when double clicked directly, neither server will start up. > > Double click of server? This is not a way to start it. > > During development you can > - open terminal window > - drag into terminal file > > /Library/Startup Items/VServer_Office/VServer_Office > > - press enter. > > - In the ini file, before start, set VerboseLevel = 3. > > Show us what you see in terminal? Okay, I see where is problem. fc9 have not install /Library/Startup Items/VServer_Office folder I think this is because I did try solve problem for Tiger, And it seems now 10.4 have incompatible somehow packages. I will reupload fixed archive 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 IvanSmahin at public.kherson.ua Mon Jun 27 10:15:48 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jun 27 02:15:52 2005 Subject: Version 2.0.3 Documentation In-Reply-To: References: Message-ID: <842935721.20050627101548@public.kherson.ua> Hello Robert, Sunday, June 26, 2005, 3:46:23 PM, you wrote: RB> I also just noticed that V2 has Vdatabase_ErrNumber(dbRef) function. RB> Does it mean that normal calls do not returns errors at all anymore? RB> Or this is just an alternative function (which I hope it is)? You are right - this is alternative function. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Mon Jun 27 10:17:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 02:17:09 2005 Subject: discordance between windows and osX In-Reply-To: <0741F549-D12F-4F9F-A7B6-9DFCD4C98CD9@wanadoo.fr> Message-ID: On 6/26/05 7:11 PM, "Jules Jacquot" wrote: > hi, ruslan > > i would like to consult the datas from a listbox like this > > ch=Listbox1.cell(li,0) // RecID > Nomsal=Listbox1.cell(li,1) // Name > > dh=dab.SQLSelect("select RecID,* from Users where BNom='"+Nomsal > +"'") > > dh.recordcount=2 in MacOs X > dh.recordcount=0 in windows > > > dh=dab.SQLSelect("select RecID,* from Users where RecID='"+ch+"'") > > dh.recordcount=2 in MacOs X > dh.recordcount=2 in windows > > > I'm making my app with OS X and compiling for both, and i have > tendency to use the first way > > that is very annoying Try rebuild 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 erichg at mcmm.com Mon Jun 27 11:04:44 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Mon Jun 27 04:04:56 2005 Subject: [V4MD] a couple of problems In-Reply-To: References: Message-ID: > > Hi Ruslan and list, >> >> we are currently trying to get a project finished which has been >> started with version 1.11. > >> It uses picture fields. >> We need to know if a picture has been uploaded to the database but it >> seems that this does not work with version 1.11. The reference says >> that if there is no picture in the field it would return null but it >> fact it returns an object reference even if there is no picture in a >> field. > >Wait. The docs means next: > >Let you do query: > > SELECT fldPicture FROM T > >Now you have cursor. To see if current record have picture you can do > > if curs.Field("fldPicture").IsNull() > -- there is no picture > else > -- we have picture so we read it > curs.Field("fldPicture").GetPicture() > end if > > >So NULL - means the VALUE NULL of database >You it seems expect NULL for object reference. >These are different things. IsNull() does not help. It returns true in version 1.11 even if there is a picture in the database. I also didn't find a method to delete a picture. setPicture(myCursor, myPictureField, void)? setNull(myCursor, myPictureField)? (Director 8.5.1, OS 9.2, V4MD 1.11) And the version 2 picture example seems to be broken, too. Just try your example. If I add and delete a picture, then delete the database start the movie and stop it again it suddenly crashes after the second or third try. (Director MX, OSX 10.2.8, V4MD_Carbon 2.0.3) OK, this one seems to be fixed with the current Beta. There is also no description in the version 2 docs on how to delete a picture. Erich From peter.salomon at gmx.net Mon Jun 27 15:26:31 2005 From: peter.salomon at gmx.net (peter salomon) Date: Mon Jun 27 08:30:42 2005 Subject: [V4RB] beginners question store global objectRefs In-Reply-To: References: Message-ID: <42BFFE87.6060909@gmx.net> thanks for your help! now i got it working! i made the mistake to declare some globals twice and initialisation was after first declaration, so it seems that second set it to nil again... and moreover i did not know the syntax window.prop ... i begin to like rb more and more... john, it seems that rb handles global correct on macosx, regards, peter From jules.jacquot at wanadoo.fr Mon Jun 27 15:38:42 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jun 27 08:37:23 2005 Subject: discordance between windows and osX In-Reply-To: References: Message-ID: hi ruslan i was following the examples and reading all documentations but i don't know how to Rebuild Index, and what index ? anyway, i don't see the usefulness of that ( rebuild index ) i need more explications thanks in advance jules Le 27 juin 05 ? 09:17, Ruslan Zasukhin a ?crit : > On 6/26/05 7:11 PM, "Jules Jacquot" wrote: > > >> hi, ruslan >> >> i would like to consult the datas from a listbox like this >> >> ch=Listbox1.cell(li,0) // RecID >> Nomsal=Listbox1.cell(li,1) // Name >> >> dh=dab.SQLSelect("select RecID,* from Users where BNom='"+Nomsal >> +"'") >> >> dh.recordcount=2 in MacOs X >> dh.recordcount=0 in windows >> >> >> dh=dab.SQLSelect("select RecID,* from Users where RecID='"+ch >> +"'") >> >> dh.recordcount=2 in MacOs X >> dh.recordcount=2 in windows >> >> >> I'm making my app with OS X and compiling for both, and i have >> tendency to use the first way >> >> that is very annoying >> > > Try rebuild 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Mon Jun 27 23:23:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 15:23:16 2005 Subject: discordance between windows and osX In-Reply-To: Message-ID: On 6/27/05 4:38 PM, "Jules Jacquot" wrote: > hi ruslan > > i was following the examples and reading all documentations > but i don't know how to Rebuild Index, and what index ? > > anyway, i don't see the usefulness of that ( rebuild index ) > > i need more explications Hi Jules, 1) if you use db.mode which have separate .ind file you can simply trash it. And reopen db. 2) otherwise you can do db.SqlExecute( "REINDEX DATABASE" ) Command. See ValentinaSQL.pdf, part Valentina 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 Mon Jun 27 23:24:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 15:24:25 2005 Subject: [V4MD] a couple of problems In-Reply-To: Message-ID: On 6/27/05 12:04 PM, "Erich Geiersberger" wrote: Hi Erich, > There is also no description in the version 2 docs on how to delete a picture. BLOB_DeleteData() then curs.UpdateRecord() or tbl.UpdateRecord() -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 27 23:31:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 27 15:31:24 2005 Subject: [V4MD] a couple of problems In-Reply-To: Message-ID: On 6/27/05 12:04 PM, "Erich Geiersberger" wrote: Hi Erich, >> Let you do query: >> >> SELECT fldPicture FROM T >> >> Now you have cursor. To see if current record have picture you can do >> >> if curs.Field("fldPicture").IsNull() >> -- there is no picture >> else >> -- we have picture so we read it >> curs.Field("fldPicture").GetPicture() >> end if >> >> >> So NULL - means the VALUE NULL of database >> You it seems expect NULL for object reference. >> These are different things. > > > IsNull() does not help. It returns true in version 1.11 even if > there is a picture in the database. Hmm. Should work > I also didn't find a method to delete a picture. > setPicture(myCursor, myPictureField, void)? > setNull(myCursor, myPictureField)? > > (Director 8.5.1, OS 9.2, V4MD 1.11) > And the version 2 picture example seems to be broken, too. > Just try your example. If I add and delete a picture, then delete the > database start the movie and stop it again it suddenly crashes after > the second or third try. > (Director MX, OSX 10.2.8, V4MD_Carbon 2.0.3) > OK, this one seems to be fixed with the current Beta. Good > There is also no description in the version 2 docs on how to delete a picture. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 27 19:11:59 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jun 27 18:12:10 2005 Subject: [V4Rb ] GetDatabaseVersion question Message-ID: I had thought that I would use GetDatabaseVersion to check to see if a db file was a version 1.x file, but calling it on such a file results in an exception. Is this the intended behavior? -------------- Charles Yeomans From daisychain at iinet.net.au Tue Jun 28 09:27:31 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Jun 27 18:27:50 2005 Subject: New BETA? In-Reply-To: Message-ID: <000201c57b6f$d634fbb0$ae00a8c0@DamonsPC> HI Guys, Any idea when Realbasic fc 10 WIN might be available. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From yeomans at desuetude.com Mon Jun 27 20:25:37 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jun 27 19:25:45 2005 Subject: Convert 1_2 in Vstudio In-Reply-To: References: Message-ID: <23c032c5ab2a247d0b44e034894b9a1f@desuetude.com> On Jun 21, 2005, at 4:51 AM, Ruslan Zasukhin wrote: > On 6/21/05 3:09 AM, "Tim James" wrote: > >> Vstudio b2.09 crashes during convert of 1.0 Db. >> >> Can someone tell me where to look for debug info - or do I just send >> the DB to Valentina ?? > > Hi Tim, > > If db is not very big in compressed form please send me > This doesn't appear to be unique to VStudio; V4Rb 2 crashes when I attempt to convert a v1 file to v2 format. -------------- Charles Yeomans From yeomans at desuetude.com Mon Jun 27 20:39:28 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jun 27 19:39:37 2005 Subject: [ANN] Valentina Studio 2.0b9 Mac available In-Reply-To: <613317FD-A0B9-4495-9332-0F9005655D56@valentina-db.de> References: <613317FD-A0B9-4495-9332-0F9005655D56@valentina-db.de> Message-ID: <83799c8f1ee1d15d03501043115c398b@desuetude.com> On Jun 20, 2005, at 4:06 PM, Jochen Peters wrote: > Hi all, > > i have just uploaded Valentina Studio 2.0b9 Mac. > > This release contains the latest kernel fixes. VStudio crashes without even generating a crash log when I attempt to load an XML dump. This was a dump of a v1 database file; should I be able to load it to a v2 database? -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Jun 28 09:15:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 28 01:15:22 2005 Subject: New BETA? In-Reply-To: <000201c57b6f$d634fbb0$ae00a8c0@DamonsPC> Message-ID: On 6/28/05 2:27 AM, "Damon Pillinger" wrote: > HI Guys, > Any idea when Realbasic fc 10 WIN might be available. Hi Damon, Please note that beta list should be used for beta talks. We have fix one more cache bug in 2.0.4 fc, But one task still throw assert at end. Today we continue search this one. Very hard bugs. We need work on db in 45MB to reproduce 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 Tue Jun 28 09:16:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 28 01:16:14 2005 Subject: [ANN] Valentina Studio 2.0b9 Mac available In-Reply-To: <83799c8f1ee1d15d03501043115c398b@desuetude.com> Message-ID: On 6/28/05 3:39 AM, "Charles Yeomans" wrote: >> Hi all, >> >> i have just uploaded Valentina Studio 2.0b9 Mac. >> >> This release contains the latest kernel fixes. > > VStudio crashes without even generating a crash log when I attempt to > load an XML dump. This was a dump of a v1 database file; should I be > able to load it to a v2 database? Yes Charels, We have try implement this ability. Is this file big? Is it possible send it to us? Or put on FTP ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 28 09:17:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 28 01:17:47 2005 Subject: [V4Rb ] GetDatabaseVersion question In-Reply-To: Message-ID: On 6/28/05 2:11 AM, "Charles Yeomans" wrote: Hi Charles, > I had thought that I would use GetDatabaseVersion to check to see if a > db file was a version 1.x file, but calling it on such a file results > in an exception. Is this the intended behavior? No. Please check our example Common/Convert_1_2 It use this function to define version of db. Then do convert_1_2. You can try open your db by this example. Example works as simple general utility. Let me know if any problems What version of V4RB do you use ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erichg at mcmm.com Tue Jun 28 15:11:52 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Jun 28 08:12:04 2005 Subject: [V4MD] 2.0.4 fc9 In-Reply-To: References: Message-ID: Bug in latest beta: Cursor_GetRecordAsProplist The list returned from that function only contains values regards -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From erichg at mcmm.com Tue Jun 28 15:20:16 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Jun 28 08:20:26 2005 Subject: [ANN] Valentina Studio 2.0b9 Mac available In-Reply-To: <83799c8f1ee1d15d03501043115c398b@desuetude.com> References: <613317FD-A0B9-4495-9332-0F9005655D56@valentina-db.de> <83799c8f1ee1d15d03501043115c398b@desuetude.com> Message-ID: where? the link on: http://www.paradigmasoft.com/en/products/download/beta points to http://www.paradigmasoft.com/en/products/download/beta/VSTUDIO all products on that page are named "release" the link for Studio points to: http://www.paradigmasoft.com/en/products/download/VSTUDIO and the Studio version there is 2.0 b8 regards Erich From andrew at learningware.com Tue Jun 28 10:38:44 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Jun 28 10:38:51 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: References: Message-ID: <42C16F04.7060407@learningware.com> A few weeks ago I wrote with a problem I was having with a customer's corrupt db from an application that uses V4MD. I am seeing the same type of corruption with a db created today by one of our bug-testers. I desperately need some help figuring out what could possibly be causing the db to become corrupt. This product has been released to several hundred customers. I need to find a solution before this blows up in our face. The version of the V4MD.x32 installed is 1.9.8. We would be happy to upgrade to version 2.0.x, but I would like to get some insight regarding what could possibly be causing the corruption. The errors do not go away when the dbs are opened in v2.0b9. I may need a way to _fix_ any corrupted databases, as it is quite likely that there are customers with corrupt databases out there. Here is what I have found: I have installed Valentina Studio (v2.0b9) in an attempt to diagnose the problem or repair the database. When I open the problem database in VS, I get following errors: 1) When I view one of the problem tables in the data browser, when scrolling through the data, I get kernel errors 348 and 351. 2) When I attempt to "diagnose" the table, I get an error "348", but the Table Diagnose Report says "All right!" 3) I can dump to xml without getting an error, but when I attempt to load the data, I get a kernel error 19, or VS simply crashes. 4) I cannot dump to sql. When I do, I get kernel error 348. From yeomans at desuetude.com Tue Jun 28 13:05:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jun 28 12:05:41 2005 Subject: [V4Rb ] GetDatabaseVersion question In-Reply-To: References: Message-ID: <65afb4989a51df3a10cee7c9f06e01f1@desuetude.com> On Jun 28, 2005, at 2:17 AM, Ruslan Zasukhin wrote: > On 6/28/05 2:11 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> I had thought that I would use GetDatabaseVersion to check to see if a >> db file was a version 1.x file, but calling it on such a file results >> in an exception. Is this the intended behavior? > > No. > > Please check our example Common/Convert_1_2 > > It use this function to define version of db. > Then do convert_1_2. > > You can try open your db by this example. > Example works as simple general utility. > > Let me know if any problems > > What version of V4RB do you use ? I was using 2.0.3. I have now tried the example code with 2.0.4fc10. GetDatabaseVersion now returns a version instead of an exception. But the app crashes when Convert1_2 is called, right about here -- Thread 0 Crashed: 0 Kernel_Carbon_Final.shlb 0x0294d3ac AddToIndex__Q23fbl5VTextFUl + 0x108 1 Kernel_Carbon_Final.shlb 0x0273f874 AddRecordToIndex__Q23fbl5TableFUlQ23fbl24smart_ptr + 0x100 2 Kernel_Carbon_Final.shlb 0x02958f04 AddRecord__Q23fbl5TableFv + 0x12c 3 Kernel_Carbon_Final.shlb 0x029e20f8 Convert_Current_Record_1_2__3fblFP14VDK_BaseObjectQ23fbl27smart_ptr + 0x2e4 4 Kernel_Carbon_Final.shlb 0x029e1d3c LoadData__3fblFP12VDK_DataBaseQ23fbl31smart_ptr + 0x144 5 Kernel_Carbon_Final.shlb 0x029dfcc4 ConvertDB_1_2__3fblFQ23fbl29smart_ptrQ23fbl29smart_p trbUl + 0x244 6 Plugin 0x024aea64 Valentina_Convert_1_2__FP20REALfolderItemStructP20REALfolderItemStructii + 0x188 7 main 0x0041c278 0x405000 + 0x17278 8 main 0x00408750 Window1.Window1.PushButton1_Action%%o + 0x310 You should be able to use the same file I made available for my other question to reproduce the crash. -------------- Charles Yeomans From erichg at mcmm.com Tue Jun 28 19:19:46 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Jun 28 12:20:30 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C16F04.7060407@learningware.com> References: <42C16F04.7060407@learningware.com> Message-ID: >A few weeks ago I wrote with a problem I was having with a >customer's corrupt db from an application that uses V4MD. I am >seeing the same type of corruption with a db created today by one of >our bug-testers. > >I desperately need some help figuring out what could possibly be >causing the db to become corrupt. This product has been released to >several hundred customers. I need to find a solution before this >blows up in our face. > >The version of the V4MD.x32 installed is 1.9.8. We would be happy >to upgrade to version 2.0.x, but I would like to get some insight >regarding what could possibly be causing the corruption. The errors >do not go away when the dbs are opened in v2.0b9. I may need a way >to _fix_ any corrupted databases, as it is quite likely that there >are customers with corrupt databases out there. > >Here is what I have found: > >I have installed Valentina Studio (v2.0b9) in an attempt to diagnose >the problem or repair the database. > >When I open the problem database in VS, I get following errors: > > > 1) When I view one of the problem tables in the data browser, when > scrolling through the data, I get kernel errors 348 and 351. > > 2) When I attempt to "diagnose" the table, I get an error "348", but > the Table Diagnose Report says "All right!" > > 3) I can dump to xml without getting an error, but when I attempt to > load the data, I get a kernel error 19, or VS simply crashes. > > 4) I cannot dump to sql. When I do, I get kernel error 348. I am not sure if this helps you but we have had problems with error 351 during testing a project done with that version. As far as I remember we tracked it down to the following conditions: - Client-Server database - One client writes to a table with a flush on the end of the process - A second client writes to the same table *during* the flush It did not occur each and every time, just sporadically so it is possibly some timing problem. We needed to test for a long time to produce it. You could see it in the server log. It produced a "VarChar error 351" and the database eventually became corrupt. We decided to ship nevertheless since for our application the chance that this happens in real life environment is near zero. The project is out with about 1500 installations and no problems so far. The table in question contained VarChar fields in german but I am quite sure that the error message points in a wrong direction in that case. HTH -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From erichg at mcmm.com Tue Jun 28 19:35:08 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Jun 28 12:35:22 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C16F04.7060407@learningware.com> References: <42C16F04.7060407@learningware.com> Message-ID: Andrew, disregard the reproduction scheme in my last mail. I just found that thread named "V4RB Windows VarChar Error 351", january 2004 At 15:27 Uhr +0100 01.02.2004, Erich Geiersberger wrote: >We have made Client-Server test during the last weeks with V4MD and >we also had problems with this message. While I am not sure if it >works in the same way with V4RB, here are some ideas: > >Error 351 occured quite often, when a client using read locks wrote >to a record and tried to read from the same table immediately >afterwards. > >This might also be related to the fact that our database gets >flushed after each write. > >The server debug window showed an error 351 "VarChar Field >corrupted" immediately followed by a "error 0, no error". After a >first occurance of that error, it happened more often, but went away >after a server restart. > >I have checked my database a couple of times and found NO errors in >it when that happened. > >After setting most of our cursors to no read locks, it occured a lot >less often. > >I am not absoultely sure what condition makes it happen, but I am >quite sure that the message is wrong. It seemed to happen when we >tried to read from a freshly edited record while it got flushed to >disk. and here is some more: At 20:42 Uhr +0100 02.02.2004, Erich Geiersberger wrote: >I remember it worked like that: >- set kreadWrite = 2 >- connect two clients >- let the both make the same (order by) selection on a table >- load records with getcolumn() >- let one of them write to one of the records with flush() >- immediately after the write, reload the selection > > >Erich From sunshine at public.kherson.ua Tue Jun 28 22:29:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 28 14:29:16 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C16F04.7060407@learningware.com> Message-ID: On 6/28/05 6:38 PM, "Andrew Sinning" wrote: Hi Andrew, > A few weeks ago I wrote with a problem I was having with a customer's corrupt > db from an application that uses V4MD. I am seeing the same type of > corruption with a db created today by one of our bug-testers. > I desperately need some help figuring out what could possibly be causing the > db to become corrupt. This product has been released to several hundred > customers. I need to find a solution before this blows up in our face. kFBL_InvPageVarChar = 348, kFBL_CorruptedVarChar = 351, Both are VarChar corruption. > The version of the V4MD.x32 installed is 1.9.8. We would be happy to upgrade > to version 2.0.x, but I would like to get some insight regarding what could > possibly be causing the corruption. 1.9.8 is old even for 1.x line. You can upgrade to 1.11 version. You can check ReleaseNotes.pdf from 1.11 archive to see if was fixed at least one VarChar bug between 1.9.8 and 1.11. If yes, then this can be source of problem. > The errors do not go away when the dbs are opened in v2.0b9. You mean Vstudio b9. But problem cannot just go away. At least you need do XML dump and later load into fresh db. > I may need a way to _fix_ any corrupted databases, as > it is quite likely that there are customers with corrupt databases out there. XML dump. You can have in your app menu Rebuild Database Which will do this operation. > Here is what I have found: > > I have installed Valentina Studio (v2.0b9) in an attempt to diagnose the > problem or repair the database. > When I open the problem database in VS, I get following errors: > > 1) When I view one of the problem tables in the data browser, when > scrolling through the data, I get kernel errors 348 and 351. > > 2) When I attempt to "diagnose" the table, I get an error "348", but > the Table Diagnose Report says "All right!" > > 3) I can dump to xml without getting an error, but when I attempt to > load the data, I get a kernel error 19, or VS simply crashes. This is bad. Aha. Try to use VAPP 1.11 to load database. Deal is that Vstudio 2b9 will load XML into db 2.0 format. I think this is NOT what you need. > 4) I cannot dump to sql. When I do, I get kernel error 348. -- Best regards, Ruslan Zasukhin VP Engineering 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 Tue Jun 28 23:54:54 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Jun 28 15:55:04 2005 Subject: [V4MD] 2.0.4 fc9 Message-ID: <006901c57c23$a31c7d20$3b04a8c0@giv> > Bug in latest beta: > Cursor_GetRecordAsProplist > > The list returned from that function only contains values Fixed. -- 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 andrew at learningware.com Tue Jun 28 17:10:21 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Jun 28 17:10:31 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: References: Message-ID: <42C1CACD.9010607@learningware.com> Ruslan wrote: >This is bad. Aha. >Try to use VAPP 1.11 to load database. > I moved my db files over to a Mac. I had to use ResEdit in order to get VAPP 1.11 to open the db. I did a dump to xml and then a load, but the program crashed. Looks like the data is just corrupt. From yeomans at desuetude.com Tue Jun 28 18:52:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jun 28 17:52:41 2005 Subject: case-insensitive searches Message-ID: I've got a text field that is indexed by words. In V4Rb 1, to do a case-insensitive search I needed to define a method field and search it. Is this still the case in V4Rb 2, or can I now do something like SELECT textField from ATable WHERE Lower(textField)="foo" ? -------------- Charles Yeomans From Claudius at sailer-online.de Wed Jun 29 05:56:21 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Jun 28 22:56:44 2005 Subject: V4RB2: Mach-O Solution Message-ID: <732E3695-F065-449D-BF3A-5524F05C8932@sailer-online.de> Hello, as I know I can make Valentina-Stuff in Library-Folder or direct in Application folder that it works. Do we have also an solution where I can do it into Mach-O Package? If it is possible where do I have to do it? If not, when is it planed to realize that? Thanks for help Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Jun 29 10:36:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 02:36:24 2005 Subject: case-insensitive searches In-Reply-To: Message-ID: On 6/29/05 1:52 AM, "Charles Yeomans" wrote: Hi Charles, > I've got a text field that is indexed by words. In V4Rb 1, to do a > case-insensitive search I needed to define a method field and search > it. Is this still the case in V4Rb 2, or can I now do something like > > SELECT textField from ATable WHERE Lower(textField)="foo" ? This should work in 2.0. Also please look at example API/IndexByWords It demonstrate use of new feature db.Collation(), Which allow you make the whole db to be case-insensitive -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 10:38:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 02:38:39 2005 Subject: V4RB2: Mach-O Solution In-Reply-To: <732E3695-F065-449D-BF3A-5524F05C8932@sailer-online.de> Message-ID: On 6/29/05 6:56 AM, "Claudius Sailer" wrote: Hi Claudius, > as I know I can make Valentina-Stuff in Library-Folder or direct in > Application folder that it works. Do we have also an solution where I > can do it into Mach-O Package? Not yet Claudius, > If it is possible where do I have to do it? > If not, when is it planed to realize that? Hard to say exactly... Interesting, if to be Macho App in RB, do you need also macho plugins? Or plugin can be Carbon itself? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 10:39:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 02:39:36 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C1CACD.9010607@learningware.com> Message-ID: On 6/29/05 1:10 AM, "Andrew Sinning" wrote: > Ruslan wrote: > >> This is bad. Aha. >> Try to use VAPP 1.11 to load database. >> > > I moved my db files over to a Mac. I had to use ResEdit in order to get > VAPP 1.11 to open the db. > > I did a dump to xml and then a load, but the program crashed. Looks > like the data is just corrupt. If file is big ? Can you send it to use for testing ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erichg at mcmm.com Wed Jun 29 10:23:08 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Wed Jun 29 03:23:19 2005 Subject: [V4MD] 2.0.4 fc9 In-Reply-To: <006901c57c23$a31c7d20$3b04a8c0@giv> References: <006901c57c23$a31c7d20$3b04a8c0@giv> Message-ID: > > Bug in latest beta: > > Cursor_GetRecordAsProplist >> > > The list returned from that function only contains values >Fixed. Hi Igor, I don't see any changes. The list still contains only values with 2.0.4 fc11 both for GetRecordsAsProplist() and GetRecordAsProplist(). Best regards Erich From sunshine at public.kherson.ua Wed Jun 29 11:42:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 03:43:07 2005 Subject: [V4MD] 2.0.4 fc9 In-Reply-To: Message-ID: On 6/29/05 11:23 AM, "Erich Geiersberger" wrote: >>> Bug in latest beta: >>> Cursor_GetRecordAsProplist >>> >>> The list returned from that function only contains values > > >> Fixed. > > > Hi Igor, > > I don't see any changes. The list still contains only values > with 2.0.4 fc11 both for GetRecordsAsProplist() and > GetRecordAsProplist(). But we have not yet upload build with this 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 erichg at mcmm.com Wed Jun 29 11:15:03 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Wed Jun 29 04:15:15 2005 Subject: [V4MD] 2.0.4 fc9 In-Reply-To: References: Message-ID: > >>> Cursor_GetRecordAsProplist >>>> >>>> The list returned from that function only contains values >> >> >>> Fixed. >> >> >> Hi Igor, >> >> I don't see any changes. The list still contains only values > > with 2.0.4 fc11 both for GetRecordsAsProplist() and >> GetRecordAsProplist(). > >But we have not yet upload build with this fix Sorry, I thought you did since version 2.0.4 fc11 was dated june 28th. From IvanSmahin at public.kherson.ua Wed Jun 29 12:18:32 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Jun 29 04:18:40 2005 Subject: Convert 1_2 in Vstudio In-Reply-To: <23c032c5ab2a247d0b44e034894b9a1f@desuetude.com> References: <23c032c5ab2a247d0b44e034894b9a1f@desuetude.com> Message-ID: <15410613741.20050629121832@public.kherson.ua> Hello Charles, Tuesday, June 28, 2005, 3:25:37 AM, you wrote: CY> This doesn't appear to be unique to VStudio; V4Rb 2 crashes when I CY> attempt to convert a v1 file to v2 format. Some minor bugs are fixed now in Convert_1_2 area. It was because of some 1.x methods which can't be parsed in 2.x version. For instance: "LOWER(text)" Keywords such as "text" can't be used in such a way in the method's text anymore. It is fixed now. 1. Such methods has no compiled tree (invalid state) in the converted DB. 2. Method's text is stored to the schema any case. 3. Such methods produces NULLs for all records. You should fix such problems manually. It seems 1.x database is the best place for such fixes rather then converted one. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From wonderfef at noos.fr Wed Jun 29 11:29:50 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 29 04:29:59 2005 Subject: [V4RB2] SQL REGEX Help Message-ID: Hello all, with Valentina v1, I used to use such statements : SELECT Name FROM Clients WHERE Name LIKE 'b\.?[i??????]+\.?d\.?' no_case ORDER BY Name This was very useful for my needs, because it allowed users to search any record in the database, ignoring : - case - accents - dots In my example, the user has typed 'bid' and the search engine is capable of finding records whose name may be: BID B.I.D b?do B?DEN etc. The same SQL statement (I replaced LIKE by the keyword REGEX) fires a VException along with this message: Unexpected token: b\.?[i??????]+\.?d\.? Exception error number: 462848 SQL92 must have changed something, but I can't find what... Any help would be highly appreciated! Thanks Eric From sunshine at public.kherson.ua Wed Jun 29 13:26:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 05:26:36 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: Message-ID: On 6/29/05 12:29 PM, "Eric Ferrer" wrote: Hi Eric, > with Valentina v1, I used to use such statements : > > SELECT Name > FROM Clients > WHERE Name LIKE 'b\.?[i??????]+\.?d\.?' no_case > ORDER BY Name > > This was very useful for my needs, because it allowed users to search > any record in the database, ignoring : > - case > - accents > - dots > > In my example, the user has typed 'bid' and the search engine is > capable of finding records whose name may be: > BID > B.I.D > b?do > B?DEN > etc. > > The same SQL statement (I replaced LIKE by the keyword REGEX) fires a > VException along with this message: You need remove no_case with 2.0 > Unexpected token: b\.?[i??????]+\.?d\.? > Exception error number: 462848 > > SQL92 must have changed something, but I can't find what... > Any help would be highly appreciated! -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 15:03:04 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 29 08:03:12 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: References: Message-ID: <1C41D6AF-1BC5-4701-A3E2-84F7391345DC@noos.fr> Le 29 juin 2005 ? 12:26, Ruslan Zasukhin a ?crit : > You need remove no_case with 2.0 Thank you Ruslan. But how to turn my search case un-sensitive? I think there is something about "CollationAtribute", but I can't find enough explanation about these new features. All I get from a Spotlight search is description of possible values with no "how to" use them. Thanks again Eric From andrew at learningware.com Wed Jun 29 08:39:20 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jun 29 08:39:32 2005 Subject: Updating from V4MD v1 to v2 In-Reply-To: References: Message-ID: <42C2A488.4080505@learningware.com> I have a product out in the world that uses V4MD version 1 (1.9.8). If I want to release an update of the product with the latest official release of version 2, what process will need to be done on the existing customer dbs when saved for the first time as version 2 dbs? Because I haven't had any problems with version 1.9.8, until my recently reported kernel errors, I hadn't planned on updating to version 2. But now I am considering it. Question: What incompatibility hiccups can I expect when I upgrade? Question: Is the current official release of version 2 as stable as the last official release of version 1? Thanks. From wonderfef at noos.fr Wed Jun 29 16:12:28 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 29 09:12:39 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <1C41D6AF-1BC5-4701-A3E2-84F7391345DC@noos.fr> References: <1C41D6AF-1BC5-4701-A3E2-84F7391345DC@noos.fr> Message-ID: <03C0AD9E-A82E-40CF-B7E4-D3D6334CBF21@noos.fr> Le 29 juin 2005 ? 15:03, Eric Ferrer a ?crit : I've made a deeper search into pdf documentation and finally found : > But how to turn my search case un-sensitive? I have to put (?i) at the begining of the string I'm searching > I think there is something about "CollationAtribute", but I can't > find enough explanation about these new features. > All I get from a Spotlight search is description of possible values > with no "how to" use them. Collations are someting to do about sorting and not about a RegEx search. I googled 'ICU documentation' and found something very complexe on IBM's website. Maybe I'll take a closer look after I buy myself a new brain ;-) Eric From sunshine at public.kherson.ua Wed Jun 29 17:21:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 09:21:39 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <03C0AD9E-A82E-40CF-B7E4-D3D6334CBF21@noos.fr> Message-ID: On 6/29/05 5:12 PM, "Eric Ferrer" wrote: >> But how to turn my search case un-sensitive? > I have to put (?i) at the begining of the string I'm searching Right. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 29 17:29:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 09:29:36 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <03C0AD9E-A82E-40CF-B7E4-D3D6334CBF21@noos.fr> Message-ID: On 6/29/05 5:12 PM, "Eric Ferrer" wrote: >> I think there is something about "CollationAtribute", but I can't >> find enough explanation about these new features. >> All I get from a Spotlight search is description of possible values >> with no "how to" use them. > > Collations are someting to do about sorting and not about a RegEx > search. Collation affect indexes, so searches and sorting, LIKE also take this into account. And I think REGEX also. Ivan ? > I googled 'ICU documentation' and found something very complexe on > IBM's website. I have see very simple ONE web page, that explain their REGEX http://icu.sourceforge.net/userguide/regexp.html -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 17:37:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 09:37:34 2005 Subject: Updating from V4MD v1 to v2 In-Reply-To: <42C2A488.4080505@learningware.com> Message-ID: On 6/29/05 4:39 PM, "Andrew Sinning" wrote: Hi Andrew, > I have a product out in the world that uses V4MD version 1 (1.9.8). If > I want to release an update of the product with the latest official > release of version 2, > what process will need to be done on the existing > customer dbs when saved for the first time as version 2 dbs? V4MD2 have function Valentina.Convert_1_2() That convert db format. > Because I haven't had any problems with version 1.9.8, until my recently > reported kernel errors, I hadn't planned on updating to version 2. But > now I am considering it. Frankly saying I again will recommend you consider in the first turn upgrade to 1.11, because to upgrade to 2.0 you will need redo code of your project. > Question: What incompatibility hiccups can I expect when I upgrade? Few SQL changes. And some changes in API of V4MD. > Question: Is the current official release of version 2 as stable as the > last official release of version 1? Hard to say Andrew. 2.0 engine do not play yet in so many projects as 1.x. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 11:14:19 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 10:14:25 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: References: Message-ID: <9cfaa8e024f1b6c4d1bbfd0559d39772@desuetude.com> On Jun 29, 2005, at 10:29 AM, Ruslan Zasukhin wrote: > On 6/29/05 5:12 PM, "Eric Ferrer" wrote: > >>> I think there is something about "CollationAtribute", but I can't >>> find enough explanation about these new features. >>> All I get from a Spotlight search is description of possible values >>> with no "how to" use them. >> >> Collations are someting to do about sorting and not about a RegEx >> search. > > Collation affect indexes, so searches and sorting, > > LIKE also take this into account. > > And I think REGEX also. Ivan ? > >> I googled 'ICU documentation' and found something very complexe on >> IBM's website. > > I have see very simple ONE web page, that explain their REGEX > > http://icu.sourceforge.net/userguide/regexp.html Is this what Valentina 2 is using for regular expression searching? -------------- Charles Yeomans From yeomans at desuetude.com Wed Jun 29 11:18:59 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 10:19:04 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: On Jun 29, 2005, at 3:36 AM, Ruslan Zasukhin wrote: > On 6/29/05 1:52 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> I've got a text field that is indexed by words. In V4Rb 1, to do a >> case-insensitive search I needed to define a method field and search >> it. Is this still the case in V4Rb 2, or can I now do something like >> >> SELECT textField from ATable WHERE Lower(textField)="foo" ? > > This should work in 2.0. > > Also please look at example > > API/IndexByWords > > It demonstrate use of new feature db.Collation(), > Which allow you make the whole db to be case-insensitive Hmmm... lots to learn. Thanks. -------------- Charles Yeomans From andrew at learningware.com Wed Jun 29 10:22:04 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jun 29 10:22:12 2005 Subject: Updating from V4MD v1 to v2 In-Reply-To: References: Message-ID: <42C2BC9C.9000203@learningware.com> Thanks. I'll go with 1.11. Should we continue to look for 1.x updates, or have you moved on to 2.x? >Hard to say Andrew. >2.0 engine do not play yet in so many projects as 1.x. > > > > From IvanSmahin at public.kherson.ua Wed Jun 29 18:37:05 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Jun 29 10:37:16 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <9cfaa8e024f1b6c4d1bbfd0559d39772@desuetude.com> References: <9cfaa8e024f1b6c4d1bbfd0559d39772@desuetude.com> Message-ID: <1461932705.20050629183705@public.kherson.ua> Hello Charles, Wednesday, June 29, 2005, 6:14:19 PM, you wrote: CY> On Jun 29, 2005, at 10:29 AM, Ruslan Zasukhin wrote: >> On 6/29/05 5:12 PM, "Eric Ferrer" wrote: >> >>>> I think there is something about "CollationAtribute", but I can't >>>> find enough explanation about these new features. >>>> All I get from a Spotlight search is description of possible values >>>> with no "how to" use them. >>> >>> Collations are someting to do about sorting and not about a RegEx >>> search. >> >> Collation affect indexes, so searches and sorting, >> >> LIKE also take this into account. >> >> And I think REGEX also. Ivan ? No. Regex does not use collator. I think all collation attributes might be mentioned in the pattern self. Another reason is: collation with pattern string - it can be ambiguity here. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Wed Jun 29 18:41:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 10:41:33 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <9cfaa8e024f1b6c4d1bbfd0559d39772@desuetude.com> Message-ID: On 6/29/05 6:14 PM, "Charles Yeomans" wrote: >> I have see very simple ONE web page, that explain their REGEX >> >> http://icu.sourceforge.net/userguide/regexp.html > > Is this what Valentina 2 is using for regular expression searching? YES We use IBM ICU library for unicode, and its REGEX implementation. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 18:42:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 10:42:22 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <1461932705.20050629183705@public.kherson.ua> Message-ID: On 6/29/05 6:37 PM, "Ivan Smahin" wrote: >>> Collation affect indexes, so searches and sorting, >>> >>> LIKE also take this into account. >>> >>> And I think REGEX also. Ivan ? > No. Regex does not use collator. I think all collation attributes might be > mentioned > in the pattern self. Another reason is: collation with pattern string - it can > be ambiguity > here. Ok, so AT LEAST now indexes, searches, sorting, LIKE -- take care on collation regex -- no -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 17:42:20 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Jun 29 10:42:41 2005 Subject: V4RB2: Mach-O Solution In-Reply-To: References: Message-ID: Hi Ruslan, Am 29. Jun 2005 um 09:38 Uhr schrieb Ruslan Zasukhin: >> If it is possible where do I have to do it? >> If not, when is it planed to realize that? >> > > Hard to say exactly... > > Interesting, if to be Macho App in RB, do you need also macho plugins? > Or plugin can be Carbon itself? the thing is. At the moment I have an application which you can copy where ever you want and you can ran it. I don't want to have something in Library or in application folder which confuses users or what he can delete and the ask why application doesn't work. In the past I didn't used Mach-O because Carbon was good enough and gave me everything I needed. So I only test (at the moment) Mach-O because I have there a package where I can do things inside. I hope you understand a little bit my problem. Application has to be simple without the possibility to break it. Thanks. Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Jun 29 18:43:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 10:43:18 2005 Subject: Updating from V4MD v1 to v2 In-Reply-To: <42C2BC9C.9000203@learningware.com> Message-ID: On 6/29/05 6:22 PM, "Andrew Sinning" wrote: > Thanks. I'll go with 1.11. Should we continue to look for 1.x updates, > or have you moved on to 2.x? It is expected in near time 1.12 update with 2 bug fixes in joins area. >> Hard to say Andrew. >> 2.0 engine do not play yet in so many projects as 1.x. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 11:09:36 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jun 29 11:09:42 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: References: Message-ID: <42C2C7BF.40506@learningware.com> Ruslan Zasukhin wrote: >You can check ReleaseNotes.pdf from 1.11 archive to see if was fixed at >least one VarChar bug between 1.9.8 and 1.11. > Where do I go to find the release notes? Thanks. From yeomans at desuetude.com Wed Jun 29 12:17:48 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 11:17:53 2005 Subject: [V4Rb 2] method field question Message-ID: <92f5c459ada79e57911f6836a398ed62@desuetude.com> Is it now possible to define a method field that pulls values from a related table? I have two tables related by a M-M link. For TableA, I'd like to define a method field that returns the concatenation of the values of a particular field in TableB for all related records. Charles Yeomans From wonderfef at noos.fr Wed Jun 29 18:19:29 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 29 11:19:33 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: References: Message-ID: <8BECD640-A5D9-4FB3-8CA9-6F52734DA4F7@noos.fr> Le 29 juin 2005 ? 17:42, Ruslan Zasukhin a ?crit : > Ok, so AT LEAST now > > indexes, searches, sorting, LIKE -- take care on collation > regex -- no wow, I feel confused now... What are the differences between a LIKE and a REGEX search? I thought that the LIKE keyword was deprecated in v2... Anyway, I've just made some tests and here are some simple results: Note that the field 'Name' in the table 'Clients' has been set as "kPrimary" in the CollationAttribute "kStrength" SELECT Name FROM Clients WHERE Name REGEX 'eme' --> returns clients such as "Diop Systeme", "France Espace Developpement" and "Maracad? Ev?nement" --> but it does not return clients such as "7?me Apache Films" SELECT Name FROM Clients WHERE Name REGEX '?me' --> returns only clients with exactly '?me' in their name, such as "Le Public Syst?me", "7?me Apache Films" SELECT Name FROM Clients WHERE Name LIKE 'eme' --> return absolutely no record at all SELECT Name FROM Clients WHERE Name LIKE '?me' --> return absolutely no record at all SELECT Name FROM Clients WHERE Name REGEX '(?i)[e?]me' --> this one returns expected records, such as "16/9 EME", "Le Public Syst?me", "Vivement Lundi" Eric From sunshine at public.kherson.ua Wed Jun 29 19:23:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 11:23:49 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <8BECD640-A5D9-4FB3-8CA9-6F52734DA4F7@noos.fr> Message-ID: On 6/29/05 7:19 PM, "Eric Ferrer" wrote: >> indexes, searches, sorting, LIKE -- take care on collation >> regex -- no > > wow, I feel confused now... > > What are the differences between a LIKE and a REGEX search? > > I thought that the LIKE keyword was deprecated in v2... No, visa versa. In 2.0 LIKE work by SQL92 standard, using % and _ In 1.x LIKE did work as REGEX. So to have regex in 2.0 we have to use new keyword WHERE fld REGEX ... -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 19:24:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 11:24:51 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <8BECD640-A5D9-4FB3-8CA9-6F52734DA4F7@noos.fr> Message-ID: On 6/29/05 7:19 PM, "Eric Ferrer" wrote: > > Anyway, I've just made some tests and here are some simple results: > Note that the field 'Name' in the table 'Clients' has been set as > "kPrimary" in the CollationAttribute "kStrength" > > SELECT Name FROM Clients > WHERE Name REGEX 'eme' > --> returns clients such as "Diop Systeme", "France Espace > Developpement" and "Maracad? Ev?nement" > --> but it does not return clients such as "7?me Apache Films" > > SELECT Name FROM Clients > WHERE Name REGEX '?me' > --> returns only clients with exactly '?me' in their name, such as > "Le Public Syst?me", "7?me Apache Films" > > SELECT Name FROM Clients > WHERE Name LIKE 'eme' > --> return absolutely no record at all > > SELECT Name FROM Clients > WHERE Name LIKE '?me' > --> return absolutely no record at all > > SELECT Name FROM Clients > WHERE Name REGEX '(?i)[e?]me' > --> this one returns expected records, such as "16/9 EME", "Le Public > Syst?me", "Vivement Lundi" More simple: send to Ivan this database. And he will repeat searches. Also please make comment what is correct, and what is no, and why -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 19:28:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 11:28:29 2005 Subject: [V4Rb 2] method field question In-Reply-To: <92f5c459ada79e57911f6836a398ed62@desuetude.com> Message-ID: On 6/29/05 7:17 PM, "Charles Yeomans" wrote: Hi Charles, > Is it now possible to define a method field that pulls values from a > related table? YES! In 2.0 exists new functions for this. > I have two tables related by a M-M link. > For TableA, I'd like to define a method field that returns the concatenation > of the values of a particular field in TableB for all related records. Please look into ValentinaSQL.pdf part Link Methods Function is named as: link_sum() BUT, I am not sure that it will work on M:M link. It seems we have made it working on for 1:M If you want discuss this, and you can prove that for M:M this also must work then we improve things... Also keep in mind, it will recalculate value each time it is asked. We have not build any notification system...looks too complex and unreasonable complex. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 29 19:28:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 11:28:54 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C2C7BF.40506@learningware.com> Message-ID: On 6/29/05 7:09 PM, "Andrew Sinning" wrote: > Ruslan Zasukhin wrote: > >> You can check ReleaseNotes.pdf from 1.11 archive to see if was fixed at >> least one VarChar bug between 1.9.8 and 1.11. >> > > Where do I go to find the release notes? Thanks. On the V4MD download page. Section Deprecated. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 18:53:04 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Jun 29 11:53:08 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: References: Message-ID: <2293FB39-DCFF-4BA5-AA01-8A675B8FB678@noos.fr> Le 29 juin 2005 ? 18:24, Ruslan Zasukhin a ?crit : > send to Ivan this database. > > And he will repeat searches. > > Also please make comment what is correct, and what is no, and why Thank you Ruslan. You already have my database (new_technovision_2.vdb). I gave you a link to download it - it is too big to send it by email. Moreover, I'm not a SQL92 master nor a RegEx wizzard, so I'm not sure I'll be able to tell 'I should get this but I get that' So: > SELECT Name FROM Clients > WHERE Name LIKE '?me' > --> return absolutely no record at all Maybe this is normal, since LIKE uses a SQL92 syntax that I don't seem to use here... To finish, if I properly understood : in v1: LIKE --> RegEx search in v2 : LIKE --> SQL92 search, using ICU Collations REGEX --> RegEx search with new specifications - ['(? i)abc'] instead of ['abc' no_case] for example) Am I right? Eric From sunshine at public.kherson.ua Wed Jun 29 20:37:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 12:37:43 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <2293FB39-DCFF-4BA5-AA01-8A675B8FB678@noos.fr> Message-ID: On 6/29/05 7:53 PM, "Eric Ferrer" wrote: > > Le 29 juin 2005 ? 18:24, Ruslan Zasukhin a ?crit : > >> send to Ivan this database. >> >> And he will repeat searches. >> >> Also please make comment what is correct, and what is no, and why > > > Thank you Ruslan. > > You already have my database (new_technovision_2.vdb). > I gave you a link to download it - it is too big to send it by email. Ak, I think we have trash it already May be you can try tets SMALL db, and let us know if any problems/questions -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Wed Jun 29 15:22:48 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 14:22:57 2005 Subject: [V4Rb 2] method field question In-Reply-To: References: Message-ID: <78ff9b2d60695f026812b6606f0a5918@desuetude.com> On Jun 29, 2005, at 12:28 PM, Ruslan Zasukhin wrote: > On 6/29/05 7:17 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> Is it now possible to define a method field that pulls values from a >> related table? > > YES! > > In 2.0 exists new functions for this. > >> I have two tables related by a M-M link. > >> For TableA, I'd like to define a method field that returns the >> concatenation >> of the values of a particular field in TableB for all related records. > > Please look into ValentinaSQL.pdf > part Link Methods > > Function is named as: link_sum() In my case, the related field is a VarChar; I was hoping to get back some sort of concatenation of the values of those fields. Charles Yeomans From sunshine at public.kherson.ua Wed Jun 29 23:18:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 29 15:19:02 2005 Subject: [V4Rb 2] method field question In-Reply-To: <78ff9b2d60695f026812b6606f0a5918@desuetude.com> Message-ID: On 6/29/05 10:22 PM, "Charles Yeomans" wrote: >>> I have two tables related by a M-M link. >> >>> For TableA, I'd like to define a method field that returns the >>> concatenation >>> of the values of a particular field in TableB for all related records. >> >> Please look into ValentinaSQL.pdf >> part Link Methods >> >> Function is named as: link_sum() > > In my case, the related field is a VarChar; I was hoping to get back > some sort of concatenation of the values of those fields. No such operation Charles. We have implement kinds GROUP BY methods, Because they good fit GROUP of related records. Do you have idea HOW CAN LOOKS your dream method ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jun 29 15:40:27 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jun 29 15:40:34 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: References: Message-ID: <42C3073B.4090406@learningware.com> The error which was documented as fixed in v.1.10b20 in the release notes: "[KERNEL][BUG] Corruption of db file if table have VarChar field. Can Happens if do a lots of updates/deelted with no flush." So, I'm doing some testing here to verify fix in later build. I must be doing something terribly wrong. This can't be right. In version 1.11: I have a simple table with just two fields, an id and a 1024 varChar: CREATE TABLE test_varChar ( id UMedium NOT NULL, string VarChar(1024,'ASCII') NOT NULL ); I have a test function in Director which adds 1500 new records to the table. Each new record contains about 850 characters in field "string". After adding 1500 new records, it flushes the db and then reports the total number of records in the table. Each time I run the test function, the number of records goes up by 1500, as you would expect: --1500 --3000 --4500 ... etc. BUT, when it gets to 14763 records, it stops getting bigger. It's as if the db has maxed out at 14763 records. So the next time, I add just 100 records between each flush. This time it tops out at 14811. Then, I change the script so that the db gets flush after every single new record. This time it tops out at 14763 records. I have no idea what I am doing wrong. Here's what my Add record function looks like: on WriteVarCharTest me, id, string if voidP(id) then id = me.NextIndex("varCharTestId") -- this using another table to increment the index "varCharTestId" -- table sql = "SELECT * FROM test_varChar WHERE id = "&id theCursor = new(xtra "VCursor", GetRef(dbConn), sql, kClient, kReadWrite, kForwardOnly) -- the insert list insertList = [#id:id,#string:string] -- update/add the record if GetRecordCount(theCursor) = 0 then -- new AddRecord(theCursor,insertList) else UpdateRecord(theCursor,insertList) -- existing end if SetBlank(theCursor) end By the way, I have verified that the function which increments the "id" is working. It continues to increment the id each time a new record is added. Thanks. From yeomans at desuetude.com Wed Jun 29 17:00:59 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 16:01:03 2005 Subject: VLink question Message-ID: What happens if I call VLink.LinkRecords for two records that are already linked? Ignore, exception, duplicate link or ? Charles Yeomans From IvanSmahin at public.kherson.ua Thu Jun 30 00:45:37 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed Jun 29 16:45:43 2005 Subject: VLink question In-Reply-To: References: Message-ID: <549400805.20050630004537@public.kherson.ua> Hello Charles, Thursday, June 30, 2005, 12:00:59 AM, you wrote: CY> What happens if I call VLink.LinkRecords for two records that are CY> already linked? Ignore, exception, duplicate link or ? It will be ignored. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From jules.jacquot at wanadoo.fr Wed Jun 29 23:52:22 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jun 29 16:51:02 2005 Subject: V4RB 2.0.4fc11 Message-ID: <98B82AC3-EE0F-4DF9-AE10-E8AD5B4FBBE2@wanadoo.fr> hi ruslan I can't use the last V4RB fc 11 and the prev fc 9, fc 10 perhaps that i have done something wrong. I don't know. Launching my app after installing fc11 ( and before, fc 10 and fc 9 ) i get this message : ' the app was quit unexpectedly after to have been launched ' how to fix that ? I'm afraid to have done a bad manipulation. things become right when i come back V4RB 2.0.3 's install so, all is working fine even with V4RB 2.0.4.fc11 in the plugin folder i think that this default comes from the installation's software. what do you think about ? best jules ---------------------------------------------------- Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From yeomans at desuetude.com Wed Jun 29 17:57:12 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 29 16:57:20 2005 Subject: VLink question In-Reply-To: <549400805.20050630004537@public.kherson.ua> References: <549400805.20050630004537@public.kherson.ua> Message-ID: <9a235cfc254ac39fbb38c25205fb157b@desuetude.com> On Jun 29, 2005, at 5:45 PM, Ivan Smahin wrote: > Hello Charles, > > Thursday, June 30, 2005, 12:00:59 AM, you wrote: > > CY> What happens if I call VLink.LinkRecords for two records that are > CY> already linked? Ignore, exception, duplicate link or ? > > It will be ignored. > Thanks. -------------- Charles Yeomans From listen at monkeybreadsoftware.de Thu Jun 30 00:42:48 2005 From: listen at monkeybreadsoftware.de (Christian Schmitz) Date: Wed Jun 29 17:42:53 2005 Subject: V4RB2: Mach-O Solution In-Reply-To: Message-ID: <1gyy1yq.jqu5fd12q01tsM%listen@monkeybreadsoftware.de> Ruslan Zasukhin wrote: > Interesting, if to be Macho App in RB, do you need also macho plugins? No. A simple Carbon PEF plugin will work in RB Mach-O. Mfg Christian -- Around ten thousand functions in one REALbasic plug-in. The MBS Plugin. From daisychain at iinet.net.au Thu Jun 30 13:57:22 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jun 29 22:57:28 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: Message-ID: <007901c57d27$d2120500$ae00a8c0@DamonsPC> Hi Eric, I'm no expert but these all look fine to me. > SELECT Name FROM Clients > WHERE Name LIKE 'eme' > --> return absolutely no record at all this one fails as you have asked like but it is looking for 'eme' only if you do this WHERE Name LIKE '%eme%' You should get anything with 'eme' in it similar to REGEDIT results. > --> returns clients such as "Diop Systeme", "France Espace > Developpement" and "Maracad? Ev?nement" Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, 30 June 2005 2:25 AM To: valentina@lists.macserve.net Subject: Re: Re[2]: [V4RB2] SQL REGEX Help On 6/29/05 7:19 PM, "Eric Ferrer" wrote: > > Anyway, I've just made some tests and here are some simple results: > Note that the field 'Name' in the table 'Clients' has been set as > "kPrimary" in the CollationAttribute "kStrength" > > SELECT Name FROM Clients > WHERE Name REGEX 'eme' > --> returns clients such as "Diop Systeme", "France Espace > Developpement" and "Maracad? Ev?nement" > --> but it does not return clients such as "7?me Apache Films" > > SELECT Name FROM Clients > WHERE Name REGEX '?me' > --> returns only clients with exactly '?me' in their name, such as > "Le Public Syst?me", "7?me Apache Films" > > SELECT Name FROM Clients > WHERE Name LIKE 'eme' > --> return absolutely no record at all > > SELECT Name FROM Clients > WHERE Name LIKE '?me' > --> return absolutely no record at all > > SELECT Name FROM Clients > WHERE Name REGEX '(?i)[e?]me' > --> this one returns expected records, such as "16/9 EME", "Le Public > Syst?me", "Vivement Lundi" More simple: send to Ivan this database. And he will repeat searches. Also please make comment what is correct, and what is no, and why -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Jun 30 09:43:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 01:43:42 2005 Subject: V4RB 2.0.4fc11 In-Reply-To: <98B82AC3-EE0F-4DF9-AE10-E8AD5B4FBBE2@wanadoo.fr> Message-ID: On 6/30/05 12:52 AM, "Jules Jacquot" wrote: Hi Jules, 1) You can download fc12 2) if your app not works, I think the first step todo: run our examples. Works? > I can't use the last V4RB fc 11 and the prev fc 9, fc 10 > > perhaps that i have done something wrong. I don't know. > > Launching my app after installing fc11 ( and before, fc 10 and fc 9 ) > i get this message : > > ' the app was quit unexpectedly after to have been launched ' > > how to fix that ? I'm afraid to have done a bad manipulation. > > things become right when i come back V4RB 2.0.3 's install > > so, all is working fine even with V4RB 2.0.4.fc11 in the plugin folder > > i think that this default comes from the installation's software. > > what do you think about ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 30 08:48:30 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 30 01:48:42 2005 Subject: API: find and sort Message-ID: <000d01c57d3f$bae1f7b0$26191e97@vmtrm4p9ipbkv2> Hi Ruslan, I'm trying the last update fc12, it's seems more fast of previous and now many V4MD bugs are fixed, very good. :-) Now I want to finish this search: table = gDb.table(gTableName) set1 = table.field("sF8").findValue(searchString) rs = table.sort( set1, table.field("sF8")) showResultGrid(rs, table) sF8 contains the born year of Students and I want to find all Students born from (n year = searchString) and not only in one year, in SQL this works: query = "SELECT RecID, * from STUDENTI WHERE sF8 >= '" & searchString & "' ORDER BY sF8" but how can I do this in API (if it's possible)? Thanks Paolo V4MD fc12 WIN From info at vallemediatime.com Thu Jun 30 08:54:31 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 30 01:54:37 2005 Subject: Info about fc12: Table.GetRecord() Message-ID: <002f01c57d40$9210a330$26191e97@vmtrm4p9ipbkv2> Hi Ruslan and Igor, can I try new method: Table.GetRecord() V4MD fc12? If yes, how it's work? like SQL? Thanks Paolo From sunshine at public.kherson.ua Thu Jun 30 10:41:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 02:41:17 2005 Subject: API: find and sort In-Reply-To: <000d01c57d3f$bae1f7b0$26191e97@vmtrm4p9ipbkv2> Message-ID: On 6/30/05 9:48 AM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > I'm trying the last update fc12, it's seems more fast of previous and now many > V4MD bugs are fixed, very good. :-) > > Now I want to finish this search: > > table = gDb.table(gTableName) > set1 = table.field("sF8").findValue(searchString) > rs = table.sort( set1, table.field("sF8")) > showResultGrid(rs, table) > > sF8 contains the born year of Students and I want to find all Students born > from (n year = searchString) and not only in one year, > in SQL this works: > query = "SELECT RecID, * from STUDENTI WHERE sF8 >= '" & searchString & "' > ORDER BY sF8" > > but how can I do this in API (if it's possible)? You need to use not FindValue, but FindRange Using mathematical range [10, +inField ) set1 = table.field("sF8").findRange( true, searchString, NULL, 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 Thu Jun 30 10:44:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 02:45:04 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C3073B.4090406@learningware.com> Message-ID: On 6/29/05 11:40 PM, "Andrew Sinning" wrote: > So, I'm doing some testing here to verify fix in later build. I must be > doing something terribly wrong. This can't be right. > > In version 1.11: > > I have a simple table with just two fields, an id and a 1024 varChar: > > CREATE TABLE test_varChar ( > id UMedium NOT NULL, > string VarChar(1024,'ASCII') NOT NULL > ); > > I have a test function in Director which adds 1500 new records to the > table. Each new record contains about 850 characters in field > "string". After adding 1500 new records, it flushes the db and then > reports the total number of records in the table. Each time I run the > test function, the number of records goes up by 1500, as you would expect: > --1500 > --3000 > --4500 > ... etc. > BUT, when it gets to 14763 records, it stops getting bigger. It's as if > the db has maxed out at 14763 records. > > So the next time, I add just 100 records between each flush. This time > it tops out at 14811. > > Then, I change the script so that the db gets flush after every single > new record. This time it tops out at 14763 records. > > I have no idea what I am doing wrong. Here's what my Add record > function looks like: Andrew, sounds like you have simple project on hands to reproduce ? Please send it 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 wonderfef at noos.fr Thu Jun 30 10:34:04 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Jun 30 03:34:15 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <007901c57d27$d2120500$ae00a8c0@DamonsPC> References: <007901c57d27$d2120500$ae00a8c0@DamonsPC> Message-ID: <423C4A4D-0F1A-4ED9-8958-517F24D905E3@noos.fr> Thank you Damon Le 30 juin 2005 ? 05:57, Damon Pillinger a ?crit : > if you do this > WHERE Name LIKE '%eme%' > You should get anything with 'eme' in it similar to REGEDIT results. Yes, that's true, I now get some records, instead of nothing. As I said, LIKE now uses SQL92, which I was not using in my tests. In v1, LIKE did not use this. But there is something that I still don't figure out. LIKE uses ICU collations, right? Both for SORT and SEARCH, as Ruslan wrote yesterday, right? So, if my field "Name" has for CollationAttribute "Strength" = Primary ?which is supposed to ignore accents and case?, I should also get records such as : 7?me Apache 16/9 EME etc. ... which I don't get... I only get records with exactly 'eme' in their name. '?me' and 'EME' are ignored... I must have missed something again... Eric From sunshine at public.kherson.ua Thu Jun 30 11:41:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 03:41:36 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <423C4A4D-0F1A-4ED9-8958-517F24D905E3@noos.fr> Message-ID: On 6/30/05 11:34 AM, "Eric Ferrer" wrote: > Thank you Damon > > Le 30 juin 2005 ? 05:57, Damon Pillinger a ?crit : >> if you do this >> WHERE Name LIKE '%eme%' >> You should get anything with 'eme' in it similar to REGEDIT results. > > Yes, that's true, I now get some records, instead of nothing. > As I said, LIKE now uses SQL92, which I was not using in my tests. > In v1, LIKE did not use this. > > But there is something that I still don't figure out. > > LIKE uses ICU collations, right? > Both for SORT and SEARCH, as Ruslan wrote yesterday, right? > > So, if my field "Name" has for CollationAttribute "Strength" = > Primary ?which is supposed to ignore accents and case?, I should also > get records such as : > 7?me Apache > 16/9 EME > etc. > ... which I don't get... I only get records with exactly 'eme' in > their name. '?me' and 'EME' are ignored... > > I must have missed something again... We can check this 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 info at vallemediatime.com Thu Jun 30 12:26:42 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 30 05:26:53 2005 Subject: API: find and sort References: Message-ID: <001401c57d5e$36065670$af271e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, June 30, 2005 9:41 AM Subject: Re: API: find and sort > On 6/30/05 9:48 AM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > Hi Ruslan, > > I'm trying the last update fc12, it's seems more fast of previous and now many > > V4MD bugs are fixed, very good. :-) > > > > Now I want to finish this search: > > > > table = gDb.table(gTableName) > > set1 = table.field("sF8").findValue(searchString) > > rs = table.sort( set1, table.field("sF8")) > > showResultGrid(rs, table) > > > > sF8 contains the born year of Students and I want to find all Students born > > from (n year = searchString) and not only in one year, > > in SQL this works: > > query = "SELECT RecID, * from STUDENTI WHERE sF8 >= '" & searchString & "' > > ORDER BY sF8" > > > > but how can I do this in API (if it's possible)? > > You need to use not FindValue, but FindRange > > Using mathematical range [10, +inField ) > > set1 = table.field("sF8").findRange( true, searchString, NULL, false ) good! with VOID instead NULL on Director :-) set1 = table.field("sF8").findRange( true, searchString, VOID, false ) Thanks Paolo > > -- > Best regards, > > Ruslan Zasukhin > VP 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.323 / Virus Database: 267.8.7/34 - Release Date: 29/06/2005 > > From sunshine at public.kherson.ua Thu Jun 30 14:44:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 06:51:42 2005 Subject: API: find and sort In-Reply-To: <001401c57d5e$36065670$af271e97@vmtrm4p9ipbkv2> Message-ID: On 6/30/05 1:26 PM, "info@vallemediatime.com" wrote: >> Using mathematical range [10, +inField ) ^^^^^^^^^ Btw, must be Using mathematical range [10, +inf ) TypeIt4Me utility have expand not correctly >> set1 = table.field("sF8").findRange( true, searchString, NULL, false ) > > good! with VOID instead NULL on Director :-) > set1 = table.field("sF8").findRange( true, searchString, VOID, 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 info at vallemediatime.com Thu Jun 30 14:02:56 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Jun 30 07:03:04 2005 Subject: API: find and sort References: Message-ID: <000e01c57d6b$a772abd0$d5171e97@vmtrm4p9ipbkv2> Hi Ruslan, > >> Using mathematical range [10, +inField ) > ^^^^^^^^^ > Btw, must be > Using mathematical range [10, +inf ) > TypeIt4Me utility have expand not correctly Sorry, but I don't understand what you want say... what is "TypeIt4Me" ? I look in the Director reference but (seem to me): findRange: is sufficiently documented findRange( true, searchString, VOID, false ): is not sufficiently documented > >> set1 = table.field("sF8").findRange( true, searchString, NULL, false ) > > good! with VOID instead NULL on Director :-) > > set1 = table.field("sF8").findRange( true, searchString, VOID, false ) This working, but is it correctly? Paolo From sunshine at public.kherson.ua Thu Jun 30 15:06:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 07:06:53 2005 Subject: API: find and sort In-Reply-To: <000e01c57d6b$a772abd0$d5171e97@vmtrm4p9ipbkv2> Message-ID: On 6/30/05 3:02 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > >>>> Using mathematical range [10, +inField ) >> ^^^^^^^^^ >> Btw, must be >> Using mathematical range [10, +inf ) > >> TypeIt4Me utility have expand not correctly > Sorry, but I don't understand what you want say... what is "TypeIt4Me" ? This is system utility that I use on my computer. Check versiontracker.com Cool utility -- Best regards, Ruslan Zasukhin VP Engineering 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 Jun 30 15:07:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 07:07:33 2005 Subject: API: find and sort In-Reply-To: <000e01c57d6b$a772abd0$d5171e97@vmtrm4p9ipbkv2> Message-ID: On 6/30/05 3:02 PM, "info@vallemediatime.com" wrote: > I look in the Director reference but (seem to me): > findRange: is sufficiently documented > findRange( true, searchString, VOID, false ): is not sufficiently > documented Sorry, I have not understand. >>>> set1 = table.field("sF8").findRange( true, searchString, NULL, > false ) >>> good! with VOID instead NULL on Director :-) >>> set1 = table.field("sF8").findRange( true, searchString, VOID, false ) > > This working, but is it correctly? 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 wonderfef at noos.fr Thu Jun 30 15:20:40 2005 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Jun 30 08:20:49 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: References: Message-ID: <0516F6B8-3A91-47E8-BF8F-D3936DF9376B@noos.fr> Le 30 juin 2005 ? 10:41, Ruslan Zasukhin a ?crit : > We can check this on your db ? Sure, but I think in the version I gave you (the downloadable one) the field Clients.Name has not been set as CollationAttribute (Strength) = Primary. Please, use my sample RB project and click on the "Load struture" button, choose this field via the 2 PopUpMenus and click on the button "Set Strength->Primary". Eric From fb at memedia.de Thu Jun 30 15:21:55 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Jun 30 08:22:21 2005 Subject: Flush/Delete question In-Reply-To: Message-ID: <0MKwh2-1Dnyzd1IbG-0005p8@mrelayeu.kundenserver.de> V4MD 1.1, Server/Client Hi Ruslan! This is basically a security question for me. If I change a record to a set of "x", flush the DB and then delete the record, the record will be deleted but physically it will remain in the Db file so that I could search for it with a text editor. That is why I overwrote all fields with "xxxxx..." before: For i=1 to numberOfRecordsToDelete overwriteRecord("x") flush() deleteRecord() next If I do this with thousands of records, Valentina will crash finally. And it takes very long... Now I wonder what would happen if I do no flush in between? That is: For i=1 to numberOfRecordsToDelete overwriteRecord("x") deleteRecord() next flush Will it a) work as expected, that is records are first "x"ed out and then deleted (only "x" remains in the DB file) or b) not overwrite the record at all since it has been deleted (records stay readable in DB file) TIA Florian From thomas at startmovie.net Thu Jun 30 15:24:23 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Jun 30 08:24:32 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted Message-ID: <657bb39899e902af55000d38f1183e69@startmovie.net> Hi all, is there a chance to reindex and Compress a Valentina DB 1.x which is encrpyted? I didn't found any tool which is able to do that. Maybe there is a SQL-Statement? The problem is I have a DB which shouldn't be bigger than 10MB but it suddenly "jumped" to 4GB (!!). Unfortunately Valentina Studio and Valentina Carbon aren't able to handle encrypted DBs on the Mac. Regdras, Thomas BTW: Is there an application that has the same functionality like Valentina Carbon on the Mac? From thomas at startmovie.net Thu Jun 30 15:38:07 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Jun 30 08:38:44 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: <657bb39899e902af55000d38f1183e69@startmovie.net> References: <657bb39899e902af55000d38f1183e69@startmovie.net> Message-ID: <52f9cc562dd45f7420ceef005d3b3158@startmovie.net> Am 30.06.2005 um 15:24 schrieb Thomas Biedorf: > BTW: Is there an application that has the same functionality like > Valentina Carbon on the Mac? > Silly me, I forgot to mention : for the PC!!! From thomas at startmovie.net Thu Jun 30 16:27:37 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Jun 30 09:27:44 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: <657bb39899e902af55000d38f1183e69@startmovie.net> References: <657bb39899e902af55000d38f1183e69@startmovie.net> Message-ID: <41090ff1581b6c0b464101165df8a46f@startmovie.net> Never mind. >Defragment did it! Regards, Thomas Am 30.06.2005 um 15:24 schrieb Thomas Biedorf: > is there a chance to reindex and Compress a Valentina DB 1.x which is > encrpyted? I didn't found any tool which is able to do that. Maybe > there is a SQL-Statement? The problem is I have a DB which shouldn't > be bigger than 10MB but it suddenly "jumped" to 4GB (!!). > Unfortunately Valentina Studio and Valentina Carbon aren't able to > handle encrypted DBs on the Mac. From info at bertspin.nl Thu Jun 30 17:36:04 2005 From: info at bertspin.nl (Bert Spin) Date: Thu Jun 30 10:36:41 2005 Subject: [V4MD] 2.0.4 fc12 Message-ID: <6.2.1.2.0.20050630172727.01e14c58@mail.chello.nl> I am experiencing difficulties (2.0.4 fc12 of V4MD for pc) because: GetRecords, GetRecord, GetRecordsAsProplist(), GetRecordAsProplist() only return lists with or zero values. getString seems to work ok. plus: is it normal behaviour for escapeString to escape an underscore: v = xtra("Valentina").new() put v.escapeString("XX'XX.XX_XX", false ) -- "XX\'XX.XX\_XX" Regards, Bert From jules.jacquot at wanadoo.fr Thu Jun 30 17:58:11 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Jun 30 10:56:55 2005 Subject: V4RB 2.0.4fc11 In-Reply-To: References: Message-ID: Le 30 juin 05 ? 08:43, Ruslan Zasukhin a ?crit : > On 6/30/05 12:52 AM, "Jules Jacquot" wrote: > > Hi Jules, > > 1) You can download fc12 > > 2) if your app not works, I think the first step todo: > run our examples. Works? all works fine now thanks ruslan jules > > > >> I can't use the last V4RB fc 11 and the prev fc 9, fc 10 >> >> perhaps that i have done something wrong. I don't know. >> >> Launching my app after installing fc11 ( and before, fc 10 and fc 9 ) >> i get this message : >> >> ' the app was quit unexpectedly after to have been launched ' >> >> how to fix that ? I'm afraid to have done a bad manipulation. >> >> things become right when i come back V4RB 2.0.3 's install >> >> so, all is working fine even with V4RB 2.0.4.fc11 in the plugin >> folder >> >> i think that this default comes from the installation's software. >> >> what do you think about ? >> > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From sunshine at public.kherson.ua Thu Jun 30 19:26:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 11:26:40 2005 Subject: [V4MD] 2.0.4 fc12 In-Reply-To: <6.2.1.2.0.20050630172727.01e14c58@mail.chello.nl> Message-ID: On 6/30/05 6:36 PM, "Bert Spin" wrote: > > I am experiencing difficulties (2.0.4 fc12 of V4MD for pc) because: > > GetRecords, GetRecord, GetRecordsAsProplist(), GetRecordAsProplist() only > return lists with or zero values. > > getString seems to work ok. Strange, this was fixed it seems. 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 Thu Jun 30 19:27:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 11:27:12 2005 Subject: [V4MD] 2.0.4 fc12 In-Reply-To: <6.2.1.2.0.20050630172727.01e14c58@mail.chello.nl> Message-ID: On 6/30/05 6:36 PM, "Bert Spin" wrote: > plus: > > is it normal behaviour for escapeString to escape an underscore: > > v = xtra("Valentina").new() > put v.escapeString("XX'XX.XX_XX", false ) > -- "XX\'XX.XX\_XX" Yes, but probably this will be changed. EscapeString work ion pair with our SQL parser. They should understand each other. -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jun 30 15:14:04 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jun 30 15:14:13 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: References: Message-ID: <42C4528C.2030101@learningware.com> Ruslan, Just checking to make sure you got the email I sent with the attachment this morning. From yeomans at desuetude.com Thu Jun 30 17:40:31 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jun 30 16:40:39 2005 Subject: [VStudio] Editing field names Message-ID: The UI for VStudio leads one to think that the name of a field can be changed, but attempts to change the name of a field appear to fail. How should VStudio be working? Charles Yeomans