From sunshine at public.kherson.ua Tue Feb 1 00:59:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 31 16:59:59 2005 Subject: [V4RB] 2.0 b41 uploaded. In-Reply-To: Message-ID: On 2/1/05 12:53 AM, "jda" wrote: >> >> - 0000289: [SQL nodes] Make sure that works SQL commands DIAGNOSE, >> COMPACT, DEFRAGMENT. (Ivan Smahin) > > Hi Ruslan, > > Was this (sql compact) supposed to fix the large file problem after > conversion? If so, it doesn't. I can send the three files to you > again that show this if you trashed them. And I would add this to > mantis. Yes, Ivan have told he see that db size become smaller. Ok send me dbs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 1 01:37:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 31 17:38:04 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jordan at digi-net.com Tue Feb 1 10:54:24 2005 From: jordan at digi-net.com (Ken Jordan) Date: Tue Feb 1 09:50:52 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. In-Reply-To: References: Message-ID: <41FFA630.8080105@digi-net.com> Ruslan, Thanks for getting a Windows version up. I'm wondering if maybe I'm installing it wrong? 1) I put V4RB.DLL in the REALbasic\Plugins directory 2) I put the contents of the VComponents_Win_CW directory and the vengine_win_cw directory into WINDOWS\System32\VComponents directory 3) C:\Windows\System32\VComponents is added to the Path When I do this RealBasic will no longer start. Any ideas? Thanks, Ken Ruslan Zasukhin wrote: From AYU8 at CDC.GOV Tue Feb 1 10:57:48 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Tue Feb 1 09:58:34 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. Message-ID: > Ruslan, > > Thanks for getting a Windows version up. > > I'm wondering if maybe I'm installing it wrong? > > 1) I put V4RB.DLL in the REALbasic\Plugins directory > > 2) I put the contents of the VComponents_Win_CW directory and the > vengine_win_cw directory into WINDOWS\System32\VComponents directory > > 3) C:\Windows\System32\VComponents is added to the Path > > When I do this RealBasic will no longer start. > > Any ideas? > > Thanks, > Ken Hi Ken, Did you put the individual files from the vengine_win_cw folder into the Vcomponents folder or did you put the entire vengine_win_cw folder into the Vcomponents folder. You should copy all of the _contents_ of the vengine_win_cw folder into the Vcomponents folder. At least that's what we have to do on the Mac side. Hope it works for you! -John From sunshine at public.kherson.ua Tue Feb 1 18:06:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 1 10:07:09 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. In-Reply-To: Message-ID: On 2/1/05 5:57 PM, "Sims, John" wrote: Strange I do not see Ken letter on list. >> Ruslan, >> >> Thanks for getting a Windows version up. >> >> I'm wondering if maybe I'm installing it wrong? I think yes >> 1) I put V4RB.DLL in the REALbasic\Plugins directory right >> 2) I put the contents of the VComponents_Win_CW directory and the >> vengine_win_cw directory into WINDOWS\System32\VComponents directory NO!!! >> 3) C:\Windows\System32\VComponents is added to the Path NO. Ken, instructions are on the download page. Once again read them. OPS, I see they are on the V4MD page, but not present on the V4RB page. I will fix this right now >> When I do this RealBasic will no longer start. >> >> Any ideas? >> >> Thanks, >> Ken > > Hi Ken, > > Did you put the individual files from the vengine_win_cw folder into the > Vcomponents folder or did you put the entire vengine_win_cw folder into > the Vcomponents folder. You should copy all of the _contents_ of the > vengine_win_cw folder into the Vcomponents folder. At least that's what > we have to do on the Mac side. > > Hope it works for you! > > -John > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 1 18:39:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 1 10:39:53 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. In-Reply-To: Message-ID: On 2/1/05 6:06 PM, "Ruslan Zasukhin" wrote: > Ken, instructions are on the download page. > Once again read them. > > OPS, I see they are on the V4MD page, > but not present on the V4RB page. > I will fix this right now Pages are Fixed So please read and repeat steps -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jordan at digi-net.com Tue Feb 1 12:02:05 2005 From: jordan at digi-net.com (Ken Jordan) Date: Tue Feb 1 10:58:32 2005 Subject: [V4RB] 2.0 b41 for Windows Host uploaded. In-Reply-To: References: Message-ID: <41FFB60D.2080504@digi-net.com> Hey! - Works much better if things are where they're supposed to be! Didn't think to look at V4MD page to see if there were instructions there - just did 'best guess'. But seems to work great following the directions now on V4RB page. Thanks Ruslan and John. Ken Ruslan Zasukhin wrote: >On 2/1/05 5:57 PM, "Sims, John" wrote: > >Strange I do not see Ken letter on list. > > > >>>Ruslan, >>> >>>Thanks for getting a Windows version up. >>> >>>I'm wondering if maybe I'm installing it wrong? >>> >>> > >I think yes > > > >>>1) I put V4RB.DLL in the REALbasic\Plugins directory >>> >>> > >right > > > >>>2) I put the contents of the VComponents_Win_CW directory and the >>>vengine_win_cw directory into WINDOWS\System32\VComponents directory >>> >>> > >NO!!! > > > >>>3) C:\Windows\System32\VComponents is added to the Path >>> >>> > >NO. > >Ken, instructions are on the download page. >Once again read them. > > OPS, I see they are on the V4MD page, > but not present on the V4RB page. > I will fix this right now > > > > > >>>When I do this RealBasic will no longer start. >>> >>>Any ideas? >>> >>>Thanks, >>>Ken >>> >>> >>Hi Ken, >> >>Did you put the individual files from the vengine_win_cw folder into the >>Vcomponents folder or did you put the entire vengine_win_cw folder into >>the Vcomponents folder. You should copy all of the _contents_ of the >>vengine_win_cw folder into the Vcomponents folder. At least that's what >>we have to do on the Mac side. >> >>Hope it works for you! >> >>-John >>_______________________________________________ >>Valentina-beta mailing list >>Valentina-beta@lists.macserve.net >>http://lists.macserve.net/mailman/listinfo/valentina-beta >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050201/e757efaf/attachment.html From valentina-list at vermontsoftworks.com Tue Feb 1 14:13:04 2005 From: valentina-list at vermontsoftworks.com (Erik Mueller-Harder) Date: Tue Feb 1 13:13:18 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: References: Message-ID: <66934ac07c63a563e17bcba3b68ab2e6@vermontsoftworks.com> Looks very promising, Ruslan! A couple of questions: 1. How do we handle situations where our field or line delimiter happens to exist in one of the string or binary fields we're exporting? Hmmm. Or, I can work around this by using guaranteed-unique field and line delimiters.... Can I use Unicode "private-use" code points between E000 and F8FF? 2. This is all currently done with cursors; will it be possible to do it from sets? 3. Would it be possible to create a variation, where the data stream was returned to the user in the form of a string, rather than written out to a file -- or maybe give us an option to "append" rather than replace a file? Having all of the above would let me easily create data transaction logs.... -- Erik On Jan 31, 2005, at 16:50, Ruslan Zasukhin wrote: > Hi All, > > I _very_ recommend to all check this example. > > * it show several new functions that was added to V4RB. > > * it show the new features of import/export > > * it show practically ready for use in real world dialgos of > import/export. > > Jochen, you should practically copy this dialogs into Vstudio, > and algorithms. Everything is quite simple. > This is according to import/export of text files. > > * it show the use of RAM-based tmp table (!!!) > > cool idea which did allow us quite easy resolve task > how to show the first N records of import in the dialog, > like FM and VAPP do. > > > ------ > NOTE: > > 1) we have yet 2 bugs: > > import of UTF16 is broken > import with custom Record Delimiter broken > > 2) to run example, make new db, > this create 2 tables, > first table have 2 records. > you can export T1 > then import that back into T1 or T2. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Tue Feb 1 22:49:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 1 14:49:33 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: <66934ac07c63a563e17bcba3b68ab2e6@vermontsoftworks.com> Message-ID: On 2/1/05 9:13 PM, "Erik Mueller-Harder" wrote: Hi Erik, > Looks very promising, Ruslan! > > A couple of questions: > > 1. How do we handle situations where our field or line delimiter > happens to exist in one of the string or binary fields we're exporting? > Hmmm. Or, I can work around this by using guaranteed-unique field and > line delimiters.... Can I use Unicode "private-use" code points > between E000 and F8FF? this is TEXT import, so binary and BLOBs should not be used here I think only XML can handle them, may be your own format. > 2. This is all currently done with cursors; will it be possible to do > it from sets? Have not big sense. Problem is that with Tables you cannot specify which fields to export and in which order. Cursors do this easy and perfectly. > 3. Would it be possible to create a variation, where the data stream > was returned to the user in the form of a string, rather than written > out to a file -- or maybe give us an option to "append" rather than > replace a file? Append -- interesting idea. Data stream? I do not se easy way how. In worse case you can open file, right ? > Having all of the above would let me easily create data transaction > logs.... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Wed Feb 2 11:43:01 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Feb 2 04:43:15 2005 Subject: link.linkExist function ? Message-ID: <360340BE-7507-11D9-A2B4-000D93C35C66@yahoo.fr> Hi Ruslan and list, It would maybe be interesting to have for the binary links an equivalent function of vfield.valueExist (). It would be useful to know if a binary link already exists for a record: E.g. Boolean=link1.linkExist (recId, tbA, tbB) For example, for tables M:M. Before binary linking two records of two tables, it is sometimes necessary to know if there is already no link between these two records. olivier From sunshine at public.kherson.ua Wed Feb 2 13:38:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 05:38:50 2005 Subject: link.linkExist function ? In-Reply-To: <360340BE-7507-11D9-A2B4-000D93C35C66@yahoo.fr> Message-ID: On 2/2/05 12:43 PM, "Olivier" wrote: > Hi Ruslan and list, > > It would maybe be interesting to have for the binary links an > equivalent function of vfield.valueExist (). > It would be useful to know if a binary link already exists for a record: > > E.g. > > Boolean=link1.linkExist (recId, tbA, tbB) > > For example, for tables M:M. Before binary linking two records of two > tables, it is sometimes necessary to know if there is already no link > between these two records. Agree...please add this request to Mantis -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From valentina-list at vermontsoftworks.com Wed Feb 2 07:52:25 2005 From: valentina-list at vermontsoftworks.com (Erik Mueller-Harder) Date: Wed Feb 2 06:52:38 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: References: Message-ID: On Feb 1, 2005, at 15:49, Ruslan Zasukhin wrote: >> 1. How do we handle situations where our field or line delimiter >> happens to exist in one of the string or binary fields we're >> exporting? >> Hmmm. Or, I can work around this by using guaranteed-unique field and >> line delimiters.... Can I use Unicode "private-use" code points >> between E000 and F8FF? > > this is TEXT import, so binary and BLOBs should not be used here OK; forget binary/non-text BLOBs.... Text, String, & VarChar fields, though, often contain the very characters we often delimit with (CR, tab, comma, etc.). I see that you've provided for user-specified delimiters (though I understand it's not implemented yet). Once they're working, will we be able to use any code-point as a delimiter? If so, I'll be very happy to use code points from the area I mentioned above (E000 to F8FF), which I understand are reserved for private, internal use by applications -- offering me some assurance that the text I'm importing or exporting won't contain the same code points. If not, will there at least be the capability of "escaping" the text we're exporting (and importing!) in some way so that V4RB knows that field or record delimiters it finds in my text are not actually delimiters? I'd much prefer the former solution, but the latter would probably work around the problem adequately. > I think only XML can handle them, > may be your own format. Yes, that would work, too, of course. I was thinking, though, that I might be able to save some work :-) -- and also perhaps use the *same* output for both data transaction logging *and* for backup database regeneration purposes. >> 2. This is all currently done with cursors; will it be possible to do >> it from sets? > > Have not big sense. Problem is that with Tables you cannot specify > which > fields to export and in which order. Cursors do this easy and > perfectly. You're probably right. So far, I've been able to do almost everything without resorting to SQL -- and it's made me *happy*! I'm currently adding, modifying, and deleting table records entirely without SQL, and I'd hoped I'd be able easily to issue a second command (right after AddRecord(), say) to create a log of what had been done: myTable.AddRecord() myTable.ExportRecord(transactionLogFile, append) >> 3. Would it be possible to create a variation, where the data stream >> was returned to the user in the form of a string, rather than written >> out to a file -- or maybe give us an option to "append" rather than >> replace a file? > > Append -- interesting idea. You see why it would be useful? > Data stream? I do not se easy way how. > In worse case you can open file, right ? Well, for debugging -- or potentially for on-going logging to the screen in some applications -- it would be very useful simply to have a string that contained tab- (or other character) delimited values, exactly as you're currently writing to an export file. It would probably be most useful for single-record logging (like my example above), but I suppose there'd be no reason to limit it to such use. Your import/export example excited my imagination. It seems so close to what I need.... -- Erik From sunshine at public.kherson.ua Wed Feb 2 14:59:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 07:00:03 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: Message-ID: On 2/2/05 2:52 PM, "Erik Mueller-Harder" wrote: > I'm currently adding, modifying, and deleting table records entirely > without SQL, and I'd hoped I'd be able easily to issue a second command > (right after AddRecord(), say) to create a log of what had been done: > > myTable.AddRecord() > myTable.ExportRecord(transactionLogFile, append) As far as I see, transaction log should be binary file in special format. You canot use for this TEXT file. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 2 15:01:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 07:01:39 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: Message-ID: On 2/2/05 2:52 PM, "Erik Mueller-Harder" wrote: > >> Data stream? I do not se easy way how. >> In worse case you can open file, right ? > > Well, for debugging -- or potentially for on-going logging to the > screen in some applications -- it would be very useful simply to have a > string that contained tab- (or other character) delimited values, > exactly as you're currently writing to an export file. It would > probably be most useful for single-record logging (like my example > above), but I suppose there'd be no reason to limit it to such use. I see now HOW can streams made -- via Interfaces. But Interfaces are broken in the RB plugin system. Press REAL to fix them at least for RB 6 If press them very good, may be they can fix them for RB 5.5.5 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From AYU8 at CDC.GOV Wed Feb 2 08:36:01 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Wed Feb 2 07:40:57 2005 Subject: V4RB b41, Example Advanced/ImportExport. Message-ID: > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Ruslan Zasukhin > Sent: Wednesday, February 02, 2005 8:01 AM > To: valentina-beta@lists.macserve.net > Subject: Re: V4RB b41, Example Advanced/ImportExport. > > > On 2/2/05 2:52 PM, "Erik Mueller-Harder" > wrote: > > > > >> Data stream? I do not se easy way how. > >> In worse case you can open file, right ? > > > > Well, for debugging -- or potentially for on-going logging to the > > screen in some applications -- it would be very useful > simply to have > > a string that contained tab- (or other character) delimited values, > > exactly as you're currently writing to an export file. It would > > probably be most useful for single-record logging (like my example > > above), but I suppose there'd be no reason to limit it to such use. > > I see now HOW can streams made -- via Interfaces. > > But Interfaces are broken in the RB plugin system. > Press REAL to fix them at least for RB 6 > > If press them very good, may be they can fix them for RB 5.5.5 Ruslan, I cannot find any OPEN issues in the REALbasic feedback system pertaining to interfaces being broken in the RB plugin system. Do you have an issue ID so I can make sure I "vote" for it? Thanks, John From sunshine at public.kherson.ua Wed Feb 2 15:48:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 07:49:03 2005 Subject: V4RB b41, Example Advanced/ImportExport. In-Reply-To: Message-ID: On 2/2/05 3:36 PM, "Sims, John" wrote: >> I see now HOW can streams made -- via Interfaces. >> >> But Interfaces are broken in the RB plugin system. >> Press REAL to fix them at least for RB 6 >> >> If press them very good, may be they can fix them for RB 5.5.5 > > Ruslan, > > I cannot find any OPEN issues in the REALbasic feedback system > pertaining to interfaces being broken in the RB plugin system. Do you > have an issue ID so I can make sure I "vote" for it? Actually I did not make issues. Just send to Mars and Joe and Geoff projects that reproduce 2 show stopper bugs. Mars have confirm that he see bugs. I do not believe too much in their VOTE system, Because LONG LONG has a lots of votes, and during 1.5 years any steps in this direction.... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Wed Feb 2 16:11:04 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Feb 2 09:11:17 2005 Subject: [V4RB 0000342]: we cannot delete a record of a table if this table contains a method' field. In-Reply-To: References: Message-ID: Hi, Why this report of bug was deleted? I had nevertheless verified this problem and sent a project demonstrating the bug. olivier Le 2 f?vr. 05, ? 15:58, vbt@paradigma.ukrcom.kherson.ua a ?crit : > > Le bug suivant a ?t? supprim?. > ====================================================================== > Rapporteur: olivier > Responsable: Ivan Smahin > ====================================================================== > Projet: V4RB > Bug ID: 342 > Cat?gorie: API > Reproductibilit?: toujours > S?v?rit?: mineur > Priorit?: normale > Etat: affect? > ====================================================================== > Date de soumission: 01-26-2005 18:08 EET > Derni?re modification: 01-26-2005 19:26 EET > ====================================================================== > R?sum?: we cannot delete a record of a table if > this table > contains a method' field. > Description: > we cannot delete a record of a table if this table contains a method' > field. > > constructor of table street : > > name="Street" > namestreet=new > vvarchar("nameStreet",100,EVFlag.fIndexed+evFlag.fIndexByWords) > name2=new vvarchar("name2",100,EVFlag.fIndexed,"namestreet") > > -------> CRASH if record of table street deleted. > > constructor of table street : > > name="Street" > namestreet=new > vvarchar("nameStreet",100,EVFlag.fIndexed+evFlag.fIndexByWords) > > -------> OK if record deleted ! > > little project sent to Ruslan. > > ====================================================================== > > Historique du bug > Date modifi?e Utilisateur Champ Changer > ====================================================================== > 01-26-05 18:08 olivier Nouveau bug > 01-26-05 19:26 Ruslan ZasukhinEtat nouveau => > affect? > 01-26-05 19:26 Ruslan ZasukhinAssign? ? => Ivan Smahin > 02-02-05 16:58 Ruslan ZasukhinBug supprim?: 0000342 > ====================================================================== > From jda at his.com Wed Feb 2 10:21:54 2005 From: jda at his.com (jda) Date: Wed Feb 2 09:22:06 2005 Subject: [V4RB 0000096]: Compressed fields -> Ivan can't reproduce Message-ID: I can reproduce this with my project. Ruslan, I'll send you the project with compression enabled in one field, Abstract. Import the 180 record file you aready have. You'll see the garbage characters in the Abstract field. Jon From sunshine at public.kherson.ua Wed Feb 2 17:38:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 09:38:56 2005 Subject: [V4RB 0000342]: we cannot delete a record of a table if this table contains a method' field. In-Reply-To: Message-ID: On 2/2/05 5:11 PM, "Olivier" wrote: > Hi, > > Why this report of bug was deleted? > > I had nevertheless verified this problem and sent a project > demonstrating the bug. Hmm, I remember you have told that problem is not in methods. You mean that problem still exists ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Wed Feb 2 16:51:14 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Wed Feb 2 09:51:26 2005 Subject: [V4RB 0000342]: we cannot delete a record of a table if this table contains a method' field. In-Reply-To: References: Message-ID: <44F39050-7532-11D9-A2B4-000D93C35C66@yahoo.fr> >> Why this report of bug was deleted? >> >> I had nevertheless verified this problem and sent a project >> demonstrating the bug. > > Hmm, I remember you have told that problem is not in methods. > > You mean that problem still exists ? > Yes, I have just reproduced the crash with last V4RB version. olivier. From sunshine at public.kherson.ua Wed Feb 2 17:57:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 2 09:57:23 2005 Subject: [V4RB 0000342]: we cannot delete a record of a table if this table contains a method' field. In-Reply-To: <44F39050-7532-11D9-A2B4-000D93C35C66@yahoo.fr> Message-ID: On 2/2/05 5:51 PM, "Olivier" wrote: >>> Why this report of bug was deleted? >>> >>> I had nevertheless verified this problem and sent a project >>> demonstrating the bug. >> >> Hmm, I remember you have told that problem is not in methods. >> >> You mean that problem still exists ? >> > > Yes, I have just reproduced the crash with last V4RB version. Aha, I have found your project. Guys, please in the subject of projects add bug #xxx -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 3 13:08:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 3 05:08:57 2005 Subject: FW: [kernel 0000372]: Indexes now are cached! In-Reply-To: <5bf1a36095996653cf1ec5d216caec68@paradigma.ukrcom.kheron.ua> Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------ Forwarded Message From: Date: Thu, 3 Feb 2005 12:58:22 +0200 To: Subject: [kernel 0000372]: Indexes now are cached! The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: Ruslan Zasukhin Assigned To: Ruslan Zasukhin ====================================================================== Project: kernel Issue ID: 372 Category: Indexes Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 02-03-2005 12:58 EET Last Modified: 02-03-2005 12:58 EET ====================================================================== Summary: Indexes now are cached! Description: This should give us great speed up! ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-03-05 12:58 Ruslan ZasukhinNew Issue ====================================================================== ------ End of Forwarded Message From sunshine at public.kherson.ua Thu Feb 3 13:08:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 3 05:09:00 2005 Subject: FW: [V4RB 0000368]: [NEW] Text_Compressed In-Reply-To: Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------ Forwarded Message From: Date: Wed, 2 Feb 2005 20:24:38 +0200 To: Subject: [V4RB 0000368]: [NEW] Text_Compressed The following issue has been RESOLVED. ====================================================================== ====================================================================== Reported By: Ruslan Zasukhin Assigned To: Ivan Smahin ====================================================================== Project: V4RB Issue ID: 368 Category: Examples Reproducibility: always Severity: minor Priority: normal Status: resolved Resolution: fixed Fixed in Version: 2.0 b42 ====================================================================== Date Submitted: 02-02-2005 16:45 EET Last Modified: 02-02-2005 20:24 EET ====================================================================== Summary: [NEW] Text_Compressed Description: * table with 2 text fields. * one compressed other not * add 10 records * you can simplify AddRecords example. it have 15 fields, you need only 2 fields. and you can use its navigation buttons. Both fields must show the correct strings during navigation. Exmple should be as in the API so in SQL folders ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-02-05 16:45 Ruslan ZasukhinNew Issue 02-02-05 16:46 Ruslan ZasukhinStatus new => assigned 02-02-05 16:46 Ruslan ZasukhinAssigned To => Ivan Smahin 02-02-05 20:24 Ivan Smahin Status assigned => resolved 02-02-05 20:24 Ivan Smahin Fixed in Version => 2.0 b42 02-02-05 20:24 Ivan Smahin Resolution open => fixed ====================================================================== ------ End of Forwarded Message From sunshine at public.kherson.ua Thu Feb 3 13:09:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 3 05:09:21 2005 Subject: FW: [V4RB 0000369]: Compressed fields and not decompressed when accessed using cursor. In-Reply-To: <78a49522d22aec6630ad5bebd96f6c2d@paradigma.ukrcom.kheron.ua> Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------ Forwarded Message From: Date: Wed, 2 Feb 2005 19:41:00 +0200 To: Subject: [V4RB 0000369]: Compressed fields and not decompressed when accessed using cursor. The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: Ivan Smahin Assigned To: ====================================================================== Project: V4RB Issue ID: 369 Category: Compression Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 02-02-2005 19:40 EET Last Modified: 02-02-2005 19:40 EET ====================================================================== Summary: Compressed fields and not decompressed when accessed using cursor. Description: It is bug reported by Jon Ashwell (96). The keynote here is "...using CURSOR". ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-02-05 19:40 Ivan Smahin New Issue ====================================================================== ------ End of Forwarded Message From sunshine at public.kherson.ua Thu Feb 3 13:09:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 3 05:09:30 2005 Subject: FW: [V4RB 0000370]: There is error in EVFlagConstants array definition. In-Reply-To: Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------ Forwarded Message From: Date: Wed, 2 Feb 2005 19:43:01 +0200 To: Subject: [V4RB 0000370]: There is error in EVFlagConstants array definition. The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: Ivan Smahin Assigned To: ====================================================================== Project: V4RB Issue ID: 370 Category: API Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 02-02-2005 19:43 EET Last Modified: 02-02-2005 19:43 EET ====================================================================== Summary: There is error in EVFlagConstants array definition. Description: { "fCompressed = 32" }, { "fMethod = 64" }, ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-02-05 19:43 Ivan Smahin New Issue ====================================================================== ------ End of Forwarded Message From AYU8 at CDC.GOV Thu Feb 3 08:36:18 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Thu Feb 3 07:37:30 2005 Subject: IndexStyle suggestion Message-ID: Hello Ruslan, I was thinking about IndexStyles last night and how I might need to use them in my project and I came up with a suggestion. I am not sure if it would be possible or not or if it makes reasonable sense to implement. If you like the idea, let me know and I will add it to Mantis. Currently, we have the ability to IgnoreLength and IgnoreWords. What I would like to see is the ability to "IncludeWords" which would be used in combination with IgnoreLength. As an example: MyStyle.IgnoreLength = 3 MyStyle.IncludeWords = "red" ---> actually, this would be an array So, any words with a length of 3 or less ("a", "and", "the", "but", etc.) would be ignored except for the word "red" which I would like to have indexed. I hope I have made sense. Let me know what you think and whether or not I should add the suggestion to Mantis. As always, thank you. -John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050203/e3bacea1/attachment.html From jda at his.com Thu Feb 3 08:45:18 2005 From: jda at his.com (jda) Date: Thu Feb 3 07:45:33 2005 Subject: IndexStyle suggestion In-Reply-To: References: Message-ID: >Currently, we have the ability to IgnoreLength and IgnoreWords. >What I would like to see is the ability to "IncludeWords" which >would be used in combination with IgnoreLength. As an example: > >MyStyle.IgnoreLength = 3 >MyStyle.IncludeWords = "red" ---> actually, this would be an array > >So, any words with a length of 3 or less ("a", "and", "the", "but", >etc.) would be ignored except for the word "red" which I would like >to have indexed. > The obvious corollary would be myStyle.ExcludeWords You could then intelligently ignore words you wanted to, regardless of length. I'm not sure how useful this would be, but it's a thought. Jon From AYU8 at CDC.GOV Thu Feb 3 09:06:13 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Thu Feb 3 08:11:27 2005 Subject: IndexStyle suggestion Message-ID: > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf Of jda > Sent: Thursday, February 03, 2005 8:45 AM > To: Valentina Beta > Subject: Re: IndexStyle suggestion > > > >Currently, we have the ability to IgnoreLength and IgnoreWords. > >What I would like to see is the ability to "IncludeWords" which > >would be used in combination with IgnoreLength. As an example: > > > >MyStyle.IgnoreLength = 3 > >MyStyle.IncludeWords = "red" ---> actually, this would be an array > > > >So, any words with a length of 3 or less ("a", "and", "the", "but", > >etc.) would be ignored except for the word "red" which I would like > >to have indexed. > > > > The obvious corollary would be > > myStyle.ExcludeWords > > You could then intelligently ignore words you wanted to, regardless > of length. I'm not sure how useful this would be, but it's a thought. > > Jon Hi Jon, It's already there but called "IgnoreWords". -John From jda at his.com Thu Feb 3 16:39:19 2005 From: jda at his.com (jda) Date: Fri Feb 4 12:02:20 2005 Subject: Turning compression on Message-ID: Hi Ruslan, I have a db in which no text fields are compressed. I want to change this for one text field. In my project, in the baseobject declaration, I add this line: abstract.isCompressed = true When I run it, the old db opens fine. But if I do it this way abstract = CreateTextField("abstract", 128, EVFlag.fCompressed + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) I get a nil object error when I run try to open the db. Moreover, if I make a new db and try to create a new record -> crash. So, should we avoid the EVFlag.fCompressed flag and use isCompressed=true after the field has been created? Or should I report this (minor) issue on Mantis? Jon From vidal_olivier at yahoo.fr Fri Feb 4 05:53:51 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Feb 4 12:02:27 2005 Subject: [kernel 0000372]: Indexes now are cached! In-Reply-To: References: Message-ID: Hi Ruslan and list, great ! we wait download of next beta for tests. I hope that there will not be crash anymore with big DB with indexs. olivier Le 3 f?vr. 05, ? 12:08, Ruslan Zasukhin a ?crit : > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > ------ Forwarded Message > From: > Date: Thu, 3 Feb 2005 12:58:22 +0200 > To: > Subject: [kernel 0000372]: Indexes now are cached! > > > The following issue has been SUBMITTED. > ====================================================================== > > ====================================================================== > Reported By: Ruslan Zasukhin > Assigned To: Ruslan Zasukhin > ====================================================================== > Project: kernel > Issue ID: 372 > Category: Indexes > Reproducibility: always > Severity: minor > Priority: normal > Status: assigned > ====================================================================== > Date Submitted: 02-03-2005 12:58 EET > Last Modified: 02-03-2005 12:58 EET > ====================================================================== > Summary: Indexes now are cached! > Description: > This should give us great speed up! > ====================================================================== > > Issue History > Date Modified Username Field Change > ====================================================================== > 02-03-05 12:58 Ruslan ZasukhinNew Issue > ====================================================================== > > > ------ End of Forwarded Message > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From vidal_olivier at yahoo.fr Fri Feb 4 05:55:39 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Feb 4 12:02:31 2005 Subject: API methods + binary link + M:M tables In-Reply-To: References: Message-ID: <041A8B79-7669-11D9-A3CE-000D93C35C66@yahoo.fr> Hi Ruslan, I would have maybe to put this feature request in the mantis? oliver Le 31 janv. 05, ? 16:59, Ruslan Zasukhin a ?crit : > I think we need yet extend syntax of GROUP BY in the SQL to support > Binary > Link. Because now there is no way to say > > GROUP records of PERSON that are linked to some CITY > > With ObjectPtr-link field we can do this grouping by ObjectPtr itself. > With binaryLink there is no such ability. > So we must have syntax as > > Select > From > GROUP BY link_name > > Sergey, Ivan, you see idea? From sunshine at public.kherson.ua Fri Feb 4 16:52:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 12:02:35 2005 Subject: Test ignore // list down ? Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 4 20:23:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 12:23:58 2005 Subject: API methods + binary link + M:M tables In-Reply-To: <041A8B79-7669-11D9-A3CE-000D93C35C66@yahoo.fr> Message-ID: On 2/4/05 6:55 AM, "Olivier" wrote: > Hi Ruslan, > > I would have maybe to put this feature request in the mantis? Hi Oliver, I think it is there already in the project KERNEL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From IvanSmahin at public.kherson.ua Fri Feb 4 20:50:24 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Feb 4 12:50:28 2005 Subject: Turning compression on In-Reply-To: References: Message-ID: <1502804415.20050204205024@public.kherson.ua> Hello jda, Thursday, February 3, 2005, 11:39:19 PM, you wrote: j> Hi Ruslan, j> I have a db in which no text fields are compressed. I want to change j> this for one text field. j> In my project, in the baseobject declaration, I add this line: j> abstract.isCompressed = true j> When I run it, the old db opens fine. j> But if I do it this way j> abstract = CreateTextField("abstract", 128, EVFlag.fCompressed j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) j> I get a nil object error when I run try to open the db. j> Moreover, if I make a new db and try to create a new record -> crash. j> So, should we avoid the EVFlag.fCompressed flag and use j> isCompressed=true after the field has been created? Or should I j> report this (minor) issue on Mantis? j> Jon j> _______________________________________________ j> Valentina-beta mailing list j> Valentina-beta@lists.macserve.net j> http://lists.macserve.net/mailman/listinfo/valentina-beta It's fixed already - just a couple days ago. (id=370) -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From jda at his.com Fri Feb 4 14:13:03 2005 From: jda at his.com (jda) Date: Fri Feb 4 13:13:17 2005 Subject: Turning compression on In-Reply-To: <1502804415.20050204205024@public.kherson.ua> References: <1502804415.20050204205024@public.kherson.ua> Message-ID: > > >j> In my project, in the baseobject declaration, I add this line: > >j> abstract.isCompressed = true > >j> When I run it, the old db opens fine. > > >j> But if I do it this way > >j> abstract = CreateTextField("abstract", 128, EVFlag.fCompressed >j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) > >j> I get a nil object error when I run try to open the db. > >j> Moreover, if I make a new db and try to create a new record -> crash. > >j> So, should we avoid the EVFlag.fCompressed flag and use >j> isCompressed=true after the field has been created? Or should I >j> report this (minor) issue on Mantis? > > >It's fixed already - just a couple days ago. >(id=370) > Thanks for the info, Ivan. BTW, is one way better than the other (the flag vs. the boolean after the field is created)? Jon From sunshine at public.kherson.ua Fri Feb 4 21:46:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 13:46:34 2005 Subject: Turning compression on In-Reply-To: Message-ID: On 2/4/05 9:13 PM, "jda" wrote: >> j> In my project, in the baseobject declaration, I add this line: >> >> j> abstract.isCompressed = true >> >> j> When I run it, the old db opens fine. >> >> >> j> But if I do it this way >> >> j> abstract = CreateTextField("abstract", 128, EVFlag.fCompressed >> j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) >> >> j> I get a nil object error when I run try to open the db. >> >> j> Moreover, if I make a new db and try to create a new record -> crash. >> >> j> So, should we avoid the EVFlag.fCompressed flag and use >> j> isCompressed=true after the field has been created? Or should I >> j> report this (minor) issue on Mantis? >> >> >> It's fixed already - just a couple days ago. >> (id=370) >> > > Thanks for the info, Ivan. BTW, is one way better than the other (the > flag vs. the boolean after the field is created)? flags in constructor are better, because AFTER THAT you change existed field. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From IvanSmahin at public.kherson.ua Fri Feb 4 21:51:04 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Feb 4 13:51:08 2005 Subject: Turning compression on In-Reply-To: References: <1502804415.20050204205024@public.kherson.ua> Message-ID: <404373444.20050204215104@public.kherson.ua> Hello jda, Friday, February 4, 2005, 9:13:03 PM, you wrote: >> >> >>j> In my project, in the baseobject declaration, I add this line: >> >>j> abstract.isCompressed = true >> >>j> When I run it, the old db opens fine. >> >> >>j> But if I do it this way >> >>j> abstract = CreateTextField("abstract", 128, EVFlag.fCompressed >>j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) >> >>j> I get a nil object error when I run try to open the db. >> >>j> Moreover, if I make a new db and try to create a new record -> crash. >> >>j> So, should we avoid the EVFlag.fCompressed flag and use >>j> isCompressed=true after the field has been created? Or should I >>j> report this (minor) issue on Mantis? >> >> >>It's fixed already - just a couple days ago. >>(id=370) >> j> Thanks for the info, Ivan. BTW, is one way better than the other (the j> flag vs. the boolean after the field is created)? j> Jon j> _______________________________________________ j> Valentina-beta mailing list j> Valentina-beta@lists.macserve.net j> http://lists.macserve.net/mailman/listinfo/valentina-beta I think here is no difference which way you choose. But in case of the "flag" - you set all properties at once. So it seems to be more preferable way. BTW - our test for compress not-empty text-field is passed well. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From jda at his.com Fri Feb 4 15:20:47 2005 From: jda at his.com (jda) Date: Fri Feb 4 14:20:56 2005 Subject: Turning compression on In-Reply-To: <404373444.20050204215104@public.kherson.ua> References: <1502804415.20050204205024@public.kherson.ua> <404373444.20050204215104@public.kherson.ua> Message-ID: > > >BTW - our test for compress not-empty text-field is passed well. > Thank you. Jon From vidal_olivier at yahoo.fr Sat Feb 5 14:49:50 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Sat Feb 5 07:49:59 2005 Subject: collations Message-ID: Hi Ruslan and list, Collations seem very practical but I read that they slowed down the data processing a lot. Is it true? For example, some of you use the "collationstrength=0" ? in Valentina 1, I used for a field " CityName ", a second field " uppercase ( cityname ) " (method) to examine and comparisons easily. it's big but fast. Ruslan, you wrote : "Yes, I think REGEX should take into account the current settings of field. On the other hand I am not sure that REGEX uses Collator. We need read cods on this. Igor, please check this point and tell us." I did not find the answer. REGEX uses collations ? thank you olivier From jda at his.com Sat Feb 5 09:11:52 2005 From: jda at his.com (jda) Date: Sat Feb 5 08:12:03 2005 Subject: collations In-Reply-To: References: Message-ID: Hi Olivier, >Collations seem very practical but I read that they slowed down the >data processing a lot. >Is it true? For example, some of you use the "collationstrength=0" ? > >in Valentina 1, I used for a field " CityName ", a second field " >uppercase ( cityname ) " (method) to examine and comparisons easily. >it's big but fast. > >Ruslan, you wrote : > >"Yes, I think REGEX should take into account the current settings of field. >On the other hand I am not sure that REGEX uses Collator. > >We need read cods on this. > >Igor, please check this point and tell us." > >I did not find the answer. REGEX uses collations ? Hm, I don't see how it can. For example, in my case the collation strength is set as CollationAttribute(EVColAttribute.kStrength) = EVColAttributeValue.kSecondary This ignores case, but not accents, and works fine for SQL searches. But for RegEx, case *is* considered unless I add (?i) to the search. So RegEx ignores the collation strength attribute, at least in this instance. Jon From vidal_olivier at yahoo.fr Sat Feb 5 15:58:34 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Sat Feb 5 08:58:40 2005 Subject: collations In-Reply-To: References: Message-ID: <683B9A59-7786-11D9-87A5-000D93C35C66@yahoo.fr> Le 5 f?vr. 05, ? 15:11, jda a ?crit : > Hm, I don't see how it can. For example, in my case the collation > strength is set as > > CollationAttribute(EVColAttribute.kStrength) = > EVColAttributeValue.kSecondary > > This ignores case, but not accents, and works fine for SQL searches. > > But for RegEx, case *is* considered unless I add (?i) to the search. > So RegEx ignores the collation strength attribute, at least in this > instance. OK, thank you very much Jon. I made tests of speed. In a lot of case, the queries with collations are almost also fast as without collations. ( Except for big selections WITH big results. There, he can have 30 in 50 % of difference). have a good day olivier From sunshine at public.kherson.ua Sat Feb 5 17:01:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 5 09:01:30 2005 Subject: collations In-Reply-To: Message-ID: On 2/5/05 3:49 PM, "Olivier" wrote: Hi Oliver, > Collations seem very practical but I read that they slowed down the > data processing a lot. > Is it true? For example, some of you use the "collationstrength=0" ? Jon use it. Actually I think this will be the main option for all who what case-insensitive searches and sorting. Collation affect result of 2 strings comparisons. So index of Valentina depend on collation. Search will EACTLY not affect by collation. > in Valentina 1, I used for a field " CityName ", a second field " > uppercase ( cityname ) " (method) to examine and comparisons easily. > it's big but fast. Agree that its more simple to use collation = 0 For the whole database. > Ruslan, you wrote : > > "Yes, I think REGEX should take into account the current settings of > field. On the other hand I am not sure that REGEX uses Collator. > We need read cods on this. > > Igor, please check this point and tell us." > I did not find the answer. REGEX uses collations ? I afraid still no. Hmm, we can easy check this. Example IndexByWords should demonstrate it. It seems it have options for LIKE/REGEX ? If no, it is good idea to add them. I think it is very logical that IF we set F1 to collation = 0, Then LIKE and REGEX must ignore case also. AT LEAST this should work for Like, Because REGEX have own options to control Case. -I -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 5 17:01:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 5 09:01:33 2005 Subject: collations In-Reply-To: Message-ID: On 2/5/05 4:11 PM, "jda" wrote: >> I did not find the answer. REGEX uses collations ? > > Hm, I don't see how it can. For example, in my case the collation > strength is set as > > CollationAttribute(EVColAttribute.kStrength) = EVColAttributeValue.kSecondary > > This ignores case, but not accents, and works fine for SQL searches. > > But for RegEx, case *is* considered unless I add (?i) to the search. > So RegEx ignores the collation strength attribute, at least in this > instance. Right, the same I think is for LIKE now. But for LIKE I think we can change things. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 5 17:02:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 5 09:02:36 2005 Subject: collations In-Reply-To: <683B9A59-7786-11D9-87A5-000D93C35C66@yahoo.fr> Message-ID: On 2/5/05 4:58 PM, "Olivier" wrote: >> Hm, I don't see how it can. For example, in my case the collation >> strength is set as >> >> CollationAttribute(EVColAttribute.kStrength) = >> EVColAttributeValue.kSecondary >> >> This ignores case, but not accents, and works fine for SQL searches. >> >> But for RegEx, case *is* considered unless I add (?i) to the search. >> So RegEx ignores the collation strength attribute, at least in this >> instance. > > OK, thank you very much Jon. > > I made tests of speed. In a lot of case, the queries with collations > are almost also fast as without collations. > ( Except for big selections WITH big results. There, he can have 30 in > 50 % of difference). You have test speed of what ? Index search must practically NOT depend on collation, Because even for million of records we will make max 20 comparisons. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Feb 5 10:15:17 2005 From: jda at his.com (jda) Date: Sat Feb 5 09:15:28 2005 Subject: collations In-Reply-To: References: Message-ID: > > > But for RegEx, case *is* considered unless I add (?i) to the search. >> So RegEx ignores the collation strength attribute, at least in this >> instance. > >Right, the same I think is for LIKE now. >But for LIKE I think we can change things. > *After* 2.0 is released, please! :-) Jon From vidal_olivier at yahoo.fr Sat Feb 5 16:37:43 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Sat Feb 5 09:37:50 2005 Subject: collations In-Reply-To: References: Message-ID: > Jon use it. > > Actually I think this will be the main option for all who what > case-insensitive searches and sorting. > > Collation affect result of 2 strings comparisons. > So index of Valentina depend on collation. > > Search will EACTLY not affect by collation. > Agree that its more simple to use collation = 0 > For the whole database. > > ok Ruslan, it is great to have collations in Valentina ! have a good day olivier From sunshine at public.kherson.ua Sun Feb 6 23:03:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 6 15:03:24 2005 Subject: [V4RB] 2.0 b42 uploaded Message-ID: Hi All, So this b42 at last of end here. - Frank, your project must work now. kernel - 2.0 b42 ================ - 0000378: [FBL Nodes] Wrong result using such sintax: alias_name.pointer_name->Pointed_field. (Ivan Smahin) - 0000382: [Join of tables] Incorrect join result when joining 2 tables. (Igor Gomon) - 0000377: [SQL nodes] Unable to create ObjectPtr field pointed to another table in "create table" operation. (Ivan Smahin) - 0000375: [Join of tables] No participant-tables' RecID and OID fields in the join-result table. (Ivan Smahin) - 0000372: [Indexes] Indexes now are cached! (Ruslan Zasukhin) - 0000371: [Methods (calculated fields)] Crash on delete record with VarChar methods. (Olivier report) (Ivan Smahin) V4RB - 2.0 b42 ============== - 0000363: [SQL] Outer Joins not working (Ivan Smahin) - 0000368: [Examples] [NEW] Text_Compressed (Ivan Smahin) - 0000369: [Compression] Compressed fields and not decompressed when accessed using cursor. (Ivan Smahin) - 0000370: [API] There is error in EVFlagConstants array definition. (Ivan Smahin) - 0000325: [SQL] Indexed searches fail with large indexes (Ruslan Zasukhin) - 0000361: [API] BlobField.ReadRawData requires parameter (Ruslan Zasukhin) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050206/9f52cfcb/attachment.html From sunshine at public.kherson.ua Sun Feb 6 23:07:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 6 15:07:20 2005 Subject: [V4RB] 2.0 b42 uploaded Message-ID: Hi All, So this b42 at last of end here. - The main news of this release CACHED INDEXES. this should speed up a lots comparing to prev betas. so let me know your feeling now. I see that 2.0 still is slow of 1.x on some operations. Now this is task of profiling and tuning. - Frank, your project must work now. really was bug in the join. - Jon, a lots of points with compression was fixed. Added 2 examples on compression. so let?s hope it will work for you. - Oliver, we work on improvements to support GROUP BY for links, to be able resolve your query: for each city find people with the same surname... I hope b43 will have solution for this. kernel - 2.0 b42 ================ - 0000378: [FBL Nodes] Wrong result using such sintax: alias_name.pointer_name->Pointed_field. (Ivan Smahin) - 0000382: [Join of tables] Incorrect join result when joining 2 tables. (Igor Gomon) - 0000377: [SQL nodes] Unable to create ObjectPtr field pointed to another table in "create table" operation. (Ivan Smahin) - 0000375: [Join of tables] No participant-tables' RecID and OID fields in the join-result table. (Ivan Smahin) - 0000372: [Indexes] Indexes now are cached! (Ruslan Zasukhin) - 0000371: [Methods (calculated fields)] Crash on delete record with VarChar methods. (Olivier report) (Ivan Smahin) V4RB - 2.0 b42 ============== - 0000363: [SQL] Outer Joins not working (Ivan Smahin) - 0000368: [Examples] [NEW] Text_Compressed (Ivan Smahin) - 0000369: [Compression] Compressed fields and not decompressed when accessed using cursor. (Ivan Smahin) - 0000370: [API] There is error in EVFlagConstants array definition. (Ivan Smahin) - 0000325: [SQL] Indexed searches fail with large indexes (Ruslan Zasukhin) - 0000361: [API] BlobField.ReadRawData requires parameter (Ruslan Zasukhin) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050206/28380650/attachment-0001.html From jda at his.com Sun Feb 6 17:05:10 2005 From: jda at his.com (jda) Date: Sun Feb 6 16:05:23 2005 Subject: [V4RB] 2.0 b42 uploaded In-Reply-To: References: Message-ID: First impression: 1. Importing records is much faster -- great! I think it's still not as fast as v1.x (as you said), but much better. 2. The large index search bug is fixed. 3. Compression at least doesn't crash. And the text that is read in is readable! I don't know if it is really compressed -- I have to do more testing for that. 4. Conversion from 1.x to 2.x still has some problems: (a) the file size is still too large (whether I set the segment size to 512 or 1024, the segmentsize is set to 1024 (I see this in viSQL). So I don't think that was changed yet. (b) some fields are lost in the conversion -- they are string fields. I'll keep working on it. Thanks. Jon From jda at his.com Sun Feb 6 17:21:28 2005 From: jda at his.com (jda) Date: Sun Feb 6 16:21:32 2005 Subject: [V4RB] 2.0 b42 uploaded In-Reply-To: References: Message-ID: >- Jon, a lots of points with compression was fixed. > Added 2 examples on compression. > so let's hope it will work for you. > Where are they? I don't see any examples for this. But it does seem to work for me just by adding the fCompressed flag. I imported 180 records into a compressed db (one field only) -> 1.5 MB. The same records into an uncompressed db -> 1.7 MB. Jon From sunshine at public.kherson.ua Mon Feb 7 09:00:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 01:01:04 2005 Subject: [V4RB] 2.0 b42 uploaded In-Reply-To: Message-ID: On 2/7/05 12:21 AM, "jda" wrote: >> - Jon, a lots of points with compression was fixed. >> Added 2 examples on compression. >> so let's hope it will work for you. >> > > Where are they? I don't see any examples for this. Really. I will check CVS > But it does seem to work for me just by adding the fCompressed flag. > I imported 180 records into a compressed db (one field only) -> 1.5 > MB. The same records into an uncompressed db -> 1.7 MB. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From AYU8 at CDC.GOV Mon Feb 7 08:38:17 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Mon Feb 7 07:38:33 2005 Subject: IndexStyle suggestion - Repost Message-ID: Hello Ruslan, I posted this last week and never saw you comment on it so I thought I'd repost it in case it didn't make it to you... I was thinking about IndexStyles last night and how I might need to use them in my project and I came up with a suggestion. I am not sure if it would be possible or not or if it makes reasonable sense to implement. If you like the idea, let me know and I will add it to Mantis. Currently, we have the ability to IgnoreLength and IgnoreWords. What I would like to see is the ability to "IncludeWords" which would be used in combination with IgnoreLength. As an example: MyStyle.IgnoreLength = 3 MyStyle.IncludeWords = "red" ---> actually, this would be an array So, any words with a length of 3 or less ("a", "and", "the", "but", etc.) would be ignored except for the word "red" which I would like to have indexed. I hope I have made sense. Let me know what you think and whether or not I should add the suggestion to Mantis. As always, thank you. -John From sunshine at public.kherson.ua Mon Feb 7 16:20:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 08:21:08 2005 Subject: Valentina In-Reply-To: Message-ID: On 2/7/05 4:04 PM, "Andy Fuchs" wrote: Hi Andy, > thanks for the Link & sorry to ask you again: > > 1) is there some documentation which files are REQUIRED by my application (I > need to make a _very_ small application (only MacOS X), but can't find > information which files I can leave out) Hmm, Valentina 2.0 is NOT small. It is very big now! You need the whole Vcomponents folder (about 10-12 MB) And the small V4RB plguin (300KB) Vcomponents include 4 DLLS from IBM ICU library. one big file is 8MB, they say it is possible drop it down to 3MB. this is the only we can reduce. Vegnine.dll now is more than 3MB itself. > 1a) Can I exclude these files from authoring as well? No. only small Vclient.dll can be removed. And VDK.dll (1.3 MB) if you will not convert from 1.x -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 7 16:33:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 08:33:21 2005 Subject: IndexStyle suggestion - Repost In-Reply-To: Message-ID: On 2/7/05 3:38 PM, "Sims, John" wrote: Hi John, > Hello Ruslan, I posted this last week and never saw you comment on it so > I thought I'd repost it in case it didn't make it to you... That 3 letters still marked unread here. Just was very busy > I was thinking about IndexStyles last night and how I might need to use > them in my project and I came up with a suggestion. I am not sure if it > would be possible or not or if it makes reasonable sense to implement. > If you like the idea, let me know and I will add it to Mantis. > Currently, we have the ability to IgnoreLength and IgnoreWords. What I > would like to see is the ability to "IncludeWords" which would be used > in combination with IgnoreLength. > > As an example: > MyStyle.IgnoreLength = 3 > MyStyle.IncludeWords = "red" ---> actually, this would be an array I see, i.e. Return back some words. I think this is good idea. > So, any words with a length of 3 or less ("a", "and", "the", "but", > etc.) would be ignored except for the word "red" which I would like to > have indexed. > I hope I have made sense. Let me know what you think and whether or not > I should add the suggestion to Mantis. Yes, add this -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From AYU8 at CDC.GOV Mon Feb 7 09:39:01 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Mon Feb 7 08:43:51 2005 Subject: IndexStyle suggestion - Repost Message-ID: Will do. Thanks Ruslan! > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Ruslan Zasukhin > Sent: Monday, February 07, 2005 9:33 AM > To: valentina-beta@lists.macserve.net > Subject: Re: IndexStyle suggestion - Repost > > > On 2/7/05 3:38 PM, "Sims, John" wrote: > > Hi John, > > > Hello Ruslan, I posted this last week and never saw you > comment on it > > so I thought I'd repost it in case it didn't make it to you... > > That 3 letters still marked unread here. > Just was very busy > > > I was thinking about IndexStyles last night and how I might need to > > use them in my project and I came up with a suggestion. I > am not sure > > if it would be possible or not or if it makes reasonable sense to > > implement. If you like the idea, let me know and I will add it to > > Mantis. > > > Currently, we have the ability to IgnoreLength and > IgnoreWords. What > > I would like to see is the ability to "IncludeWords" which would be > > used in combination with IgnoreLength. > > > > As an example: > > MyStyle.IgnoreLength = 3 > > MyStyle.IncludeWords = "red" ---> actually, this would be an array > > I see, i.e. Return back some words. > I think this is good idea. > > > So, any words with a length of 3 or less ("a", "and", "the", "but", > > etc.) would be ignored except for the word "red" which I > would like to > > have indexed. I hope I have made sense. Let me know what you think > > and whether or not I should add the suggestion to Mantis. > > Yes, add this > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Mon Feb 7 17:48:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 09:48:32 2005 Subject: REMIND: please for bug projects/files add "bug #xxx" Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 7 20:25:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 12:25:57 2005 Subject: [TIP!] SQL. New operator -> Message-ID: Hi All, Especially SQL lovers. In this section I want introduce to you the new feature of Valentina 2.0 SQL operator -> * this feature is part of SQL99 btw. * so Let you have in table Person the ObjectPtr field to table City. City - Person as 1 : M * Let you want to see all persons and name of city where he lives. What query you will do? Right, you will use JOIN: SELECT City.Name, Person.Name, Person.Surname, FROM City join Person ON city.RecID = Person.CityPtr * Now ... take a brief! :-) With 2.0 you can do this without join, Your query is more simple and really more effective: SELECT CityPtr->Name, Name, Surname, FROM Person As you see do query for SINGLE TABLE. And we can pull into result table the fields from related ONE table(s)! For this we use operator -> * This operator must work with ObjectPtr, FK fields and with link_name (i.e. Again ObjectPtr, FK but with BinaryLink also) --------------------- -------------- ------ Oliver, your task with BinaryLink must looks as SELECT link_city_person->cityName, p.surname, count(*) FROM Person p GROUP BY link_city_person, p.surname This will show City, Surname and how much people have it in this city. This is what we will try to implement -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 7 22:08:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 14:08:51 2005 Subject: [TIP!] SQL. New operator -> In-Reply-To: Message-ID: Frank Schima (8:32:53 PM): That -> operator is AWESOME Frank Schima (8:33:02 PM): That will simplify many SQLs for me. Frank Schima (8:35:50 PM): I will be doing lots of changes to my project now. Frank Schima (8:35:59 PM): I think i can convert to V2 exclusively now. Frank Schima (8:36:39 PM): Are there other cool SQL99 things to know? Frank Schima (8:36:45 PM): I am not too familiar with it. rz (8:37:12 PM): no, this is only thing that I have too see and fall in love Frank Schima (8:37:23 PM): OK Frank Schima (8:37:26 PM): Yes it is great rz (8:37:37 PM): cool new features are link functions rz (8:37:45 PM): you can read in Valentina SQL.pdf Frank Schima (8:37:46 PM): I really need to play with those. Frank Schima (8:37:48 PM): Yes rz (8:38:00 PM): they also simplify a lots SQL rz (8:38:05 PM): VERY VERY A LOTS. rz (8:38:16 PM): some kind of query that are not trivial rz (8:38:30 PM): even expert was not able write correct SQL92 query in say 10 minutes rz (8:38:53 PM): this link functions allow even dummy user write it in natural way in 5 seconds Frank Schima (8:38:59 PM): Wow Frank Schima (8:39:05 PM): I really need to check this out. Frank Schima (8:39:14 PM): and change my structure then. Frank Schima (8:39:52 PM): Remove M:M tables. Frank Schima (8:39:59 PM): Add links. rz (8:40:07 PM): aha, to BinaryLinks? rz (8:40:13 PM): yes this is cool IMHO rz (8:40:34 PM): although you can replace only M:M table that do not have additional fields Frank Schima (8:40:42 PM): right rz (8:40:51 PM): i..e you can replace only M:M tables that have 2 ptrs Frank Schima (8:40:56 PM): exactly Frank Schima (8:41:18 PM): I see now. Frank Schima (8:41:25 PM): Link functions are different than what i was thinking. Frank Schima (8:41:36 PM): They look cool too. Frank Schima (8:42:18 PM): you will change my life!!! Frank Schima (8:42:19 PM): :) rz (8:42:30 PM): I hope they will work :-) Frank Schima (8:43:36 PM): Yes this is too cool!!! I am reading Frank Schima (8:43:50 PM): I was looking at a SQL just now that can use these. Frank Schima (8:44:07 PM): They also remove joins!!! Frank Schima (8:44:18 PM): i may never need an outer join again!!! rz (8:45:09 PM): :-)) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050207/c4554a8d/attachment-0001.html From sunshine at public.kherson.ua Tue Feb 8 00:00:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 16:00:51 2005 Subject: [V4RB] 2.0 b43 uploaded Message-ID: kernel - 2.0 b43 ================ - 0000391: [Join of tables] TableStorage_Join::get_PhysicalRecordCount() returns 0. (Ivan Smahin) - 0000390: [SQL] Some refactoring for "count" aggregat. function needed. (Ivan Smahin) - 0000381: [SQL] Something wrong in BuildGroups(). (Ruslan Zasukhin) - 0000386: [SQL] There is zero count(fld) result in some cases. (Ivan Smahin) - 0000384: [SQL] Group by does not check selectList for group-by-rules. (Ivan Smahin) 0000380: [SQL nodes] Wrong result using pointer_name->Pointed_field in select list of "group by" result. (Ivan Smahin) V4RB - 2.0 b43 ============== - 0000388: [API] Setblank in a cursor fails (Ruslan Zasukhin) - 0000376: [API-way] "findStartWith" do not work if the field is Unique (Ruslan Zasukhin) - 0000385: [API-way] bug with "FindStartWith" (Ruslan Zasukhin) - 0000360: [Import/Export] cursor.ImportText crashes with too many fields (Igor Gomon) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050208/847d8b14/attachment.html From jda at his.com Mon Feb 7 17:34:10 2005 From: jda at his.com (jda) Date: Mon Feb 7 16:34:22 2005 Subject: [V4RB] 2.0 b43 uploaded In-Reply-To: References: Message-ID: > >V4RB - 2.0 b43 >============== >- 0000388: [API] Setblank in a cursor fails (Ruslan Zasukhin) Fixed. There still seems to be something terribly wrong with blobs (at least I think it is blobs), though. I'm getting corrupted (dead) databases and Preferences (a database) routinely. I have to through them away. This didn't happen with b41. Jon From sunshine at public.kherson.ua Tue Feb 8 10:07:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 02:07:26 2005 Subject: [V4RB] 2.0 b43 uploaded In-Reply-To: Message-ID: On 2/8/05 12:34 AM, "jda" wrote: >> >> V4RB - 2.0 b43 >> ============== >> - 0000388: [API] Setblank in a cursor fails (Ruslan Zasukhin) > > Fixed. > > There still seems to be something terribly wrong with blobs (at least > I think it is blobs), though. I'm getting corrupted (dead) databases > and Preferences (a database) routinely. I have to through them away. > This didn't happen with b41. Jon, When you will online, let me know, I will send you another build -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 8 20:48:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 12:48:30 2005 Subject: [V4RB 0000387]: Some fields empty or incorrect after Convert_1_2 In-Reply-To: Message-ID: On 2/8/05 7:40 PM, "jda" wrote: >> >>> >>> This is the best I can diagnose without knowing more. I'm attaching >>> the db I sent you (APA 4th Edition) after conversion with *your* >>> example. I think Ivan or Igor should be able to see this. >> >> Jon, >> >> You have sent me db in 2.0 format. >> >> I need 1.x db Well, This is just a feature of 2.0 BLOB field answer on GetString() as NUMBER of the first segment for this BLOB record. I not remember, 1.x have show string with HEX values of data? Well, this is also not best solution IMHO. Any other problems, Jon with convert except this numbers ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vbt at paradigma.ukrcom.kherson.ua Wed Feb 9 11:16:16 2005 From: vbt at paradigma.ukrcom.kherson.ua (vbt@paradigma.ukrcom.kherson.ua) Date: Wed Feb 9 04:22:23 2005 Subject: [kernel 0000397]: [BUG] fixed, introduced as result of index caching. Message-ID: The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: Ruslan Zasukhin Assigned To: Ruslan Zasukhin ====================================================================== Project: kernel Issue ID: 397 Category: Indexes Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 02-09-2005 11:16 EET Last Modified: 02-09-2005 11:16 EET ====================================================================== Summary: [BUG] fixed, introduced as result of index caching. Description: I have forget mark a cache page to be dirty after split. the same must be made after join of pages. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-09-05 11:16 Ruslan ZasukhinNew Issue ====================================================================== From sunshine at public.kherson.ua Wed Feb 9 21:56:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 13:56:22 2005 Subject: [V4RB] 2.0 b44 uploaded Message-ID: kernel - 2.0 b44 ================ - 0000398: [Indexes] [BUG] index on byte field loose cached pages. (Ruslan Zasukhin) - 0000396: [Import/Export] NULL values not exported properly. (Igor Gomon) - 0000397: [Indexes] [BUG] fixed, introduced as result of index caching. (Ruslan Zasukhin) V4RB - 2.0 b44 ============== - 0000395: [Import/Export] ImportText can crash with too many fields in text file (Igor Gomon) - 0000392: [API] Importing many records -> corruption of my Preferences database (Ruslan Zasukhin) - 0000393: [SQL] Fancy new -> operator crashes when using ORDER BY (Ivan Smahin) - 0000394: [Import/Export] Importing a blank Date returns "00/00/2000" instead of NULL (Igor Gomon) --------------------- b44 also make sure that new SQL99 operator -> works in both SELECT ptr->a1, T2.ptr->a1 FROM T2 WHERE ptr->a1 = 55 and T2.b4 > 16 As you see this cool new feature allow you avoid joins in some (many?!) cases. Operator -> do not work for now in the ORDER BY. Frank, we will be many thanks to you for your inventions Where and how you was able this new -> -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050209/ef40f383/attachment.html From sunshine at public.kherson.ua Wed Feb 9 21:58:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 13:58:34 2005 Subject: V4RB and V4MD updated DOCS uploaded. Message-ID: Hi All, Please download new versions of PDF files. They are polished on 99% I think. Also they have contents now. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 9 22:05:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 14:05:24 2005 Subject: [V4RB] 2.0 b44 uploaded In-Reply-To: Message-ID: On 2/9/05 9:56 PM, "Ruslan Zasukhin" wrote: > --------------------- > b44 also make sure that new SQL99 operator -> works in both > > SELECT ptr->a1, T2.ptr->a1 > FROM T2 > WHERE ptr->a1 = 55 and T2.b4 > 16 > > As you see this cool new feature allow you avoid joins > in some (many?!) cases. > > Operator -> do not work for now in the ORDER BY. > > Frank, we will be many thanks to you for your inventions > Where and how you was able this new -> BTW, Oliver, SELECT ptr->a1, This is first part of your task to do GROUP BY on binary link. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 9 15:10:04 2005 From: jda at his.com (jda) Date: Wed Feb 9 14:10:17 2005 Subject: [V4RB] 2.0 b44 uploaded In-Reply-To: References: Message-ID: >- 0000397: [Indexes] [BUG] fixed, introduced as result of index >caching. (Ruslan Zasukhin) > Looks like this fixed the damaged database on import (indexed search -> crash is fixed)! Jon From sunshine at public.kherson.ua Wed Feb 9 22:27:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 14:27:17 2005 Subject: [V4RB] 2.0 b44 uploaded In-Reply-To: Message-ID: On 2/9/05 10:10 PM, "jda" wrote: >> - 0000397: [Indexes] [BUG] fixed, introduced as result of index >> caching. (Ruslan Zasukhin) >> > > Looks like this fixed the damaged database on import (indexed search > -> crash is fixed)! Yes this was bad bug. Damaged bug was in mantis ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 9 15:30:25 2005 From: jda at his.com (jda) Date: Wed Feb 9 14:30:32 2005 Subject: [V4RB] 2.0 b44 uploaded In-Reply-To: References: Message-ID: >Yes this was bad bug. > >Damaged bug was in mantis ? > It was appended to bug #392 in a note (I didn't know they were separate when I filed the bug). The damage to the Preferences database was fixed in b43 (and so #392 was closed). But the damage to the db I was importing into wasn't fixed until b44. Jon From ralf at end-if.de Thu Feb 10 00:42:31 2005 From: ralf at end-if.de (Ralf Sander) Date: Wed Feb 9 17:42:39 2005 Subject: cursor/api Message-ID: Hi list, I am currently at a point where I have to decide to use sql or api way in my application (Realbasic / Multiuser invironment -Vserver) But I think, I did not really understand yet, how the new api will work in Server mode. The app: Records will be displayed in a custom canvas (draw event gets data directly from cursor) Many users should be able to view the same records, Records can be added to a view and views can be sorted I did some testing with a single user database and don't really know if this transferable. Cursor way: I need to use "knolocks" because "kreadonly" lets only one user read a record. Works good so far. If a record has been deleted outside the cursor, the record has just no values in the cursor, the record don't become nil. Also no problem with reused RecIDs. Will I get the same results with a served database? But I see a possible problem with speed. I have to store a sql search request as a string for the current view of one user. If the user adds a (existing-not new) record to the current view, the sql request has to be modified and re-performed. Could this be a problem, if the current search is very complex respectively would the api way be much faster? Api way: The new api way is much more flexible, Adding records to a found set, sorting etc. But: Because its all based on RecIDs, which will be reused, does this work in an multiuser invironment? Example: mDataBase.mPerson.Field("string_fld").FindContains("aa") returns a Vset with 10 records, which I use for displaying. If I delete the first record with mDataBase.mPerson.DeleteRecord, the iterator still loopes 10 times returning the value of record 2 for the deleted record 1. Or will I have to create my own structure to ensure not to get deleted records or records with reused recids? Cheers, Ralf From sunshine at public.kherson.ua Thu Feb 10 02:19:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 18:20:03 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 1:42 AM, "Ralf Sander" wrote: Hi Ralf > I am currently at a point where I have to decide to use sql or api way > in my application (Realbasic / Multiuser invironment -Vserver) > But I think, I did not really understand yet, how the new api will work > in Server mode. First point: if server going to be REMOTE, via inet or other slow network then do not use API. API for server only can be accepted if you use it on the local fast network. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 02:26:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 18:26:22 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 1:42 AM, "Ralf Sander" wrote: > The app: > Records will be displayed in a custom canvas (draw event gets data > directly from cursor) > Many users should be able to view the same records, Records can be > added to a view and views can be sorted I think go by SQL/cursor way. You will need record locks and son. > I did some testing with a single user database and don't really know if > this transferable. If you specify in the code correct parameters for SqlSelect, then yes. You should develop local code, thinking that you work with remote. Set the same loc types and so on. For local this is not important, for remote it will work correctly -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 02:32:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 18:32:44 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 1:42 AM, "Ralf Sander" wrote: > Cursor way: > I need to use "knolocks" because "kreadonly" lets only one user read a > record. NO! Many users can read. Nobody will not be able write. > Works good so far. If a record has been deleted outside the cursor, the > record has just no values in the cursor, the record don't become nil. > Also no problem with reused RecIDs. Will I get the same results with a > served database? Yes, but you describe strange things. > But I see a possible problem with speed. I have to store a sql search > request as a string for the current view of one user. If the user adds > a (existing-not new) record to the current view, the sql request has > to be modified and re-performed. Could this be a problem, if the > current search is very complex respectively would the api way be much > faster? If you use Vcursor and add records using Vcurosr.AddREcord() Then new record is right here. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 02:37:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 18:38:03 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 1:42 AM, "Ralf Sander" wrote: > Api way: > The new api way is much more flexible, Adding records to a found set, > sorting etc. > But: > Because its all based on RecIDs, which will be reused, does this work > in an multiuser invironment? 1) I see only one problem: API way do not have yet record locks. I think we need add yet Vtable.Lock() .Unlock() functions. Ralf, it is not good idea do not use locks in the mutli-user environment. 2) actually Cursor also is based on RecID, just you not see this. and cursor can/should lock selected records. > Example: > > mDataBase.mPerson.Field("string_fld").FindContains("aa") returns a Vset > with 10 records, which I use for displaying. > If I delete the first record with mDataBase.mPerson.DeleteRecord, the > iterator still loopes 10 times returning the value of record 2 for the > deleted record 1. In loop you should do safe check if( Table.RecordExist( recID ) ) > Or will I have to create my own structure to ensure not to get deleted > records or records with reused recids? no -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Thu Feb 10 01:55:42 2005 From: ralf at end-if.de (Ralf Sander) Date: Wed Feb 9 18:55:40 2005 Subject: cursor/api In-Reply-To: References: Message-ID: <67c8677dc2d5dcb0be1f86f18790ed1c@end-if.de> Am 10.02.2005 um 01:37 schrieb Ruslan Zasukhin: > On 2/10/05 1:42 AM, "Ralf Sander" wrote: > >> Api way: >> The new api way is much more flexible, Adding records to a found set, >> sorting etc. >> But: >> Because its all based on RecIDs, which will be reused, does this work >> in an multiuser invironment? > > 1) I see only one problem: > > API way do not have yet record locks. > I think we need add yet Vtable.Lock() .Unlock() functions. > > Ralf, it is not good idea do not use locks in the mutli-user > environment. I thougth, I could create my own lock: try to write to "lock" field of record, if "lock" field is empty and no write error, write username to lock field of record... > > > 2) actually Cursor also is based on RecID, just you not see this. > and cursor can/should lock selected records. But a deleted record does no longer contain any data in the cursor, even if the rec id is reused. Is there any build in check? > > >> Example: >> >> mDataBase.mPerson.Field("string_fld").FindContains("aa") returns a >> Vset >> with 10 records, which I use for displaying. >> If I delete the first record with mDataBase.mPerson.DeleteRecord, the >> iterator still loopes 10 times returning the value of record 2 for the >> deleted record 1. > In loop you should do safe check > > if( Table.RecordExist( recID ) ) Ok, but the rec id is reused, so I will have to check for record creation date or something like that. > > Cheers, Ralf From ralf at end-if.de Thu Feb 10 02:07:17 2005 From: ralf at end-if.de (Ralf Sander) Date: Wed Feb 9 19:07:14 2005 Subject: cursor/api In-Reply-To: References: Message-ID: > But I see a possible problem with speed. I have to store a sql search > request as a string for the current view of one user. If the user adds > a (existing-not new) record to the current view, the sql request has > to be modified and re-performed. Could this be a problem, if the > current search is very complex respectively would the api way be much > faster? What I didn't percieved until now: It seems that Valentina is caching sorts (sql), correct? Cheers, Ralf From ralf at end-if.de Thu Feb 10 02:15:58 2005 From: ralf at end-if.de (Ralf Sander) Date: Wed Feb 9 19:15:59 2005 Subject: cursor/api In-Reply-To: References: Message-ID: Am 10.02.2005 um 01:32 schrieb Ruslan Zasukhin: > On 2/10/05 1:42 AM, "Ralf Sander" wrote: > >> Cursor way: >> I need to use "knolocks" because "kreadonly" lets only one user read a >> record. > > NO! > Ok, I only did a single user test. But here it behaves like this: If I get one cursor with "kreadonly", I can't get another one. > Many users can read. Nobody will not be able write. > > >> Works good so far. If a record has been deleted outside the cursor, >> the >> record has just no values in the cursor, the record don't become nil. > >> Also no problem with reused RecIDs. Will I get the same results with a >> served database? > > Yes, but you describe strange things. Do you mean the upper (no values in record) or the lower things? > >> But I see a possible problem with speed. I have to store a sql search >> request as a string for the current view of one user. If the user adds >> a (existing-not new) record to the current view, the sql request has >> to be modified and re-performed. Could this be a problem, if the >> current search is very complex respectively would the api way be much >> faster? > > If you use Vcursor and add records using Vcurosr.AddREcord() > Then new record is right here. Yes, a new record. But I can't add an existing record to the cursor and I can' re-sort it. Cheers, Ralf From sunshine at public.kherson.ua Thu Feb 10 09:27:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 01:27:52 2005 Subject: cursor/api In-Reply-To: <67c8677dc2d5dcb0be1f86f18790ed1c@end-if.de> Message-ID: On 2/10/05 2:55 AM, "Ralf Sander" wrote: >>> The new api way is much more flexible, Adding records to a found set, >>> sorting etc. >>> But: >>> Because its all based on RecIDs, which will be reused, does this work >>> in an multiuser invironment? >> >> 1) I see only one problem: >> >> API way do not have yet record locks. >> I think we need add yet Vtable.Lock() .Unlock() functions. >> >> Ralf, it is not good idea do not use locks in the mutli-user >> environment. > > I thougth, I could create my own lock: > try to write to "lock" field of record, if "lock" field is empty and no > write error, write username to lock field of record... But what sense?! You should use built-in locks. And Later when we will get transactions develop will not need manually control locks. >> 2) actually Cursor also is based on RecID, just you not see this. >> and cursor can/should lock selected records. > But a deleted record does no longer contain any data in the cursor, > even if the rec id is reused. Is there any build in check? The correct way is: cursor -- lock its records. so issue with deleted record must never happens >>> Example: >>> >>> mDataBase.mPerson.Field("string_fld").FindContains("aa") returns a >>> Vset >>> with 10 records, which I use for displaying. >>> If I delete the first record with mDataBase.mPerson.DeleteRecord, the >>> iterator still loopes 10 times returning the value of record 2 for the >>> deleted record 1. >> In loop you should do safe check >> >> if( Table.RecordExist( recID ) ) > Ok, but the rec id is reused, so I will have to check for record > creation date or something like that. May be. I think you must use locks. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 09:29:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 01:29:20 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 3:07 AM, "Ralf Sander" wrote: >> But I see a possible problem with speed. I have to store a sql search >> request as a string for the current view of one user. If the user adds >> a (existing-not new) record to the current view, the sql request has >> to be modified and re-performed. Could this be a problem, if the >> current search is very complex respectively would the api way be much >> faster? > > What I didn't percieved until now: > It seems that Valentina is caching sorts (sql), correct? Valentina just do caching. So second query usually take much less time. But again all depend. * if you have huge db, then cache can be overloaded and not save you * if you work with remote db then network will eat time. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 09:34:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 01:34:24 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 3:15 AM, "Ralf Sander" wrote: >>> Cursor way: >>> I need to use "knolocks" because "kreadonly" lets only one user read a >>> record. >> >> NO! >> > Ok, I only did a single user test. But here it behaves like this: > If I get one cursor with "kreadonly", I can't get another one. Sounds like a bug. Please show us your code or send simple project Btw, we need add examples on record locks. Ivan, when you finish CONVERT_1_2 please take this task with locks. >> Yes, but you describe strange things. > Do you mean the upper (no values in record) or the lower things? I mean about locks and RecID >>> But I see a possible problem with speed. I have to store a sql search >>> request as a string for the current view of one user. If the user adds >>> a (existing-not new) record to the current view, the sql request has >>> to be modified and re-performed. Could this be a problem, if the >>> current search is very complex respectively would the api way be much >>> faster? >> >> If you use Vcursor and add records using Vcurosr.AddREcord() >> Then new record is right here. > > Yes, a new record. But I can't add an existing record to the cursor and > I can' re-sort it. Add existing record from table? which was not selected? Then yes of course you need execute some new SQL query. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Thu Feb 10 11:00:32 2005 From: ralf at end-if.de (Ralf Sander) Date: Thu Feb 10 04:00:23 2005 Subject: cursor/api In-Reply-To: Message-ID: >>>> But I see a possible problem with speed. I have to store a sql search >>>> request as a string for the current view of one user. If the user adds >>>> a (existing-not new) record to the current view, the sql request has >>>> to be modified and re-performed. Could this be a problem, if the >>>> current search is very complex respectively would the api way be much >>>> faster? >>> >>> If you use Vcursor and add records using Vcurosr.AddREcord() >>> Then new record is right here. >> >> Yes, a new record. But I can't add an existing record to the cursor and >> I can' re-sort it. > > Add existing record from table? > which was not selected? > > Then yes of course you need execute some new SQL query. Wouldn't this a nice feature to join cursors? Cheers, Ralf From ralf at end-if.de Thu Feb 10 11:00:33 2005 From: ralf at end-if.de (Ralf Sander) Date: Thu Feb 10 04:00:27 2005 Subject: cursor/api In-Reply-To: Message-ID: on 10.02.2005 8:27 mo, Ruslan Zasukhin wrote: > On 2/10/05 2:55 AM, "Ralf Sander" wrote: > >>>> The new api way is much more flexible, Adding records to a found set, >>>> sorting etc. >>>> But: >>>> Because its all based on RecIDs, which will be reused, does this work >>>> in an multiuser invironment? >>> >>> 1) I see only one problem: >>> >>> API way do not have yet record locks. >>> I think we need add yet Vtable.Lock() .Unlock() functions. >>> >>> Ralf, it is not good idea do not use locks in the mutli-user >>> environment. >> >> I thougth, I could create my own lock: >> try to write to "lock" field of record, if "lock" field is empty and no >> write error, write username to lock field of record... > > But what sense?! You should use built-in locks. > And Later when we will get transactions develop will not need manually > control locks. What are transactions and when is "later"? > > >>> 2) actually Cursor also is based on RecID, just you not see this. >>> and cursor can/should lock selected records. >> But a deleted record does no longer contain any data in the cursor, >> even if the rec id is reused. Is there any build in check? > > The correct way is: > cursor -- lock its records. > so issue with deleted record must never happens The main data for viewing is a thunbnail and the name of a record. So it makes not really sence for me to prevent a record from viewing, because anyone is modifying any other field. The other way round it makes no sence to prevent a record from editing, because anyone is viewing it. Will there be problems like crashs if someone trys to get a cursor for a record, that someone other is editing at the same time or will he simply get the current state of the record? Cheers, Ralf From sunshine at public.kherson.ua Thu Feb 10 12:38:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 04:38:51 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 12:00 PM, "Ralf Sander" wrote: >>> I thougth, I could create my own lock: >>> try to write to "lock" field of record, if "lock" field is empty and no >>> write error, write username to lock field of record... >> >> But what sense?! You should use built-in locks. >> And Later when we will get transactions develop will not need manually >> control locks. > What are transactions and when is "later"? Transactions? Long story, better read books. Transaction this is feature that make sure - all your changes are committed or refused. Later -- in 3.0 >>>> 2) actually Cursor also is based on RecID, just you not see this. >>>> and cursor can/should lock selected records. >>> But a deleted record does no longer contain any data in the cursor, >>> even if the rec id is reused. Is there any build in check? >> >> The correct way is: >> cursor -- lock its records. >> so issue with deleted record must never happens > > > The main data for viewing is a thunbnail and the name of a record. > So it makes not really sence for me to prevent a record from viewing, > because anyone is modifying any other field. You can move thunbnail into linked table You can do next: * you have cursor for browsing. They set NO LOCKS. so you always can read. but this cursor should not write. * for write you need obtain other cursor, set lock WRITE on a record, then only delete or update it. Else you get next problem: user1 have read record 555 user2 also have read it They both start change it. user1 update user2 also update Ops, changes from user1 are lost. All this potential problems are described in the books. > The other way round it makes no sence to prevent a record from editing, > because anyone is viewing it. > Will there be problems like crashs if someone trys to get a cursor for a > record, that someone other is editing at the same time or will he simply get > the current state of the record? Crash of course will not happens. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 12:40:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 04:40:19 2005 Subject: cursor/api In-Reply-To: Message-ID: On 2/10/05 12:00 PM, "Ralf Sander" wrote: > The main data for viewing is a thunbnail and the name of a record. > So it makes not really sence for me to prevent a record from viewing, > because anyone is modifying any other field. > The other way round it makes no sence to prevent a record from editing, > because anyone is viewing it. > Will there be problems like crashs if someone trys to get a cursor for a > record, that someone other is editing at the same time or will he simply get > the current state of the record? Ralph, You can of course invent your own lock- types. e.g.. You can add fields that keep your lock itself timestamp of lock may be who have lock anything else. Up to you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Thu Feb 10 21:39:57 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 10 14:40:30 2005 Subject: Changes from 1.x to 2.0 Message-ID: <7143c112cc6b6a30434ec74085b06722@sailer-online.de> Hi, are there any documentations about changes between 1.x to 2.0? For example I am looking for GoToRecID? I found VObject is now VTable ;-)) and database.addrecord only works with count=database.addrecord so I am step by step changing but couldn't found GotoRecID solution ;-)) Thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Thu Feb 10 22:51:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 14:51:40 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: <7143c112cc6b6a30434ec74085b06722@sailer-online.de> Message-ID: On 2/10/05 10:39 PM, "Claudius Sailer" wrote: > Hi, > > are there any documentations about changes between 1.x to 2.0? Not yet, let's write it together! :-)) > For example I am looking for GoToRecID? Table.Recid = x > I found VObject is now VTable ;-)) yes > and database.addrecord only works with count=database.addrecord Or you can write: call tbl.AddRecord() To skip return value > so I am step by step changing but couldn't found GotoRecID solution ;-)) .RecId -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 22:56:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 14:56:22 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: <7143c112cc6b6a30434ec74085b06722@sailer-online.de> Message-ID: On 2/10/05 10:39 PM, "Claudius Sailer" wrote: * remove ValentinaUtility methods * all kV_xxxx constants removed. * now we have enums Evxxx for constants. * VBaseObject => VTable * GoToRecID => .RecID * LIKE operator now works not as regex but as SQL92 LIKE. if you need regex then use REGEX keyword * property Language for Vstring/VarChar/Text removed. instead Vdatabse, Vtable and Vfield now have trio .Locale .CollatioAttribute .StorageEncoding * Global methods are collected in the MODULE "Valentina", so now ValentinaInit() => Valentina.Init() * Dcon support and DbgView dropped. instead we have now V4RB_LOG.txt file that get output from V4RB. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From AYU8 at CDC.GOV Thu Feb 10 16:02:13 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Thu Feb 10 15:23:41 2005 Subject: Changes from 1.x to 2.0 Message-ID: > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Claudius Sailer > Sent: Thursday, February 10, 2005 3:40 PM > To: Valentina Beta > Subject: Changes from 1.x to 2.0 > > > Hi, > > are there any documentations about changes between 1.x to > 2.0? For example I am looking for GoToRecID? I found VObject > is now VTable ;-)) > > and database.addrecord only works with count=database.addrecord > > so I am step by step changing but couldn't found GotoRecID > solution ;-)) > > Thanks > > > Claudius Hi Claudius, You should be able to do: myVTable.RecID = myRecID --- where myRecID is the record you want to go to. >From Page 52 of the V4RB Reference: thePerson.RecID = SomeRecID thePerson.FirstName.Value = "Brian" thePerson.LastName.Value = "Blood" thePerson.UpdateRecord() Hope this helps. -John From dave at Parizek.com Thu Feb 10 22:09:34 2005 From: dave at Parizek.com (Dave Parizek) Date: Thu Feb 10 23:09:51 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: References: Message-ID: One change I just discovered: the property "sqlstring" of class VCursor no longer exists. Ruslan, are you going to give us this back? -- _______________________________________________ Dave Parizek Dave@Parizek.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From Claudius at sailer-online.de Fri Feb 11 06:19:59 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 10 23:20:30 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: References: Message-ID: Hi John, Am 10. Feb 2005 um 22:02 Uhr schrieb Sims, John: > You should be able to do: > > myVTable.RecID = myRecID --- where myRecID is the record you want to go > to. > >> From Page 52 of the V4RB Reference: > > thePerson.RecID = SomeRecID > thePerson.FirstName.Value = "Brian" > thePerson.LastName.Value = "Blood" > thePerson.UpdateRecord() > > Hope this helps. Yeah this helps. One other thing as a point of view to RealBasic. At the moment I am using thePerson.FirstName.value=UniCodeToASCII(EditField1.Text) I would now expect to use the Person.FirstName.value=UTF8ToUTF16(EditField1.text) what are all the other RB-User do. Changing Encoding in Valentina to UTF8 or using transfermethod!! Thanks for help bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0b44 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From dave at Parizek.com Thu Feb 10 22:39:12 2005 From: dave at Parizek.com (Dave Parizek) Date: Thu Feb 10 23:39:21 2005 Subject: Question on SetMethod no longer in 2.0 In-Reply-To: References: Message-ID: I am upgrading from V4RB 1.x to 2.0. I see that VField.SetMethod no longer exists. I can't see what to use instead.... ? -- _______________________________________________ Dave Parizek Dave@Parizek.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From maxprog at mac.com Fri Feb 11 08:06:59 2005 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 11 01:07:11 2005 Subject: Changes from 1.x to 2.0 (Changes list) In-Reply-To: <7143c112cc6b6a30434ec74085b06722@sailer-online.de> References: <7143c112cc6b6a30434ec74085b06722@sailer-online.de> Message-ID: <9a75c42a4cfe926e3052876671be5198@mac.com> Hi, Porting on of my applications I found the following differences: 1.- VBaseObject class has been renamed to VTable. Change all tables class from VBaseObject to VTable. 2.- ValentinaInit() has been renamed to Valentina.Init() 3.- Valentina.Init() doesn't return a value anymore. Use the CacheSize properties to check if the database was properly initiated. If Valentina.CacheSize = 0 then MsgBox "Valentina was not initialized!" end if 4.- ValentinaShutDown() has been renamed to Valentina.ShutDown() 5.- ValentinaSetExtensions() has been renamed to Valentina.SetExtensions() 6.- If you have used debugging it is likely you have the following code: #if DebugBuild err = ValentinaDebugON(2) #else err = ValentinaDebugON(0) #endif Change it to: #if DebugBuild Valentina.DebugLevel = xxxx #endif where xxxx can be: 0 - no debug messages. 1 - log a message only when an error occurs. 2 - log every function. 3 - log every function and its parameters. 7.- Remove language parameter (e.g "ASCII") from all fields. 8.- The AddRecord() function now returns the new record value. 9.- The GotoRecID() no longer exists. Use RecID and RecordExists() : If RecordExists(myRec) then RecID = inRec end if 10.- The database Create() method no longer returns a value. Use Database.ErrNumber to check errors. 11.- The database Open() method no longer returns a value. Use Database.ErrNumber to check errors. 12.- Cursor.CurrentPosition has been renamed to Cursor.Position 13.- Replace LIKE with REGEX (Not sure of that one) Stan > Hi, > > are there any documentations about changes between 1.x to 2.0? > For example I am looking for GoToRecID? > I found VObject is now VTable ;-)) > > and database.addrecord only works with count=database.addrecord > > so I am step by step changing but couldn't found GotoRecID solution > ;-)) > > Thanks > > > Claudius > > -- > G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 > Homepage http://www.ClaSai.de > iChat ryhoruk > RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > -- MAX Programming LLC - http://maxprog.com - Investigation & development ---------------------------------------------------------------------- Store | http://store.maxprog.com mailto:orders@maxprog.com Upgrades | http://upgrades.maxprog.com mailto:orders@maxprog.com Products | http://products.maxprog.com mailto:info@maxprog.com Download | http://download.maxprog.com mailto:info@maxprog.com Support | http://support.maxprog.com http://inquiry.maxprog.com _______________________ CONFIDENTIALITY NOTICE _______________________ The information transmitted in this email and any attached document(s) is confidential and intended solely for the use of the individual or entity to which it is addressed and may contain privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. (C) 1999 - 2005 MAX Programming, LLC - All rights reserved. Maxprog? is a registered mark at the U.S. Patent and Trademark Office. From dave at Parizek.com Fri Feb 11 00:34:31 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 01:34:43 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: References: Message-ID: This info valid February 11, 2005. Someone asked if there were any docs about the process of upgrading from V4RB 1.x to 2.0. I am working on the switch right now and so I have recorded the changes I have had to make. Note that I use the "sql way" pretty much exclusively, so others who are making the switch and use the other ways -- API way, Zen way (-: -- may want to contribute to this document. Please feel free to add or correct anything. My approach was to look over the new documentation first, then just try to build/run my 1.x V4RB app that was working before installing V4RB 2.0 and then start fixing errors that the compiler reports. My way may not be the wisest -- use this info at your own risk. Note the 2.0 docs are in V4RBReference_en.pdf and it is like 164 pages. If what you are looking at is around 84 pages, you are looking at the old docs. On the find/replaces, I recommend doing them using command-L rather than clicking the Replace All button in RB, just to make sure you have no unintended changes. The steps I have performed: 1. ValentinaEscapeString find/replace to Valentina.EscapeString 2. ValentinaShutDown find/replace to Valentina.ShutDown 3. Reset the supers for all your BaseObjects to VTable 4. mDatabase.Open, mDatabase.Create no longer return anything, so change code to reflect 5. look at Valentina.SetExtensions and decide if you want to use it 6. decide if you are doing a local database, or if you want to look at remote/server database, read about this in docs 7. In Valentina initialization (VInit for me), change ValentinaDebugOn to DebugLevel as EVDebugLevel syntax 8. ValentinaInit find/replace to Valentina.Init (and it no longer returns a value) 9. the property "sqlstring" of class VCursor no longer exists. If you reference that property you'll have to change code. 10. Property BaseObject of class VField changed to property Table, a careful find/replace should fix. And find/replace all VBaseObject to VTable. 11. VTable property GetRecID is renamed RecID, find/replace. 12. VCursor.CurrentPosition to VCursor.Position find replace. 13. VField.Nullable to VField.IsNullable find replace. 14. VField.Unique to VField.IsUnique find replace. And I see under Class VField Property list in docs that it looks like there might be some more like this depending on what properties you use in your project. 15. hmm, VField.SetMethod no longer exists. I think you use MethodText now. No, methodtext returns a value. I will comment it out for now. Can someone else tell me what/how deal with this now? 16. ok, no more compile errors, but get VException pretty quick... Says I am attempting to insert a duplicate key on a unique field. I like this 2.0 feature -- more detailed error information. 17. Make sure you replace all kV_Nullable with EVFlag.fNullable in all your constructors. My error in 16 was that I was defining fields as Unique when I meant to define them as nullable, as they changed the underlying integer values for those when they switched to enums from "kv_" constants. In other words, kV_Nullable = EVFlag.fUnique = 4. 18. remove ValentinaUtilities (module with the kV_ constants) from your RB project 19. Find/replace a bunch more kv_ constants with the EV... enumerator equivalents. Most of the ones you need to find will be in the EVFlag domain, but also some in other places like EVOnDeletion domain. Compiler will tell you which ones you need to replace since you just threw out ValentinaUtilities. 20. Fixed an unexpected token error where I had a string escaped with double slash: \\ by changing to a single slash. V4RB 1.x did not mind it but 2.0 does. 21. Another unexpected token error, haven't figured it out yet, going to bed.... I will add to this tomorrow, or if anyone else wants to take it over... -- _______________________________________________ Dave Parizek Dave@Parizek.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Fri Feb 11 09:40:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 01:40:31 2005 Subject: Changes from 1.x to 2.0 In-Reply-To: Message-ID: On 2/11/05 7:09 AM, "Dave Parizek" wrote: > One change I just discovered: the property "sqlstring" of class > VCursor no longer exists. > > Ruslan, are you going to give us this back? No, this is forever. 1) SQL string can be quite big. 2) was some other technical reason -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 09:44:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 01:45:03 2005 Subject: Changes from 1.x to 2.0 // v3 In-Reply-To: Message-ID: On 2/10/05 10:56 PM, "Ruslan Zasukhin" wrote: * remove ValentinaUtility methods * all kV_xxxx constants removed. * now we have enums Evxxx for constants. * VBaseObject => VTable * GoToRecID => .RecID * LIKE operator now works not as regex but as SQL92 LIKE. if you need regex then use REGEX keyword * property Language for Vstring/VarChar/Text removed. instead Vdatabse, Vtable and Vfield now have trio .Locale .CollatioAttribute .StorageEncoding * Global methods are collected in the MODULE "Valentina", so now ValentinaInit() => Valentina.Init() * Dcon support and DbgView dropped. instead we have now V4RB_LOG.txt file that get output from V4RB. * Vcursor.SqlString property not exists any more. * if in the 1.x version you have set some encoding for strings BEFORE/AFTER send strings to V4RB then now you no need to do this. Although for now V4RB 2.0 expect to get UTF8 strings -- default encoding of V4RB * Vfield.SetMethod() no longer exists. instead you should on creation of field provide method formula into constrctor of field. IF you want change existed method, then use Vfield.MethodText property -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 10:00:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 02:00:16 2005 Subject: Changes from 1.x to 2.0 // v4 In-Reply-To: Message-ID: * remove ValentinaUtility methods * all kV_xxxx constants removed. * now we have enums with names EVxxx for constants. * V4RB 2.0 support new style of errors via VException class. if you convert old 1.x project then you have to use db.LastError style. you can disable new style and return back old style. use for this Valentina.ThrowExceptions as boolean * Vdatabase.Open() / .Create() no longer return anything, so change code to reflect * class VBaseObject renamed to Vtable. so you need reset the super-class for all your Table classes. * Property BaseObject of class VField changed to property Table, a careful find/replace should fix. * Table.GoToRecID => Table.RecID * LIKE operator now works not as regex but as SQL92 LIKE. if you need regex then use REGEX keyword * property Language for Vstring/VarChar/Text removed. instead Vdatabse, Vtable and Vfield now have trio .Locale .CollatioAttribute .StorageEncoding * Global methods are collected in the MODULE "Valentina", so now ValentinaInit() => Valentina.Init() ValentinaShutDown => Valentina.ShutDown() ValentinaEscapeString => Valentina.EscapeString() ValentinaDebugOn => Valentina.DebugLevel property ... * Dcon support and DbgView dropped. instead we have now V4RB_LOG.txt file that get output from V4RB. * VField.Nullable to VField.IsNullable find replace. * VField.Compressed to VField.IsCompressed find replace. * VField.Indexed to VField.IsIndexed find replace. * VField.Unique to VField.IsUnique find replace. * Vcursor.SqlString property not exists any more. * VCursor.CurrentPosition to VCursor.Position find replace * if in the 1.x version you have set some encoding for strings BEFORE/AFTER send strings to V4RB then now you no need to do this. Although for now V4RB 2.0 expect to get UTF8 strings -- default encoding of V4RB * Vfield.SetMethod() no longer exists. instead you should on creation of a field provide the method formula into the constructor of field via last parameter. IF you want change existed method, then use Vfield.MethodText property > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 10:29:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 02:29:32 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: Message-ID: --------------------------------------------------- * remove ValentinaUtility methods * V4RB 2.0 have enums with names EVxxx for constants. * Find/replace a bunch more kv_ constants with the EV... enumerator equivalents. Most of the ones you need to find will be in the EVFlag domain, but also some in other places like EVOnDeletion domain. Compiler will tell you which ones you need to replace since you just threw out ValentinaUtilities. * IF you have use in the old project NOT kV_constants, but just NUMERIC values of constants then you must find all such places and replace on new Evxxxx constants. This is very very important because 2.0 can have other numeric values for constants. * V4RB 2.0 supports a new style of errors via VException class. if you convert old 1.x project then you have to use db.LastError style. you can disable new style and return back old style. use for this Valentina.ThrowExceptions as boolean * Global methods are collected in the MODULE "Valentina", so now ValentinaInit() => Valentina.Init() ValentinaShutDown => Valentina.ShutDown() ValentinaEscapeString => Valentina.EscapeString() ValentinaDebugOn => Valentina.DebugLevel property ... * Valentina.Init() doesn't return a value anymore. Use the CacheSize properties to check if the database was properly initiated. * if in the 1.x version you have set some encoding for strings BEFORE/AFTER send strings to V4RB then now you no need to do this. Although for now V4RB 2.0 expect to get UTF8 strings -- default encoding of V4RB * Dcon and DbgView support depricated. instead we have now V4RB_LOG.txt file that get output from V4RB. It is very recommended during development set Valentina.DebugLevel = EVDebugLevel.kLogParams. then in case of any problems you can open V4RB_Log.txt file and monitor a lots of useful information. ------------------------------------------ Database: ------------------------------------------ * Vdatabase.Open() / .Create() no longer return anything, so change code to reflect. Use Database.ErrNumber to check errors. ------------------------------------------ Tables: ------------------------------------------ * class VBaseObject renamed to Vtable. so you need reset the super-class for all your Table classes. * The GotoRecID() no longer exists. Use RecID and RecordExists() : If RecordExists(myRec) then RecID = inRec end if * The AddRecord() function now returns the new record value. ------------------------------------------ Fields: ------------------------------------------ * Property BaseObject of class VField changed to property Table, a careful find/replace should fix. * VField.Nullable to VField.IsNullable find replace. * VField.Compressed to VField.IsCompressed find replace. * VField.Indexed to VField.IsIndexed find replace. * VField.Unique to VField.IsUnique find replace. * Vfield.SetMethod() no longer exists. instead you should on creation of a field provide the method formula into the constructor of field via last parameter. IF you want change existed method, then use Vfield.MethodText property * property Language for Vstring/VarChar/Text removed. also it not exists any more in the constructors of this classes. instead Vdatabse, Vtable and Vfield now have trio .Locale .CollatioAttribute .StorageEncoding ------------------------------------------ Cursors: ------------------------------------------ * Vcursor.SqlString property not exists any more. * VCursor.CurrentPosition to VCursor.Position find replace ------------------------------------------ SQL: ------------------------------------------ * 2.0 SQL do NOT allow you name or tables with key words of SQL. for example field with name "references" will not work in SQL. or field with name "default". recommendation is always use some prefix for table/field names. e.g. tblPerson, fldName * LIKE operator now works not as regex but as SQL92 LIKE. if you need regex then use REGEX keyword -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ohmitou at wanadoo.fr Fri Feb 11 14:57:45 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Feb 11 04:58:09 2005 Subject: Three questions ... Message-ID: <20050211105745.5775@smtp.wanadoo.fr> Hi, I have just read a series of interesting messages ' Changes from 1.x to 2.0' and as I am in a phase of reorganization of my program, I want to try to pass to the version 2 ... on several conditions. 1 ? Is the version 2.0 rather reliable (now or very soon) to allow to publish a program (with update for the previous users)? 2 ? I used option LANGUAGE to sort strings. This option disappeared. Does its replacement allow to make sortings according to the used language? 3 ? The license? Given that the version 2 is not a simple update of the version 1.x, I think that the number of the version 1.x will not be valid any more for the version 2. From when and in which conditions it will be possible to publish software packages using the version 2 ? Regards -- Thierry Nauze Saint-Denis de la R?union From AYU8 at CDC.GOV Fri Feb 11 08:17:16 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Fri Feb 11 07:17:22 2005 Subject: Changes from 1.x to 2.0 Message-ID: > One other thing as a point of view to RealBasic. > At the moment I am using > > thePerson.FirstName.value=UniCodeToASCII(EditField1.Text) > > I would now expect to use > > the Person.FirstName.value=UTF8ToUTF16(EditField1.text) > > what are all the other RB-User do. Changing Encoding in Valentina to > UTF8 or using transfermethod!! > > Thanks for help > > bye > > > Claudius Hi Claudius, There have been a few discussion threads here on the beta list about encodings. I, myself, have not had to really deal with unicode (yet). However, I have followed these threads with interest. If I am correct (Ruslan, please correct me if I am wrong!!!), V4RB 2.x will handle the conversion of the REALbasic strings to UTF16 (or whatever the encoding of the DB). I am including a previous message that I am basing this on (Ruslan's response point #3). On 10/22/04 6:35 AM, "Thierry Nauze" wrote: > Hi, > > If I understood well, at present (V4RB 1.10) sorting by language (" > French ", for example) is made only if the base is "coded" in > macRomanl. > > At present, it don't work) with the encoding " UTF8 ". (???) On the > other hand, in the version 2 of V4RB it could work. (???) Hi Thierry, So you need to make French database, yes? 1) for now do not set UTF8 for database. 2) do simple next: db.Locale = "fr_FR" db.Create(); // now you have UTF16 db for French locale You can do not specify anything for fields. They will inherit locale from database. 3) work as usually with REALbasic strings. on default they was in UTF8. this is ok, when Valentina et them it self convert them to UTF16. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] Take care. -John From sunshine at public.kherson.ua Fri Feb 11 15:47:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 07:47:32 2005 Subject: Three questions ... In-Reply-To: <20050211105745.5775@smtp.wanadoo.fr> Message-ID: On 2/11/05 12:57 PM, "Thierry Nauze" wrote: Hi Thierry, > I have just read a series of interesting messages ' Changes from 1.x to > 2.0' and as I am in a phase of reorganization of my program, I want to > try to pass to the version 2 ... on several conditions. > > 1 ? Is the version 2.0 rather reliable (now or very soon) to allow to > publish a program (with update for the previous users)? Yes it is time. The sooner you will start, the more changes you will help us discover any bugs. > 2 ? I used option LANGUAGE to sort strings. This option disappeared. Does > its replacement allow to make sortings according to the used language? Of course. New feature allow do just incredible things !!! > 3 ? The license? > Given that the version 2 is not a simple update of the version 1.x, I > think that the number of the version 1.x will not be valid any more for > the version 2. From when and in which conditions it will be possible to > publish software packages using the version 2 ? >From when? As you will see that your app is stable. We going to make release in the nearest weeks. Conditions the same -- royalty free. Upgrade price it seems 50% from full price, yes Lynn? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Fri Feb 11 10:14:35 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 11:14:52 2005 Subject: Changes from 1.x to 2.0 // v5 Message-ID: Hi: I tried to send this to Ruslan@paradigmasoft.com directly but I got back a failure notice about detecting a spam signature. So sending to the list since I figure others may have documentation suggestions to contribute in addition to these. -dave Documentation _suggestion_: You should add new chapter to V4RB_Reference_en.pdf with below upgrading info. Also, change name of "V4RB_Reference_en.pdf" to "V4RB_2.0_Reference_en.pdf" so that it is not confused with old 1.x V4RB docs. And add title page to pdf. Include "Version 2.0" and "Last Updated February 9, 2005" on title page. -dave >--------------------------------------------------- >* remove ValentinaUtility methods > >* V4RB 2.0 have enums with names EVxxx for constants. > >* Find/replace a bunch more kv_ constants with the EV... enumerator >equivalents. Most of the ones you need to find will be in the EVFlag >domain, but also some in other places like EVOnDeletion domain. >Compiler will tell you which ones you need to replace since you just >threw out ValentinaUtilities. > >* IF you have use in the old project NOT kV_constants, but just NUMERIC >values of constants then you must find all such places and replace on new >Evxxxx constants. This is very very important because 2.0 can have other >numeric values for constants. > > >* V4RB 2.0 supports a new style of errors via VException class. > if you convert old 1.x project then you have to use db.LastError style. > you can disable new style and return back old style. > use for this Valentina.ThrowExceptions as boolean > >* Global methods are collected in the MODULE "Valentina", > so now > > ValentinaInit() => Valentina.Init() > ValentinaShutDown => Valentina.ShutDown() > ValentinaEscapeString => Valentina.EscapeString() > ValentinaDebugOn => Valentina.DebugLevel property > ... > >* Valentina.Init() doesn't return a value anymore. Use the CacheSize >properties to check if the database was properly initiated. > >* if in the 1.x version you have set some encoding for strings BEFORE/AFTER >send strings to V4RB then now you no need to do this. >Although for now V4RB 2.0 expect to get UTF8 strings -- default encoding of >V4RB > > >* Dcon and DbgView support depricated. > > instead we have now V4RB_LOG.txt file that get output from V4RB. > > It is very recommended during development set > Valentina.DebugLevel = EVDebugLevel.kLogParams. > then in case of any problems you can open V4RB_Log.txt file > and monitor a lots of useful information. > > >------------------------------------------ >Database: >------------------------------------------ > >* Vdatabase.Open() / .Create() no longer return anything, so >change code to reflect. Use Database.ErrNumber to check errors. > > >------------------------------------------ >Tables: >------------------------------------------ > >* class VBaseObject renamed to Vtable. > so you need reset the super-class for all your Table classes. > > >* The GotoRecID() no longer exists. Use RecID and RecordExists() : > > If RecordExists(myRec) then > RecID = inRec > end if > >* The AddRecord() function now returns the new record value. > > >------------------------------------------ >Fields: >------------------------------------------ > >* Property BaseObject of class VField changed to property Table, a >careful find/replace should fix. > > >* VField.Nullable to VField.IsNullable find replace. >* VField.Compressed to VField.IsCompressed find replace. >* VField.Indexed to VField.IsIndexed find replace. >* VField.Unique to VField.IsUnique find replace. > >* Vfield.SetMethod() no longer exists. > > instead you should on creation of a field provide the method formula > into the constructor of field via last parameter. > > IF you want change existed method, then use > Vfield.MethodText property > >* property Language for Vstring/VarChar/Text removed. > also it not exists any more in the constructors of this classes. > > instead Vdatabse, Vtable and Vfield now have trio > > .Locale > .CollatioAttribute > .StorageEncoding > > >------------------------------------------ >Cursors: >------------------------------------------ > >* Vcursor.SqlString property not exists any more. > >* VCursor.CurrentPosition to VCursor.Position find replace > > >------------------------------------------ >SQL: >------------------------------------------ > >* 2.0 SQL do NOT allow you name or tables with key words of SQL. > for example field with name "references" will not work in SQL. > or field with name "default". > > recommendation is always use some prefix for table/field names. > e.g. tblPerson, fldName > >* LIKE operator now works not as regex but as SQL92 LIKE. > if you need regex then use REGEX keyword > > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Fri Feb 11 10:24:43 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 11:24:48 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: References: Message-ID: The V4RB_Reference_en.pdf indicates Database.ErrNumber and .ErrString are deprecated. But below says to use for checking errors. Should we be using something else? VException will happen on failure to open/create? -dave > >------------------------------------------ >Database: >------------------------------------------ > >* Vdatabase.Open() / .Create() no longer return anything, so >change code to reflect. Use Database.ErrNumber to check errors. > From sunshine at public.kherson.ua Fri Feb 11 19:51:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 11:51:58 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: Message-ID: On 2/11/05 7:14 PM, "Dave Parizek" wrote: > Hi: I tried to send this to Ruslan@paradigmasoft.com directly but I > got back a failure notice about detecting a spam signature. So > sending to the list since I figure others may have documentation > suggestions to contribute in addition to these. > > -dave > > > Documentation _suggestion_: > > You should add new chapter to V4RB_Reference_en.pdf with below upgrading info. Of course.... Or as separate PDF > Also, change name of "V4RB_Reference_en.pdf" to > "V4RB_2.0_Reference_en.pdf" so that it is not confused with old 1.x > V4RB docs. V4RB2_Reference_en.pdf > And add title page to pdf. Include "Version 2.0" and "Last Updated > February 9, 2005" on title page. ok -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 19:54:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 11:55:03 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: Message-ID: On 2/11/05 7:24 PM, "Dave Parizek" wrote: Dave, In the v5 present this * V4RB 2.0 supports a new style of errors via VException class. if you convert old 1.x project then you have to use db.LastError style. you can disable new style and return back old style. use for this Valentina.ThrowExceptions as boolean So, since you convert EXISTED project you will find useful to DISABLE new style of error handling based on exceptions, and return back to old style with db.errNumber. This allow you in 5 seconds make your old project working. Future you can change all to catch Vexception. > The V4RB_Reference_en.pdf indicates Database.ErrNumber and > .ErrString are deprecated. But below says to use for checking > errors. Should we be using something else? VException will happen > on failure to open/create? IF Valentina.ThrowExceptions = true, Then in 2.0 each function in case of error will throw exception. > -dave >> ------------------------------------------ >> Database: >> ------------------------------------------ >> >> * Vdatabase.Open() / .Create() no longer return anything, so >> change code to reflect. Use Database.ErrNumber to check errors. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Fri Feb 11 11:46:25 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 12:46:37 2005 Subject: help requested figuring out error In-Reply-To: References: Message-ID: I am converting a V4RB 1.x project to 2.0. When I try to execute the following code (in 2.0): Binds.append App.timestamp Binds.append vLogEntry stmt = "INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2)" numAffectedRows = app.mDatabase.SQLExecute(stmt, Binds) I get a VException: error info from end of V4RB_Log.txt file: Database_SqlExecute_2... PARAM: inQuery = "INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2)" ERROR: 0x71000 line 1:1: unexpected token: ( return (int) AffectedRecords = 0 error number was 462848 The variables' values at time of exception: vLogEntry: New database created at SleepNIn:Jane:JaneDB.vdb stmt: INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2) Binds(0): 2/11/2005 11:31:8 Binds(1): New database created at SleepNIn:Jane:JaneDB.vdb Any idea what is wrong? --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Fri Feb 11 20:51:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 12:51:59 2005 Subject: help requested figuring out error In-Reply-To: Message-ID: On 2/11/05 8:46 PM, "Dave Parizek" wrote: > I am converting a V4RB 1.x project to 2.0. > > When I try to execute the following code (in 2.0): > > Binds.append App.timestamp > Binds.append vLogEntry > > stmt = "INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2)" Timestamp is a keyword I think -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 20:53:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 12:53:44 2005 Subject: help requested figuring out error In-Reply-To: Message-ID: On 2/11/05 8:46 PM, "Dave Parizek" wrote: > I am converting a V4RB 1.x project to 2.0. > > When I try to execute the following code (in 2.0): > > Binds.append App.timestamp > Binds.append vLogEntry > > stmt = "INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2)" Yes, You can see this here http://paradigmasoft.com/download/v2_beta/TN/VSQL_Parser.html timestamp_literal : "timestamp" STRING_LITERAL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Fri Feb 11 12:09:34 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 13:09:40 2005 Subject: help requested figuring out error In-Reply-To: References: Message-ID: Yep, that fixed it, timestamp was a keyword. And my conversion to 2.0 is done! It works! It rocks! Thanks! (-: !!! --dave >On 2/11/05 8:46 PM, "Dave Parizek" wrote: > >> I am converting a V4RB 1.x project to 2.0. >> >> When I try to execute the following code (in 2.0): >> >> Binds.append App.timestamp >> Binds.append vLogEntry >> >> stmt = "INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2)" > >Timestamp is a keyword I think > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Fri Feb 11 21:45:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 13:45:13 2005 Subject: help requested figuring out error In-Reply-To: Message-ID: On 2/11/05 9:09 PM, "Dave Parizek" wrote: > Yep, that fixed it, timestamp was a keyword. And my conversion to > 2.0 is done! It works! It rocks! Thanks! > > (-: !!! Great, Now please do stress-testing of anything you can, If you will find any bugs please report them here: http://paradigma.ukrcom.kherson.ua/bt/ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Fri Feb 11 12:54:08 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 13:54:16 2005 Subject: truncating error on 2.0 insertions Message-ID: I am converting a V4RB 1.x project to 2.0. I am having trouble with inserted values being inexplicably truncated. When I try to execute the following code (in 2.0): Binds.append App.timestamp Binds.append vLogEntry stmt = "INSERT INTO Log (LogTimestamp, LogEntry) VALUES (:1, :2)" numAffectedRows = app.mDatabase.SQLExecute(stmt, Binds) It works, but the LogEntry VVarChar field entries get truncated. For example, vLogEntry: New database created at SleepNIn:Jane:JaneDB.vdb stmt: INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2) Binds(0): 2/11/2005 11:31:8 Binds(1): New database created at SleepNIn:Jane:JaneDB.vdb here the value that is in the database after insertion for LogEntry is "New database created" instead of "New database created at SleepNIn:Jane:JaneDB.vdb" I don't see anything about this as a bug in the bug database. Any suggestions? --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Fri Feb 11 12:55:57 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 11 13:56:03 2005 Subject: help requested figuring out error In-Reply-To: References: Message-ID: I reported a couple of bugs on VStudio. Then I discovered one of them had already been reported. Is there a way to delete a report you have made if you mess up like this? --Dave > > >Great, > >Now please do stress-testing of anything you can, >If you will find any bugs please report them here: > > http://paradigma.ukrcom.kherson.ua/bt/ > From sunshine at public.kherson.ua Fri Feb 11 22:00:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 14:00:55 2005 Subject: help requested figuring out error In-Reply-To: Message-ID: On 2/11/05 9:55 PM, "Dave Parizek" wrote: > I reported a couple of bugs on VStudio. Then I discovered one of > them had already been reported. Is there a way to delete a report > you have made if you mess up like this? I don't know if user can delete own report. You can check this self. If no let me know I will delete it. And second bug Jochen already have fix. Jochen say that if in prefs disable "smart open" option then Vstudio should open that db. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 22:06:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 14:06:50 2005 Subject: truncating error on 2.0 insertions In-Reply-To: Message-ID: On 2/11/05 9:54 PM, "Dave Parizek" wrote: > I am converting a V4RB 1.x project to 2.0. I am having trouble with > inserted values being inexplicably truncated. > > When I try to execute the following code (in 2.0): > > Binds.append App.timestamp > Binds.append vLogEntry > > stmt = "INSERT INTO Log (LogTimestamp, LogEntry) VALUES (:1, :2)" > numAffectedRows = app.mDatabase.SQLExecute(stmt, Binds) > > > It works, but the LogEntry VVarChar field entries get truncated. For example, > > vLogEntry: New database created at SleepNIn:Jane:JaneDB.vdb > stmt: INSERT INTO Log (Timestamp, LogEntry) VALUES (:1, :2) > Binds(0): 2/11/2005 11:31:8 > Binds(1): New database created at SleepNIn:Jane:JaneDB.vdb > > here the value that is in the database after insertion for LogEntry > is "New database created" instead of "New database created at > SleepNIn:Jane:JaneDB.vdb" > > I don't see anything about this as a bug in the bug database. > > Any suggestions? Ivan should check this issue. Dave, small hint, REALBasic allow us short syntax for array building: numAffectedRows = app.mDatabase.SQLExecute( stmt, Array( App.timestamp, vLogEntry) ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lfredricks at proactive-intl.com Fri Feb 11 13:45:19 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri Feb 11 15:45:29 2005 Subject: Changes from 1.x to 2.0 // v5 In-Reply-To: Message-ID: <20050211214517.4B9D217D014@spatula.dreamhost.com> > Hi: I tried to send this to Ruslan@paradigmasoft.com > directly but I got back a failure notice about detecting a > spam signature. So sending to the list since I figure others > may have documentation suggestions to contribute in addition to these. This might be something with Macserve.net's overzealous server configurations. Now and then I get them, too. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From ohmitou at wanadoo.fr Sat Feb 12 07:15:36 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Feb 11 21:15:59 2005 Subject: how to convert a database 1 to 2 ? Message-ID: <20050212031536.864@smtp.wanadoo.fr> Hi all, I decided so to pass under V4RB 2.0. First thing which I wanted to make: to convert my database 1.x to database 2.0. I used example ' Convert_1_2.rb ' : I obtained well new files But, seen with Valentina Studio, most of the tables have no fields and no datum seems accessible. As for VISQL_2, it gives me a VException to the opening of the base. Question: how to convert, without loss, a database 1.x to use it with V4RB 2? Regards, -- Thierry Nauze Saint-Denis de la R?union From Claudius at sailer-online.de Sat Feb 12 07:32:48 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 00:32:59 2005 Subject: ReadingStructure 2.0 Message-ID: Hi, following Code DBFieldsName(i,j)=tmpDB.Table(i).Field(j).Name+"- >"+VBaseObject(VObjectPtr(tmpDB.Table(i).Field(j)).PointedObject).Name read Linked fields. I made some changes VBaseObject to Table. But at the moment I can't resolve it correctly to 2.0. Does anybidy is ablie to help me here? Thanks Claudius From Claudius at sailer-online.de Sat Feb 12 08:37:28 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 01:37:37 2005 Subject: last 3 Recoding-Problems Message-ID: <8801d2f210e6181b982e7dae782d65a8@sailer-online.de> Hi, kast problems in DebugMode res=meineDatenbank.TBuchungen.FirstRecord meineDatenbank.TBuchungen.Betrag.value=DepotPosition(meineDatenbank.TBuc hungen.GetRecID) can I use meineDatenbank.TBuchungen.Betrag.value=DepotPosition(meineDatenbank.TBuc hungen.RecID) or how do I get here RecID.value? I have in table TKonten a link to itself. In 1.x it was only usable to have following code in VDatabase-Calls * Diese Methode oder Eigenschaft existiert nicht in Datenbank.Datenbank, line 16: TKonten.HauptGegenKonto.SetTarget(TKonten,EVOnDeletion.kSetNull) but now it doesn't work. What is the solution in V4RB 2.0? Also with methods. At the moment I generate Mothod in Database-Class TCurrencies.NValue.SetMethod("if(QuotationMode=1,(LastValue/10000)/ QuotationUnit,1/((LastValue/10000)/QuotationUnit))") Now I do same in Table-Class? NValue=new VFloat("NValue", METHOD('if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/ ((LastValue/10000)/QuotationUnit))')) Thanks for help Claudius From sunshine at public.kherson.ua Sat Feb 12 09:46:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:46:13 2005 Subject: how to convert a database 1 to 2 ? In-Reply-To: <20050212031536.864@smtp.wanadoo.fr> Message-ID: On 2/12/05 5:15 AM, "Thierry Nauze" wrote: > Hi all, > > I decided so to pass under V4RB 2.0. > > First thing which I wanted to make: to convert my database 1.x to > database 2.0. > > I used example ' Convert_1_2.rb ' : I obtained well new files > > But, seen with Valentina Studio, most of the tables have no fields and no > datum seems accessible. > As for VISQL_2, it gives me a VException to the opening of the base. > > Question: how to convert, without loss, a database 1.x to use it with V4RB 2? Thierry, We need your database for test. Can you send us it ? That example MUST BE able produce good 2.0 db. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 09:47:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:47:48 2005 Subject: ReadingStructure 2.0 In-Reply-To: Message-ID: On 2/12/05 8:32 AM, "Claudius Sailer" wrote: > Hi, > > following Code > > > DBFieldsName(i,j)=tmpDB.Table(i).Field(j).Name+"- >> "+VBaseObject(VObjectPtr(tmpDB.Table(i).Field(j)).PointedObject).Name > > read Linked fields. I made some changes VBaseObject to Table. But at > the moment I can't resolve it correctly to 2.0. > Does anybidy is ablie to help me here? Compiler complain? PointedObject now is .Target I think -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 09:48:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:48:36 2005 Subject: last 3 Recoding-Problems In-Reply-To: <8801d2f210e6181b982e7dae782d65a8@sailer-online.de> Message-ID: On 2/12/05 9:37 AM, "Claudius Sailer" wrote: > Hi, > > kast problems in DebugMode > > res=meineDatenbank.TBuchungen.FirstRecord > > meineDatenbank.TBuchungen.Betrag.value=DepotPosition(meineDatenbank.TBuc > hungen.GetRecID) > > can I use > > meineDatenbank.TBuchungen.Betrag.value=DepotPosition(meineDatenbank.TBuc > hungen.RecID) > or how do I get here RecID.value? Yes you can of course -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 09:53:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:53:43 2005 Subject: last 3 Recoding-Problems In-Reply-To: <8801d2f210e6181b982e7dae782d65a8@sailer-online.de> Message-ID: On 2/12/05 9:37 AM, "Claudius Sailer" wrote: > * Diese Methode oder Eigenschaft existiert nicht in > Datenbank.Datenbank, line 16: > TKonten.HauptGegenKonto.SetTarget(TKonten,EVOnDeletion.kSetNull) > > but now it doesn't work. What is the solution in V4RB 2.0? Method SetTarget() removed. Now we have simply a property .Target So TKonten.HauptGegenKonto.Target = Tkonten TKonten.HauptGegenKonto.OnDeletion = EVOnDeletion.kSetNull But, do you speak now about CREATION phase? Then please note that constructor of VObjectPtr field now looks as VObjectPtr( inName as String, inTarget as VTable, inOnDeletion as integer = 1, inFlags as Integer = 0) I.e. You can specify all required parameters in the single call -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 09:55:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:56:00 2005 Subject: last 3 Recoding-Problems In-Reply-To: <8801d2f210e6181b982e7dae782d65a8@sailer-online.de> Message-ID: On 2/12/05 9:37 AM, "Claudius Sailer" wrote: > Also with methods. At the moment I generate Mothod in Database-Class > > > TCurrencies.NValue.SetMethod("if(QuotationMode=1,(LastValue/10000)/ > QuotationUnit,1/((LastValue/10000)/QuotationUnit))") > > Now I do same in Table-Class? > > NValue=new VFloat("NValue", > METHOD('if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/ > ((LastValue/10000)/QuotationUnit))')) If you talk about CREATION phase then yes. -------- If you need change EXISTED method at runtime You can use property Vfield.Method Btw, via SQL also possible change field params using ALTER TABLE, But IMHO SQL is much more complex way for this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 08:56:51 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 01:56:58 2005 Subject: last 3 Recoding-Problems In-Reply-To: References: Message-ID: <77efa9a50200754b15c5d215da25bbc8@sailer-online.de> Am 12. Feb 2005 um 08:53 Uhr schrieb Ruslan Zasukhin: > On 2/12/05 9:37 AM, "Claudius Sailer" > wrote: > >> * Diese Methode oder Eigenschaft existiert nicht in >> Datenbank.Datenbank, line 16: >> TKonten.HauptGegenKonto.SetTarget(TKonten,EVOnDeletion.kSetNull) >> >> but now it doesn't work. What is the solution in V4RB 2.0? > > Method SetTarget() removed. > > Now we have simply a property .Target > > So > > TKonten.HauptGegenKonto.Target = Tkonten > TKonten.HauptGegenKonto.OnDeletion = EVOnDeletion.kSetNull > > > But, do you speak now about CREATION phase? > > Then please note that constructor of VObjectPtr field now looks as > > VObjectPtr( > inName as String, > inTarget as VTable, > inOnDeletion as integer = 1, > inFlags as Integer = 0) > > I.e. You can specify all required parameters in the single call problems seems to be fixed. but now I start Debug mode and got an Exception.... tmpDB = new VDataBase tmpDB.Open(f) on tmpDB.Open(f) I also got LogFile. Where can I see reason for Exception? Valentina_SetDebugLevel... PARAM: inLevel = 3 return Valentina_Init... PARAM: inCacheSize = 20971520 PARAM: inMacSN->CString() = "XXXXXXXXX" PARAM: inWinSN->CString() = "" return Valentina_GetCacheSize... return (int) AllocatedSize = 20975616 Database_Ctor... PARAM: instance = 26491108 return Database_Ctor1... PARAM: instance = 26491108 PARAM: inStorageType = 0 return Database_Open... PARAM: inDatabase = 26491108 PARAM: pLocation->get_Path() = "MacOS_X:Users:claudius:Dokumente:RealBasic Claudius:MoneyControl DB:Entwicklung 5.X:Daten:MeineDatenbank" bye Claudius From Claudius at sailer-online.de Sat Feb 12 08:57:32 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 01:57:36 2005 Subject: ReadingStructure 2.0 In-Reply-To: References: Message-ID: Am 12. Feb 2005 um 07:32 Uhr schrieb Claudius Sailer: > Hi, > > following Code > > > DBFieldsName(i,j)=tmpDB.Table(i).Field(j).Name+"- > >"+VBaseObject(VObjectPtr(tmpDB.Table(i).Field(j)).PointedObject).Name > > read Linked fields. I made some changes VBaseObject to Table. But at > the moment I can't resolve it correctly to 2.0. > Does anybidy is ablie to help me here? Okay it seems I fixed it. bye Claudius From sunshine at public.kherson.ua Sat Feb 12 10:06:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 02:06:10 2005 Subject: last 3 Recoding-Problems In-Reply-To: <77efa9a50200754b15c5d215da25bbc8@sailer-online.de> Message-ID: On 2/12/05 9:56 AM, "Claudius Sailer" wrote: >> VObjectPtr( >> inName as String, >> inTarget as VTable, >> inOnDeletion as integer = 1, >> inFlags as Integer = 0) >> >> I.e. You can specify all required parameters in the single call > > problems seems to be fixed. > > but now I start Debug mode and got an Exception.... > > tmpDB = new VDataBase > tmpDB.Open(f) > > on tmpDB.Open(f) > > I also got LogFile. Where can I see reason for Exception? 1) if you port 1.x project then AT LEAST first time you will prefer to have Valentina.ThrowExceptions = false And use old style db.errNumber. Check this point. 2) if you want work with exceptions then you need have in the function catch block to catch Vexception. at least in debugger you can stop and see it. also you can show msgbox 3) another important point about LOGS see below > Valentina_SetDebugLevel... > PARAM: inLevel = 3 > return > > Valentina_Init... > PARAM: inCacheSize = 20971520 > PARAM: inMacSN->CString() = "XXXXXXXXX" > PARAM: inWinSN->CString() = "" > return > > Valentina_GetCacheSize... > return (int) AllocatedSize = 20975616 > > Database_Ctor... > PARAM: instance = 26491108 > return > > Database_Ctor1... > PARAM: instance = 26491108 > PARAM: inStorageType = 0 > return > > Database_Open... > PARAM: inDatabase = 26491108 > PARAM: pLocation->get_Path() = > "MacOS_X:Users:claudius:Dokumente:RealBasic Claudius:MoneyControl > DB:Entwicklung 5.X:Daten:MeineDatenbank" This is all? Where is close() shutdown(). In any case. LOG FILE in case of crash or such stop in debugger have not write to disk LATEST portion of bytes. So you can force V4RB do this using Valentina.FlushEachLog = true But this will slow down a lots. But you can ON/OFF this around problematic code only -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 09:38:49 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 02:38:59 2005 Subject: last 3 Recoding-Problems In-Reply-To: References: Message-ID: <68aab9543761648ae4caf9eaf30bf18d@sailer-online.de> Okay Test-Result Am 12. Feb 2005 um 09:06 Uhr schrieb Ruslan Zasukhin: >> Valentina_SetDebugLevel... >> PARAM: inLevel = 3 >> return >> >> Valentina_Init... >> PARAM: inCacheSize = 20971520 >> PARAM: inMacSN->CString() = "XXXXXXXXX" >> PARAM: inWinSN->CString() = "" >> return >> >> Valentina_GetCacheSize... >> return (int) AllocatedSize = 20975616 >> >> Database_Ctor... >> PARAM: instance = 26491108 >> return >> >> Database_Ctor1... >> PARAM: instance = 26491108 >> PARAM: inStorageType = 0 >> return >> >> Database_Open... >> PARAM: inDatabase = 26491108 >> PARAM: pLocation->get_Path() = >> "MacOS_X:Users:claudius:Dokumente:RealBasic Claudius:MoneyControl >> DB:Entwicklung 5.X:Daten:MeineDatenbank" > > This is all? Where is close() shutdown(). > > In any case. > > LOG FILE in case of crash or such stop in debugger have not write to > disk > LATEST portion of bytes. So you can force V4RB do this using > > Valentina.FlushEachLog = true > > But this will slow down a lots. > > But you can ON/OFF this around problematic code only Crashing because open(f) where f is database from 1.x. I would expect here ErrorMessage, but my fault. Other thing now is. I can't create new database. Sub DBCurrencies(indatabase as Datenbank) name="Currencies" CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed) Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable + EVOnDeletion.kRestrict) LastValue=new VLong("LastValue",EVFlag.fNullable) QuotationUnit=new VULong("QuotationUnit") QuotationMode=new VBoolean("QuotationMode") NValue=new VFloat("NValue", EVFlag.fNone, "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ 10000)/QuotationUnit))") Sortierung=new VULong("Sortierung") end Sub I get following LogFile. Application crashes without ErrorMessage. It Seems that something is wrong with Method? Table_SetName... PARAM: inTable = 26953344 PARAM: inNewName = "Currencies" return VarChar_Ctor... PARAM: instance = 26953432 PARAM: inName = "CUR" PARAM: inLen = 504 PARAM: inFlags = 6 PARAM: inMethod = "" return VarChar_Ctor... PARAM: instance = 26953492 PARAM: inName = "CURName" PARAM: inLen = 504 PARAM: inFlags = 6 PARAM: inMethod = "" return VarChar_Ctor... PARAM: instance = 26953552 PARAM: inName = "Ric" PARAM: inLen = 504 PARAM: inFlags = 3 PARAM: inMethod = "" return ObjectPtr_Ctor... PARAM: instance = 26953768 PARAM: inName = "Online" PARAM: inTarget = 26952284 PARAM: inOnDeletion = 4 PARAM: inFlags = 0 return Long_Ctor... PARAM: instance = 26953820 PARAM: inName = "LastValue" PARAM: inFlags = 1 return ULong_Ctor... PARAM: instance = 26953872 PARAM: inName = "QuotationUnit" PARAM: inFlags = 0 return Boolean_Ctor... PARAM: instance = 26953924 PARAM: inName = "QuotationMode" PARAM: inFlags = 0 return Float_Ctor... PARAM: instance = 26954092 PARAM: inName = "NValue" PARAM: inFlags = 0 bye Claudius From sunshine at public.kherson.ua Sat Feb 12 10:42:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 02:42:25 2005 Subject: last 3 Recoding-Problems In-Reply-To: <68aab9543761648ae4caf9eaf30bf18d@sailer-online.de> Message-ID: On 2/12/05 10:38 AM, "Claudius Sailer" wrote: > Crashing because open(f) where f is database from 1.x. I would expect > here ErrorMessage, but my fault. Other thing now is. I can't create new > database. We have now function to extract the version of db file which is closed. Check example Common folder -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 10:44:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 02:44:10 2005 Subject: last 3 Recoding-Problems In-Reply-To: <68aab9543761648ae4caf9eaf30bf18d@sailer-online.de> Message-ID: On 2/12/05 10:38 AM, "Claudius Sailer" wrote: > > Crashing because open(f) where f is database from 1.x. I would expect > here ErrorMessage, but my fault. Other thing now is. I can't create new > database. > > Sub DBCurrencies(indatabase as Datenbank) > name="Currencies" > CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) > CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed) > Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) > Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable + > EVOnDeletion.kRestrict) > LastValue=new VLong("LastValue",EVFlag.fNullable) > QuotationUnit=new VULong("QuotationUnit") > QuotationMode=new VBoolean("QuotationMode") > NValue=new VFloat("NValue", EVFlag.fNone, > "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ > 10000)/QuotationUnit))") > Sortierung=new VULong("Sortierung") > end Sub > > I get following LogFile. Application crashes without ErrorMessage. It > Seems that something is wrong with Method? Can you send project with this ? Although, Ivan this should be easy to reproduce. Just one table with one such FLOAT field. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 10:44:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 02:44:46 2005 Subject: last 3 Recoding-Problems In-Reply-To: <68aab9543761648ae4caf9eaf30bf18d@sailer-online.de> Message-ID: On 2/12/05 10:38 AM, "Claudius Sailer" wrote: > Sub DBCurrencies(indatabase as Datenbank) > name="Currencies" > CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) > CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed) > Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) > Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable + > EVOnDeletion.kRestrict) > LastValue=new VLong("LastValue",EVFlag.fNullable) > QuotationUnit=new VULong("QuotationUnit") > QuotationMode=new VBoolean("QuotationMode") > NValue=new VFloat("NValue", EVFlag.fNone, > "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ > 10000)/QuotationUnit))") > Sortierung=new VULong("Sortierung") > end Sub > > I get following LogFile. Application crashes without ErrorMessage. It > Seems that something is wrong with Method? Claudius, Please add this to Mantis. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 10:46:27 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 03:46:35 2005 Subject: last 3 Recoding-Problems In-Reply-To: References: Message-ID: <3a8f3eb1e2a8e7332ad1a0f69449c03e@sailer-online.de> Am 12. Feb 2005 um 09:44 Uhr schrieb Ruslan Zasukhin: > On 2/12/05 10:38 AM, "Claudius Sailer" > wrote: > >> Sub DBCurrencies(indatabase as Datenbank) >> name="Currencies" >> CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed) >> CURName=new VVarChar("CURName",504, EVFlag.fUnique >> +EVFlag.fIndexed) >> Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable) >> Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable >> + >> EVOnDeletion.kRestrict) >> LastValue=new VLong("LastValue",EVFlag.fNullable) >> QuotationUnit=new VULong("QuotationUnit") >> QuotationMode=new VBoolean("QuotationMode") >> NValue=new VFloat("NValue", EVFlag.fNone, >> "if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/ >> 10000)/QuotationUnit))") >> Sortierung=new VULong("Sortierung") >> end Sub >> >> I get following LogFile. Application crashes without ErrorMessage. It >> Seems that something is wrong with Method? > > Claudius, > > Please add this to Mantis. what is Mantis? bye Claudius From sunshine at public.kherson.ua Sat Feb 12 12:23:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 04:23:26 2005 Subject: last 3 Recoding-Problems In-Reply-To: <3a8f3eb1e2a8e7332ad1a0f69449c03e@sailer-online.de> Message-ID: On 2/12/05 11:46 AM, "Claudius Sailer" wrote: >> >> Please add this to Mantis. > > what is Mantis? Our bug tracking system http://paradigma.ukrcom.kherson.ua/bt/ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 14:47:12 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 07:47:20 2005 Subject: SQL-problem Message-ID: <13fcd3c523e13769460432b4860c75af@sailer-online.de> I get an error message: select K.RecID, K.*, KG.RecID, KG.*, K.Sortierung from Konten K, Kontogruppen KG WHERE K.KontoGrp_ID=KG.RecID ORDER BY K.Sortierung Error 40960 Feature is not supported Is there an wrong usage of SQL of mine? BugReport 405 bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0b45 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From jda at his.com Sat Feb 12 10:27:52 2005 From: jda at his.com (jda) Date: Sat Feb 12 09:28:08 2005 Subject: Optimization Message-ID: Hi Ruslan, I maintain my own long field that holds the arbitrary order of records in a table. The following loop runs very, very quickly in V1.x. It is *very* slow in V2 (about 10 seconds for 4200 records). Any idea why? Or better yet, ways to speed it up? i = 1 result = myCursor.firstRecord while result = true myCursor.LongField("hit").value = i myCursor.UpdateRecord i = i + 1 result = myCursor.NextRecord wend myCursor = nil Thanks, Jon P.S. If it matters, the cursor was made with kNoLocks: myCursor = myDatabase.SQLSelect(query, EVCursorLocation.kServerSide, EVLockType.kNoLocks) From Claudius at sailer-online.de Sat Feb 12 16:52:04 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 09:52:11 2005 Subject: Add Examples to Mantis Message-ID: <2517df8349d3409969cbc26bbbcba840@sailer-online.de> Hi, I have database 1.10 converted to 2.x by Example-RB-Application. After that new database has in every table records=0 and in some tables funny names of fields. Now I inserted BugReport #407 but how can I attache e.g. my database for testing? bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat Feb 12 18:19:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:19:18 2005 Subject: SQL-problem In-Reply-To: <13fcd3c523e13769460432b4860c75af@sailer-online.de> Message-ID: On 2/12/05 3:47 PM, "Claudius Sailer" wrote: > I get an error message: > > select K.RecID, K.*, KG.RecID, KG.*, K.Sortierung from Konten K, > Kontogruppen KG WHERE K.KontoGrp_ID=KG.RecID ORDER BY K.Sortierung > > Error 40960 Feature is not supported > > Is there an wrong usage of SQL of mine? > BugReport 405 Sort of join is not enabled yet. Frank also have stick into this. I think we will start this task right now -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 18:20:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:20:12 2005 Subject: Add Examples to Mantis In-Reply-To: <2517df8349d3409969cbc26bbbcba840@sailer-online.de> Message-ID: On 2/12/05 5:52 PM, "Claudius Sailer" wrote: > Hi, > > I have database 1.10 converted to 2.x by Example-RB-Application. After > that new database has in every table records=0 and in some tables funny > names of fields. Now I inserted BugReport #407 but how can I attache > e.g. my database for testing? Please send db to me and in subj specify project/db for bug #407 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 18:23:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:23:51 2005 Subject: Optimization In-Reply-To: Message-ID: On 2/12/05 5:27 PM, "jda" wrote: Hi Jon, > I maintain my own long field that holds the arbitrary order of > records in a table. The following loop runs very, very quickly in > V1.x. It is *very* slow in V2 (about 10 seconds for 4200 records). > > Any idea why? Or better yet, ways to speed it up? > > i = 1 > result = myCursor.firstRecord > while result = true > myCursor.LongField("hit").value = i > myCursor.UpdateRecord > i = i + 1 > result = myCursor.NextRecord > wend > myCursor = nil > > > Thanks, > > Jon > > P.S. If it matters, the cursor was made with kNoLocks: > > myCursor = myDatabase.SQLSelect(query, EVCursorLocation.kServerSide, > EVLockType.kNoLocks) And it have one field only ? May be we pool all fields of table... Igor, you need check this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Feb 12 11:26:32 2005 From: jda at his.com (jda) Date: Sat Feb 12 10:26:38 2005 Subject: Optimization In-Reply-To: References: Message-ID: > i = 1 > > result = myCursor.firstRecord >> while result = true >> myCursor.LongField("hit").value = i >> myCursor.UpdateRecord >> i = i + 1 >> result = myCursor.NextRecord >> wend >> myCursor = nil >> >> >> Thanks, >> >> Jon >> >> P.S. If it matters, the cursor was made with kNoLocks: >> >> myCursor = myDatabase.SQLSelect(query, EVCursorLocation.kServerSide, >> EVLockType.kNoLocks) > >And it have one field only ? > >May be we pool all fields of table... >Igor, you need check this. > No, it has many fields. Actually, the speed is worse than I said. It turns out it take 10 seconds for only 1433 records. So it really is very slow. In V1.x it was virtually instantaneous. Jon P.S. Making the cursor kReadWrite did not help. From Claudius at sailer-online.de Sat Feb 12 17:26:36 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 10:26:43 2005 Subject: SQL-problem In-Reply-To: References: Message-ID: <341929a41e957abbcb75b7dc818c9c4e@sailer-online.de> Am 12. Feb 2005 um 17:19 Uhr schrieb Ruslan Zasukhin: > On 2/12/05 3:47 PM, "Claudius Sailer" > wrote: > >> I get an error message: >> >> select K.RecID, K.*, KG.RecID, KG.*, K.Sortierung from Konten K, >> Kontogruppen KG WHERE K.KontoGrp_ID=KG.RecID ORDER BY K.Sortierung >> >> Error 40960 Feature is not supported >> >> Is there an wrong usage of SQL of mine? >> BugReport 405 > > Sort of join is not enabled yet. > Frank also have stick into this. > > I think we will start this task right now This would be good decission, because all my SQLs are using "ORDER BY". So all testing brings crashing Application ;-)) But I am now at the situation, that I can compile my application without error. Thats a good thing. Takes me 5 hours. bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat Feb 12 18:32:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:32:18 2005 Subject: Optimization In-Reply-To: Message-ID: On 2/12/05 6:26 PM, "jda" wrote: > > No, it has many fields. > > Actually, the speed is worse than I said. It turns out it take 10 > seconds for only 1433 records. So it really is very slow. In V1.x it > was virtually instantaneous. Can you reproduce in some small project ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 17:33:35 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 10:33:40 2005 Subject: BugTracking Message-ID: Hello Ruslan, I am really surprised about Mantis. I am responsible on my job for a bussines application (Version 5.X) from a very big company and software is much expansive, has a lot of bugs, but they don't have something comparable. Same to RB-Bug-Handling. Really Great. It shows me that decission to use Valentina was never the wrong solution. bye Claudius From sunshine at public.kherson.ua Sat Feb 12 18:36:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:36:07 2005 Subject: Claudius, UTF16 strings In-Reply-To: <341929a41e957abbcb75b7dc818c9c4e@sailer-online.de> Message-ID: Hi Claudius, You have mention that you convert YOUR UTF16 strings in the RB To something else. Have I correctly understand ? You make in RB strings in UTF16 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 18:37:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:37:49 2005 Subject: BugTracking In-Reply-To: Message-ID: On 2/12/05 6:33 PM, "Claudius Sailer" wrote: > Hello Ruslan, > > I am really surprised about Mantis. I am responsible on my job for a > bussines application (Version 5.X) from a very big company and software > is much expansive, has a lot of bugs, but they don't have something > comparable. Same to RB-Bug-Handling. > > Really Great. It shows me that decission to use Valentina was never the > wrong solution. Thank you, Claudius, Its Yuri have found and install here this great tracking system. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 17:38:27 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 10:38:34 2005 Subject: Claudius, UTF16 strings In-Reply-To: References: Message-ID: <19d2f8175f6c2e3fd13366b9ec70df4e@sailer-online.de> Am 12. Feb 2005 um 17:36 Uhr schrieb Ruslan Zasukhin: > Hi Claudius, > > You have mention that you convert YOUR UTF16 strings in the RB > To something else. > > Have I correctly understand ? > > You make in RB strings in UTF16 ? No. At the moment I use UTF8 in RB and ASCII in V4RB 1.10. I read that V4RB2.X uses UTF16. So my question was. Is it necessary to convert UTF8 to UTF16 when I want to write to database and is it necessary to convert to UTF8 from UTF16 when I read from database and want to see it in EditField? bye Claudius From sunshine at public.kherson.ua Sat Feb 12 18:44:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 10:44:32 2005 Subject: Claudius, UTF16 strings In-Reply-To: <19d2f8175f6c2e3fd13366b9ec70df4e@sailer-online.de> Message-ID: On 2/12/05 6:38 PM, "Claudius Sailer" wrote: >> Hi Claudius, >> >> You have mention that you convert YOUR UTF16 strings in the RB >> To something else. >> >> Have I correctly understand ? >> >> You make in RB strings in UTF16 ? > > No. > At the moment I use UTF8 in RB and ASCII in V4RB 1.10. I read that > V4RB2.X uses UTF16. So my question was. Is it necessary to convert UTF8 > to UTF16 when I want to write to database and is it necessary to > convert to UTF8 from UTF16 when I read from database and want to see it > in EditField? No need. * now V4RB 2.0 expect to see UTF8 string and return in UTF8. all rest it do self. * also It will be not easy for me to make that it accept UTF16 strings. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sat Feb 12 18:17:34 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 12 11:17:40 2005 Subject: Claudius, UTF16 strings In-Reply-To: References: Message-ID: <9d79c81847e3b0aab8d5e6104ff7ef49@sailer-online.de> Am 12. Feb 2005 um 17:44 Uhr schrieb Ruslan Zasukhin: > On 2/12/05 6:38 PM, "Claudius Sailer" > wrote: > >>> Hi Claudius, >>> >>> You have mention that you convert YOUR UTF16 strings in the RB >>> To something else. >>> >>> Have I correctly understand ? >>> >>> You make in RB strings in UTF16 ? >> >> No. >> At the moment I use UTF8 in RB and ASCII in V4RB 1.10. I read that >> V4RB2.X uses UTF16. So my question was. Is it necessary to convert >> UTF8 >> to UTF16 when I want to write to database and is it necessary to >> convert to UTF8 from UTF16 when I read from database and want to see >> it >> in EditField? > > No need. > > * now V4RB 2.0 expect to see UTF8 string and return in UTF8. > all rest it do self. great. Seems to be a missunderstanding on my side. bye Claudius From jda at his.com Sat Feb 12 12:47:24 2005 From: jda at his.com (jda) Date: Sat Feb 12 11:47:38 2005 Subject: Optimization In-Reply-To: References: Message-ID: > > Actually, the speed is worse than I said. It turns out it take 10 >> seconds for only 1433 records. So it really is very slow. In V1.x it >> was virtually instantaneous. > >Can you reproduce in some small project ? > I don't know, can I? I agree with you it is probably that all the other fields (including methods), all indexed, are being updated too! You already have a simple example for updating (Method_Create), and if you think the speed there is fast enough then the problem can only be seen with more complex records, like mine. If there is something specific you'd like me to try, I'd be happy to. Jon From sunshine at public.kherson.ua Sun Feb 13 10:10:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 13 02:10:17 2005 Subject: [V4RB] 2.0 b45 uploaded Message-ID: kernel - 2.0 b45 ================ - 0000415: [Indexes] Diagnose of index Byte crashes (Ruslan Zasukhin) - 0000403: [Methods (calculated fields)] Parser error with "IF" sql-function. (Sergey Duminskiy) - 0000414: [API] Temporary fields exists after Convert_1_2 in some cases. (Ivan Smahin) - 0000413: [Other] Convert_1_2 crashes on data converting in some cases. (Ivan Smahin) - 0000412: [Diagnose] VVarChar::Diagnose crash case it is method field. (Ivan Smahin) - 0000411: [Values] Passing very big year value (via put_String(), more then 4 digits) causes stack corruption. (Igor Gomon) V4RB - 2.0 b45 ============== - 0000417: [SQL] insert truncate for SQL command (Ruslan Zasukhin) - 0000404: [Class-way] Method-Problem in Class (Sergey Duminskiy) - 0000407: [API] convert 1.x to 2.x fails (Ivan Smahin) - 0000406: [API] Can't DeleteAllRecords(NIL) (Igor Gomon) - 0000402: [SQL] Field value becomes truncated case binding used. (Ivan Smahin) - 0000055: [Other] Problem when the db name has unicode chars (Ruslan Zasukhin) - 0000244: [API] Long file names -> VException -61 on open (Ruslan Zasukhin) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050213/95325210/attachment.html From Claudius at sailer-online.de Sun Feb 13 12:18:18 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 13 05:18:32 2005 Subject: BugTracking Message-ID: <22baa7fc5090c83ffe617e18aac9f94c@sailer-online.de> Hi, it would be nice to get the functionality to set a bug to solved :-)) bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Sun Feb 13 12:19:51 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 13 05:19:57 2005 Subject: BugTracking In-Reply-To: <22baa7fc5090c83ffe617e18aac9f94c@sailer-online.de> References: <22baa7fc5090c83ffe617e18aac9f94c@sailer-online.de> Message-ID: <02e7142c8cd3586f33ff18ed70545686@sailer-online.de> Am 13. Feb 2005 um 12:18 Uhr schrieb Claudius Sailer: > Hi, > > it would be nice to get the functionality to set a bug to solved :-)) sorry to closed ;-)) Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Feb 13 15:21:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 13 07:21:06 2005 Subject: BugTracking In-Reply-To: <02e7142c8cd3586f33ff18ed70545686@sailer-online.de> Message-ID: On 2/13/05 1:19 PM, "Claudius Sailer" wrote: > > Am 13. Feb 2005 um 12:18 Uhr schrieb Claudius Sailer: > >> Hi, >> >> it would be nice to get the functionality to set a bug to solved :-)) > > sorry to closed ;-)) You mean for reporter? Not sure if mantis allow this. What bug you want to close ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun Feb 13 17:36:36 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 13 10:36:45 2005 Subject: BugTracking In-Reply-To: References: Message-ID: <3448639857cdb268afa38b709c204356@sailer-online.de> Am 13. Feb 2005 um 14:21 Uhr schrieb Ruslan Zasukhin: > On 2/13/05 1:19 PM, "Claudius Sailer" > wrote: > >> >> Am 13. Feb 2005 um 12:18 Uhr schrieb Claudius Sailer: >> >>> Hi, >>> >>> it would be nice to get the functionality to set a bug to solved :-)) >> >> sorry to closed ;-)) > > You mean for reporter? > Not sure if mantis allow this. > > What bug you want to close ? 404, 406, 407 all are fixed in b45. bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Feb 13 18:49:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 13 10:49:11 2005 Subject: BugTracking In-Reply-To: <3448639857cdb268afa38b709c204356@sailer-online.de> Message-ID: On 2/13/05 6:36 PM, "Claudius Sailer" wrote: > > Am 13. Feb 2005 um 14:21 Uhr schrieb Ruslan Zasukhin: > >> On 2/13/05 1:19 PM, "Claudius Sailer" >> wrote: >> >>> >>> Am 13. Feb 2005 um 12:18 Uhr schrieb Claudius Sailer: >>> >>>> Hi, >>>> >>>> it would be nice to get the functionality to set a bug to solved :-)) >>> >>> sorry to closed ;-)) >> >> You mean for reporter? >> Not sure if mantis allow this. >> >> What bug you want to close ? > > 404, 406, 407 > > all are fixed in b45. We already have fix this bugs. And in my letter this is mentioned. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun Feb 13 18:11:06 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 13 11:11:14 2005 Subject: BugTracking In-Reply-To: References: Message-ID: <0cb1f4ff7a00b534d5bb03a3794d0252@sailer-online.de> Am 13. Feb 2005 um 17:49 Uhr schrieb Ruslan Zasukhin: >> 404, 406, 407 >> >> all are fixed in b45. > > We already have fix this bugs. > > And in my letter this is mentioned. I see, but status is resolved and there is also status closed and I thought this is something I have to do after I tested it ;-)) Thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Feb 13 19:45:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 13 11:45:09 2005 Subject: BugTracking In-Reply-To: <0cb1f4ff7a00b534d5bb03a3794d0252@sailer-online.de> Message-ID: On 2/13/05 7:11 PM, "Claudius Sailer" wrote: >>> 404, 406, 407 >>> >>> all are fixed in b45. >> >> We already have fix this bugs. >> >> And in my letter this is mentioned. > > I see, but status is resolved and there is also status closed and I > thought this is something I have to do after I tested it ;-)) No, we self set RESOLVED. We almost never use closed. Even not sure what deep difference between them :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From alindsay at mac.com Sat Feb 12 23:24:06 2005 From: alindsay at mac.com (Alex Lindsay) Date: Sun Feb 13 13:30:15 2005 Subject: Turning compression on In-Reply-To: <1502804415.20050204205024@public.kherson.ua> References: <1502804415.20050204205024@public.kherson.ua> Message-ID: <8d19f3ff1ff11908eb6e915b59c03d80@mac.com> Thank you, Alex Lindsay On Feb 4, 2005, at 10:50 AM, Ivan Smahin wrote: > Hello jda, > > Thursday, February 3, 2005, 11:39:19 PM, you wrote: > > > j> Hi Ruslan, > > j> I have a db in which no text fields are compressed. I want to change > j> this for one text field. > > j> In my project, in the baseobject declaration, I add this line: > > j> abstract.isCompressed = true > > j> When I run it, the old db opens fine. > > > j> But if I do it this way > > j> abstract = CreateTextField("abstract", 128, > EVFlag.fCompressed > j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords) > > j> I get a nil object error when I run try to open the db. > > j> Moreover, if I make a new db and try to create a new record -> > crash. > > j> So, should we avoid the EVFlag.fCompressed flag and use > j> isCompressed=true after the field has been created? Or should I > j> report this (minor) issue on Mantis? > > j> Jon > j> _______________________________________________ > j> Valentina-beta mailing list > j> Valentina-beta@lists.macserve.net > j> http://lists.macserve.net/mailman/listinfo/valentina-beta > > It's fixed already - just a couple days ago. > (id=370) > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From lfredricks at proactive-intl.com Sun Feb 13 16:43:14 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Feb 13 18:45:30 2005 Subject: Three questions ... In-Reply-To: Message-ID: <20050214004520.1975317D023@spatula.dreamhost.com> > > Given that the version 2 is not a simple update of the > version 1.x, I > > think that the number of the version 1.x will not be valid any more > > for the version 2. From when and in which conditions it will be > > possible to publish software packages using the version 2 ? > > >From when? As you will see that your app is stable. > We going to make release in the nearest weeks. > > Conditions the same -- royalty free. > > Upgrade price it seems 50% from full price, yes Lynn? There are a few small changes to the EULA. The planned price for upgrading is 50%, though I expect a lot of people to go for Valentina Developer Network instead of a straight upgrade to Valentina 2 ADKs (the successors of single connection SDKs). Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From vidal_olivier at yahoo.fr Mon Feb 14 09:24:45 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Mon Feb 14 02:25:05 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" Message-ID: Hello Ruslan and list, V4RB 2.0 b45 1- problem : The problem occurs on a table with 50 000 records. I have an arrayset which has, for example, 3 000 records. then, Dim p as integer=arrayset1.count Setbit1=new vbitset (p, arrayset1) The number of records in the bitSet is not more than of some dozens. Is it normal? On the other hand, if I set: Setbit1=new vbitset (100 000, arrayset1) It is OK. Nevertheless, in doc, the parameter " inMaxCount " is described as: " The maximal value that can be stored in the bitset ". then why a parameter of 3000 doesn't works ? Also, the parameter " inMaxCount " is necessary. Is it normal? 2- bitset and arrayset : I know that we should use arraySets rarely and to use rather bitSets. But it is difficult. We OFTEN need an RecId access to the set. Actually, I see that I use a lot the functions " arrayset1=new varrayset ( bitset ) " and " bitset1=new vbitset ( arrayset ) ". I suppose that it is expensive in resources when we use them a lot. Maybe that it would have been more practical to have functions FindStartWithArraySet, FindContainsArraySet.... Olivier From sunshine at public.kherson.ua Mon Feb 14 10:43:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 02:43:55 2005 Subject: [V4RB] 2.0 b45 uploaded again. Message-ID: Hi All, There was fixed few minor glitches in b45, And archive re-uploaded. Fixed db extensions, db creator/type. So please download newer archives. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 14 10:46:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 02:46:12 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: Message-ID: On 2/14/05 10:24 AM, "Olivier" wrote: Hi Oliver, > Hello Ruslan and list, > > V4RB 2.0 b45 > > 1- problem : > > The problem occurs on a table with 50 000 records. > > I have an arrayset which has, for example, 3 000 records. > then, > > Dim p as integer=arrayset1.count > Setbit1=new vbitset (p, arrayset1) > > The number of records in the bitSet is not more than of some dozens. > Is it normal? BIG MISTAKE! Please remember this: BitSet must have size EQUAL TO table.physicalRecordCount Btw, simple way to get empty BitSet of correct size is botset = tbl.SelectNone() > On the other hand, if I set: > Setbit1=new vbitset (100 000, arrayset1) > > It is OK. Nevertheless, in doc, the parameter " inMaxCount " is > described as: " The maximal value that can be stored in the bitset ". > then why a parameter of 3000 doesn't works ? > > Also, the parameter " inMaxCount " is necessary. Is it normal? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 14 10:49:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 02:50:02 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: Message-ID: On 2/14/05 10:24 AM, "Olivier" wrote: > 2- bitset and arrayset : > > I know that we should use arraySets rarely and to use rather bitSets. > But it is difficult. We OFTEN need an RecId access to the set. > > Actually, I see that I use a lot the functions " arrayset1=new > varrayset ( bitset ) " and " bitset1=new vbitset ( arrayset ) ". > I suppose that it is expensive in resources when we use them a lot. > Maybe that it would have been more practical to have functions > FindStartWithArraySet, FindContainsArraySet.... But they will do the same conversion, so you will no win speed. In the worse case you can add own wrapper-functions to remove duplicated code. Right ? ---------------- Again: SQL command SELECT FROM T WHERE predicate1 and predicate2 and ... ORDER BY f1, f2, At first ENGINE build for each predicate bitset, Then do intersection of bitsets and get result bitset. Then do sorting and get result of arrayset. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Mon Feb 14 10:09:24 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Mon Feb 14 03:09:37 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: References: Message-ID: <1ECC2D69-7E68-11D9-926C-000D93C35C66@yahoo.fr> > BIG MISTAKE! > > Please remember this: > > BitSet must have size EQUAL TO table.physicalRecordCount > Ok Ruslan, thank you olivier >> Also, the parameter " inMaxCount " is necessary. Is it normal? From ohmitou at wanadoo.fr Mon Feb 14 13:13:19 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Feb 14 03:13:30 2005 Subject: [V4RB] 2.0 b45 uploaded again. Message-ID: <20050214091319.25884@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 14/02/05 : >Hi All, > >There was fixed few minor glitches in b45, >And archive re-uploaded. > >Fixed db extensions, db creator/type. > >So please download newer archives. Downloaded, installed, tested: always a white icon, no type and creator (FileBuddy) and always impossible to open with Valentina Studio. Regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon Feb 14 11:19:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 03:20:08 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: <20050214091319.25884@smtp.wanadoo.fr> Message-ID: On 2/14/05 11:13 AM, "Thierry Nauze" wrote: > sunshine@public.kherson.ua a ?crit le 14/02/05 : > >> Hi All, >> >> There was fixed few minor glitches in b45, >> And archive re-uploaded. >> >> Fixed db extensions, db creator/type. >> >> So please download newer archives. > > Downloaded, installed, tested: always a white icon, no type and creator > (FileBuddy) and always impossible to open with Valentina Studio. Strange. Can you run example Coomon/MacCreator ? And after it work check creator for db files ? I see here that it works. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Mon Feb 14 10:36:49 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Mon Feb 14 03:36:59 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: References: Message-ID: > But they will do the same conversion, so you will no win speed. > ok > In the worse case you can add own wrapper-functions to remove > duplicated > code. Right ? right BitSet and ArraySet are SO fast in theory the one as the other one? Right? What makes that the one or the other one will be faster will depend only the memory used? That's right? If we use a bitSet with small one selection of returned records or an arrayset with a big selection of returned records, the code will be badly optimized and will maybe be slower, that's right? olivier From sunshine at public.kherson.ua Mon Feb 14 12:33:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 04:33:50 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: Message-ID: On 2/14/05 11:36 AM, "Olivier" wrote: >> But they will do the same conversion, so you will no win speed. >> > ok >> In the worse case you can add own wrapper-functions to remove >> duplicated >> code. Right ? > right > > > BitSet and ArraySet are SO fast in theory the one as the other one? > Right? If they have the same speed? Oliver, here several issues: - speed of creation - speed of iteration. We already have consider, that if you find FEW records then ArraySet faster to create. Otherwise BitSet will be faster. In any case, there is nothing faster of these 2 things. > What makes that the one or the other one will be faster will depend > only the memory used? That's right? The argument to choose between them: relation between (found records) / (total records on table) Please find my old letter when I do calculations. > If we use a bitSet with small one selection of returned records or an > arrayset with a big selection of returned records, the code will be > badly optimized and will maybe be slower, that's right? It will be LITTLE slower of ideal. You see? This will not be so drammatical slow down. And I have told: * if you will do SEVERAL field search: then choice is bitset usually * sorting -- only ArraySet. ArraySet for search should be used if you know that you have table with 100K - million records, but you will find 1 or 4 or 10 or even 100 records. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Mon Feb 14 12:36:40 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Mon Feb 14 05:36:54 2005 Subject: bitSet and Arrayset + problem with "bitset=new bitset (count, arrayset)" In-Reply-To: References: Message-ID: ok, thank you Ruslan ! olivier Le 14 f?vr. 05, ? 11:33, Ruslan Zasukhin a ?crit : > If they have the same speed? > > Oliver, here several issues: > > - speed of creation > - speed of iteration. > > We already have consider, that if you find FEW records then ArraySet > faster > to create. Otherwise BitSet will be faster. > > In any case, there is nothing faster of these 2 things. > >> What makes that the one or the other one will be faster will depend >> only the memory used? That's right? > > The argument to choose between them: > > relation between (found records) / (total records on table) > > Please find my old letter when I do calculations. > > >> If we use a bitSet with small one selection of returned records or an >> arrayset with a big selection of returned records, the code will be >> badly optimized and will maybe be slower, that's right? > > It will be LITTLE slower of ideal. You see? > This will not be so drammatical slow down. > > And I have told: > > * if you will do SEVERAL field search: > then choice is bitset usually > > * sorting -- only ArraySet. > > > ArraySet for search should be used if you know that you have table > with 100K > - million records, but you will find 1 or 4 or 10 or even 100 records. > From rjb at robelko.com Mon Feb 14 13:22:02 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Feb 14 06:33:52 2005 Subject: BugTracking In-Reply-To: References: Message-ID: >On 2/13/05 7:11 PM, "Claudius Sailer" wrote: > >>>> 404, 406, 407 >>>> >>>> all are fixed in b45. >>> >>> We already have fix this bugs. >>> >>> And in my letter this is mentioned. >> >> I see, but status is resolved and there is also status closed and I >> thought this is something I have to do after I tested it ;-)) > >No, we self set RESOLVED. > >We almost never use closed. >Even not sure what deep difference between them :-) > Just like Claudius said: when VALENTINA team fixes a bug, it is resolved; but this resolution has to be verified and confirmed, usually by the bug submitter, and then it is changed to closed. Robert From sunshine at public.kherson.ua Mon Feb 14 14:40:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 06:40:42 2005 Subject: BugTracking In-Reply-To: Message-ID: On 2/14/05 2:22 PM, "Robert Brenstein" wrote: >>> I see, but status is resolved and there is also status closed and I >>> thought this is something I have to do after I tested it ;-)) >> >> No, we self set RESOLVED. >> >> We almost never use closed. >> Even not sure what deep difference between them :-) >> > > Just like Claudius said: when VALENTINA team fixes a bug, it is > resolved; but this resolution has to be verified and confirmed, > usually by the bug submitter, and then it is changed to closed. * but then why Mantis do not allow this option to reporter? * and even if allowed user can forget do this so will be some non-consistence. It needs read Mantis docs to get their ideas. http://www.mantisbt.org/ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Mon Feb 14 14:20:03 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Feb 14 07:38:28 2005 Subject: BugTracking In-Reply-To: References: Message-ID: > > Just like Claudius said: when VALENTINA team fixes a bug, it is >> resolved; but this resolution has to be verified and confirmed, >> usually by the bug submitter, and then it is changed to closed. > >* but then why Mantis do not allow this option to reporter? > >It needs read Mantis docs to get their ideas. > > http://www.mantisbt.org/ > This is standard in bug resolution. If mantis does not give this option, it is either a bug or misconfiguration on your part. I checked mantis docs on the link you gave and the description of resolve clearly states that ...The bug is then set to the Resolved state. The reporter should check off on the bug by using the Close Bug button. >* and even if allowed > user can forget do this > so will be some non-consistence. > Well, you either need to chase the submitter (reporter) or verify the bug yourself and then close it (I am sure Mantis admin can do that). Robert From Claudius at sailer-online.de Mon Feb 14 18:59:11 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 14 11:59:39 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: References: Message-ID: Am 14. Feb 2005 um 10:19 Uhr schrieb Ruslan Zasukhin: > On 2/14/05 11:13 AM, "Thierry Nauze" wrote: > >> sunshine@public.kherson.ua a ?crit le 14/02/05 : >> >>> Hi All, >>> >>> There was fixed few minor glitches in b45, >>> And archive re-uploaded. >>> >>> Fixed db extensions, db creator/type. >>> >>> So please download newer archives. >> >> Downloaded, installed, tested: always a white icon, no type and >> creator >> (FileBuddy) and always impossible to open with Valentina Studio. > > Strange. > > Can you run example Coomon/MacCreator ? > > And after it work check creator for db files ? > > I see here that it works. I tested here. Type and Creator is empty. I build a new database. I didn't tested your Example. meineDatenbank= new Datenbank //Datenbankspezifische Einstellungen festlegen meineDatenbank.DateFormat=EVDateFormat.kDMY meineDatenbank.DateSep="." meineDatenbank.TimeSep = ":" meineDatenbank.Creator="MoCo" meineDatenbank.Create(f, 5, 32*1024) db-extension is always wrong. I said If PrefDic.value("DatabaseCache")>1 then Valentina.Init(PrefDic.value("DatabaseCache")*1024*1024,VC,"") else Valentina.Init(DatabaseMinimumCache*1024*1024,VC,"") end if Valentina.SetExtensions("", "", "", "ind") but my file I gave Name MyDatabaseV4RB2 and in Folder (Finder) I see filename "MyDatabaseV4RB2." and MyDatabaseV4RB2.ind not really working. I downloaded V4RB_2_Carbon b45 because it has new date/timestamp. Bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Mon Feb 14 20:28:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 12:28:19 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: Message-ID: On 2/14/05 7:59 PM, "Claudius Sailer" wrote: >> Can you run example Coomon/MacCreator ? >> >> And after it work check creator for db files ? >> >> I see here that it works. > > I tested here. Type and Creator is empty. I build a new database. I > didn't tested your Example. > > meineDatenbank= new Datenbank > //Datenbankspezifische Einstellungen festlegen > meineDatenbank.DateFormat=EVDateFormat.kDMY > meineDatenbank.DateSep="." > meineDatenbank.TimeSep = ":" > meineDatenbank.Creator="MoCo" > meineDatenbank.Create(f, 5, 32*1024) > > db-extension is always wrong. May be I have upload wrong build .... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Mon Feb 14 22:08:47 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 14 15:08:54 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: References: Message-ID: Am 14. Feb 2005 um 19:28 Uhr schrieb Ruslan Zasukhin: >> I tested here. Type and Creator is empty. I build a new database. I >> didn't tested your Example. >> >> meineDatenbank= new Datenbank >> //Datenbankspezifische Einstellungen festlegen >> meineDatenbank.DateFormat=EVDateFormat.kDMY >> meineDatenbank.DateSep="." >> meineDatenbank.TimeSep = ":" >> meineDatenbank.Creator="MoCo" >> meineDatenbank.Create(f, 5, 32*1024) >> >> db-extension is always wrong. > > May be I have upload wrong build .... No Problem, I will test, when new version is uploaded. bye Claudius From dave at Parizek.com Mon Feb 14 14:50:58 2005 From: dave at Parizek.com (Dave Parizek) Date: Mon Feb 14 15:51:16 2005 Subject: is this bug or feature change? In-Reply-To: References: Message-ID: In V4RB2, queryCursor.field(i).Table.Name returns "_JoinTable_1_" instead of the actual table name. Is this a feature not yet implemented fully, or a bug, or a change in the way V4RB will work in the future? --Dave From sunshine at public.kherson.ua Mon Feb 14 23:53:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 15:53:29 2005 Subject: is this bug or feature change? In-Reply-To: Message-ID: On 2/14/05 11:50 PM, "Dave Parizek" wrote: > In V4RB2, queryCursor.field(i).Table.Name returns "_JoinTable_1_" > instead of the actual table name. But how query of cursor looks ? Is this join ? If yes then how you expect to see original name of ONE OF used table? > Is this a feature not yet implemented fully, or a bug, or a change in > the way V4RB will work in the future? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 14 23:55:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 15:55:07 2005 Subject: is this bug or feature change? In-Reply-To: Message-ID: On 2/14/05 11:50 PM, "Dave Parizek" wrote: > In V4RB2, queryCursor.field(i).Table.Name returns "_JoinTable_1_" > instead of the actual table name. > > Is this a feature not yet implemented fully, or a bug, or a change in > the way V4RB will work in the future? Or you mean that in the 1.x the field of cursor have return actually The name of its original table? I see. I think this is what you mean... I think 1.x was wrong. Field of cursor belong to new table -- join table. So field of cursor must return THIS join table and its name. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Mon Feb 14 16:46:32 2005 From: dave at Parizek.com (Dave Parizek) Date: Mon Feb 14 17:46:36 2005 Subject: error 28673 Using clause does not match parameter specs In-Reply-To: References: Message-ID: When I SQLExecute the following query: INSERT INTO Template (TemplateName, TemplateDescription, HasCheckOffField, TemplateQueryString, TemplateWindowTop, TemplateWindowLeft, TemplateWindowWidth, TemplateWindowHeight, TemplateRowHeight, TemplateEditable) VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :11) I get this error: error 28673 Using clause does not match parameter specs. What exactly does that mean? I can't find anything wrong... --Dave Parizek From dave at Parizek.com Mon Feb 14 16:51:18 2005 From: dave at Parizek.com (Dave Parizek) Date: Mon Feb 14 17:51:35 2005 Subject: NEVERMIND: error 28673 Using clause does not match parameter specs Message-ID: NEVERMIND this last message. Stupid me -- it means there was no 11th value in the binded array. Sorry. -dave When I SQLExecute the following query: INSERT INTO Template (TemplateName, TemplateDescription, HasCheckOffField, TemplateQueryString, TemplateWindowTop, TemplateWindowLeft, TemplateWindowWidth, TemplateWindowHeight, TemplateRowHeight, TemplateEditable) VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :11) I get this error: error 28673 Using clause does not match parameter specs. What exactly does that mean? I can't find anything wrong... --Dave Parizek From dave at Parizek.com Tue Feb 15 11:39:56 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 15 12:40:21 2005 Subject: v4rb2 syntax question Message-ID: With V4RB 1.x, if you had 2 tables joined via an object pointer, you did not need to specify the join the where clause: select * from t1, t2 worked, not necessary to add "where t1.ptr = t2.recid With V4RB2, it is necessary to add the where clause part. Will this be staying this way, or has it just not been implemented yet? --dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Tue Feb 15 20:46:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 12:46:24 2005 Subject: v4rb2 syntax question In-Reply-To: Message-ID: On 2/15/05 8:39 PM, "Dave Parizek" wrote: > With V4RB 1.x, if you had 2 tables joined via an object pointer, you > did not need to specify the join the where clause: > > select * from t1, t2 > > worked, not necessary to add "where t1.ptr = t2.recid > > With V4RB2, it is necessary to add the where clause part. > > Will this be staying this way, or has it just not been implemented yet? Actually it must work! Please send to me your db and you query you do. We will test here. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Feb 15 19:54:15 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 12:54:28 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: References: Message-ID: Am 14. Feb 2005 um 22:08 Uhr schrieb Claudius Sailer: >>> I tested here. Type and Creator is empty. I build a new database. I >>> didn't tested your Example. >>> >>> meineDatenbank= new Datenbank >>> //Datenbankspezifische Einstellungen festlegen >>> meineDatenbank.DateFormat=EVDateFormat.kDMY >>> meineDatenbank.DateSep="." >>> meineDatenbank.TimeSep = ":" >>> meineDatenbank.Creator="MoCo" >>> meineDatenbank.Create(f, 5, 32*1024) >>> >>> db-extension is always wrong. >> >> May be I have upload wrong build .... > > No Problem, > > I will test, when new version is uploaded. Did you upload correct version? Thanks Claudius From Claudius at sailer-online.de Tue Feb 15 19:59:31 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 12:59:36 2005 Subject: BugTracking In-Reply-To: References: Message-ID: <8f1a208b4c7abc15aede7e99f33ca4a2@sailer-online.de> Am 14. Feb 2005 um 14:20 Uhr schrieb Robert Brenstein: >> > Just like Claudius said: when VALENTINA team fixes a bug, it is >>> resolved; but this resolution has to be verified and confirmed, >>> usually by the bug submitter, and then it is changed to closed. >> >> * but then why Mantis do not allow this option to reporter? >> >> It needs read Mantis docs to get their ideas. >> >> http://www.mantisbt.org/ >> > > This is standard in bug resolution. If mantis does not give this > option, it is either a bug or misconfiguration on your part. I checked > mantis docs on the link you gave and the description of resolve > clearly states that > > ...The bug is then set to the Resolved state. The reporter > should check off on the bug by using the Close Bug button. > >> * and even if allowed >> user can forget do this >> so will be some non-consistence. >> > > Well, you either need to chase the submitter (reporter) or verify the > bug yourself and then close it (I am sure Mantis admin can do that). Manual says $g_allow_reporter_close If set, the bug reporter is allowed to close their own bugs, regardless of their access level. The default is OFF. Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From IvanSmahin at public.kherson.ua Tue Feb 15 21:06:26 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Feb 15 13:06:22 2005 Subject: v4rb2 syntax question In-Reply-To: References: Message-ID: <1945521166.20050215210626@public.kherson.ua> Hello Dave, Tuesday, February 15, 2005, 8:39:56 PM, you wrote: DP> With V4RB 1.x, if you had 2 tables joined via an object pointer, you DP> did not need to specify the join the where clause: DP> select * from t1, t2 DP> worked, not necessary to add "where t1.ptr = t2.recid DP> With V4RB2, it is necessary to add the where clause part. DP> Will this be staying this way, or has it just not been implemented yet? DP> --dave Pls, don't send database - I 've seen the problem - thank you. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Tue Feb 15 21:38:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 13:38:28 2005 Subject: BugTracking In-Reply-To: <8f1a208b4c7abc15aede7e99f33ca4a2@sailer-online.de> Message-ID: On 2/15/05 8:59 PM, "Claudius Sailer" wrote: > Manual says > > $g_allow_reporter_close > If set, the bug reporter is allowed to close their own bugs, regardless > of their access level. The default is OFF. Try now please -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 15 22:05:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 14:05:24 2005 Subject: [V4RB] 2.0 b45 uploaded again. In-Reply-To: Message-ID: On 2/15/05 8:54 PM, "Claudius Sailer" wrote: >> I will test, when new version is uploaded. > > Did you upload correct version? We now finish b46 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Feb 15 21:19:52 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 14:20:02 2005 Subject: BugTracking In-Reply-To: References: Message-ID: <7eca234994d1707a86db27056d858ead@sailer-online.de> Am 15. Feb 2005 um 20:38 Uhr schrieb Ruslan Zasukhin: > On 2/15/05 8:59 PM, "Claudius Sailer" > wrote: > >> Manual says >> >> $g_allow_reporter_close >> If set, the bug reporter is allowed to close their own bugs, >> regardless >> of their access level. The default is OFF. > > Try now please really great. It works. Claudius From dave at Parizek.com Tue Feb 15 13:25:43 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 15 14:25:52 2005 Subject: backup question In-Reply-To: References: Message-ID: To protect against data loss due to file corruption, user error, or whatever unknown problem, basic strategy with Valentina is to perform backups. I am wondering how that will work with multi-user vserver app. Hot backups possible? Anyway, it would be nice to have journaling. Valentina in debug mode can be set to write log text file already. If added feature to write all and only SQLExecute statements to log text file, then upon problem you could use that log to add in all changes to last backup to get to where you were or close to where you were at problem point. How much would this slow down Valentina? Significantly, I imagine, but perhaps it could be set to cache the info -- say if you had a ton of inserts to do -- and not cache during normal occasional operations. Is this complicated to implement? I guess I could just implement myself in RB. Would there be an advantage to having Valentina implement it instead of doing in RB, for speed reasons or otherwise? This maybe feature request is for later, I don't want to delay 2.0 stable. --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From Claudius at sailer-online.de Tue Feb 15 22:14:46 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 15:14:54 2005 Subject: Problem with viSQL Message-ID: <9bb29ebea09557c5cab4d8e9a23722d9@sailer-online.de> Hi, in last B45-Download I opened viSQl Source in RB 5.5.3 Standard and tried to compile viSQL. I got the errormessage, that I need Professional Version of RB to generate database-application :-(( Could this be fixed or could you make an compiled viSQL as part of download? bye Claudius From macsforever2000 at axint.net Tue Feb 15 14:52:53 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Tue Feb 15 15:53:23 2005 Subject: Problem with viSQL In-Reply-To: <9bb29ebea09557c5cab4d8e9a23722d9@sailer-online.de> References: <9bb29ebea09557c5cab4d8e9a23722d9@sailer-online.de> Message-ID: <7848cfdb8bdd551a772de06045c2d78a@axint.net> Hi Claudius, On Feb 15, 2005, at 2:14 PM, Claudius Sailer wrote: > in last B45-Download I opened viSQl Source in RB 5.5.3 Standard and > tried to compile viSQL. I got the errormessage, that I need > Professional Version of RB to generate database-application :-(( > > Could this be fixed or could you make an compiled viSQL as part of > download? That was an oversight in that build (it also happened in b42 or b43 as I recall). If you notice, you will not be able to build *any* application without the Pro RB version. This is because Ruslan used the RB database API which requires the Pro version of RB. But don't worry, there will be a way to build applications with the standard RB version. He is going to turn off the database API next build and have a solution for V4RB 2 final. I'm sorry I haven't been able to keep up with posting ViSQL 2 builds. When Val 2 stabilizes, I do plan to do this. Best regards, Frank From sunshine at public.kherson.ua Wed Feb 16 00:33:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 16:34:08 2005 Subject: backup question In-Reply-To: Message-ID: On 2/15/05 10:25 PM, "Dave Parizek" wrote: Hi Dave, > To protect against data loss due to file corruption, user error, or > whatever unknown problem, basic strategy with Valentina is to perform > backups. > > I am wondering how that will work with multi-user vserver app. Hot > backups possible? Hot backup is not in 2.0. Igor have start this task and practically done it more than year above, Just we have decide that before transactions this is not good idea enable this.. > Anyway, it would be nice to have journaling. Valentina in debug mode > can be set to write log text file already. If added feature to write > all and only SQLExecute statements to log text file, then upon > problem you could use that log to add in all changes to last backup > to get to where you were or close to where you were at problem point. > How much would this slow down Valentina? Significantly, I imagine, > but perhaps it could be set to cache the info -- say if you had a ton > of inserts to do -- and not cache during normal occasional operations. Right. This can be and must be tunable. Sybase also have checkpoints. You CAN lost info between checkpoints. > Is this complicated to implement? I guess I could just implement > myself in RB. Would there be an advantage to having Valentina > implement it instead of doing in RB, for speed reasons or otherwise? > > This maybe feature request is for later, I don't want to delay 2.0 stable. You talk about transaction feature RECOVERY after failure. Transactions play few roles actually: - logical isolation of several users. - logical rollback of last operations. - rollback of not committed transactions after failure. We plan implement all this for 3.0. Btw, I think better to have binary journal, but not textual... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 01:22:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 17:22:19 2005 Subject: b46 delays because of inet. Message-ID: Hi guys, I cannot upload archives. Inet seems to be very slow. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Tue Feb 15 18:04:32 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 15 19:04:45 2005 Subject: xml dump/load problem In-Reply-To: References: Message-ID: I am converting from V4RB 1.x to 2.0. I had some code to dump in XML format and other code to loaddump the dump that I converted to my 2.0 project, and now my app crashes on loading the dump. Has anyone else had trouble with xml dump/load dump? --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Tue Feb 15 21:21:05 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 15 22:21:06 2005 Subject: xml dump/load problem -- MORE INFO Message-ID: MORE INFO: The example app "Dump_XML_Database.rb" provided by Paradigma for XML dumping / loading also crashes when I load the xml dump into new database. So I will put it in as a bug report. --Dave I am converting from V4RB 1.x to 2.0. I had some code to dump in XML format and other code to loaddump the dump that I converted to my 2.0 project, and now my app crashes on loading the dump. Has anyone else had trouble with xml dump/load dump? --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From Claudius at sailer-online.de Wed Feb 16 06:32:20 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 23:32:27 2005 Subject: Problem with viSQL In-Reply-To: <7848cfdb8bdd551a772de06045c2d78a@axint.net> References: <9bb29ebea09557c5cab4d8e9a23722d9@sailer-online.de> <7848cfdb8bdd551a772de06045c2d78a@axint.net> Message-ID: <152605dae9f6d2168957c0471aae37a7@sailer-online.de> Hi Frank, Am 15. Feb 2005 um 22:52 Uhr schrieb Frank Schima: >> in last B45-Download I opened viSQl Source in RB 5.5.3 Standard and >> tried to compile viSQL. I got the errormessage, that I need >> Professional Version of RB to generate database-application :-(( >> >> Could this be fixed or could you make an compiled viSQL as part of >> download? > > That was an oversight in that build (it also happened in b42 or b43 as > I recall). If you notice, you will not be able to build *any* > application without the Pro RB version. This is because Ruslan used > the RB database API which requires the Pro version of RB. But don't > worry, there will be a way to build applications with the standard RB > version. He is going to turn off the database API next build and have > a solution for V4RB 2 final. with B44 it worked and I need a tool to test SQLs. This was the reason for the question. > I'm sorry I haven't been able to keep up with posting ViSQL 2 builds. > When Val 2 stabilizes, I do plan to do this. No problem. Because of V4RB2 has a new structure and design it is, at the moment, not possible to make a good application without beeing part of V4RB programmers team.. ViSQL is the best thing for V4RB. Great thing you did. bye Claudius From sunshine at public.kherson.ua Wed Feb 16 10:03:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 02:03:28 2005 Subject: xml dump/load problem In-Reply-To: Message-ID: On 2/16/05 3:04 AM, "Dave Parizek" wrote: > I am converting from V4RB 1.x to 2.0. I had some code to dump in XML > format and other code to loaddump the dump that I converted to my 2.0 > project, and now my app crashes on loading the dump. Dave, if you want convert 1.x db to 2.0 then the best case Is to use new function Convert_1_2 Check our example in the Common folder > Has anyone else had trouble with xml dump/load dump? I did not hear -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 10:04:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 02:04:32 2005 Subject: xml dump/load problem -- MORE INFO In-Reply-To: Message-ID: On 2/16/05 6:21 AM, "Dave Parizek" wrote: > MORE INFO: > > The example app "Dump_XML_Database.rb" provided by Paradigma for XML > dumping / loading also crashes when I load the xml dump into new > database. So I will put it in as a bug report. It crashes on YOUR xml data file ? Or it crashes on the own database also ? If on your, then please send us your xml > --Dave > > > > I am converting from V4RB 1.x to 2.0. I had some code to dump in XML > format and other code to loaddump the dump that I converted to my 2.0 > project, and now my app crashes on loading the dump. > > Has anyone else had trouble with xml dump/load dump? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 10:22:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 02:22:06 2005 Subject: [V4RB] 2.0 b46 uploaded. Message-ID: kernel - 2.0 b46 ================ - 0000418: [Refactoring] Evaluating the methods on each Table.AddRecord()/UpdateRecord() cause IsMethod() checking for all fields. (Ivan Smahin) - 0000426: [SQL Parser] [BUG] ORDER BY 1 Desc still work as ASC. (Sergey Duminskiy) - 0000423: [Import/Export] Ignore Encoding parameter on import if source file has signature. (Igor Gomon) V4RB - 2.0 b46 ============== - 0000425: [API] [NEW] VDatabase.SetMacTypes( dsc, dat, blb, ind ) (Ruslan Zasukhin) - 0000405: [SQL] Feature is not supported (Ruslan Zasukhin) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050216/155bb0aa/attachment.html From sunshine at public.kherson.ua Wed Feb 16 11:07:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 03:08:03 2005 Subject: [V4RB 0000424]: UpdateRecord very slow In-Reply-To: <8cda44bc0f93753d119e716b2a817ec2@paradigma.ukrcom.kheron.ua> Message-ID: On 2/14/05 11:40 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > Summary: UpdateRecord very slow > Description: > Just changing one long field in 1000 records (in a loop) takes 5-10 seconds > (instantaneous in V1.x). May be related to bug > http://paradigma.ukrcom.kherson.ua/bt/view.php?id=418 and 419? > > 1. Run my project > 2. Import > 1000 records (file sent to Ruslan). > 3. You should have 1097 records. > 4. Click on the checkbox next to the first reference in the list with the > Shift key held down. -> this will set the long field in each reference to > a value. This takes 7-10 seconds to complete, the majority of the time > spent in this loop: > > while result = true > myCursor.LongField("hit").value = i > i = i + 1 > myCursor.UpdateRecord > result = myCursor.nextRecord > wend Hi Jon, Well, I have did this with b46 RELEASE and I see that all check boxes become MARKED and this happens in ONE second I think. Probably slower than 1.x yet, but exactly not 5-10 seconds. Although I run on G5 2.0 DUAL. What computer you use ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 11:34:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 03:35:13 2005 Subject: [V4RB 0000424]: UpdateRecord very slow In-Reply-To: Message-ID: On 2/16/05 11:07 AM, "Ruslan Zasukhin" wrote: >> >> while result = true >> myCursor.LongField("hit").value = i >> i = i + 1 >> myCursor.UpdateRecord >> result = myCursor.nextRecord >> wend > > Hi Jon, > > Well, I have did this with b46 RELEASE and I see that all check boxes become > MARKED and this happens in ONE second I think. > > Probably slower than 1.x yet, but exactly not 5-10 seconds. > > Although I run on G5 2.0 DUAL. > What computer you use ? Jon, Where is this loop ???????? I have found several such loops, but any my breakpoint do not stop. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 16 08:08:32 2005 From: jda at his.com (jda) Date: Wed Feb 16 07:08:44 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: Hi Ruslan, Are you creating files asynchronously? I ask because for the last few betas I get an error when I create a new db that replaces an old one -- File does not exist. I found that when replacing an older file, immediately after db.create the RB debugger shows the folderItem does not exist! After a short time I recheck and now it exists. I can see this in your example, DB_CreateCloseOpen. If you run it once, it is fine. But if you create a new database, close it, and then create one *without throwing the old one away* you'll see the f -> does not exist right after this line: mDataBase.Create( f, EVDbMode.kDscDatBlbInd, 32 * 1024, EVOs.kDefault ) To see, create a db, close it, then put a breakpoint at the line above. Create a new db, step through the mDataBase.Create line, then check for the existence of f in the debugger. I hope I am making myself clear. Jon From sunshine at public.kherson.ua Wed Feb 16 18:19:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 10:19:22 2005 Subject: [V4RB 0000429]: db.name encoding problem In-Reply-To: Message-ID: On 2/16/05 5:17 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > Summary: db.name encoding problem > Description: > The db.name passed back to RB is not the same encoding as f.name. For > example, I create a file called t?st with db.create. > > lenb(db.name) = 6 = te??st > > lenb(f.name) = 5 = t??st > > and the comparison f.name = db.name -> false > > Oddly, they both appear as t?st in the RB debugger, and the debugger > thinks they are both UTF-8. But they are not -- I don't know what the > db.name encoding is. > > I called this minor, but it is major if you need to compare db names to > file names, like I do. Well, 1) I CANNOT store original encoding of FolderITem, and not going todo this. because you can use db.Name one month later. 2) Valentina returns strings always as UTF8. So it looks to me as "feature". You self must cast both strings to the same encoding. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 18:28:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 10:28:42 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: Message-ID: On 2/16/05 3:08 PM, "jda" wrote: Hi Jon, > Are you creating files asynchronously? I ask because for the last few > betas I get an error when I create a new db that replaces an old one > -- File does not exist. NOT asynchronously > I found that when replacing an older file, immediately after > db.create the RB debugger shows the folderItem does not exist! After > a short time I recheck and now it exists. > > I can see this in your example, DB_CreateCloseOpen. If you run it > once, it is fine. But if you create a new database, close it, and > then create one *without throwing the old one away* you'll see the f > -> does not exist right after this line: > > mDataBase.Create( f, EVDbMode.kDscDatBlbInd, 32 * 1024, EVOs.kDefault ) > > To see, create a db, close it, then put a breakpoint at the line > above. Create a new db, step through the mDataBase.Create line, then > check for the existence of f in the debugger. > > I hope I am making myself clear. I think all this is result of big "gifts" from Apple. How to explain you.... You have see that I have spend a lots time with this FSRef. Apple have provide strange non-consistent logic for EXISTED and non-EXISTED objects. To make it working I was need write special wrapper around, Watch with help of some bool flags and so on. I think REAL have fight with the same problems. Probably they recognize that object already exists with some delay. This is not because asynchronously. I think just in their code exists few branches of calls. And at least one branch do not check if object already exists. And other branch do this, so RB start to see object exists. This is only assumption. If it is correct then small bug present in the RB code. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 16 11:31:35 2005 From: jda at his.com (jda) Date: Wed Feb 16 10:31:44 2005 Subject: [V4RB 0000429]: db.name encoding problem In-Reply-To: References: Message-ID: > > Summary: db.name encoding problem >> Description: >> The db.name passed back to RB is not the same encoding as f.name. For >> example, I create a file called t?st with db.create. >> >> lenb(db.name) = 6 = te??st >> >> lenb(f.name) = 5 = t??st >> >> and the comparison f.name = db.name -> false >> >> Oddly, they both appear as t?st in the RB debugger, and the debugger >> thinks they are both UTF-8. But they are not -- I don't know what the >> db.name encoding is. >> >> I called this minor, but it is major if you need to compare db names to >> file names, like I do. > >Well, > >1) I CANNOT store original encoding of FolderITem, and not going todo this. > because you can use db.Name one month later. > >2) Valentina returns strings always as UTF8. > >So it looks to me as "feature". >You self must cast both strings to the same encoding. > You don't understand. Tell me what encoding Valentina uses. f.name is utf8. db.name is what? It is not utf8. Jon From sunshine at public.kherson.ua Wed Feb 16 18:33:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 10:33:20 2005 Subject: [V4RB 0000429]: db.name encoding problem In-Reply-To: Message-ID: On 2/16/05 6:31 PM, "jda" wrote: >> Well, >> >> 1) I CANNOT store original encoding of FolderITem, and not going todo this. >> because you can use db.Name one month later. >> >> 2) Valentina returns strings always as UTF8. >> >> So it looks to me as "feature". >> You self must cast both strings to the same encoding. >> > > You don't understand. Tell me what encoding > Valentina uses. f.name is utf8. db.name is what? > It is not utf8. Db.name must be utf8 ! Any returned string is converted to UTF8 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 16 11:33:37 2005 From: jda at his.com (jda) Date: Wed Feb 16 10:33:41 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: > > > To see, create a db, close it, then put a breakpoint at the line >> above. Create a new db, step through the mDataBase.Create line, then >> check for the existence of f in the debugger. >> >> I hope I am making myself clear. > >I think all this is result of big "gifts" from Apple. > >How to explain you.... > >You have see that I have spend a lots time with this FSRef. >Apple have provide strange non-consistent logic for > EXISTED and non-EXISTED objects. > >To make it working I was need write special wrapper around, >Watch with help of some bool flags and so on. > >I think REAL have fight with the same problems. > >Probably they recognize that object already exists with some delay. >This is not because asynchronously. >I think just in their code exists few branches of calls. >And at least one branch do not check if object already exists. >And other branch do this, so RB start to see object exists. > >This is only assumption. >If it is correct then small bug present in the RB code. > Then what is the workaround -- put a loop in the RB waiting until file.exists = true? Jon From jda at his.com Wed Feb 16 11:34:49 2005 From: jda at his.com (jda) Date: Wed Feb 16 10:34:54 2005 Subject: [V4RB 0000429]: db.name encoding problem In-Reply-To: References: Message-ID: > > You don't understand. Tell me what encoding >> Valentina uses. f.name is utf8. db.name is what? >> It is not utf8. > >Db.name must be utf8 ! > >Any returned string is converted to UTF8 > Look at my original message: > lenb(db.name) = 6 = te??st > > lenb(f.name) = 5 = t??st > They are not both the same encoding! And the encoding for f.name is utf8. Jon From sunshine at public.kherson.ua Wed Feb 16 20:39:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 12:39:26 2005 Subject: [V4RB 0000431]: assigning mDatabase.Creator= causes database to be created in weird place In-Reply-To: <5bd0f447fb8e14dc7c9db0d70e13766b@paradigma.ukrcom.kheron.ua> Message-ID: On 2/16/05 7:38 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > Summary: assigning mDatabase.Creator= causes database to be > created in weird place > Description: > When I create new database, if I use above line first > mDatabase.Creator="Jane" then it names the database file Jane.vdb instead > of the name I indicated, and it locates the file not in same directory as > my RB project, but in one directory higher. If I comment out above line > then everything works fine. This worked correctly in V4RB 1.x Hmm, but our example Common/MacCreator works fine. In b46 Please check it -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 21:35:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 13:36:04 2005 Subject: List of SHOW STOPPER bugs ? Message-ID: Hi All, I wonder, if anybody from beta testers do see SHOW STOPPER bugs? Please once again remind them to us and to self. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Wed Feb 16 12:37:08 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 16 13:37:19 2005 Subject: [V4RB 0000431]: assigning mDatabase.Creator= causes database to be created in weird place In-Reply-To: References: Message-ID: I already closed this issue, it was error in my code. -dave >On 2/16/05 7:38 PM, "vbt@paradigma.ukrcom.kherson.ua" > wrote: > >> Summary: assigning mDatabase.Creator= causes >>database to be >> created in weird place >> Description: >> When I create new database, if I use above line first >> mDatabase.Creator="Jane" then it names the database file Jane.vdb instead >> of the name I indicated, and it locates the file not in same directory as >> my RB project, but in one directory higher. If I comment out above line >> then everything works fine. This worked correctly in V4RB 1.x > >Hmm, but our example Common/MacCreator works fine. In b46 > >Please check it > > -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From jda at his.com Wed Feb 16 14:45:02 2005 From: jda at his.com (jda) Date: Wed Feb 16 13:45:12 2005 Subject: List of SHOW STOPPER bugs ? In-Reply-To: References: Message-ID: >Hi All, > >I wonder, if anybody from beta testers do see SHOW STOPPER bugs? > >Please once again remind them to us and to self. > :-) 1. Unicode file names (not POSIX!) 2. Accurate index searching 3. VComponents in same folder as app (it is distributed as a consumer product). 4. Hm, I think that's it for me. It would be nice if the .tmp files were put in the Temporary Folder, or at least made invisible. But that's not a showstopper for me. The list is getting pretty small! Jon From sunshine at public.kherson.ua Wed Feb 16 21:47:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 13:47:31 2005 Subject: List of SHOW STOPPER bugs ? In-Reply-To: Message-ID: On 2/16/05 9:45 PM, "jda" wrote: > :-) > > 1. Unicode file names (not POSIX!) > 2. Accurate index searching > 3. VComponents in same folder as app (it is distributed as a consumer > product). > 4. Hm, I think that's it for me. It would be nice if the .tmp files > were put in the Temporary Folder, or at least made invisible. But > that's not a showstopper for me. Not for 2.0, ok ? > The list is getting pretty small! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 21:52:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 13:52:11 2005 Subject: [V4RB] 2.0 b46 "corrected" Message-ID: Hi All, I have upload new build with the same b46 name. 1) we have redo Importer. now we use not ANTLR for text import, but hand-written one. speed up ... You can't believe into this... 600 times. 2) Dave, fixed bug with JOIN with non-specified link condition. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 21:53:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 13:53:10 2005 Subject: [V4RB] 2.0 b46 "corrected" In-Reply-To: Message-ID: On 2/16/05 9:52 PM, "Ruslan Zasukhin" wrote: > Hi All, > > I have upload new build with the same b46 name. > > 1) we have redo Importer. > now we use not ANTLR for text import, but hand-written one. > speed up ... You can't believe into this... 600 times. > > > 2) Dave, fixed bug with JOIN with non-specified link condition. Claudius, let me remind, that b46 also fix SORT on JOIN -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 17 00:15:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 16:15:26 2005 Subject: Bugs 427 and 433 ? In-Reply-To: Message-ID: On 2/17/05 12:10 AM, "Dave Parizek" wrote: > Yes, I use classes. You mean like VTable, VDatabase? > > Can I sqlselect("SELECT * from sysItems", ...)? Yes you can, just not change it Only browse it in viSQL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 16 17:33:49 2005 From: jda at his.com (jda) Date: Wed Feb 16 16:34:01 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: I have found what appears to be the problem, and a workaround. After Valentina creates a file, it may not actually exist yet (I see this when using GetSaveFolderItem in RB and replacing an existing file). If I add this line app.DoEvents the file status changed to .exists = true This is obviously something we shouldn't have to code every time a Valentina db is created. Maybe Valentina just needs to yield time to RB after the file is created? Jon > > I found that when replacing an older file, immediately after >> db.create the RB debugger shows the folderItem does not exist! After >> a short time I recheck and now it exists. >> >> I can see this in your example, DB_CreateCloseOpen. If you run it >> once, it is fine. But if you create a new database, close it, and >> then create one *without throwing the old one away* you'll see the f >> -> does not exist right after this line: >> >> mDataBase.Create( f, EVDbMode.kDscDatBlbInd, 32 * 1024, EVOs.kDefault ) >> >> To see, create a db, close it, then put a breakpoint at the line >> above. Create a new db, step through the mDataBase.Create line, then >> check for the existence of f in the debugger. >> >> I hope I am making myself clear. > >I think all this is result of big "gifts" from Apple. > >How to explain you.... > >You have see that I have spend a lots time with this FSRef. >Apple have provide strange non-consistent logic for > EXISTED and non-EXISTED objects. > >To make it working I was need write special wrapper around, >Watch with help of some bool flags and so on. > >I think REAL have fight with the same problems. > >Probably they recognize that object already exists with some delay. >This is not because asynchronously. >I think just in their code exists few branches of calls. >And at least one branch do not check if object already exists. >And other branch do this, so RB start to see object exists. > >This is only assumption. >If it is correct then small bug present in the RB code. > From sunshine at public.kherson.ua Thu Feb 17 00:40:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 16:40:50 2005 Subject: Bugs 427 and 433 ? In-Reply-To: Message-ID: On 2/17/05 12:36 AM, "Dave Parizek" wrote: > I seem to get VException "Table not found" when I try to do > sqlselect("SELECT * from sysItems", ...) SELECT * from sysItem -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 17 00:42:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 16:42:31 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: Message-ID: On 2/17/05 12:33 AM, "jda" wrote: > I have found what appears to be the problem, and a workaround. > > After Valentina creates a file, it may not actually exist yet (I see > this when using GetSaveFolderItem in RB and replacing an existing > file). > > If I add this line > > app.DoEvents > > the file status changed to .exists = true > > This is obviously something we shouldn't have to code every time a > Valentina db is created. Maybe Valentina just needs to yield time to > RB after the file is created? But it seems its RB should Yield. I can call Yield from RB plugin, I have see this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 17 00:54:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 16:54:35 2005 Subject: Bugs 427 and 433 ? In-Reply-To: Message-ID: On 2/17/05 12:48 AM, "Dave Parizek" wrote: > Cool. In the app I sent you if you go to help menu you can do > sqlselect statement. I see 4 columns. In viSQL also possible > Now I forgot what am I > supposed to check for in sysitem? :-)) I think you was going to check if parameters Locale, .. Are in system tables Actually exists yet sysItemDescription table -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 16 18:05:45 2005 From: jda at his.com (jda) Date: Wed Feb 16 17:05:51 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: > > I have found what appears to be the problem, and a workaround. >> >> After Valentina creates a file, it may not actually exist yet (I see >> this when using GetSaveFolderItem in RB and replacing an existing >> file). >> >> If I add this line >> >> app.DoEvents >> >> the file status changed to .exists = true >> >> This is obviously something we shouldn't have to code every time a >> Valentina db is created. Maybe Valentina just needs to yield time to >> RB after the file is created? > >But it seems its RB should Yield. > >I can call Yield from RB plugin, I have see this. > Hm. You yielded after the file was written? Seems it didn't "take"... Jon From jda at his.com Wed Feb 16 18:12:35 2005 From: jda at his.com (jda) Date: Wed Feb 16 17:12:40 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: >> >>But it seems its RB should Yield. >> >>I can call Yield from RB plugin, I have see this. >> > >Hm. You yielded after the file was written? Seems it didn't "take"... > Also, remember I only see this if the db is replacing on older one. Maybe you call yield when you first try to write, but if it is interrupted by "Do you want to replace the existing file?" dialog you don't yield again after? Just a thought. Jon From sunshine at public.kherson.ua Thu Feb 17 01:17:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 17:18:03 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: Message-ID: On 2/17/05 1:05 AM, "jda" wrote: >>> I have found what appears to be the problem, and a workaround. >>> >>> After Valentina creates a file, it may not actually exist yet (I see >>> this when using GetSaveFolderItem in RB and replacing an existing >>> file). >>> >>> If I add this line >>> >>> app.DoEvents >>> >>> the file status changed to .exists = true >>> >>> This is obviously something we shouldn't have to code every time a >>> Valentina db is created. Maybe Valentina just needs to yield time to >>> RB after the file is created? >> >> But it seems its RB should Yield. >> >> I can call Yield from RB plugin, I have see this. >> > > Hm. You yielded after the file was written? Seems it didn't "take"... I do NOT do this now. I say that I CAN add this into plugin. Although it is not clear why I should do this :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From AYU8 at CDC.GOV Thu Feb 17 08:35:57 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Thu Feb 17 07:36:13 2005 Subject: [V4RB] 2.0 b46 uploaded. Message-ID: Jon said: > I have found what appears to be the problem, and a workaround. > > After Valentina creates a file, it may not actually exist yet (I see > this when using GetSaveFolderItem in RB and replacing an existing > file). > > If I add this line > > app.DoEvents > > the file status changed to .exists = true > > This is obviously something we shouldn't have to code every time a > Valentina db is created. Maybe Valentina just needs to yield time to > RB after the file is created? > > Jon Hi Jon, If you are not building a console application, you should really avoid using app.DoEvents! DoEvents is really only intended for console applications as calling DoEvents can cause some very unexpected behavior in GUI applications. I'll refer you to a good explanation that Aaron Ballman wrote (he's a developer at REAL) in his blog: That said, I have seen a problem with my new app similar to what you are describing, but I'm so early in the development of this new app that I thought it was just me not being aware of the current state of my app or some little piece of "crap code" I had temporarily put in just to be able to test another part of the app. I don't have the code in front of me, so I can't really look into it right now, but I'll try to see if I can reproduce what I saw then try to figure out why. Maybe between the 2 of us, we can figure out exactly what is going on and why so we can get either REAL or Ruslan to look into fixing it. Just trying to look out for my fellow Valentina developers :-) Take care, -John From jda at his.com Thu Feb 17 08:48:51 2005 From: jda at his.com (jda) Date: Thu Feb 17 07:49:08 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: References: Message-ID: > >Hi Jon, > >If you are not building a console application, you should really avoid >using app.DoEvents! DoEvents is really only intended for console >applications as calling DoEvents can cause some very unexpected behavior >in GUI applications. I'll refer you to a good explanation that Aaron >Ballman wrote (he's a developer at REAL) in his blog: > > > >That said, I have seen a problem with my new app similar to what you are >describing, but I'm so early in the development of this new app that I >thought it was just me not being aware of the current state of my app or >some little piece of "crap code" I had temporarily put in just to be >able to test another part of the app. I don't have the code in front of >me, so I can't really look into it right now, but I'll try to see if I >can reproduce what I saw then try to figure out why. Maybe between the >2 of us, we can figure out exactly what is going on and why so we can >get either REAL or Ruslan to look into fixing it. Hi John, Thanks for the warning -- I am familiar with pitfalls of .doEvents. Hopefully Ruslan will be able to get around this by yielding some time to RB from the plug-in. I was just posting this workaround so Ruslan could see where the problem is (lack of RB processing/updating time). BTW, I *do* use app.doEvents in one situation in RB -- when I have a modal update window (barberpole, counter, etc) and want to show progress. I used to create a thread for this, but it was such a hack. app.DoEvents hasn't caused a problem so far in this limited use. > >Just trying to look out for my fellow Valentina developers :-) > Thanks Jon From vidal_olivier at yahoo.fr Thu Feb 17 14:54:25 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Feb 17 07:54:47 2005 Subject: DISTINCT and API Message-ID: <6F607292-80EB-11D9-9093-000D93C35C66@yahoo.fr> Hi Ruslan and list, It is not of equivalent of SQL function "DISTINCT" in the API methods. It is nevertheless useful. For example, I have a city table. Certain cities have the SAME name. But I shall like having a city list WITHOUT doubloons. If I use the API + RB methods to make it, I think that it will be slower than in SQL. olivier From sunshine at public.kherson.ua Thu Feb 17 16:21:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 17 08:21:32 2005 Subject: DISTINCT and API In-Reply-To: <6F607292-80EB-11D9-9093-000D93C35C66@yahoo.fr> Message-ID: On 2/17/05 3:54 PM, "Olivier" wrote: > Hi Ruslan and list, > > It is not of equivalent of SQL function "DISTINCT" in the API methods. > It is nevertheless useful. > > For example, I have a city table. > Certain cities have the SAME name. > But I shall like having a city list WITHOUT doubloons. > > If I use the API + RB methods to make it, I think that it will be > slower than in SQL. I will NOT agree Oliver with you that you need distinct in this task! Assume in France exists "Paris". And in the USA exists some city with name "Paris". You want tell me that you want to see only once "Paris" ? This is 2 real world objects. Different objects. -------------------- In SQL we need distinct mainly because of next reason * JOIN of 1 : M tables for left table produce the same value to be repeated many times. * to remove duplicates we need DISTINCT. ------------------- Well, in C++ we have tool for this: IndirectTable. But Hmm, not sure if we can open this easy to V4RB. I need to check... may be this is only one factory method... dim CityDist as VTable CityDist = CreateIndirectTable( "distCities", // name of new table "cities", // original table Array( "city" ) // fields to select distinct ) As result you get something that works as table, It have one field only. It have no duplicates. It is not on disk, in RAM. ---------------------------- Another way that come to mind: UniqueCitiesSet = fldCityname.FindDistincts() So you get set that point only on unique names. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 17 16:31:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 17 08:31:16 2005 Subject: [V4RB] 2.0 b46 uploaded. In-Reply-To: Message-ID: On 2/17/05 3:48 PM, "jda" wrote: > > Hopefully Ruslan will be able to get around this by yielding some > time to RB from the plug-in. I was just posting this workaround so > Ruslan could see where the problem is (lack of RB processing/updating > time). I have found source of problem Story is next. It is just a detective! ** if file not exists on HDD then REALBasic give me UTF8 t ? s t 5 bytes 74 C3A9 73 74 I convert this to UTF16 UTF16 t ? s t 8 bytes 0074 00E9 0073 0074 OS create file with correct name, and I have ask immediately name back ad replace MY utf16 name with the name that OS have return me. And guess what OS returns?! UTF16 t ? s t 10 bytes 0074 00650301 0073 0074 Now if I convert back to UTF8 I get UTF8 t ? s t 6 bytes 74 65CC81 73 74 So you Jon, comparing the first and this strings get FALSE. ***** If file exists on disk, then REALbasic already give me UTF8 t ? s t 6 bytes 74 65CC81 73 74 And this is logical, because REALbasic also get this name from OS. So solution will be that on create of file, I will NOT ask OS immediately for new name. As I have told, I HATE all this new FSREf stuff from Apple. Its just a hell. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Thu Feb 17 15:45:17 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Feb 17 08:45:33 2005 Subject: DISTINCT and API In-Reply-To: References: Message-ID: <8A3CDCD1-80F2-11D9-9093-000D93C35C66@yahoo.fr> > Thank you Ruslan for all this precision. > I will NOT agree Oliver with you that you need distinct in this task! > > Assume in France exists "Paris". > And in the USA exists some city with name "Paris". > > You want tell me that you want to see only once "Paris" ? > This is 2 real world objects. Different objects. > It is true but in my example, it can be useful to make of the type with auto-completion. For example, the user has to fill a form of address in the screen. In the editfield "City", if he types "P", all beginning cities by "P" display, if he types "PA", "PARIS" displays, and so on.. In the same country, he can have several villages with the same name there. I shall have been able to make my table differently but, there, every city corresponds to a record. He can thus have there several records with the same city name. If in my example, the user types "Paris" and what there are two cities with the same name I am going to have in my listbox twice Paris. For the cosmetic, it is not very beautiful. I want to give the possibility to the user to type the city BEFORE the zipcode. it is in that case (without zipcode) where we are going to have a set of all the cities, and thus with doubloons. If the user types Zipcode before typing the city, no problems, there will be no doubloons. > -------------------------- > Another way that come to mind: > > UniqueCitiesSet = fldCityname.FindDistincts() > > So you get set that point only on unique names. > > if it's possible, it's perfect ! thank you olivier From sunshine at public.kherson.ua Thu Feb 17 16:49:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 17 08:49:29 2005 Subject: DISTINCT and API In-Reply-To: <8A3CDCD1-80F2-11D9-9093-000D93C35C66@yahoo.fr> Message-ID: On 2/17/05 4:45 PM, "Olivier" wrote: >> UniqueCitiesSet = fldCityname.FindDistincts() >> >> So you get set that point only on unique names. >> >> > if it's possible, it's perfect ! Please add this as feature request -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Thu Feb 17 16:04:05 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Feb 17 09:04:16 2005 Subject: DISTINCT and API In-Reply-To: References: Message-ID: <2A608FBF-80F5-11D9-9093-000D93C35C66@yahoo.fr> Le 17 f?vr. 05, ? 15:49, Ruslan Zasukhin a ?crit : > On 2/17/05 4:45 PM, "Olivier" wrote: > >>> UniqueCitiesSet = fldCityname.FindDistincts() >>> >>> So you get set that point only on unique names. >>> >>> >> if it's possible, it's perfect ! > > Please add this as feature request > very good ! By thinking about it, maybe that would be better to have"DISTINCT" in PARAMETER of FindStart, FindValue, FindContains.... So that all the "FIND" methods can use it ? olivier > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Thu Feb 17 17:17:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 17 09:17:59 2005 Subject: DISTINCT and API In-Reply-To: <2A608FBF-80F5-11D9-9093-000D93C35C66@yahoo.fr> Message-ID: On 2/17/05 5:04 PM, "Olivier" wrote: >>>> UniqueCitiesSet = fldCityname.FindDistincts() >>>> >>>> So you get set that point only on unique names. >>>> >>>> >>> if it's possible, it's perfect ! >> >> Please add this as feature request >> > > very good ! > > By thinking about it, maybe that would be better to have"DISTINCT" in > PARAMETER of FindStart, FindValue, FindContains.... > So that all the "FIND" methods can use it ? No, Should be FindDistinct( inSet as Vset = nil ) as VSet -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Thu Feb 17 16:21:11 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Feb 17 09:21:29 2005 Subject: DISTINCT and API In-Reply-To: References: Message-ID: <8E00522F-80F7-11D9-9093-000D93C35C66@yahoo.fr> > > No, > > Should be > > FindDistinct( inSet as Vset = nil ) as VSet > ok ! I add to mantis thank you olivier From vidal_olivier at yahoo.fr Thu Feb 17 20:01:50 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Feb 17 13:02:09 2005 Subject: Optimization of the sets / find Message-ID: <612428EE-8116-11D9-93F5-000D93C35C66@yahoo.fr> Hi Ruslan and list, e.g I have a form of address in the screen which the user has to fill. To help him, there is a system of auto-completion where in every typed letter, the app proposes a choice of possible words. There are three options for the auto-completion: 1- auto-completion by the beginning of sentence (indexed and findStartWith) 2- auto-completion by the beginning of word (indexbyWord and findStartWith) 3- auto-completion by LETTERS (findcontains) Naturally, with the third option, it is slower. In every typed letter, Valentina has to make a search " findContains ". In every typed letter, the search is completely redone. I thought I could use in every search the previous set to accelerate the search but there is no acceleration. It would have been very useful! E.g. Number of records: 80 000 Edifield.text = "P" - > Set1=fd.findContains ("P") // for example, 3 000 found records The user continues to type: Editfield.text = "PA" - > Set2=fd.findContains ("PA", Set1) This method is NOT faster than set2=fd.findcontains ("PA")... why ? thank you olivier From sunshine at public.kherson.ua Thu Feb 17 22:15:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 17 14:15:53 2005 Subject: Optimization of the sets / find In-Reply-To: <612428EE-8116-11D9-93F5-000D93C35C66@yahoo.fr> Message-ID: On 2/17/05 9:01 PM, "Olivier" wrote: > Hi Ruslan and list, > > e.g > > I have a form of address in the screen which the user has to fill. > To help him, there is a system of auto-completion where in every typed > letter, the app proposes a choice of possible words. > There are three options for the auto-completion: > > 1- auto-completion by the beginning of sentence (indexed and > findStartWith) > 2- auto-completion by the beginning of word (indexbyWord and > findStartWith) > 3- auto-completion by LETTERS (findcontains) > > Naturally, with the third option, it is slower. > In every typed letter, Valentina has to make a search " findContains ". > In every typed letter, the search is completely redone. > I thought I could use in every search the previous set to accelerate > the search but there is no acceleration. It would have been very > useful! > > E.g. > Number of records: 80 000 > Edifield.text = "P" > > - > Set1=fd.findContains ("P") // for example, 3 000 found records > > The user continues to type: > Editfield.text = "PA" > > - > Set2=fd.findContains ("PA", Set1) > This method is NOT faster than set2=fd.findcontains ("PA")... why ? This method will be faster ONLY if you do not have index on a field. Then you really reduce the number of records for iteration. But when exists index this Set1 do not help. We still need scan each distinct value in the index. And this is constants time. Hmm, of course if Set1 contains e.g. One record but index has 100,000 distinct values then really it is better not use index. So really exists some condition. Please put this into mantis, and copy this my text there. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Thu Feb 17 22:39:56 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 17 15:40:05 2005 Subject: Crash of application by adding record Message-ID: Hi, I use following code, which work really good in 1.10 and database table structure isn't changed. Application crashed by NewRecID=meineDatenbank.TPersoenlich.addRecord. In Logfile of V4RB2 I get last entry Table_AddRecord... PARAM: inTable = 26036836 nothing else if TextZeichen.countfields(chrb(9))=8 then TheTrue=parseDate(TextZeichen.nthfield(chr(9),7),CheckDate) meineDatenbank.TPersoenlich.SetBlank meineDatenbank.TPersoenlich.Vorname.value=TextZeichen.nthfield(chr(9),1) meineDatenbank.TPersoenlich.Nachname.value=TextZeichen.nthfield(chr(9),2 ) meineDatenbank.TPersoenlich.Strasse.value=TextZeichen.nthfield(chr(9),3) meineDatenbank.TPersoenlich.Hausnummer.value=TextZeichen.nthfield(chr(9) ,4) if NOT CheckLeer(TextZeichen.nthfield(chr(9),5)) then meineDatenbank.TPersoenlich.PLZ.value=TextZeichen.nthfield(chr(9),5).cdb l end if meineDatenbank.TPersoenlich.Ort.value=TextZeichen.nthfield(chr(9),6) if TheTrue then meineDatenbank.TPersoenlich.GebDatum.set(CheckDate.year,CheckDate.month, CheckDate.day) else meineDatenbank.TPersoenlich.GebDatum.setblank end if meineDatenbank.TPersoenlich.Waehrung.value=TextZeichen.nthfield(chr(9),8 ) meineDatenbank.TPersoenlich.letztesBearbeitungsDatum.set(BackUpDatum.yea r,BackUpDatum.month,BackUpDatum.day) NewRecID=meineDatenbank.TPersoenlich.addRecord else //es liegen nicht genuegend Felder zum importieren vor return false end if Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0b46 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From vidal_olivier at yahoo.fr Fri Feb 18 08:47:16 2005 From: vidal_olivier at yahoo.fr (Olivier) Date: Fri Feb 18 01:47:36 2005 Subject: Optimization of the sets / find In-Reply-To: References: Message-ID: <4F48F626-8181-11D9-93F5-000D93C35C66@yahoo.fr> Hi Ruslan, >> - > Set2=fd.findContains ("PA", Set1) >> This method is NOT faster than set2=fd.findcontains ("PA")... why ? > > This method will be faster ONLY if you do not have index on a field. > Then you really reduce the number of records for iteration. > > > But when exists index this Set1 do not help. We still need scan each > distinct value in the index. And this is constants time. > > Hmm, of course if Set1 contains e.g. One record but index has 100,000 > distinct values then really it is better not use index. So really > exists > some condition. Please put this into mantis, and copy this my text > there. > > yes, I make tests : - 100 000 records 1- WITH INDEXS : In every typed letter, search makes approximately 7 ticks. 2- WITHOUT INDEXS : with, for every typed letter : >> set2=fd.findcontains ("PA") the searchs makes approximately 95 ticks (thus for each typed letter) with : >> Set2=fd.findContains ("PA", Set1) //(Set1= prev set) 6 examples : first typed letter : 93 ticks 2? typed letter : 77 ticks (in set of 85 570 records) 3? typed letter : 7 ticks (in set of 7 008 records) 4? typed letter : 1 ticks (in set of 357 records) first typed letter : 93 ticks 2? typed letter : 49 ticks (in set of 54 549 records) 3? typed letter : 5 ticks (in set of 6 021 records) 4? typed letter : 0 ticks (in set of 336 records) first typed letter : 92 ticks 2? typed letter : 77 ticks (in set of 85 570 records) 3? typed letter : 4 ticks (in set of 4 041 records) 4? typed letter : 3 ticks (in set of 2 949 records) first typed letter : 93 ticks 2? typed letter : 60 ticks (in set of 68 391 records) 3? typed letter : 8 ticks (in set of 8 529 records) 4? typed letter : 1 ticks (in set of 1 344 records) first typed letter : 94 ticks 2? typed letter : 43 ticks (in set of 46 775 records) 3? typed letter : 5 ticks (in set of 4 645 records) 4? typed letter : 1 ticks (in set of 576 records) first typed letter : 95 ticks 2? typed letter : 27 ticks (in set of 30 647 records) 3? typed letter : 8 ticks (in set of 8 614 records) 4? typed letter : 5 ticks (in set of 5 754 records) In this example, as soon as the set makes less than 6 or 7 000 records, it is more interesting to make a search without index. Thus, effectively, if with condition, we could use or not use the index for the search, that would be very powerful. I puts it in the mantis. thank you olivier -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2571 bytes Desc: not available Url : http://lists.macserve.net/pipermail/valentina-beta/attachments/20050218/adb66746/attachment.bin From sunshine at public.kherson.ua Fri Feb 18 13:29:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 05:29:29 2005 Subject: Crash of application by adding record In-Reply-To: Message-ID: On 2/17/05 11:39 PM, "Claudius Sailer" wrote: Hi Claudius, > I use following code, which work really good in 1.10 and database table > structure isn't changed. > Application crashed by NewRecID=meineDatenbank.TPersoenlich.addRecord. > In Logfile of V4RB2 I get last entry > > Table_AddRecord... > PARAM: inTable = 26036836 > > nothing else Crash Log exists ? Can you send me project ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Fri Feb 18 22:45:39 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Feb 18 15:45:55 2005 Subject: V4RB2 question for other testers about crashes Message-ID: <2c7c6d7912ddc02d973aa7e750e89829@sailer-online.de> Hi, one thing I am a little bit confused is the number of crashes without error message. As I found at the moment most of them are my faults because of coding, but I don't fall back to source Code. Application is crashing completely and I don't know why and where. What are your experiences? Are you having same reactions or not? Debugging is very very hard when you don't know where you have to look. Other experience is, that after crashing I can't use database again, because it seems that database is corrupt. After restarting application, application is crashing by the try to open database. When I delete Index and TempFile I get the message, database is still open by an other application. Is this also ofter happen or do I something wrong? bye Claudius (V4RB2b46) From sunshine at public.kherson.ua Fri Feb 18 23:53:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 15:53:52 2005 Subject: V4RB2 question for other testers about crashes In-Reply-To: <2c7c6d7912ddc02d973aa7e750e89829@sailer-online.de> Message-ID: On 2/18/05 11:45 PM, "Claudius Sailer" wrote: Hi Claudius, > one thing I am a little bit confused is the number of crashes without > error message. As I found at the moment most of them are my faults > because of coding, but I don't fall back to source Code. Application is > crashing completely and I don't know why and where. Wait wait wait! How this is you do not know where ?! But why exists V4RB_Log file ? You ca easy see the last methods that was called. In case of crash, you need set Valentina.flushEachLog = true. It is better set this just before lines that cause crash. And IF you have found way to crash Valentina, Even oif this is your coding mistake please TELL US what crash it. > What are your experiences? Are you having same reactions or not? > Debugging is very very hard when you don't know where you have to look. V4RB_Log file! > Other experience is, that after crashing I can't use database again, > because it seems that database is corrupt. After restarting > application, application is crashing by the try to open database. When > I delete Index and TempFile I get the message, database is still open > by an other application. Is this also ofter happen or do I something > wrong? Yes, db can be quite easy corrupted on crash yet. This is known issue. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Fri Feb 18 16:54:04 2005 From: jda at his.com (jda) Date: Fri Feb 18 15:54:16 2005 Subject: V4RB2 question for other testers about crashes In-Reply-To: <2c7c6d7912ddc02d973aa7e750e89829@sailer-online.de> References: <2c7c6d7912ddc02d973aa7e750e89829@sailer-online.de> Message-ID: >Hi, > >one thing I am a little bit confused is the number of crashes >without error message. As I found at the moment most of them are my >faults because of coding, but I don't fall back to source Code. >Application is crashing completely and I don't know why and where. > >What are your experiences? Are you having same reactions or not? >Debugging is very very hard when you don't know where you have to >look. >Other experience is, that after crashing I can't use database again, >because it seems that database is corrupt. After restarting >application, application is crashing by the try to open database. >When I delete Index and TempFile I get the message, database is >still open by an other application. Is this also ofter happen or do >I something wrong? > In my experience, most of the time I make a mistake coding Valentina -> simply crashes, usually with a system log. Valentina doesn't handle lots of these errors very gracefully. Whether the database is trashed is really a function of the cause of the crash. I had a bunch of crashes/trashed databases last week, but since using b46 I haven't seen that. I think your experiences are just like mine... Jon From Claudius at sailer-online.de Fri Feb 18 23:11:41 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Feb 18 16:11:49 2005 Subject: V4RB2 question for other testers about crashes In-Reply-To: References: Message-ID: Hi Ruslan, Am 18. Feb 2005 um 22:53 Uhr schrieb Ruslan Zasukhin: > On 2/18/05 11:45 PM, "Claudius Sailer" > wrote: > >> one thing I am a little bit confused is the number of crashes without >> error message. As I found at the moment most of them are my faults >> because of coding, but I don't fall back to source Code. Application >> is >> crashing completely and I don't know why and where. > > Wait wait wait! > How this is you do not know where ?! > But why exists V4RB_Log file ? I have to reorganize my SQL-Strings ;-)) > You ca easy see the last methods that was called. > In case of crash, you need set Valentina.flushEachLog = true. > It is better set this just before lines that cause crash. > > And IF you have found way to crash Valentina, > Even oif this is your coding mistake please TELL US what crash it. I expect nothing else as I get at the moment as result. This is BETA-Version, but what I only want is to know whether other users have same problem or, whether this is special Claudius Problem. I can, at the moment life with it. Yesterday (I wrote you in other eMail) I had one crash. Today it works everything fine. I didn't made changes in coding. Yesterday I had an crash in an other part of my application and today I haven't this confuses me. I don't want to critisize your work. Valentina is great, but at the moment it also confuses my from time to time and I want to know I am only one or not. Yes I know V4RB_Log and it is activated whole time (Application is extremely slow ;-)) but this is good. When I find an error where I know you can do something I will report here or/and by Mantis. Don't worry. bye Claudius From sunshine at public.kherson.ua Sat Feb 19 00:24:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 16:24:53 2005 Subject: V4RB2 question for other testers about crashes In-Reply-To: Message-ID: On 2/19/05 12:11 AM, "Claudius Sailer" wrote: > I expect nothing else as I get at the moment as result. This is > BETA-Version, but what I only want is to know whether other users have > same problem or, whether this is special Claudius Problem. I can, at > the moment life with it. Yesterday (I wrote you in other eMail) I had > one crash. Today it works everything fine. I didn't made changes in > coding. Yesterday I had an crash in an other part of my application and > today I haven't this confuses me. I don't want to critisize your work. > Valentina is great, but at the moment it also confuses my from time to > time and I want to know I am only one or not. > > Yes I know V4RB_Log and it is activated whole time (Application is > extremely slow ;-)) but this is good. When I find an error where I know > you can do something I will report here or/and by Mantis. Don't worry. Extremely slow ? May be you always have FlushEachLog = true ? If yes, this is not needed. It reqly make all very slow. Set it ON just before lines that you think do crash. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 19 01:26:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 17:26:55 2005 Subject: [V4RB] 2.0 b47 uploaded. Message-ID: V4RB - 2.0 b47 ============== - 0000435: [API] .Position is causing a VException (Igor Gomon) - 0000434: [API] Need Realbasic Pro to compile and application (Ruslan Zasukhin) - 0000429: [API] db.name encoding problem (Ruslan Zasukhin) - 0000352: [Other] Can't have VComponent files in same folder as app (Ruslan Zasukhin) - 0000438: [Import/Export] mycursor.ImportText misses last record if there is no Linefeed at end of file (Igor Gomon) - 0000433: [Import/Export] example app crashes with LoadDump on my db (Igor Gomon) - 0000424: [API] UpdateRecord very slow (Ivan Smahin) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050219/08ae8a9e/attachment.html From dave at Parizek.com Fri Feb 18 19:47:56 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 18 20:48:08 2005 Subject: help requested figuring out error In-Reply-To: References: Message-ID: I am having problems loading an xml database dump. I create the dump, and have successfully loaded it into a new database with the example app from Paradigma "XML_DUMP_Database.rb". I have looked all thru the example code and can't see what I am doing wrong. And I am going nuts because it should be simple. Perhaps someone else can see? Please please please? Here is the code, it crashes RB5.5.4 Mac when it gets to the LoadDump statement, msgbox never displays. mDatabase is a property of my app. --Dave dim fxml, fnew, fold as FolderItem dim fname, fnewname, s, s1 as string dim od as new OpenDialog dim newdb as VDatabase od.title = "Select the JaneDB XML Database Dump file you wish to import" od.PromptText = "The file you are selecting should have a name something like 'JaneDB_Dump'" fxml = od.ShowModal() fnewname = "JaneDB_temp" fnew = GetFolderItem(fnewname) mDatabase.Flush mDatabase.Close mDatabase=Nil newdb = new VDatabase(1) newdb.LoadDump(fxml, fnew, EVDumpType.kXML) msgbox "made it to here" newdb.flush newdb.close newdb = nil ...snip... -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Fri Feb 18 20:10:25 2005 From: dave at Parizek.com (Dave Parizek) Date: Fri Feb 18 21:10:24 2005 Subject: AHA! load dump problem Message-ID: I figured out the problem, it is Valentina bug. When doing load dump, if I save the new db in the same folder as another db file, even if new names, Valentina causes RB to crash on LoadDump. this is on mac with RB 5.5.4. If different folders, works fine. --Dave I am having problems loading an xml database dump. I create the dump, and have successfully loaded it into a new database with the example app from Paradigma "XML_DUMP_Database.rb". I have looked all thru the example code and can't see what I am doing wrong. And I am going nuts because it should be simple. Perhaps someone else can see? Please please please? Here is the code, it crashes RB5.5.4 Mac when it gets to the LoadDump statement, msgbox never displays. mDatabase is a property of my app. --Dave dim fxml, fnew, fold as FolderItem dim fname, fnewname, s, s1 as string dim od as new OpenDialog dim newdb as VDatabase od.title = "Select the JaneDB XML Database Dump file you wish to import" od.PromptText = "The file you are selecting should have a name something like 'JaneDB_Dump'" fxml = od.ShowModal() fnewname = "JaneDB_temp" fnew = GetFolderItem(fnewname) mDatabase.Flush mDatabase.Close mDatabase=Nil newdb = new VDatabase(1) newdb.LoadDump(fxml, fnew, EVDumpType.kXML) msgbox "made it to here" newdb.flush newdb.close newdb = nil ...snip... -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Sat Feb 19 09:56:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 19 01:56:59 2005 Subject: AHA! load dump problem In-Reply-To: Message-ID: On 2/19/05 5:10 AM, "Dave Parizek" wrote: Ok, I will check this Dave. Question, btw, why you use XML load now ? Just remind that for conversion of 1.x db files better to use Valentina .Convert_1_2() > I figured out the problem, it is Valentina bug. When doing load > dump, if I save the new db in the same folder as another db file, > even if new names, Valentina causes RB to crash on LoadDump. this is > on mac with RB 5.5.4. If different folders, works fine. > > --Dave > > > > I am having problems loading an xml database dump. I create the > dump, and have successfully loaded it into a new database with the > example app from Paradigma "XML_DUMP_Database.rb". I have looked all > thru the example code and can't see what I am doing wrong. And I am > going nuts because it should be simple. > > Perhaps someone else can see? Please please please? > > Here is the code, it crashes RB5.5.4 Mac when it gets to the LoadDump > statement, msgbox never displays. mDatabase is a property of my app. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Sat Feb 19 07:43:30 2005 From: dave at Parizek.com (Dave Parizek) Date: Sat Feb 19 08:43:34 2005 Subject: AHA! load dump problem In-Reply-To: References: Message-ID: I did not need to convert my old database. The xml loaddump is necessary for backup purposes. And for right now, it is very useful to me during development because sometimes when debugger crashes database file gets messed up, and then I can just reload it from saved xml dump. -dave > > >Ok, I will check this Dave. > >Question, btw, why you use XML load now ? > >Just remind that for conversion of 1.x db files better to use > Valentina .Convert_1_2() > > >> I figured out the problem, it is Valentina bug. When doing load >> dump, if I save the new db in the same folder as another db file, >> even if new names, Valentina causes RB to crash on LoadDump. this is >> on mac with RB 5.5.4. If different folders, works fine. >> >> --Dave >> >> >> >> I am having problems loading an xml database dump. I create the >> dump, and have successfully loaded it into a new database with the >> example app from Paradigma "XML_DUMP_Database.rb". I have looked all >> thru the example code and can't see what I am doing wrong. And I am >> going nuts because it should be simple. >> >> Perhaps someone else can see? Please please please? >> >> Here is the code, it crashes RB5.5.4 Mac when it gets to the LoadDump >> statement, msgbox never displays. mDatabase is a property of my app. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Sat Feb 19 18:44:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 19 10:44:27 2005 Subject: [V4RB 0000449]: app crashed by wrong SQL In-Reply-To: <995fc430eec34af53510fbf26e904ba4@paradigma.ukrcom.kheron.ua> Message-ID: On 2/19/05 6:16 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > > The following issue has been SUBMITTED. > ====================================================================== > > ====================================================================== > Reported By: Claudius Sailer > Assigned To: > ====================================================================== > Project: V4RB > Issue ID: 449 > Category: SQL > Reproducibility: always > Severity: crash > Priority: normal > Status: new > ====================================================================== > Date Submitted: 02-19-2005 18:16 EET > Last Modified: 02-19-2005 18:16 EET > ====================================================================== > Summary: app crashed by wrong SQL > Description: > I had build wrong SQL. You can see following is part of Logfile. > Application Crashed completely. > > Database_SqlSelect... > PARAM: inDatabase = 26623696 > PARAM: inQuery = " ORDER BY Sortierung, NameWPArt" > PARAM: inCursorLocation = 2 > PARAM: inCursorType = 1 > PARAM: inDirection = 2 > ERROR: 0x71000 line 1:1: unexpected token: ORDER > > return object = 0 > > ERROR: 0x71000 line 1:1: unexpected token: ORDER > > return object = 0 Claudius, As I see in log, you have got a return ZERO for SqlSelect. I see in the log that there was NO crash inside of Valentina. How to see this? Because we see the word 'return' So I assume, either 1) you have no handler to catch Vexception around SqlSelect() 2) you have try to access a nil cursor, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 20 20:52:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 20 17:51:08 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists Message-ID: Hi All, Hi Jon and Dave (guys that have see this problem) * first of all I want to say that this is NOT Valentina bug and not Valentina problem. Next lines will prove that. * this is REALBasic bug. you should put this bug into their bug system. BUG DESCRIPTION: if to create folderItem f1 for a file which already exists, then call some third-party function (via plugin) to create NEW DISK FILE in that location then REALbasic do not see immediately that file was replaced. f1 still contains some old FSREf value. So if you send to plugin THIS f1 folderitem, then plugin get wrong FSREf and cannot e.g open that new disk file. On some RANDOM (!!!) basic, REALbasic __is able__ recognize new file. This can happens for example * if you open in RB debugger folderitem * or add DoEvent() call But in any case this is RANDOM behavior. this not always "fix" FolderItem of RB. Workaround: problem will not exists if you create another object of FolderItem using the path of older FolderItem. ------------------------ Jon, In your project using this workaround I have change line myDB = new FolderItem( pathDB ) On this code: pathDB = defaultDBFolderItem.AbsolutePath myDB = new FolderItem( pathDB ) And now your project works with no problems. ------------------------ I WANT TO ASC TO CLOSE THIS DISCUSSION. This is REALBasic bug, and I not going in any way try to "fix" it in the Valentina. I have lost 2-3 days on this issue. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun Feb 20 17:47:34 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 20 17:51:17 2005 Subject: DebugLevel Message-ID: <1abfdb2fdc93c03e9ca8e3aca13d3c91@sailer-online.de> Hi, I have following Code if PrefDic.value("DatenbankDebug") then Valentina.DebugLevel = EVDebugLevel.kLogParams Valentina.FlushEachLog = true Valentina.ThrowExceptions = false else Valentina.DebugLevel = EVDebugLevel.kLogNothing Valentina.FlushEachLog = false Valentina.ThrowExceptions = true end if for speed testing I used if PrefDic.value("DatenbankDebug") then Valentina.DebugLevel = EVDebugLevel.kLogParams //Valentina.FlushEachLog = true //Valentina.ThrowExceptions = false else Valentina.DebugLevel = EVDebugLevel.kLogNothing Valentina.FlushEachLog = false Valentina.ThrowExceptions = true end if but speed doesn't incease. Is it possible that I have to set it explicite because last setup was stored or is it always reset when I restart debug application? I tested speed with importing complete database from textfile and save database as export to textfile. Both doesn't increase and aren't comparable with 1.10 (could be my fault, but I want to check at first working of new Logging-Functionality of V4RB2). At the moment I move most SQL-Strings from SourceCode into one Module where I can get back SQLString by calling SQLBuilder(index as integer, Param as boolean, CheckName as string) as string because a lot of SQLStrings are used more than one time and so I only have to change coding at one place. Another reason is, I can test most important SQLStrings by a small routine calling SQLBuilder index by index :-)) Thanks for help Claudius From sunshine at public.kherson.ua Mon Feb 21 02:08:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 20 18:08:42 2005 Subject: DebugLevel In-Reply-To: <1abfdb2fdc93c03e9ca8e3aca13d3c91@sailer-online.de> Message-ID: On 2/20/05 6:47 PM, "Claudius Sailer" wrote: Hi Claudius, > I have following Code > > if PrefDic.value("DatenbankDebug") then > Valentina.DebugLevel = EVDebugLevel.kLogParams > Valentina.FlushEachLog = true > Valentina.ThrowExceptions = false > else > Valentina.DebugLevel = EVDebugLevel.kLogNothing > Valentina.FlushEachLog = false > Valentina.ThrowExceptions = true > end if > > for speed testing I used > > if PrefDic.value("DatenbankDebug") then > Valentina.DebugLevel = EVDebugLevel.kLogParams > //Valentina.FlushEachLog = true > //Valentina.ThrowExceptions = false > else > Valentina.DebugLevel = EVDebugLevel.kLogNothing > Valentina.FlushEachLog = false > Valentina.ThrowExceptions = true > end if > > but speed doesn't incease. Is it possible that I have to set it > explicite because last setup was stored or is it always reset when I > restart debug application? Interesting question. not sure. Claudius, if you quite RB and start it again, you EXACTLY will not have old values. In this case on default there is no flush on each log. Does in this it is faster ? If you set debuglevel = kLogNothing then what you see? > I tested speed with importing complete database from textfile and save > database as export to textfile. Both doesn't increase and aren't > comparable with 1.10 (could be my fault, but I want to check at first > working of new Logging-Functionality of V4RB2). You complain on ImportText() speed? On our kernel function ? Hmm. Igor have re-write it a week ago, and it is now quite fast. I have not test it to 1.x although. So what numbers you get for 1.x and 2.0 on import ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Sun Feb 20 23:15:19 2005 From: kevo at gatorgraphics.com (Kevin Windham) Date: Sun Feb 20 23:15:54 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: References: Message-ID: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> On Feb 20, 2005, at 12:52 PM, Ruslan Zasukhin wrote: > BUG DESCRIPTION: > > if to create folderItem f1 for a file which already exists, > then call some third-party function (via plugin) > to create NEW DISK FILE in that location then REALbasic > do not see immediately that file was replaced. > f1 still contains some old FSREf value. Sounds like a logical error to me. Why would a plugin that has a reference to an existing file create a new file and not return a reference to the new file, but return the old. That's not something I would do in any language. I don't think this is RB's fault. Maybe I'm missing something. Seems like the sensible thing to do would be to set the file length to 0 and rename it. Or point the file reference to the new file. > ------------------------ > Jon, > > In your project using this workaround I have change line > > myDB = new FolderItem( pathDB ) > > On this code: > > pathDB = defaultDBFolderItem.AbsolutePath > myDB = new FolderItem( pathDB ) > > And now your project works with no problems. > I wonder what the rest of the code is. This code doesn't seem to do anything as far as RB is concerned. The end result is the same and on one folderitem is created just like the first bit of code. I'm just wondering if this is really a bug in RB or just an abuse of folderitem in some way. > ------------------------ > I WANT TO ASC TO CLOSE THIS DISCUSSION. > This is REALBasic bug, and I not going in any way try > to "fix" it in the Valentina. > I have lost 2-3 days on this issue. Sorry, feel free to not respond. Maybe Jon can shed some light on it for me. Just trying to figure out if this is something to be concerned with, or if it's a non-issue. Thanks, Kevin P.S. I apologize if this discussion has been going on for some time and I missed it. I've been under the weather lately and have skipped a lot of emails. From Claudius at sailer-online.de Mon Feb 21 06:40:32 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 20 23:40:47 2005 Subject: DebugLevel In-Reply-To: References: Message-ID: Hi Ruslan, Am 21. Feb 2005 um 01:08 Uhr schrieb Ruslan Zasukhin: > Interesting question. not sure. > > Claudius, if you quite RB and start it again, you EXACTLY will not > have old > values. I only stopped Debug-Application but not RB. But at the moment I believe problem is, that DebugLevel was noch changed. > In this case on default there is no flush on each log. > Does in this it is faster ? > If you set debuglevel = kLogNothing then what you see? I did. it is faster. But >> I tested speed with importing complete database from textfile and save >> database as export to textfile. Both doesn't increase and aren't >> comparable with 1.10 (could be my fault, but I want to check at first >> working of new Logging-Functionality of V4RB2). > > You complain on ImportText() speed? > On our kernel function ? > Hmm. > > Igor have re-write it a week ago, and it is now quite fast. > I have not test it to 1.x although. > > So what numbers you get for 1.x and 2.0 on import ? It was my fault bacause DebugLevel was on. But with DebugLevel= kLogParams it works without it crashed application with following ErrMessage. An Exception of class VExceptions wasa not handled. Exception Message: VarChar data "" is corrupted. Exception Error Number: 627971 (I can send you screenshot of errormessage if necessary). I wrote my own routine. I read every row in an array and by Identifier I knew what table I have to use. Then I parse every row and write it to database with following Code mydatabase.tablename.field.value=nthfield(RowString,";",4) functionality crashed on a table with more than 7000 records always on record 841. When Loggin is on. EveryThing works fine. No problems during the last days, but when Logging is off it crashed 2 times I tested. bye Claudius From sunshine at public.kherson.ua Mon Feb 21 10:19:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 02:19:45 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> Message-ID: On 2/21/05 7:15 AM, "Kevin Windham" wrote: Hi Kevin, >> ------------------------ >> Jon, >> >> In your project using this workaround I have change line >> >> myDB = new FolderItem( pathDB ) >> >> On this code: >> >> pathDB = defaultDBFolderItem.AbsolutePath >> myDB = new FolderItem( pathDB ) >> >> And now your project works with no problems. >> > > I wonder what the rest of the code is. This code doesn't seem to do > anything as far as RB is concerned. The end result is the same and on > one folderitem is created just like the first bit of code. I'm just > wondering if this is really a bug in RB or just an abuse of folderitem > in some way. In the first letter I have write on start * this is REALBasic bug. you should put this bug into their bug system. The lines pathDB = defaultDBFolderItem.AbsolutePath myDB = new FolderItem( pathDB ) Is workaround of this bug. Jon have also even better workaround, He use not absolute path, but extract parent folderitem and name And using this reconstruct new folderitem. Kevin, you are right, result is the same. And we MUST NOT do this if all right. But we have little bug in REALbasic. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 21 10:21:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 02:21:40 2005 Subject: DebugLevel In-Reply-To: Message-ID: On 2/21/05 7:40 AM, "Claudius Sailer" wrote: > It was my fault bacause DebugLevel was on. > But with DebugLevel= kLogParams it works without it crashed application > with following ErrMessage. > > An Exception of class VExceptions wasa not handled. Exception Message: > VarChar data "" is corrupted. Exception Error Number: 627971 > > (I can send you screenshot of errormessage if necessary). > I wrote my own routine. I read every row in an array and by Identifier > I knew what table I have to use. Then I parse every row and write it to > database with following Code > > mydatabase.tablename.field.value=nthfield(RowString,";",4) > > functionality crashed on a table with more than 7000 records always on > record 841. When Loggin is on. EveryThing works fine. No problems > during the last days, but when Logging is off it crashed 2 times I > tested. If you have way to reproduce please send me project. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Mon Feb 21 06:43:58 2005 From: jda at his.com (jda) Date: Mon Feb 21 05:44:22 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> Message-ID: >I wonder what the rest of the code is. This code doesn't seem to do >anything as far as RB is concerned. The end result is the same and >on one folderitem is created just like the first bit of code. I'm >just wondering if this is really a bug in RB or just an abuse of >folderitem in some way. > Kevin, I have no idea how one can abuse a folderItem. I certainly deny I have ever done it. And rumors to the contrary are not sufficient to convict. At least not again. There is a bug in RB that causes problems in the following scenario: 1. Use GetSaveFolderItem to make a folderItem (f) -- it must replace an existing file 2. db.Create(f...) 3. f points to the file, but f.exists = false (incorrect). 4. trouble ensues Ruslan has found a workaround, which he posted. A safer alternative to reeestablishing the folderItem is: f = f.parent.child(f.name) (used immediately after db.Create) Now f.exists = true Sooner or later most folks will run into this bug. If you find a better workaround, let us know. Jon From sunshine at public.kherson.ua Mon Feb 21 14:12:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 06:12:21 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: Message-ID: On 2/21/05 1:43 PM, "jda" wrote: > Ruslan has found a workaround, which he posted. A safer alternative > to reeestablishing the folderItem is: > > f = f.parent.child(f.name) > > (used immediately after db.Create) > > Now f.exists = true > > Sooner or later most folks will run into this bug. If you find a > better workaround, let us know. I think this line is perfect f = f.parent.child(f.name) And again, I suggest to somebody put this into bug system of REAL, May be drop this to their lists. Add votes... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Mon Feb 21 08:45:47 2005 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Feb 21 08:46:24 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> Message-ID: On Feb 21, 2005, at 5:43 AM, jda wrote: >> I wonder what the rest of the code is. This code doesn't seem to do >> anything as far as RB is concerned. The end result is the same and on >> one folderitem is created just like the first bit of code. I'm just >> wondering if this is really a bug in RB or just an abuse of >> folderitem in some way. >> > > Kevin, I have no idea how one can abuse a folderItem. I certainly deny > I have ever done it. And rumors to the contrary are not sufficient to > convict. At least not again. I am not trying to convict anyone, just trying to point out what I would consider workflow flaw. > > There is a bug in RB that causes problems in the following scenario: > > 1. Use GetSaveFolderItem to make a folderItem (f) -- it must replace > an existing file FolderItems don't replace anything. It might point to an existing file, but it doesn't actually do anything until you call a method on the file. So here you have a folderitem that points to an existing file. > 2. db.Create(f...) Now you ask Valentina to create a database at a location that is occupied by an existing file. To my mind this is a silent error. What happens in an app where a user makes a mistake, or it's a simple programming error, and Valentina silently replaces a file I wanted? This is why I think it's an abuse. Valentina should not replace an existing file IMO. It should expect the programmer to provide a location where a file doesn't exist so that it can create a new one there without stomping on the other file. Of course this is just my opinion, but we can't properly deal with the scenario if we don't know about it and for Valentina to silently replace the file seems counter to what the create statement's original intention was. Create a new file, not delete an existing one. I appreciate the clarification, and at least now I know to watch out for it. > 3. f points to the file, but f.exists = false (incorrect). > 4. trouble ensues > > Ruslan has found a workaround, which he posted. A safer alternative to > reeestablishing the folderItem is: > > f = f.parent.child(f.name) > > (used immediately after db.Create) > > Now f.exists = true > > Sooner or later most folks will run into this bug. If you find a > better workaround, let us know. Good catch Jon. I think Ruslan should not wipe out an existing file. I think it confuses the intention of create and really the better choice here would be to fail and notify the programmer by having create return false. Kevin From sunshine at public.kherson.ua Mon Feb 21 17:03:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 09:03:57 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: Message-ID: On 2/21/05 4:45 PM, "Kevin Windham" wrote: >> 2. db.Create(f...) > > Now you ask Valentina to create a database at a location that is > occupied by an existing file. To my mind this is a silent error. What > happens in an app where a user makes a mistake, or it's a simple > programming error, and Valentina silently replaces a file I wanted? Yes, file will be replaced. In this way Valentina work long time. This do not cause problems. If you in your app use DAVE dialog, then you will be asked: replace file? If you answer YES you get FolderItem that point on existed file. So db.Create() simple replace existed file. Db.Create should NOT fail as you write below! what sense? User already have confirm that he want replace. > This is why I think it's an abuse. Valentina should not replace an > existing file IMO. It should. See above > It should expect the programmer to provide a > location where a file doesn't exist so that it can create a new one > there without stomping on the other file. > > Of course this is just my opinion, but we can't properly deal with the > scenario if we don't know about it and for Valentina to silently > replace the file seems counter to what the create statement's original > intention was. Create a new file, not delete an existing one. > > I appreciate the clarification, and at least now I know to watch out > for it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Mon Feb 21 10:03:56 2005 From: jda at his.com (jda) Date: Mon Feb 21 09:04:14 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> Message-ID: >>Kevin, I have no idea how one can abuse a folderItem. I certainly >>deny I have ever done it. And rumors to the contrary are not >>sufficient to convict. At least not again. > >I am not trying to convict anyone, just trying to point out what I >would consider workflow flaw. That was joke. > >> >>There is a bug in RB that causes problems in the following scenario: >> >>1. Use GetSaveFolderItem to make a folderItem (f) -- it must >>replace an existing file > >FolderItems don't replace anything. It might point to an existing >file, but it doesn't actually do anything until you call a method on >the file. So here you have a folderitem that points to an existing >file. > >>2. db.Create(f...) > >Now you ask Valentina to create a database at a location that is >occupied by an existing file. To my mind this is a silent error. >What happens in an app where a user makes a mistake, or it's a >simple programming error, and Valentina silently replaces a file I >wanted? > >This is why I think it's an abuse. Valentina should not replace an >existing file IMO. It should expect the programmer to provide a >location where a file doesn't exist so that it can create a new one >there without stomping on the other file. > >Of course this is just my opinion, but we can't properly deal with >the scenario if we don't know about it and for Valentina to silently >replace the file seems counter to what the create statement's >original intention was. Create a new file, not delete an existing >one. > >I appreciate the clarification, and at least now I know to watch out for it. > Kevin, do you use RB? I ask because if you do you should know that GetSaveFolderItem (see above) is a standard method for obtaining a folderItem prior to saving a file to disk: f = GetSaveFolderItem("", "database1") It puts up a standard "Save As" dialog box. If you click Save and the file already exists, you are asked if you want to replace it with a new file. You can cancel or proceed. If you proceed, a folderItem is created. Valentina hasn't yet entered the picture. You pass this folderItem to Valentina in db.create(f...). Valentina overwrites the existing file. This triggers the bug. Jon From kevo at gatorgraphics.com Mon Feb 21 09:34:19 2005 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Feb 21 09:34:49 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> Message-ID: <7d2ffc70144d6865bc96a76c0eedbb93@gatorgraphics.com> On Feb 21, 2005, at 9:03 AM, jda wrote: > > Kevin, do you use RB? I ask because if you do you should know that > GetSaveFolderItem (see above) is a standard method for obtaining a > folderItem prior to saving a file to disk: > > f = GetSaveFolderItem("", "database1") > > It puts up a standard "Save As" dialog box. > > If you click Save and the file already exists, you are asked if you > want to replace it with a new file. You can cancel or proceed. If you > proceed, a folderItem is created. Valentina hasn't yet entered the > picture. Does the bug only occur with a folderitem created from GetSaveFolderitem? How does valentina know that? I am looking at this from an API perspective. Not from the user perspective. What if the developer passed in a folderitem that existed and didn't use the GetSaveFolderitem. Wouldn't the bug still happen? Now the user has lost a file that they didn't agree to losing. Like I said, this is just my opinion, but a command called create should create something, not destroy something. I personally would not intentionally choose to allow a create command that I put in one of my own programs to destroy something. It's unexpected and counter-intuitive. That's all I'm getting at. It's a separation of powers kind of thing. > You pass this folderItem to Valentina in db.create(f...). Valentina > overwrites the existing file. This triggers the bug. I'm still not sure this is a "bug" in the sense that RB is doing something wrong. A plugin changed a file reference out from under it. I think there is a folderitem API in the plugin SDK and if it's not used to update the folderitem in Ruslan's code, then I don't think it's an RB problem. I don't know what Ruslan is doing in his code, and if it were up to me I wouldn't necessarily change anything except returning false if the folderitem you want "created" already exists. Just my 2?, feel free to ignore if you like. It seems that happens a lot these days. :-) Kevin From jda at his.com Mon Feb 21 10:48:34 2005 From: jda at his.com (jda) Date: Mon Feb 21 09:48:46 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: <7d2ffc70144d6865bc96a76c0eedbb93@gatorgraphics.com> References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> <7d2ffc70144d6865bc96a76c0eedbb93@gatorgraphics.com> Message-ID: >On Feb 21, 2005, at 9:03 AM, jda wrote: >> >>Kevin, do you use RB? I ask because if you do you should know that >>GetSaveFolderItem (see above) is a standard method for obtaining a >>folderItem prior to saving a file to disk: >> >>f = GetSaveFolderItem("", "database1") >> >>It puts up a standard "Save As" dialog box. >> >>If you click Save and the file already exists, you are asked if you >>want to replace it with a new file. You can cancel or proceed. If >>you proceed, a folderItem is created. Valentina hasn't yet entered >>the picture. > >Does the bug only occur with a folderitem created from GetSaveFolderitem? Yes, as far as I can tell. > How does valentina know that? It doesn't. It's a bug in RB, which does know it. > I am looking at this from an API perspective. Not from the user >perspective. What if the developer passed in a folderitem that >existed and didn't use the GetSaveFolderitem. Wouldn't the bug still >happen? No. > Now the user has lost a file that they didn't agree to losing. That's the programmer's fault. RB will overwrite a file if the folderItem points to one, for example, f.createAsTextFile > >Like I said, this is just my opinion, but a command called create >should create something, not destroy something. I personally would >not intentionally choose to allow a create command that I put in one >of my own programs to destroy something. It's unexpected and >counter-intuitive. > >That's all I'm getting at. It's a separation of powers kind of thing. This is how the Mac works. It's up to the programmer to ensure that the user doesn't overwrite an existing file unintentionally. That's what the check in Save As is for. And that's the way it should be. Jon From kevo at gatorgraphics.com Mon Feb 21 10:14:34 2005 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Feb 21 10:15:02 2005 Subject: [ATTENTION], "problem" with FolderItem.Exists In-Reply-To: References: <8cffd0c340a75a1dc5341b0e387f4017@gatorgraphics.com> <7d2ffc70144d6865bc96a76c0eedbb93@gatorgraphics.com> Message-ID: On Feb 21, 2005, at 9:48 AM, jda wrote: >> Does the bug only occur with a folderitem created from >> GetSaveFolderitem? > > Yes, as far as I can tell. OK, this is what I was missing. Thanks for clearing it up. Kevin From Claudius at sailer-online.de Mon Feb 21 17:57:05 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 21 10:57:22 2005 Subject: DebugLevel In-Reply-To: References: Message-ID: <922620d44e7f4f77fafe610b555ebdf2@sailer-online.de> Am 21. Feb 2005 um 09:21 Uhr schrieb Ruslan Zasukhin: >> functionality crashed on a table with more than 7000 records always on >> record 841. When Loggin is on. EveryThing works fine. No problems >> during the last days, but when Logging is off it crashed 2 times I >> tested. > > If you have way to reproduce please send me project. I can't reproduce it. please see other eMail with question to other Testers. bye Claudius From Claudius at sailer-online.de Mon Feb 21 17:57:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 21 10:57:26 2005 Subject: Problem with RB?? Do you have same experiences Message-ID: <1bfe179184318ff471edaf2d35a2f484@sailer-online.de> HI, I had now following situation more than one time, so I think it is problem in RB and I am interested how are your experiences. I made a lot of tests yesterday with my app and V4RB2b47 Everything works fine, but I had also some crashes in application with the standard MacOS X error message do you want to send eMail to Apple. I didn't restartet RB 5.5.3 I only restarted Run in DebugMode. After a while functionality which worked until fine suddenly crashed. At first I thought database is corrupted, but I made new database and application crashed again. Then after all was working fine I deactivated DebugLevel for V4RB and tried to import data to database. With DebugLevel on everything was fine with DebugLevel Off application crashed by importing. Now after rebooting system I tested again, and what I could reproduce yesterday every time I can't. Now DebugLevel = OFF everything is fine. The only thing from yesterday and this morning to nw is, that I restartet RB 5.5.3. Do you have same experiences? How often is it neccessary to restart RB? In my point of view it seems that RB has a problem when Debug-App-Crashed. Sometimes it crashed because it crashed before and sometimes it doesn't crashed. Funny thing but IMHO interesting for here because by testing V4RB2 I have a lot of crashed forced by V4RB2 (something I expected because of my coding ;-)) but this makes RB also instabil. bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From jda at his.com Mon Feb 21 12:30:08 2005 From: jda at his.com (jda) Date: Mon Feb 21 11:30:26 2005 Subject: Problem with RB?? Do you have same experiences In-Reply-To: <1bfe179184318ff471edaf2d35a2f484@sailer-online.de> References: <1bfe179184318ff471edaf2d35a2f484@sailer-online.de> Message-ID: > > >Do you have same experiences? How often is it neccessary to restart >RB? In my point of view it seems that RB has a problem when >Debug-App-Crashed. Sometimes it crashed because it crashed before >and sometimes it doesn't crashed. Funny thing but IMHO interesting >for here because by testing V4RB2 I have a lot of crashed forced by >V4RB2 (something I expected because of my coding ;-)) but this makes >RB also instabil. > Hi Claudius, I use RB 5.5.4, and I don't think I've ever seen Valentina crash it. Valentina I have crashed a thousand times, of course. :-). But b47 seems pretty stable (except for a few bugs that Ruslan is fixing). Jon From Claudius at sailer-online.de Mon Feb 21 18:44:30 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 21 11:44:45 2005 Subject: Problem with RB?? Do you have same experiences In-Reply-To: References: <1bfe179184318ff471edaf2d35a2f484@sailer-online.de> Message-ID: Hi Jon, Am 21. Feb 2005 um 18:30 Uhr schrieb jda: >> >> >> Do you have same experiences? How often is it neccessary to restart >> RB? In my point of view it seems that RB has a problem when >> Debug-App-Crashed. Sometimes it crashed because it crashed before and >> sometimes it doesn't crashed. Funny thing but IMHO interesting for >> here because by testing V4RB2 I have a lot of crashed forced by V4RB2 >> (something I expected because of my coding ;-)) but this makes RB >> also instabil. > > I use RB 5.5.4, and I don't think I've ever seen Valentina crash it. > Valentina I have crashed a thousand times, of course. :-). But b47 > seems pretty stable (except for a few bugs that Ruslan is fixing). Thats correct, but I have some SQL-Codes which crashes Valentina and I don't know every time whther this SQLs are called or not. Sometimes I am with my fingers faster as my thoughts and at the moment I realized what I did, application was crashed. But it seems now to me, that RB has a problem to handle this crashes. But now I am better informed and knew next time that problem could also part of RB, so I have to restart RB and try crash again to see, whats reason. bye Claudius From sunshine at public.kherson.ua Mon Feb 21 19:50:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 11:51:04 2005 Subject: Problem with RB?? Do you have same experiences In-Reply-To: Message-ID: On 2/21/05 7:44 PM, "Claudius Sailer" wrote: > > Thats correct, but I have some SQL-Codes which crashes Valentina and I > don't know every time whther this SQLs are called or not. Sometimes I > am with my fingers faster as my thoughts and at the moment I realized > what I did, application was crashed. But it seems now to me, that RB > has a problem to handle this crashes. > But now I am better informed and knew next time that problem could also > part of RB, so I have to restart RB and try crash again to see, whats > reason. Claudius, I still cannot understand why log file not help you? It exists to help us fight with such problems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Mon Feb 21 18:57:18 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 21 11:57:31 2005 Subject: Problem with RB?? Do you have same experiences In-Reply-To: References: Message-ID: <4ec5e03239a53764d1cc0946f6c59e03@sailer-online.de> Hi Ruslan, Am 21. Feb 2005 um 18:50 Uhr schrieb Ruslan Zasukhin: > On 2/21/05 7:44 PM, "Claudius Sailer" > wrote: > >> >> Thats correct, but I have some SQL-Codes which crashes Valentina and I >> don't know every time whther this SQLs are called or not. Sometimes I >> am with my fingers faster as my thoughts and at the moment I realized >> what I did, application was crashed. But it seems now to me, that RB >> has a problem to handle this crashes. >> But now I am better informed and knew next time that problem could >> also >> part of RB, so I have to restart RB and try crash again to see, whats >> reason. > > Claudius, > > I still cannot understand why log file not help you? > > It exists to help us fight with such problems. My problem SQL-Code is described in Call #405. This SQL-Systematic I use very often (so often that mostly every window uses it) and I know you are working on it. So there is nothing for V4RB2 to do, because you are working on it. My experience was, that crashing in Debug RB makes next run of Debug-RB sometimes and more often instable. This has nothing to do with V4RB2, but with transfering data from RB to V4RB2. And I want to know whether other users have same experience with RB. Crashing was forced from RB not from V4RB2. This is the reason why I can't find something in V4RB-LogFile. bye Claudius From sunshine at public.kherson.ua Mon Feb 21 21:24:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 13:25:23 2005 Subject: Problem with RB?? Do you have same experiences In-Reply-To: <4ec5e03239a53764d1cc0946f6c59e03@sailer-online.de> Message-ID: On 2/21/05 7:57 PM, "Claudius Sailer" wrote: > > My problem SQL-Code is described in Call #405. This SQL-Systematic I > use very often (so often that mostly every window uses it) and I know > you are working on it. So there is nothing for V4RB2 to do, because you > are working on it. Claudius, Ivan cannot reproduce this problem. Can you send us db/project and SQL ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Mon Feb 21 15:11:08 2005 From: dave at Parizek.com (Dave Parizek) Date: Mon Feb 21 16:11:17 2005 Subject: getting recids feature request In-Reply-To: References: Message-ID: This is a feature request for the future, maybe 2.1? If I have a query string like this: select Notes.RecID, People.RecID, f1, f2 from People, Notes and I get a cursor for it with sqlselect With V1.x, the only way to get the value of each recid for a specific record was via mCursor.field(index).getstring. You can't get it by field name because both RecID fields are named "RecID". If possible it would be really cool if you could get by name, with the recid fields being named "tablename.recid" instead of just "recid". --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Mon Feb 21 15:29:24 2005 From: dave at Parizek.com (Dave Parizek) Date: Mon Feb 21 16:29:22 2005 Subject: ALTERNATIVE: getting recids feature request Message-ID: An alternative to my request below would be if mCursor.field(1).table.name would return the name of the original table that the field is in, as opposed to a generic name produced by the fact the table is in a join = "_Join_Table_1_" Or another alternative would be to have a new property for Field that returns the original table name of that field. --Dave This is a feature request for the future, maybe 2.1? If I have a query string like this: select Notes.RecID, People.RecID, f1, f2 from People, Notes and I get a cursor for it with sqlselect With V1.x, the only way to get the value of each recid for a specific record was via mCursor.field(index).getstring. You can't get it by field name because both RecID fields are named "RecID". If possible it would be really cool if you could get by name, with the recid fields being named "tablename.recid" instead of just "recid". --Dave -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Tue Feb 22 00:32:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 16:32:47 2005 Subject: getting recids feature request In-Reply-To: Message-ID: On 2/22/05 12:11 AM, "Dave Parizek" wrote: Hi Dave, > This is a feature request for the future, maybe 2.1? > > If I have a query string like this: > > select Notes.RecID, People.RecID, f1, f2 from People, Notes > > and I get a cursor for it with sqlselect > > With V1.x, the only way to get the value of each recid for a specific > record was via mCursor.field(index).getstring. You can't get it by > field name because both RecID fields are named "RecID". > > If possible it would be really cool if you could get by name, with > the recid fields being named "tablename.recid" instead of just > "recid". Right now you can use alias select Notes.RecID as 'r1', People.RecID as 'r2', f1, f2 from People, Notes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Tue Feb 22 12:42:14 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 22 13:42:27 2005 Subject: kTypeObjectPtr vs. kTypeObjectsPtr In-Reply-To: References: Message-ID: What is the difference between field types ObjectPtr and ObjectsPtr? --Dave -- _______________________________________________ Dave Parizek Dave@Parizek.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Tue Feb 22 22:00:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 14:01:30 2005 Subject: kTypeObjectPtr vs. kTypeObjectsPtr In-Reply-To: Message-ID: On 2/22/05 9:42 PM, "Dave Parizek" wrote: Hi Dave, > What is the difference between field types ObjectPtr and ObjectsPtr? ObjectPtr -- this is old type from 1.x. 4 bytes. Point to RecID record ObjectsPtr -- is new type, 8 bytes, point to OID. this pointer is able point any record in the database. This is new feature, and it is not polished yet to ideal state. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Tue Feb 22 16:02:26 2005 From: dave at Parizek.com (Dave Parizek) Date: Tue Feb 22 17:02:35 2005 Subject: question on order by of joined tables In-Reply-To: References: Message-ID: Doing SqlSelect on 2 tables joined by objectptr: select * from t1, t2 order by f2 I get VException "feature not supported" if I use order by. Is this feature coming soon, or not coming, or am I doing something wrong? --Dave -- _______________________________________________ Dave Parizek Dave@Parizek.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Wed Feb 23 01:08:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 17:08:44 2005 Subject: question on order by of joined tables In-Reply-To: Message-ID: On 2/23/05 1:02 AM, "Dave Parizek" wrote: Hi Dave, > Doing SqlSelect on 2 tables joined by objectptr: > > select * from t1, t2 order by f2 > > I get VException "feature not supported" if I use order by. > > Is this feature coming soon, or not coming, or am I doing something wrong? This should work in b47. Although Claudius have sent us db that crashes if do query with sort on join several times. In the nearest 30-60 minutes I should upload new b48. Please test with b48. If problem still here, please send us your db and SQL query. We will test in viSQL. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 23 02:35:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 18:36:12 2005 Subject: [V4RB] 2.0 b48 uploaded. Message-ID: kernel - 2.0 b48 ================ - 0000456: [SQL] UPDATE does not update a date field (Ivan Smahin) - 0000468: [SQL] Update date, time, datetime fields does not work with searched case. (Ivan Smahin) V4RB - 2.0 b48 ============== - 0000452: [API] Can't open a db file name with periods (Ruslan Zasukhin) - 0000454: [API] [NEW] Table.SetBlank() and Cursor.SetBlank() have new parameter. (Igor Gomon) - 0000453: [API] NEW enum evValueAccess (Igor Gomon) - 0000417: [SQL] insert truncate for SQL command (Ivan Smahin) - 0000440: [SQL] Min() causes VException with no records in the table (Ivan Smahin) - 0000443: [API] Changing segment size on convert_1_2 (Ivan Smahin) - 0000437: [Feature Request] FindDistinct in API methods (Igor Gomon) - 0000442: [Feature Request] Optimization of findContains(string,SET) (Igor Gomon) - 0000408: [SQL] First indexed search of a large db fails (Ruslan Zasukhin) - 0000436: [API] convert_1_2 doesn't take MacCreator with it and changes naming (Ruslan Zasukhin) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050223/80fd056d/attachment-0001.html From jda at his.com Tue Feb 22 19:52:17 2005 From: jda at his.com (jda) Date: Tue Feb 22 18:52:37 2005 Subject: [V4RB] 2.0 b48 uploaded. In-Reply-To: References: Message-ID: > >- 0000454: [API] [NEW] Table.SetBlank() and Cursor.SetBlank() have >new parameter. (Igor Gomon) myCursor.setBlank(EVValueAccess.forAdd) -> too many paramters. ? Jon From jda at his.com Tue Feb 22 20:10:03 2005 From: jda at his.com (jda) Date: Tue Feb 22 19:10:17 2005 Subject: [V4RB] 2.0 b48 uploaded. In-Reply-To: References: Message-ID: > >- 0000443: [API] Changing segment size on convert_1_2 (Ivan Smahin) I didn't see an example of this. So I just tried adding a new parameter -> too many parameters error. Jon From sunshine at public.kherson.ua Wed Feb 23 11:43:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 03:43:58 2005 Subject: About bugs 272 and 273 Message-ID: Hi Dave, We have check your projects for 272 and 273 bugs with b48 here. everything works excellent! * I have only one idea how this can be. Do you download V4RB archive only ? You need download regularly V4RB and Vengine archives. you need each time drop files from Vengine into Vcomponents folder on your computer. To check this point you can run example Common/InitShutDown this example show actual version of engine you run. I think that you run not b48 but some older version. Probably b45 or b46 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 23 07:25:52 2005 From: jda at his.com (jda) Date: Wed Feb 23 06:26:16 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: >I think that you run not b48 but some older version. >Probably b45 or b46 > Hi Ruslan, Are you sure you uploaded the right files? See my emails about two new features not compiling for me in b48: setblank(1) and convert1_2 with a 4th parameter. Jon From sunshine at public.kherson.ua Wed Feb 23 14:39:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 06:39:55 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 2:25 PM, "jda" wrote: >> I think that you run not b48 but some older version. >> Probably b45 or b46 >> > > Hi Ruslan, > > Are you sure you uploaded the right files? See my emails about two > new features not compiling for me in b48: setblank(1) and convert1_2 > with a 4th parameter. Hi Jon, Cursor.SetBlank() that was mistake of Igor He have not update declaration of method. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 23 14:40:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 06:40:40 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 2:25 PM, "jda" wrote: >> I think that you run not b48 but some older version. >> Probably b45 or b46 >> > > Hi Ruslan, > > Are you sure you uploaded the right files? See my emails about two > new features not compiling for me in b48: setblank(1) and convert1_2 > with a 4th parameter. Convert_1_2 -- I think the same problem. Ivan have made it on C++ but forget put into RB level. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 23 07:45:38 2005 From: jda at his.com (jda) Date: Wed Feb 23 06:45:54 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: >Convert_1_2 -- I think the same problem. > >Ivan have made it on C++ but forget put into RB level. > Sounds like it's time for b48.0.1 :-) Jon From sunshine at public.kherson.ua Wed Feb 23 17:40:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 09:40:52 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 5:38 PM, "Dave Parizek" wrote: Hi All, Jon, you already have download b48? Please run InitShutdown example to check version of engine. Do you see b48 or b45 ? Dave says that he see b45. > Please let me know when you have uploaded correct b48 to website. > I just re downloaded all 3 things. Complete new install. Projects still don't > work. > > Init-shutdown example says I am using b45. > > So it looks like wrong version is uploaded to site here: > http://paradigmasoft.com/download/v2_beta/v4rb_beta.html > > --Dave -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 23 10:43:38 2005 From: jda at his.com (jda) Date: Wed Feb 23 09:44:01 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: >Jon, you already have download b48? > >Please run InitShutdown example to check version of engine. >Do you see b48 or b45 ? > >Dave says that he see b45. It says I am using 2.0b48. Jon From sunshine at public.kherson.ua Wed Feb 23 17:47:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 09:47:42 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 5:38 PM, "Dave Parizek" wrote: > I just re downloaded all 3 things. Complete new install. Projects > still don't work. > > Init-shutdown example says I am using b45. * Well, I go to site, * I see that Vengine and V4RB archives ahs date Feb 23 * I download Vengine archive, 1.5MB and uncompress it * I see that in the Vengine folder Kernel_Carbon_Final.shlb 23 Feb vclient_carbon_cw.shlb 23 Feb vshared_carbon_cw.shlb 22 Feb So as I see files are correct. * Please check dates of these 3 files on your side. * may be you have on HDD other Valentina files? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 23 17:48:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 09:49:06 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 5:43 PM, "jda" wrote: >> Jon, you already have download b48? >> >> Please run InitShutdown example to check version of engine. >> Do you see b48 or b45 ? >> >> Dave says that he see b45. > > It says I am using 2.0b48. Dave you see? So Jon also confirm that archive is correct. Aha, please check next: Exists CFMSupport in the HOME location and in the ROOT location. May be you have 2 copies -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Wed Feb 23 08:52:06 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 23 09:52:32 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: Bizarro. This is correct download place, right?: http://paradigmasoft.com/download/v2_beta/v4rb_beta.html --Dave >>Jon, you already have download b48? >> >>Please run InitShutdown example to check version of engine. >>Do you see b48 or b45 ? >> >>Dave says that he see b45. > >It says I am using 2.0b48. > >Jon >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050223/41fec147/attachment-0001.html From sunshine at public.kherson.ua Wed Feb 23 17:53:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 09:54:02 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 5:52 PM, "Dave Parizek" wrote: > Bizarro. This is correct download place, right?: > > http://paradigmasoft.com/download/v2_beta/v4rb_beta.html Right And here 2 files show date Feb 23 Do you see this ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Wed Feb 23 17:18:00 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Feb 23 10:18:34 2005 Subject: Question of eMail Handling Message-ID: <5c253f129ecd5aacf43b30b0658f1574@sailer-online.de> Hi, I am using Mail from MacOS X. I have activated eMail-Following where eMail which are togheter are sorted together. When now someone uses for a new theme and question the functionality to answer an old eMail this new question is sorted under the old theme. This is not very usable and possible to handle easy. So my question to all. Please, when you have new theme or question start a new eMail without the Answer-Functionality of your eMail-Client. Thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Feb 23 18:27:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 10:27:26 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Wed Feb 23 09:42:49 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 23 10:43:07 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: Yes, I see. Normally I regularly watch those dates, and usually each new beta I download the plugin and vengines. Then I drag plugin to plugins folder, replacing old plugiin. I then open vengines folder, select all files inside, and drag the files to vcomponents folder in cfmsupport, and replace the old files (vengine only). I don't normally download the first, bigger file, because usually date not changed. I downloaded this tiime just to attempt completely new install. --dave >On 2/23/05 5:52 PM, "Dave Parizek" wrote: > >> Bizarro. This is correct download place, right?: >> >> http://paradigmasoft.com/download/v2_beta/v4rb_beta.html > >Right > >And here 2 files show date Feb 23 >Do you see this ? > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Wed Feb 23 18:45:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 10:45:21 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 6:42 PM, "Dave Parizek" wrote: So you still have not find where is problem ? > Yes, I see. Normally I regularly watch those dates, and usually each > new beta I download the plugin and vengines. Then I drag plugin to > plugins folder, replacing old plugiin. I then open vengines folder, > select all files inside, and drag the files to vcomponents folder in > cfmsupport, and replace the old files (vengine only). > > I don't normally download the first, bigger file, because usually > date not changed. I downloaded this tiime just to attempt completely > new install. > > --dave > > >> On 2/23/05 5:52 PM, "Dave Parizek" wrote: >> >>> Bizarro. This is correct download place, right?: >>> >>> http://paradigmasoft.com/download/v2_beta/v4rb_beta.html >> >> Right >> >> And here 2 files show date Feb 23 >> Do you see this ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Wed Feb 23 09:52:17 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 23 10:52:39 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: Jon -- Any way you can zip or stuff the files that are in Vengine and the plugin that you have on your machine and send them to me? dave@parizek.com I would appreciate it big time. In case you already threw away vengine folder, files that were in there are: Kernel_Carbon_Final.shlb resources/English/kernerl_errors.xml and sql_errors.xml vclient_carbon_cw.shlb vshared_carbon_cw_shlb --Dave >>Jon, you already have download b48? >> >>Please run InitShutdown example to check version of engine. >>Do you see b48 or b45 ? >> >>Dave says that he see b45. > >It says I am using 2.0b48. > >Jon >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From jda at his.com Wed Feb 23 11:57:27 2005 From: jda at his.com (jda) Date: Wed Feb 23 10:57:49 2005 Subject: About bugs 272 and 273 In-Reply-To: References: Message-ID: >Jon -- > >Any way you can zip or stuff the files that are in Vengine and the >plugin that you have on your machine and send them to me? >dave@parizek.com I would appreciate it big time. > >In case you already threw away vengine folder, files that were in there are: > >Kernel_Carbon_Final.shlb >resources/English/kernerl_errors.xml and sql_errors.xml >vclient_carbon_cw.shlb >vshared_carbon_cw_shlb > Done. Although I don't have vclient_ -- I trash that since I'm not using Valentina Server. The rest are on their way to you now... Jon From sunshine at public.kherson.ua Wed Feb 23 20:41:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 12:42:04 2005 Subject: About bugs 272 and 273 In-Reply-To: Message-ID: On 2/23/05 8:05 PM, "Dave Parizek" wrote: > Jon's sent me vengine files. they worked, b48. I re download > vengine files, back to b45. Next I download vengine files via ftp > link instead of http link. Got b48. So files on server at http link > are incorrect, but files at ftp link are correct, I assume. Http and ftp point the same file. > Or if same files then browser is doing something funny via http, caching > maybe? I think it is YOUR browser jokes, or may be you ISP proxy. In browser (MS) usually exists option+click way to FORCE reload file. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 23 21:16:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 13:16:36 2005 Subject: [V4RB 0000475]: crash on open database In-Reply-To: Message-ID: On 2/21/05 11:02 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > > The following issue has been SUBMITTED. > ====================================================================== > > ====================================================================== > Reported By: Dave Parizek > Assigned To: > ====================================================================== > Project: V4RB > Issue ID: 475 > Category: Database > Reproducibility: always > Severity: crash > Priority: normal > Status: new > ====================================================================== > Date Submitted: 02-21-2005 23:02 EET > Last Modified: 02-21-2005 23:02 EET > ====================================================================== > Summary: crash on open database > Description: > using RB Mac 5.5.4. app crashes when it tries to open database. also, > example app DB_CreateCloseOpen.rb also crashes same. create -> close -> > open -> CRASH > > refer to example app DB_CreateCloseOpen.rb to see crash > ====================================================================== Dave, I have try this example, and it works fine here. Create - Close - open - close - ThrowOut All buttons work fine for me... I do not understand what is going on on your side?! Bad full moon? :-) Do you use US English OS ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Wed Feb 23 12:25:27 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 23 13:25:55 2005 Subject: [V4RB 0000475]: crash on open database In-Reply-To: References: Message-ID: I closed this one 5 minutes, literally, after I opened it. I still had wrong v4rb plugin file. I went and got via ftp instead of http and then it fine. --DAve > >Dave, I have try this example, and it works fine here. > > Create - Close - open - close - ThrowOut > >All buttons work fine for me... > >I do not understand what is going on on your side?! >Bad full moon? :-) > >Do you use US English OS ? > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From dave at Parizek.com Wed Feb 23 12:31:19 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Feb 23 13:31:37 2005 Subject: [V4RB 0000475]: crash on open database In-Reply-To: References: Message-ID: All problems solved when browser cache cleared. Sorry, I did not know FireFox cache purposely downloaded files, I thought they only cached browsed web site files. --Dave > >I do not understand what is going on on your side?! >Bad full moon? :-) I don't know, something in the air I guess... --Dave > >Do you use US English OS ? > -- _______________________________________________ Dave Parizek Dave@RemainderZ.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From sunshine at public.kherson.ua Wed Feb 23 22:19:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 14:19:46 2005 Subject: [V4RB] 2.0 b49 uploaded. Message-ID: V4RB - 2.0 b49 ============== - 0000479: [API] Valentina.Converter_1_2() now have parameter inNewSegmentSize = 0. (Ruslan Zasukhin) - 0000478: [NEW] VTable now have familiy of methods to get field in the expected type. (Ruslan Zasukhin) - 0000477: [NEW] VObjectPtr.AsVLink2() method (Ruslan Zasukhin) - 0000476: [Fields] VObjectPtr constructor have new param inLinkName (Ruslan Zasukhin) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050223/78e3a088/attachment.html From jda at his.com Wed Feb 23 15:27:55 2005 From: jda at his.com (jda) Date: Wed Feb 23 14:28:18 2005 Subject: [V4RB] 2.0 b49 uploaded. In-Reply-To: References: Message-ID: Compile error on this line: vdb.Table("bibAndDoc").StringField("citationType").storageEncoding = "UTF16" StringField is highlighted -> Conflicts with another item of the same name. Jon From sunshine at public.kherson.ua Thu Feb 24 00:14:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 16:15:00 2005 Subject: [V4RB] 2.0 b49 uploaded. In-Reply-To: Message-ID: On 2/23/05 10:27 PM, "jda" wrote: > Compile error on this line: > > vdb.Table("bibAndDoc").StringField("citationType").storageEncoding = "UTF16" > > > StringField is highlighted -> Conflicts with another item of the same name. FIXED. Please download again V4RB archive only -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Feb 23 18:52:47 2005 From: jda at his.com (jda) Date: Wed Feb 23 17:53:09 2005 Subject: [V4RB] 2.0 b49 uploaded. In-Reply-To: References: Message-ID: > > >FIXED. > >Please download again V4RB archive only > myCursor.Field(fldNames).SetBlank(EVValueAccess.forUpdate) -> too many parameters myCursor.setBlank(EVValueAccess.forAdd) -> worksJon From sunshine at public.kherson.ua Thu Feb 24 11:21:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 03:21:45 2005 Subject: [V4RB] 2.0 b49 uploaded. In-Reply-To: Message-ID: On 2/24/05 1:52 AM, "jda" wrote: >> FIXED. >> >> Please download again V4RB archive only >> > > myCursor.Field(fldNames).SetBlank(EVValueAccess.forUpdate) -> too > many parameters > myCursor.setBlank(EVValueAccess.forAdd) -> worksJon Right, in Vfield we have not made it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From macsforever2000 at axint.net Thu Feb 24 18:59:48 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Thu Feb 24 20:00:16 2005 Subject: [V4RB] Using BinaryLinks Message-ID: Hi Ruslan, I am trying to convert my database to use BinaryLinks instead of ObjectPtrs. I see how to create them, but I am having trouble importing values into them from ImportText. Currently, I can import into ObjectPtr fields using ImportText. But my attempt to do the same with a BinaryLink failed. ImportText into ObjectPtr: myCursor = SqlSelect("SELECT myObjectPtr FROM MyTable", ...) myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") This works fine. But when I try the same with a BinaryLink, it does not import anything. myCursor = SqlSelect("SELECT my_binary_link FROM MyTable", ...) myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") How can I import values into a BinaryLink? It would be nice if I could use ImportText but a workaround would be nice too. -Frank Schima From sunshine at public.kherson.ua Fri Feb 25 13:12:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 05:12:30 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: Message-ID: On 2/25/05 3:59 AM, "Frank Schima" wrote: > Hi Ruslan, > > > I am trying to convert my database to use BinaryLinks instead of > ObjectPtrs. I see how to create them, but I am having trouble importing > values into them from ImportText. Currently, I can import into > ObjectPtr fields using ImportText. But my attempt to do the same with a > BinaryLink failed. > > ImportText into ObjectPtr: > myCursor = SqlSelect("SELECT myObjectPtr FROM MyTable", ...) > myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") > > This works fine. > > But when I try the same with a BinaryLink, it does not import anything. > myCursor = SqlSelect("SELECT my_binary_link FROM MyTable", ...) > myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") > > How can I import values into a BinaryLink? It would be nice if I could > use ImportText but a workaround would be nice too. Another task TODO for Binary Links. Good point Frank. Well, when I will write docs for binary Link in the nearest time, I will consider this tasks on high level. BinaryLink this is NOT a table, and NOT a field. So you cannot create cursor for it. ObjectPtr was easy put on SQL model, because this is a field. BinaryLink -- this is pure link. So we need invent way and implement it for each operation... If you or somebody have any ideas about BinaryLinks please tell us. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 25 13:17:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 05:19:02 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: Message-ID: On 2/25/05 3:59 AM, "Frank Schima" wrote: Hi Frank, > I am trying to convert my database to use BinaryLinks instead of > ObjectPtrs. I see how to create them, but I am having trouble importing > values into them from ImportText. Currently, I can import into > ObjectPtr fields using ImportText. But my attempt to do the same with a > BinaryLink failed. > > ImportText into ObjectPtr: > myCursor = SqlSelect("SELECT myObjectPtr FROM MyTable", ...) > myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") > > This works fine. > > But when I try the same with a BinaryLink, it does not import anything. > myCursor = SqlSelect("SELECT my_binary_link FROM MyTable", ...) > myCursor.ImportText(importFile, chr(9), chr(13), "ASCII") > > How can I import values into a BinaryLink? It would be nice if I could > use ImportText but a workaround would be nice too. So let's think together on this task. 1) I very wonder that you import inti ObjectPtr field. this is danger. how you do this? danger because if your exported db have deleted records you will get wrong results. so I wonder !?! 2) BinaryLink require pair of RecIDs: BinaryLink.AddRecord( recA, recB ) It is not enough specify just one value. 3) for now I think only way is that you EXPORT from your main db a text file that have 2 columns 1 2 1 3 1 4 2 8 And you self read it and do in loop AddRecord for BinaryLink -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From macsforever2000 at axint.net Fri Feb 25 10:03:29 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Fri Feb 25 11:03:54 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: References: Message-ID: <586b023ac266e909bbc77ea5ee5d4b76@axint.net> Hi Ruslan, On Feb 25, 2005, at 4:17 AM, Ruslan Zasukhin wrote: > 1) I very wonder that you import inti ObjectPtr field. > this is danger. > how you do this? > danger because if your exported db have deleted records > you will get wrong results. > > so I wonder !?! It is a one time conversion. There are no deleted records. It works perfect with ObjectPtrs. > 2) BinaryLink require pair of RecIDs: > > BinaryLink.AddRecord( recA, recB ) > > It is not enough specify just one value. > > 3) for now I think only way is that you EXPORT from your main db a > text file > that have 2 columns > > 1 2 > 1 3 > 1 4 > 2 8 > > And you self read it and do in loop AddRecord for BinaryLink OK. That is good to get me started. Although my situation is more complex. I am converting lots of flat files (text and "exported" spreadsheets) and exported Hypercard stacks into a single Valentina database. Is there some reason I cannot (in the future) use ImportText and select the binary_link in a cursor? Of course it requires 2 values. One of the values is from the RecID of the current record in the cursor (which internally Valentina must know), the other is the value from the import file. The problem might be how does Valentina know which is A and which is B? But I think it should be obvious in the case of 1:M. Best regards, Frank Schima From sunshine at public.kherson.ua Fri Feb 25 23:47:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 15:47:47 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: <586b023ac266e909bbc77ea5ee5d4b76@axint.net> Message-ID: On 2/25/05 7:03 PM, "Frank Schima" wrote: Hi Frank, Btw, I think we can have such feature as convert ObjectPtr link <=> binaryLink. We already have RDB link => ObjectPtr link In short this task can be and should be resolved. >> And you self read it and do in loop AddRecord for BinaryLink > > OK. That is good to get me started. Although my situation is more > complex. I am converting lots of flat files (text and "exported" > spreadsheets) and exported Hypercard stacks into a single Valentina > database. > Is there some reason I cannot (in the future) use ImportText and select > the binary_link in a cursor? But you cannot SELECT binary link! What this means? SELECT link_name FROM ??? ^^^^^^^^^^^^^^^^^^^^^^^^^ No way. It is possible of course invent a little own SQL, E.g. We have in SQL92 syntax Table T = SELECT * FROM T So I think we can easy do: Link L And this will show 2 (n) columns that should pairs of RecId of linked records. Hmm, good idea! And this can be returns as cursor somehow... Frank, please add this to Mantis! > Of course it requires 2 values. One of the > values is from the RecID of the current record in the cursor (which > internally Valentina must know), the other is the value from the import > file. The problem might be how does Valentina know which is A and which > is B? But I think it should be obvious in the case of 1:M. I have not understand your idea. Please explain more. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From macsforever2000 at axint.net Fri Feb 25 15:40:51 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Fri Feb 25 16:41:08 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: References: Message-ID: On Feb 25, 2005, at 2:47 PM, Ruslan Zasukhin wrote: > It is possible of course invent a little own SQL, > E.g. We have in SQL92 syntax > > Table T = SELECT * FROM T > > So I think we can easy do: > > Link L > > And this will show 2 (n) columns that should pairs of RecId of linked > records. Hmm, good idea! > > And this can be returns as cursor somehow... > Frank, please add this to Mantis! Added. >> Of course it requires 2 values. One of the >> values is from the RecID of the current record in the cursor (which >> internally Valentina must know), the other is the value from the >> import >> file. The problem might be how does Valentina know which is A and >> which >> is B? But I think it should be obvious in the case of 1:M. > > I have not understand your idea. > Please explain more. I was thinking that maybe it would be possible to SELECT any Binary Link in a table that is part of that link. After all, it is currently possible to select an ObjectPtr. Then we could use ImportText to import values. I was just suggesting that both values required to fill a link record should be available at the time of import. -Frank Schima From sunshine at public.kherson.ua Sat Feb 26 01:28:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 17:29:02 2005 Subject: [V4RB] 2.0 b50 uploaded Message-ID: kernel - 2.0 b50 ================ - 0000474: [Import/Export] ImportText: If there is no trailing EOL in an import file, the last field of the last line is not imported (Igor Gomon) - 0000480: [SQL] min() with Date field appears to ignore WHERE clause (Ivan Smahin) - 0000470: [XML dump] Add XML encoding to field's value on dump (Igor Gomon) - 0000481: [Methods (calculated fields)] XXX_Linked does not work with last param (field name) without table name specified. (Ivan Smahin) - 0000469: [Database] Open of vdb file do not create missing .dat .blb .ind files! (Igor Gomon) - 0000471: [SQL] GROUP BY causing crash (Ivan Smahin) V4RB - 2.0 b50 ============== - 0000488: [NEW] Example Common/DateFormat (Ruslan Zasukhin) - 0000455: [API] TimeSep and DateSep do not return anything (Ruslan Zasukhin) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050226/c26f3cfe/attachment.html From Claudius at sailer-online.de Sat Feb 26 07:35:03 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 26 00:35:24 2005 Subject: #405 In-Reply-To: References: Message-ID: <53948f001337621542954780c54797ba@sailer-online.de> Hi Ruslan, Am 21. Feb 2005 um 21:10 Uhr schrieb Claudius Sailer: > No Problem, > > I sent you Database and SQL-Code. > ViSQL compiled with b47 also crashes > > > > Am 21. Feb 2005 um 20:24 Uhr schrieb Ruslan Zasukhin: > >> Ivan cannot reproduce this problem. >> >> Can you send us db/project and SQL ? > > I hope this helps. Did database helps you? I can't see Report #405 in Mantis with "my menu" or "under view". Or is it allready fixed and I missed information about? Thanks for help Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat Feb 26 11:06:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 03:06:08 2005 Subject: #405 In-Reply-To: <53948f001337621542954780c54797ba@sailer-online.de> Message-ID: On 2/26/05 8:35 AM, "Claudius Sailer" wrote: > Hi Ruslan, > > > Am 21. Feb 2005 um 21:10 Uhr schrieb Claudius Sailer: > >> No Problem, >> >> I sent you Database and SQL-Code. >> ViSQL compiled with b47 also crashes >> >> >> >> Am 21. Feb 2005 um 20:24 Uhr schrieb Ruslan Zasukhin: >> >>> Ivan cannot reproduce this problem. >>> >>> Can you send us db/project and SQL ? >> >> I hope this helps. > > Did database helps you? I can't see Report #405 in Mantis with "my > menu" or "under view". Or is it allready fixed and I missed information > about? Yes Claudius, Your db reproduce bug. It is still on hold. Sort of join itself work fine, just on deletion of objects it crashes. Probably today Ivan will be able work on 405. You should see 405...aha, I think I have move it into KERNEL project. You must be able find any bug if you do search on number of bug. Just note, if you see that some bug will actually is in engine (i.e. V4MD developer also will see this bug) then report such bugs in the project KERNEL. To choose project you need to use menu in the top right corner -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 26 11:08:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 03:08:45 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: Message-ID: On 2/26/05 12:40 AM, "Frank Schima" wrote: > I was thinking that maybe it would be possible to SELECT any Binary > Link in a table that is part of that link. After all, it is currently > possible to select an ObjectPtr. Frank, But SELECT f1, t2Ptr from t1 This is case M : 1 only. Binary link can be M : M then how we can show this ? I think better just LINK L Or the same SELECT * from L > Then we could use ImportText to import > values. I was just suggesting that both values required to fill a link > record should be available at the time of import. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Feb 26 07:38:51 2005 From: jda at his.com (jda) Date: Sat Feb 26 06:39:05 2005 Subject: [V4RB] 2.0 b50 uploaded In-Reply-To: References: Message-ID: Hi Ruslan, This version introduces a serious bug -- it wipes out an entire database! I create a db -> fine Update a varchar field and flush -> db is empty (viSQL shows no records). I'm entering into mantis, and I'll send you files. Jon From sunshine at public.kherson.ua Sat Feb 26 14:43:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 06:43:50 2005 Subject: [V4RB] 2.0 b50 uploaded In-Reply-To: Message-ID: On 2/26/05 2:38 PM, "jda" wrote: > Hi Ruslan, > > This version introduces a serious bug -- it wipes out an entire database! > > I create a db -> fine > Update a varchar field and flush -> db is empty (viSQL shows no records). > > I'm entering into mantis, and I'll send you files. Ok I am waiting -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 26 15:08:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 07:09:04 2005 Subject: warn: b50 erase records on open Message-ID: We will try to fix this bug in the nearest 4-6 hours. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From macsforever2000 at axint.net Sat Feb 26 07:06:55 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Sat Feb 26 08:07:02 2005 Subject: [V4RB] Using BinaryLinks In-Reply-To: References: Message-ID: <4c2620667804d9a23ce6a18a34d6449e@axint.net> On Feb 26, 2005, at 2:08 AM, Ruslan Zasukhin wrote: > On 2/26/05 12:40 AM, "Frank Schima" wrote: > >> I was thinking that maybe it would be possible to SELECT any Binary >> Link in a table that is part of that link. After all, it is currently >> possible to select an ObjectPtr. > > But > SELECT f1, t2Ptr from t1 > > This is case M : 1 only. > > Binary link can be M : M then how we can show this ? Right, this would be a problem. > I think better just > > LINK L > > Or the same > SELECT * from L That will be fine. -Frank From sunshine at public.kherson.ua Sat Feb 26 22:19:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 14:19:37 2005 Subject: Votes for another serious bug in the plugins+interfaces area. Message-ID: Hi All, http://www.realsoftware.com/feedback/viewreport.php?reportid=ccmjfdkx I have submit to REAL bugs another serious bug for plugins + interfaces are. Please averybody who use Valentina and other plugins And who develop plugins self add your vote. Thank you in advance :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 02:28:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 18:28:29 2005 Subject: [V4RB] 2.0 b51 uploaded Message-ID: kernel - 2.0 b51 ================ - 0000485: [SQL] It is good idea to support table aliases in the ORDER BY. (Ivan Smahin) - 0000405: [SQL] Sort of join => Error: Feature is not supported (Ivan Smahin) - 0000492: [NEW] Class Cursor has a new ODBC-style navigation (Serg) V4RB - 2.0 b51 ============== - 0000489: [Class-way] Re-opening a database using classes corrupts the database (Ruslan Zasukhin) - 0000493: [NEW] Support of RBDB API (Serg) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050227/54167748/attachment.html From jda at his.com Sat Feb 26 19:55:20 2005 From: jda at his.com (jda) Date: Sat Feb 26 18:55:32 2005 Subject: sql speed In-Reply-To: References: Message-ID: Hi Ruslan, I have put together a method of joining cursors by storing recIDs of individual searches in arrays, and then either ANDing or ORing the arrays (in RB). I then do a final search using the recIDs that are in the final array. As a result, there can be thousands of numbers. I find that the search is actually pretty slow, no doubt due to the sql overhead. For the search below, for about 2800 recIDs, it takes a about 7 seconds. I wonder if there is something new in V2 that would speed this up (I still need a cursor at the end of the operation). Thanks. Jon select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod from thereferences where RecID in (30,33,34,38,39,40,43,56,57,61,62,63,64,65,66,70,71,72,73,86,87,92,114,115,142,157,163,167,169,171,172,174,175,176,178,181,216,219,225,226,235,236,239,240,241,263,264,266,270,271,272,276,277,279,297,298,304,306,307,308,327,328,331,332,333,334,335,336,337,338,341,342,343,344,345,346,348,349,350,351,358,360,362,376,377,396,398,400,405,406,407,414,419,420,434,436,437,438,441,443,456,457,458,473,475,486,488,493,499,502,509,511,522,524,529,530,538,544,546,547,551,555,556,563,567,569,574,575,581,582,583,584,585,591,605,616,618,633,634,635,636,637,639,650,671,695,697,698,699,700,701,702,703,704,705,707,709,710,711,719,720,721,722,735,742,743,744,745,755,756,757,774,775,776,781,784,810,813,814,815,822,833,849,856,864,865,866,867,868,869,876,888,889,890,891,892,893,894,895,912,914,918,922,923,935,941,960,961,963,964,966,967,968,969,970,996,997,1022,1023,1024,1025,1026,1036,1037,1038,1043,1044,1045,1046,1047,1048,1049,1051,1052,1053,1054,1058,1059,1060,1061,1062,1063,1064,1065,1069,10! 7 0,1085,1089,1092,1093,1096,1097,1102,1103,1113,1114,1115,1116,1117,1118,1119,1132,1134,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1161,1162,1163,1164,1165,1193,1194,1196,1197,1198,1199,1201,1202,1203,1204,1205,1206,1207,1208,1210,1211,1212,1214,1215,1216,1226,1227,1228,1230,1257,1258,1259,1260,1306,1307,1327,1329,1337,1355,1361,1368,1386,1387,1390,1396,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1426,1433,1442,1443,1456,1466,1480,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1500,1501,1504,1516,1519,1520,1527,1528,1530,1536,1542,1550,1551,1552,1553,1566,1574,1575,1576,1577,1587,1588,1589,1590,1597,1607,1615,1628,1639,1640,1641,1647,1664,1665,1666,1667,1668,1669,1672,1689,1701,1708,1711,1712,1714,1715,1716,1717,1719,1721,1722,1724,1726,1727,1728,1730,1731,1732,1733,1735,1749,1790,1793,1795,1798,1806,1808,1817,1826,1844,1853,1854,1855,1856,1892,1938,1940,1981,20! 1 0,2012,2013,2014,2024,2061,2094,2095,2096,2098,2099,2101,2102,2105,2110,2122,2123,2124,2126,2127,2141,2146,2152,2153,2154,2155,2183,2184,2187,2190,2191,2192,2193,2196,2197,2198,2199,2200,2201,2202,2205,2206,2208,2209,2210,2220,2228,2229,2230,2231,2232,2247,2248,2251,2252,2255,2269,2274,2276,2277,2286,2291,2293,2303,2306,2307,2308,2310,2311,2314,2333,2334,2336,2341,2343,2347,2348,2355,2361,2374,2375,2376,2377,2378,2384,2385,2386,2387,2394,2395,2403,2415,2416,2427,2428,2429,2446,2447,2448,2450,2451,2452,2454,2457,2461,2493,2523,2524,2538,2541,2542,2547,2558,2586,2587,2596,2597,2598,2599,2601,2602,2603,2632,2633,2634,2635,2636,2637,2638,2639,2662,2666,2676,2677,2678,2689,2691,2706,2707,2711,2715,2736,2747,2748,2751,2779,2795,2814,2815,2816,2834,2835,2836,2870,2880,2883,2886,2888,2901,2902,2923,2924,2925,2926,2927,2929,2930,2932,2941,2945,2947,2949,2950,2951,2952,2953,2954,2957,2958,2980,2984,3002,3003,3028,3036,3037,3038,3046,3055,3057,3098,3102,3103,3104,3105,3106,3107,3108,31! 0 9,3110,3111,3112,3115,3132,3137,3176,3177,3179,3183,3184,3185,3192,3193,3194,3196,3198,3199,3201,3202,3203,3210,3211,3212,3213,3214,3223,3234,3245,3246,3253,3254,3255,3256,3281,3291,3294,3299,3303,3315,3316,3317,3336,3348,3353,3354,3355,3378,3379,3390,3391,3392,3394,3396,3431,3443,3450,3451,3454,3457,3458,3459,3460,3461,3462,3463,3466,3469,3470,3489,3520,3524,3530,3625,3626,3627,3628,3630,3631,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,3643,3649,3651,3653,3657,3658,3660,3661,3662,3664,3666,3667,3669,3713,3714,3718,3723,3733,3734,3743,3766,3767,3768,3774,3790,3793,3794,3809,3810,3812,3853,3878,3885,3886,3903,3904,3905,3906,3910,3915,3924,3927,3928,3937,3938,3940,3941,3950,3951,3958,3961,3962,3995,3996,4005,4006,4007,4012,4015,4041,4042,4050,4066,4069,4070,4071,4093,4105,4109,4110,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,4125,4126,4127,4128,4129,4130,4133,4137,4141,4143,4182,4183,4184,4185,4188,4189,4192,4198,4199,4200,4204,4205,4206,4207,42! 0 8,4209,4227,4228,4231,4233,4236,4237,4242,4244,4245,4258,4260,4263,4264,4265,4266,4268,4269,4270,4271,4281,4282,4283,4284,4286,4287,4288,4289,4293,4295,4305,4306,4307,4308,4337,4338,4343,4347,4348,4349,4351,4352,4363,4364,4366,4367,4371,4372,4379,4384,4385,4386,4389,4390,4391,4392,4393,4394,4395,4396,4408,4409,4420,4421,4462,4463,4464,4465,4466,4470,4477,4479,4480,4481,4495,4497,4498,4509,4522,4523,4524,4525,4526,4527,4535,4536,4542,4557,4558,4567,4570,4574,4575,4586,4588,4589,4594,4599,4610,4611,4612,4613,4651,4657,4664,4665,4686,4743,4744,4752,4803,4810,4816,4818,4819,4823,4828,4829,4843,4844,4855,4856,4877,4878,4879,4883,4884,4885,4886,4894,4895,4897,4898,4915,4918,4919,4920,4921,4936,4944,4949,4965,4977,5001,5006,5023,5026,5027,5033,5034,5047,5061,5080,5084,5085,5106,5116,5118,5124,5129,5159,5166,5181,5182,5201,5204,5205,5206,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,5217,5218,5219,5226,5229,5246,5247,5251,5253,5262,5264,5269,5273,5274,5301,5302,5303,5304,5305,53! 0 7,5308,5310,5313,5314,5321,5322,5330,5331,5332,5333,5334,5342,5343,5344,5348,5349,5350,5358,5366,5374,5388,5396,5398,5400,5402,5405,5407,5408,5417,5421,5438,5439,5440,5441,5442,5460,5461,5469,5482,5503,5530,5531,5532,5533,5534,5535,5536,5537,5539,5541,5542,5544,5545,5546,5548,5551,5552,5553,5554,5556,5561,5562,5577,5579,5590,5591,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5646,5647,5650,5651,5652,5654,5658,5659,5670,5676,5681,5682,5683,5684,5689,5693,5699,5704,5707,5723,5725,5733,5767,5782,5791,5792,5797,5818,5819,5822,5823,5825,5826,5827,5828,5829,5830,5832,5833,5835,5836,5837,5838,5839,5840,5841,5842,5845,5846,5847,5849,5857,5858,5859,5861,5864,5866,5867,5869,5870,5871,5872,5873,5874,5875,5876,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5906,5907,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5928,5929,5930,5932,5934,5935,5936,5937,5938,5939,5940,5941,5943,5944,5959,60! 0 7,6011,6012,6017,6024,6025,6026,6028,6031,6032,6033,6037,6054,6070,6071,6077,6113,6116,6117,6118,6123,6124,6144,6149,6150,6151,6152,6153,6158,6166,6167,6172,6174,6175,6176,6193,6197,6202,6203,6204,6205,6218,6244,6266,6281,6282,6284,6286,6287,6288,6289,6290,6300,6305,6307,6308,6313,6314,6319,6324,6325,6326,6327,6328,6329,6330,6337,6338,6339,6340,6341,6342,6343,6344,6345,6346,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6361,6371,6394,6423,6431,6474,6475,6481,6487,6494,6495,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6547,6548,6549,6551,6555,6558,6563,6567,6568,6569,6570,6572,6573,6574,6575,6576,6586,6587,6610,6611,6641,6645,6646,6651,6676,6677,6691,6692,6695,6704,6712,6740,6747,6748,6749,6750,6751,6752,6753,6756,6771,6772,6773,6774,6776,6777,6778,6779,6785,6786,6788,6789,6804,6814,6828,6830,6831,6832,6833,6834,6842,6843,6844,6845,6846,6847,6848,6851,6853,6854,6855,6856,6858,6877,6897,6906,6907,6909,6917,6918,6929,6930,6931,6932,6935,6936,6940,6941,69! 5 2,6958,6962,6986,7008,7009,7010,7011,7013,7014,7015,7016,7017,7018,7019,7024,7025,7043,7055,7056,7063,7066,7070,7078,7090,7111,7127,7128,7129,7130,7132,7133,7134,7135,7149,7152,7155,7171,7177,7178,7180,7212,7228,7230,7241,7248,7281,7282,7290,7292,7293,7294,7295,7312,7321,7322,7330,7332,7333,7334,7335,7336,7337,7339,7342,7346,7347,7355,7360,7361,7365,7367,7368,7382,7384,7400,7401,7402,7403,7415,7420,7421,7422,7423,7424,7428,7460,7470,7472,7478,7479,7480,7485,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7520,7533,7534,7535,7537,7539,7541,7547,7549,7550,7552,7595,7596,7597,7598,7599,7604,7607,7610,7611,7612,7613,7614,7616,7620,7621,7626,7627,7628,7629,7633,7634,7641,7642,7643,7644,7647,7653,7658,7661,7662,7663,7674,7676,7677,7679,7680,7681,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7700,7701,7702,7709,7710,7711,7712,7713,7714,7715,7716,7744,7767,7772,7773,7788,7794,7797,7812,7815,7817,7828,7829,7830,7831,7832,7833,7834,7838,7840,7857,7864,7865,7883,78! 8 4,7885,7886,7890,7898,7929,7931,7932,7933,7954,7957,7968,7969,7993,8002,8006,8007,8028,8029,8030,8044,8045,8055,8056,8061,8082,8083,8084,8085,8086,8087,8088,8089,8093,8094,8097,8105,8108,8109,8115,8118,8119,8120,8121,8122,8124,8129,8133,8146,8149,8154,8164,8168,8169,8170,8171,8172,8173,8187,8188,8189,8190,8191,8205,8206,8207,8208,8221,8259,8260,8261,8262,8274,8275,8279,8280,8281,8282,8285,8286,8306,8307,8317,8324,8326,8328,8341,8349,8350,8351,8352,8355,8359,8360,8391,8393,8394,8395,8404,8405,8413,8414,8415,8416,8418,8419,8420,8421,8422,8427,8428,8448,8449,8456,8475,8478,8479,8480,8481,8482,8483,8484,8485,8487,8488,8489,8491,8492,8493,8494,8495,8503,8504,8505,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8551,8553,8584,8592,8593,8607,8631,8633,8634,8635,8640,8644,8651,8652,8653,8678,8706,8717,8719,8723,8724,8728,8729,8731,8755,8756,8757,8758,8759,8760,8761,8762,8763,87! 6 4,8765,8767,8781,8786,8787,8788,8789,8791,8801,8805,8808,8809,8810,8813,8827,8839,8851,8893,8894,8895,8896,8897,8898,8899,8954,8955,8956,8957,8958,8959,8960,8961,8962,8963,8964,8980,8983,8984,8985,8986,8990,8991,9001,9038,9039,9056,9061,9062,9066,9067,9068,9069,9070,9071,9072,9073,9074,9075,9090,9092,9111,9113,9114,9115,9116,9138,9154,9159,9163,9165,9166,9167,9168,9170,9171,9172,9173,9174,9175,9177,9187,9188,9189,9190,9191,9192,9193,9199,9201,9217,9218,9219,9220,9221,9257,9267,9268,9269,9270,9272,9273,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9286,9287,9291,9292,9293,9301,9305,9307,9308,9319,9320,9321,9322,9323,9324,9325,9326,9327,9335,9337,9338,9339,9340,9346,9361,9362,9370,9381,9398,9425,9427,9429,9433,9442,9443,9444,9445,9446,9452,9454,9455,9456,9457,9458,9459,9460,9462,9463,9471,9474,9475,9476,9477,9478,9482,9483,9490,9492,9493,9498,9511,9512,9513,9514,9515,9523,9529,9530,9531,9534,9536,9541,9542,9544,9545,9546,9547,9551,9553,9554,9557,9560,9561,9562,9581,9582,95! 8 8,9590,9593,9596,9597,9601,9618,9625,9626,9627,9652,9667,9702,9703,9718,9719,9720,9721,9722,9743,9747,9792,9793,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804,9805,9806,9807,9808,9809,9810,9811,9812,9813,9828,9829,9831,9832,9833,9834,9835,9836,9837,9838,9839,9840,9843,9849,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9866,9868,9869,9870,9871,9872,9873,9874,9878,9880,9881,9882,9883,9884,9885,9892,9901,9904,9908,9913,9917,9931,9933,9934,9935,9948,9955,9992,10001,10009,10015,10022,10023,10026,10027,10036,10043,10044,10045,10050,10052,10053,10109,10110,10111,10112,10116,10133,10134,10135,10137,10142,10143,10144,10145,10146,10147,10148,10149,10150,10151,10153,10154,10155,10159,10160,10161,10162,10163,10164,10180,10181,10182,10183,10185,10186,10188,10189,10190,10191,10192,10193,10197,10199,10202,10207,10211,10212,10217,10218,10220,10221,10223,10224,10225,10226,10228,10229,10230,10231,10233,10235,10270,10277,10278,10279,10282,10290,10304,10305,10306,10316,103! 2 4,10325,10326,10327,10328,10329,10330,10331,10332,10333,10334,10335,10336,10337,10338,10339,10341,10342,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,10354,10355,10356,10357,10358,10380,10402,10403,10419,10420,10422,10424,10441,10455,10460,10468,10472,10478,10513,10514,10515,10518,10523,10524,10525,10532,10549,10552,10559,10604,10607,10624,10625,10656,10657,10659,10661,10662,10664,10665,10667,10669,10672,10673,10675,10684,10715,10723,10724,10725,10726,10727,10728,10729,10735,10739,10740,10745,10750,10753,10757,10759,10770,10771,10772,10773,10774,10776,10789,10831,10832,10834,10840,10843,10847,10848,10854,10859,10861,10864,10948,10949,10951,10956,10957,10958,10959,10960,10961,10962,10963,10990,10991,10992,10993,10994,11028,11032,11033,11038,11040,11048,11049,11053,11054,11055,11058,11061,11066,11086,11087,11093,11094,11095,11096,11097,11098,11099,11101,11103,11119,11121,11147,11153,11154,11160,11161,11162,11163,11164,11165,11166,11169,11170,11171,11210,112! 2 2,11223,11224,11225,11226,11230,11268,11270,11271,11274,11287,11299,11300,11301,11302,11316,11317,11325,11327,11333,11340,11344,11345,11349,11401) ORDER BY authorsSortMethod From macsforever2000 at axint.net Sat Feb 26 19:15:03 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Sat Feb 26 20:15:27 2005 Subject: sql speed In-Reply-To: References: Message-ID: Hi Jon, > I have put together a method of joining cursors by storing recIDs of > individual searches in arrays, and then either ANDing or ORing the > arrays (in RB). I then do a final search using the recIDs that are in > the final array. As a result, there can be thousands of numbers. I > find that the search is actually pretty slow, no doubt due to the sql > overhead. For the search below, for about 2800 recIDs, it takes a > about 7 seconds. I wonder if there is something new in V2 that would > speed this up (I still need a cursor at the end of the operation). > Thanks. I suggest looking at VBitSet and VSet in the V4RB Reference PDF. You can use the Union method to merge your sets and it will be much faster. However, I don't see an obvious way to convert it into a VCursor as a last step. That should be possible I think. Maybe you can Feature Request something. :^) Maybe a ToCursor Method with a variable number of parameters representing fields in the Table. Vset.ToCursor(field1, field2, ... fieldx) As VCursor fieldx could be a text string with the field name. > select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod > from thereferences where RecID in > (30,33,34,38,39,40,43,56,57,61,62,63,64,65,66,70,71,72,73,86,87,92,114, > 115,142,157,163,167,169,171,172,174,175,176,178,181,216,219,225,226,235 > ,236,239,240,241,263,264,266,270,271,272,276,277,279,297,298,304,306,30 > 7,308,327,328,331,332,333,334,335,336,337,338,341,342,343,344,345,346,3 > 48,349,350,351,358,360,362,376,377,396,398,400,405,406,407,414,419,420, > 434,436,437,438,441,443,456,457,458,473,475,486,488,493,499,502,509,511 > ,522,524,529,530,538,544,546,547,551,555,556,563,567,569,574,575,581,58 > 2,583,584,585,591,605,616,618,633,634,635,636,637,639,650,671,695,697,6 > 98,699,700,701,702,703,704,705,707,709,710,711,719,720,721,722,735,742, > 743,744,745,755,756,757,774,775,776,781,784,810,813,814,815,822,833,849 > ,856,864,865,866,867,868,869,876,888,889,890,891,892,893,894,895,912,91 > 4,918,922,923,935,941,960,961,963,964,966,967,968,969,970,996,997,1022, > 1023,1024,1025,1026,1036,1037,1038,1043,1044,1045,1046,1047,1048,1049,1 > 051,1052,1053,1054,1058,1059,1060,1061,1062,1063,1064,1065,1069,10! What's that ! character doing in there? It seems to end every paragraph of numbers. Best regards, Frank Schima From jda at his.com Sat Feb 26 21:26:22 2005 From: jda at his.com (jda) Date: Sat Feb 26 20:26:33 2005 Subject: sql speed In-Reply-To: References: Message-ID: >Hi Jon, > >>I have put together a method of joining cursors by storing recIDs >>of individual searches in arrays, and then either ANDing or ORing >>the arrays (in RB). I then do a final search using the recIDs that >>are in the final array. As a result, there can be thousands of >>numbers. I find that the search is actually pretty slow, no doubt >>due to the sql overhead. For the search below, for about 2800 >>recIDs, it takes a about 7 seconds. I wonder if there is something >>new in V2 that would speed this up (I still need a cursor at the >>end of the operation). Thanks. > >I suggest looking at VBitSet and VSet in the V4RB Reference PDF. You >can use the Union method to merge your sets and it will be much >faster. However, I don't see an obvious way to convert it into a >VCursor as a last step. That should be possible I think. Maybe you >can Feature Request something. :^) Hi Frank, Yes, good idea. I thought of VSets, but I do need a cursor at the end... > >Maybe a ToCursor Method with a variable number of parameters >representing fields in the Table. > >Vset.ToCursor(field1, field2, ... fieldx) As VCursor > >fieldx could be a text string with the field name. > >>select >>id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod >>from thereferences where RecID in >>(30,33,34,38,39,40,43,56,57,61,62,63,64,65,66,70,71,72,73,86,87,92,114,115,142,157,163,167,169,171,172,174,175,176,178,181,216,219,225,226,235,236,239,240,241,263,264,266,270,271,272,276,277,279,297,298,304,306,307,308,327,328,331,332,333,334,335,336,337,338,341,342,343,344,345,346,348,349,350,351,358,360,362,376,377,396,398,400,405,406,407,414,419,420,434,436,437,438,441,443,456,457,458,473,475,486,488,493,499,502,509,511,522,524,529,530,538,544,546,547,551,555,556,563,567,569,574,575,581,582,583,584,585,591,605,616,618,633,634,635,636,637,639,650,671,695,697,698,699,700,701,702,703,704,705,707,709,710,711,719,720,721,722,735,742,743,744,745,755,756,757,774,775,776,781,784,810,813,814,815,822,833,849,856,864,865,866,867,868,869,876,888,889,890,891,892,893,894,895,912,914,918,922,923,935,941,960,961,963,964,966,967,968,969,970,996,997,1022,1023,1024,1025,1026,1036,1037,1038,1043,1044,1045,1046,1047,1048,1049,1051,1052,1053,1054,1058,1059,1060,1061,1062,1063,1064,1065,1069,! 10! > >What's that ! character doing in there? It seems to end every >paragraph of numbers. Must be an email client thing...it's not there in the RB debugger. I think Eudora puts it in to break up long lines without a return, Thanks, Jon From macsforever2000 at axint.net Sat Feb 26 20:59:45 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Sat Feb 26 21:59:55 2005 Subject: [V4RB] 2.0 b51 uploaded In-Reply-To: References: Message-ID: Hi Ruslan, It appears that ORDER BY with a -> operator causes a crash. I cannot get to the Mantis site to report this. On Feb 26, 2005, at 5:28 PM, Ruslan Zasukhin wrote: > > kernel - 2.0 b51 > ================ > - 0000485: [SQL] It is good idea to support table aliases in the > ORDER BY. (Ivan Smahin) > - 0000405: [SQL] Sort of join => Error: Feature is not supported > (Ivan Smahin) > - 0000492: [NEW] Class Cursor has a new ODBC-style navigation (Serg) > > > > V4RB - 2.0 b51 > ============== > - 0000489: [Class-way] Re-opening a database using classes corrupts > the database (Ruslan Zasukhin) > - 0000493: [NEW] Support of RBDB API (Serg) > > > -- > Best regards, > Ruslan Zasukhin ?????[ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From Claudius at sailer-online.de Sun Feb 27 08:09:28 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 27 01:09:37 2005 Subject: problem with reading NULL from DateField Message-ID: <1e0764aacb02345477b8d93d3bb191a7@sailer-online.de> Hi, sorry Mantis seems to be down. I use EditField5.text=meineDatenbank.TWP.Field("Emission").getstring EditField6.text=meineDatenbank.TWP.Field("Maturity").getstring to read 2 fields. Both fields are NULL in database but in EditFields are shown 00.00.0000 In 1.10 EditFields were empty. Is this now new functionality and I have to change code or is this a bug? bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Feb 27 11:06:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:06:36 2005 Subject: [V4RB] 2.0 b51 uploaded In-Reply-To: Message-ID: On 2/27/05 5:59 AM, "Frank Schima" wrote: Hi Frank, > It appears that ORDER BY with a -> operator causes a crash. I cannot > get to the Mantis site to report this. Please give more info select ... -> ORDER BY f1 This query crashes ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 11:11:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:11:19 2005 Subject: sql speed In-Reply-To: Message-ID: On 2/27/05 2:55 AM, "jda" wrote: > Hi Ruslan, > > I have put together a method of joining cursors by storing recIDs of > individual searches in arrays, and then either ANDing or ORing the > arrays (in RB). I then do a final search using the recIDs that are in > the final array. As a result, there can be thousands of numbers. I > find that the search is actually pretty slow, no doubt due to the sql > overhead. For the search below, for about 2800 recIDs, it takes a > about 7 seconds. I wonder if there is something new in V2 that would > speed this up (I still need a cursor at the end of the operation). > Thanks. Hi Jon, New is sub-select (actually form that you need was in the 1.x also). Select >From T1 WHERE recid in (select recid from T2 .... ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 11:13:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:13:35 2005 Subject: sql speed In-Reply-To: Message-ID: On 2/27/05 2:55 AM, "jda" wrote: > Hi Ruslan, > > I have put together a method of joining cursors by storing recIDs of > individual searches in arrays, and then either ANDing or ORing the > arrays (in RB). I then do a final search using the recIDs that are in > the final array. As a result, there can be thousands of numbers. I > find that the search is actually pretty slow, no doubt due to the sql > overhead. For the search below, for about 2800 recIDs, it takes a > about 7 seconds. I wonder if there is something new in V2 that would > speed this up (I still need a cursor at the end of the operation). > Thanks. And I think we need to profile this query. we can use viSQL for this. So we need query and database for tests -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 11:16:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:16:18 2005 Subject: problem with reading NULL from DateField In-Reply-To: <1e0764aacb02345477b8d93d3bb191a7@sailer-online.de> Message-ID: On 2/27/05 9:09 AM, "Claudius Sailer" wrote: > Hi, > > sorry Mantis seems to be down. I use > > EditField5.text=meineDatenbank.TWP.Field("Emission").getstring > EditField6.text=meineDatenbank.TWP.Field("Maturity").getstring > > to read 2 fields. Both fields are NULL in database but in EditFields > are shown 00.00.0000 > In 1.10 EditFields were empty. > Is this now new functionality and I have to change code or is this a > bug? mm. For NULL date, must come EMPTY string. So yes bug present. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sun Feb 27 04:28:44 2005 From: jda at his.com (jda) Date: Sun Feb 27 03:28:56 2005 Subject: sql speed In-Reply-To: References: Message-ID: > > >Hi Jon, > >New is sub-select (actually form that you need was in the 1.x also). > >Select >>From T1 >WHERE recid in (select recid from T2 .... ) > Sorry to be stupid, but I only have one table. At the point of the final query I have an array of recid's, say 2000. Are you saying the query should be Select * from T1 WHERE 1,4,6,12,14... in (select recid from T1) Jon From sunshine at public.kherson.ua Sun Feb 27 11:30:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:30:47 2005 Subject: sql speed In-Reply-To: Message-ID: On 2/27/05 11:28 AM, "jda" wrote: >> >> >> Hi Jon, >> >> New is sub-select (actually form that you need was in the 1.x also). >> >> Select >>> From T1 >> WHERE recid in (select recid from T2 .... ) >> > > Sorry to be stupid, but I only have one table. At the point of the > final query I have an array of recid's, say 2000. Are you saying the > query should be > > Select * from T1 WHERE 1,4,6,12,14... in (select recid from T1) No, how you get original list of recIDs? Using some SQL query ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sun Feb 27 04:41:02 2005 From: jda at his.com (jda) Date: Sun Feb 27 03:41:09 2005 Subject: sql speed In-Reply-To: References: Message-ID: > Sorry to be stupid, but I only have one table. At the point of the > > final query I have an array of recid's, say 2000. Are you saying the >> query should be >> >> Select * from T1 WHERE 1,4,6,12,14... in (select recid from T1) > >No, how you get original list of recIDs? > >Using some SQL query ? > Hi Ruslan, Yes, something like this: select RecID from thereferences where (left(allFields, 3)='the') I do 1...n queries, after each one adding to an array of integers (recids). I make sure there are no duplicates. At the end, I have the recids of all the records I want to retrieve (this way I can make an AND or OR of multiple searches). It is quite fast. When I'd done, I want to create a cursor (containing many fields, sorted) of the recids. Jon From sunshine at public.kherson.ua Sun Feb 27 11:45:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:45:42 2005 Subject: sql speed In-Reply-To: Message-ID: On 2/27/05 11:41 AM, "jda" wrote: >>> Select * from T1 WHERE 1,4,6,12,14... in (select recid from T1) >> >> No, how you get original list of recIDs? >> >> Using some SQL query ? >> > > Hi Ruslan, > > Yes, something like this: > > select RecID from thereferences where (left(allFields, 3)='the') Excellent, so solution is: select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod from thereferences where RecID in ( select RecID from thereferences where (left(allFields, 3)='the')) > I do 1...n queries, after each one adding to an array of integers > (recids). I make sure there are no duplicates. At the end, I have the > recids of all the records I want to retrieve (this way I can make an > AND or OR of multiple searches). It is quite fast. > > When I'd done, I want to create a cursor (containing many fields, > sorted) of the recids. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sun Feb 27 04:51:14 2005 From: jda at his.com (jda) Date: Sun Feb 27 03:51:22 2005 Subject: sql speed In-Reply-To: References: Message-ID: > Yes, something like this: > > >> select RecID from thereferences where (left(allFields, 3)='the') > >Excellent, so solution is: > > >select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod >from thereferences >where RecID in > ( select RecID from thereferences where (left(allFields, 3)='the')) > No. You don't understand (or I don't). That is only one search. I do MANY searches in a loop, after each one adding to my integer array (or recids). That way I can AND or OR many searches myself. When I am finished I want to turn that array of recids I have made into a cursor. Jon From sunshine at public.kherson.ua Sun Feb 27 11:56:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 03:56:58 2005 Subject: sql speed In-Reply-To: Message-ID: On 2/27/05 11:51 AM, "jda" wrote: >> select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod >> from thereferences >> where RecID in >> ( select RecID from thereferences where (left(allFields, 3)='the')) >> > > No. You don't understand (or I don't). That is only one search. I do > MANY searches in a loop, after each one adding to my integer array > (or recids). That way I can AND or OR many searches myself. > > When I am finished I want to turn that array of recids I have made > into a cursor. Aha, many searches.... Then your way probably the only for SQL. And we need improve that query I think. It must be very fast. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sun Feb 27 05:02:17 2005 From: jda at his.com (jda) Date: Sun Feb 27 04:02:22 2005 Subject: sql speed In-Reply-To: References: Message-ID: > > When I am finished I want to turn that array of recids I have made >> into a cursor. > >Aha, many searches.... >Then your way probably the only for SQL. > >And we need improve that query I think. >It must be very fast. > That would be great. I've send you a db and a query for profiling. Thanks, Jon From Claudius at sailer-online.de Sun Feb 27 11:11:25 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Feb 27 04:11:32 2005 Subject: problem with reading NULL from DateField In-Reply-To: References: Message-ID: Am 27. Feb 2005 um 10:16 Uhr schrieb Ruslan Zasukhin: > On 2/27/05 9:09 AM, "Claudius Sailer" > wrote: > >> Hi, >> >> sorry Mantis seems to be down. I use >> >> EditField5.text=meineDatenbank.TWP.Field("Emission").getstring >> EditField6.text=meineDatenbank.TWP.Field("Maturity").getstring >> >> to read 2 fields. Both fields are NULL in database but in EditFields >> are shown 00.00.0000 > >> In 1.10 EditFields were empty. > >> Is this now new functionality and I have to change code or is this a >> bug? > > mm. For NULL date, must come EMPTY string. > So yes bug present. Bug #495 Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Feb 27 12:15:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 04:15:12 2005 Subject: problem with reading NULL from DateField In-Reply-To: Message-ID: On 2/27/05 12:11 PM, "Claudius Sailer" wrote: >> >> mm. For NULL date, must come EMPTY string. >> So yes bug present. > > > Bug #495 Igor works already on this Thank you Claudius. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 12:31:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 04:32:01 2005 Subject: [V4RB, V4MD] ValentinaSQL_en.pdf updated Message-ID: Hi All, Please download http://paradigmasoft.com/download/v2_beta/ValentinaSQL_en.pdf Latest version of ValentinaSQL.pdf This document can be considered as completed. - it give full specification of Valentina SQL grammar. I have spend 3 days to make it comfortable for reading and understanding. - it give full list of Valentina functions - it give list of Valentina extensions of SQL. this part is not updated completely yet. -------------------- Also I want to note, that we have in Russian about new 100 pages for this document. And we now translate them to English. This new text play role of book that explain and teach SQL. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 12:58:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 04:58:59 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: <06dbb4b2998d361b4a7f4e378b0cefff@paradigma.ukrcom.kheron.ua> Message-ID: On 2/27/05 12:39 PM, "vbt@paradigma.ukrcom.kherson.ua" wrote: > Summary: SQL-Problem > Description: > Following Code has result 0 records > > SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Buchungen > B, Konten KO, Konten KZ > WHERE B.Herk_Konto=KO.RecID > AND B.Ziel_Konto=KZ.RecID > AND B.Deleted='0' > AND B.BDatum<='27.02.2005' > > but it should have a lot Hi Claudius, I will recommend redo query using new SQL92 syntax of joins. This make query more clean. SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID join Konten KZ ON B.Ziel_Konto=KZ.RecID WHERE B.Deleted='0' AND B.BDatum<='27.02.2005' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 13:00:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 05:00:27 2005 Subject: Claudius, reports to mantis Message-ID: Hi Claudius, Please do not forget that we have V4RB and KERNEL (and other projects). When you report bug in SQL, please do this into kernel project, Because this bug is not V4RB problem probably. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 13:13:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 05:13:28 2005 Subject: ValentinaKernel_2_en.pdf uploaded Message-ID: Hi All, To V4RB and V4MD 2.0 beta pages added link to ValentinaKernel_2_en.pdf file. http://paradigmasoft.com/download/v2_beta/ValentinaKernel_2_en.pdf This document is the last thing we need complete to get 2.0 release more or less done. You will see that I try add on start of this document new Theory section. Hard part ... Require many and correct academic words :-) So here many white space yet. I think that this document can have 3 section: 1) theory of database this can be considered as White Paper I think. Here I want consider different db models, that exists in the world. their advantages and disadvantages. Valentina model, where we go and why. 2) textual descriptions of Valentina features. This should have many text and pictures about each feature of Valentina. 3) Abstract API of Valentina engine. This section will have list of classes, properties, methods. This will be done in ABSTRACT language, which can understand easy as V4RB, so V4MD, VXCMD, ... C++ developers I think this language will be close to RB and Java notation. IMHO such section also give complete of and full description of Valentina kernel. Reader can see and understand what he can do, what he can change... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 27 15:54:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 07:54:10 2005 Subject: Igor need simple Project In-Reply-To: Message-ID: On 2/27/05 3:04 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > Hi Ruslan! > > I am working on it. It is not so simple, I want to include my new scripts > for opening/creating the DB, in case this might cause the problem. > > I have further questions on developing. I have tried Visual Studio.NET and > find it very comforting. > So it would be very important to know if the .NET client would really be > ready in April/May? > How long until it is stable? Well, client easy to make stable. Because it is small, it build around C++ client lib. > And how many developers you have on .NET with Valentina? Very few. Maximum 5 I think. > I think this community might grow pretty fast, NOT? Hard to say. This is Microsoft market. I know a lots of developers which love MS and only MS and nothing else except MS I think Valentina can be interesting in the first turn for cross-platform developers. Also now when we get release of Vserver 2.0 with its excellent license schema, we think many app developers may choose us also. MS also offer MSDN with 5 connections royalty free, but MSDN installer only 80MB and other MS-"gifts". Borland market -- this is where I think we can get big success. And we going in the nearest months get to Borland C++, Java and Delphi. > You say you don't like the current .NET implementation for Valentina, but > there is one, right? For LOCAL > With client? No client > How much different from usual syntax? Not many. Close to V4MD. Just no classes as we have in V4RB > I might also try V4RB. This has a client, right? yes > I think it is a big community on Valentina, right? About 1200-1500 developers. > But is it mainly Macintosh? Director market has 70% Windows REALbasic cross-platform mainly > Sorry for all these questions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Sun Feb 27 16:20:38 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Feb 27 09:39:04 2005 Subject: sql speed In-Reply-To: References: Message-ID: >>I suggest looking at VBitSet and VSet in the V4RB Reference PDF. >>You can use the Union method to merge your sets and it will be much >>faster. However, I don't see an obvious way to convert it into a >>VCursor as a last step. That should be possible I think. Maybe you >>can Feature Request something. :^) > >Hi Frank, > >Yes, good idea. I thought of VSets, but I do need a cursor at the end... > Have you about having an ancillary field to define sets? I mean a field either boolean (if a single set possible) or byte (if more) that is preset to 0 (using UpdateAllRecords) to indicate a given record is not part of the set. This allows you to mark and unmark records (individually or whole cursor) and then do a search on that field at the end to create your big cursor. It would also eliminate checking for duplicates. In other words, if I understand your problem correctly, the logic would be reset the marker field for all records that are not reset do search 1 set the marker field in whole cursor do search 2 set the marker field in whole cursor ... search for records with marker field set Robert From macsforever2000 at axint.net Sun Feb 27 08:57:00 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Sun Feb 27 09:57:07 2005 Subject: [V4RB] 2.0 b51 uploaded In-Reply-To: References: Message-ID: <52e2b51e4d0c6668cb220fb6d7e2e157@axint.net> On Feb 27, 2005, at 2:06 AM, Ruslan Zasukhin wrote: > On 2/27/05 5:59 AM, "Frank Schima" wrote: > > Hi Frank, > >> It appears that ORDER BY with a -> operator causes a crash. I cannot >> get to the Mantis site to report this. > > Please give more info > > select ... -> > ORDER BY f1 > > This query crashes ? SELECT ptr->anotherfield, field FROM table ORDER BY ptr->anotherfield, field From sunshine at public.kherson.ua Sun Feb 27 18:36:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 10:37:02 2005 Subject: [V4RB] 2.0 b51 uploaded In-Reply-To: <52e2b51e4d0c6668cb220fb6d7e2e157@axint.net> Message-ID: On 2/27/05 5:57 PM, "Frank Schima" wrote: >> Please give more info >> >> select ... -> >> ORDER BY f1 >> >> This query crashes ? > > SELECT ptr->anotherfield, field > FROM table > ORDER BY ptr->anotherfield, field Frank, But ORDER BY do not work with -> Not implemented. You want say that b50 did work here ??? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From macsforever2000 at axint.net Sun Feb 27 09:50:45 2005 From: macsforever2000 at axint.net (Frank Schima) Date: Sun Feb 27 10:50:51 2005 Subject: [V4RB] 2.0 b51 uploaded In-Reply-To: References: Message-ID: On Feb 27, 2005, at 9:36 AM, Ruslan Zasukhin wrote: > On 2/27/05 5:57 PM, "Frank Schima" wrote: > >>> Please give more info >>> >>> select ... -> >>> ORDER BY f1 >>> >>> This query crashes ? >> >> SELECT ptr->anotherfield, field >> FROM table >> ORDER BY ptr->anotherfield, field > > Frank, > > But ORDER BY do not work with -> > Not implemented. > > You want say that b50 did work here ??? No. I guess it didn't before. But I couldn't test b50! I have added bug report 497 for this. Best regards, Frank Schima From jda at his.com Sun Feb 27 13:14:22 2005 From: jda at his.com (jda) Date: Sun Feb 27 12:14:30 2005 Subject: sql speed In-Reply-To: References: Message-ID: > >Have you about having an ancillary field to define sets? I mean a >field either boolean (if a single set possible) or byte (if more) >that is preset to 0 (using UpdateAllRecords) to indicate a given >record is not part of the set. This allows you to mark and unmark >records (individually or whole cursor) and then do a search on that >field at the end to create your big cursor. It would also eliminate >checking for duplicates. > >In other words, if I understand your problem correctly, the logic would be > >reset the marker field for all records that are not reset >do search 1 >set the marker field in whole cursor >do search 2 >set the marker field in whole cursor >... >search for records with marker field set > Hi Robert, Thanks for the suggestion. Yes, that would work. In fact, I already use an approach like this to keep track of an ordered set of records. I'd like to avoid adding yet another field to my database for this if I can (I would if I had to), and think the approach I have used should work more quickly than it does (my approach is also more flexible, because I can change it in code anytime I want to without worrying about backward compatibility). The recid search is terribly slow right now (for 8300 recIDs it takes 30 seconds or so) and I'm sure that can be improved (I've sent a db and the search to Ruslan). Jon From rjb at robelko.com Sun Feb 27 20:37:53 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun Feb 27 13:41:10 2005 Subject: sql speed In-Reply-To: References: Message-ID: >>reset the marker field for all records that are not reset >>do search 1 >>set the marker field in whole cursor >>do search 2 >>set the marker field in whole cursor >>... >>search for records with marker field set >> > >Hi Robert, > >Thanks for the suggestion. Yes, that would work. In fact, I already >use an approach like this to keep track of an ordered set of >records. I'd like to avoid adding yet another field to my database >for this if I can (I would if I had to), and think the approach I >have used should work more quickly than it does (my approach is also >more flexible, because I can change it in code anytime I want to >without worrying about backward compatibility). The recid search is >terribly slow right now (for 8300 recIDs it takes 30 seconds or so) >and I'm sure that can be improved (I've sent a db and the search to >Ruslan). > >Jon I would think that using extra field actually simplifies the code significantly and gives more flexibility, but of course, I have no clue about specifics of your project. I may be wrong, but I think that an sql searching for a specific value of a field will always be faster than one extracting a long list of recids (unless Ruslan manages to special-case this having the engine recognize that it is just a recall of a list of ids). Robert From sunshine at public.kherson.ua Sun Feb 27 21:44:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 13:44:11 2005 Subject: Need beta tester(s) for RBDB API of Valentina 2.0 Message-ID: Hi All, Anybody, who know this feature good, Can test this in Valentina 2.0 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Mon Feb 28 11:01:47 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 04:02:09 2005 Subject: V4RB2 Decimal Separator Message-ID: <50a5203f062c4df8d696be18c4f67ba2@tiscalinet.it> Hi Ruslan, it would be extremely useful to have a DB property DecimalSep as String default "." it would affect import/export operations Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Mon Feb 28 13:41:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 05:41:25 2005 Subject: V4RB2 Decimal Separator In-Reply-To: <50a5203f062c4df8d696be18c4f67ba2@tiscalinet.it> Message-ID: On 2/28/05 12:01 PM, "erne" wrote: > Hi Ruslan, > > it would be extremely useful to have a DB property > > DecimalSep as String default "." > > it would affect import/export operations Hi Erne, Add this into request into Mantis -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 14:14:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:14:55 2005 Subject: V4RB2 vTable.id Property In-Reply-To: Message-ID: On 2/28/05 12:13 PM, "erne" wrote: Hi Erne, You should send this beta list. > I read abbout this new prop: > > ID as Integer (r/o) Returns the unique identifer of the table. > > can we use it to retrieve the table? as in > > tbl = DB.Table(ID) This will conflict to Table( Index ). > i.e. > ID is the index position of Table in DB structure In kernel we can do this. It seems for V4RB we will need TableByID( id ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 14:16:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:16:25 2005 Subject: V4RB2 Recid prop In-Reply-To: Message-ID: On 2/28/05 12:23 PM, "erne" wrote: > Hi Ruslan, > > RecID as Integer Returns the RecID of the current record. Range of > values is 1..N, 0 - if the current record is undefined. > Also you can use this property to change the current record of the > Table. > In case you try move to not existed record the current record will not > be changed. > > Shouldn't Vale throw an error here? I am sure it throw. But current record is not changed. Also added Table.RecordExists(RecId) property > Otherwise we should always check after moving via recid as in > > tb.Recid = 24 // try to move > if tb.Recid <> 24 then // check if success > // 24 is not valid Recid > end if -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 14:16:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:17:07 2005 Subject: V4RB2 table.PhysicalRecordCount prop In-Reply-To: <3dd19dba9c6972104d49d38c7dbada1b@tiscalinet.it> Message-ID: On 2/28/05 12:27 PM, "erne" wrote: > Hi Ruslan, > > PhysicalRecordCount as Integer (r/o) Returns the numbers of physical > records in the table. > physRecCount = table.PhysicalRecordCount > > does this mean it counts also records marked as deleted? Right! This will be important for BitSet creation. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Mon Feb 28 16:20:38 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 09:21:06 2005 Subject: V4RB2 vTable.id Property In-Reply-To: Message-ID: on 28-02-2005 13:14, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> I read abbout this new prop: >> >> ID as Integer (r/o) Returns the unique identifer of the table. >> >> can we use it to retrieve the table? as in >> >> tbl = DB.Table(ID) > > This will conflict to Table( Index ). > >> i.e. >> ID is the index position of Table in DB structure > > In kernel we can do this. > > It seems for V4RB we will need TableByID( id ) > that would be a lot useful! Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From Claudius at sailer-online.de Mon Feb 28 16:31:30 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 28 09:31:57 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: References: Message-ID: Hi Ruslan, Am 27. Feb 2005 um 11:58 Uhr schrieb Ruslan Zasukhin: > On 2/27/05 12:39 PM, "vbt@paradigma.ukrcom.kherson.ua" > wrote: > >> Summary: SQL-Problem >> Description: >> Following Code has result 0 records >> >> SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM >> Buchungen >> B, Konten KO, Konten KZ >> WHERE B.Herk_Konto=KO.RecID >> AND B.Ziel_Konto=KZ.RecID >> AND B.Deleted='0' >> AND B.BDatum<='27.02.2005' >> >> but it should have a lot > > Hi Claudius, > > I will recommend redo query using new SQL92 syntax of joins. > This make query more clean. > > > SELECT > KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag > FROM > Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID > join Konten KZ ON B.Ziel_Konto=KZ.RecID > WHERE > B.Deleted='0' AND B.BDatum<='27.02.2005' faster too? I don't know SQL92 syntax. I am a sybase hacker with learning by seeing and rebuilding ;-)) The syntax you show me is a little bit confusing me. How is it realized when I want to do following? SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Buchungen B, Konten KO, Konten KZ WHERE B.Herk_Konto=KO.RecID AND B.Ziel_Konto=KZ.RecID AND KO.Konto_Type = 1 AND B.Deleted='0' AND B.BDatum<='27.02.2005' is it then SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID join Konten KZ ON B.Ziel_Konto=KZ.RecID WHERE KO.Konto_Type=1 AND B.Deleted='0' AND B.BDatum<='27.02.2005' in other words, when I have in restrictions something from joined tables? where is this written? bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From AYU8 at CDC.GOV Mon Feb 28 10:39:52 2005 From: AYU8 at CDC.GOV (Sims, John) Date: Mon Feb 28 09:40:27 2005 Subject: [V4RB 0000496]: SQL-Problem Message-ID: -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Claudius Sailer > Sent: Monday, February 28, 2005 10:32 AM > To: Valentina Beta > Subject: Re: [V4RB 0000496]: SQL-Problem > > > Hi Ruslan, > > Am 27. Feb 2005 um 11:58 Uhr schrieb Ruslan Zasukhin: > > > On 2/27/05 12:39 PM, "vbt@paradigma.ukrcom.kherson.ua" > > wrote: > > > >> Summary: SQL-Problem > >> Description: > >> Following Code has result 0 records > >> > >> SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM > >> Buchungen > >> B, Konten KO, Konten KZ > >> WHERE B.Herk_Konto=KO.RecID > >> AND B.Ziel_Konto=KZ.RecID > >> AND B.Deleted='0' > >> AND B.BDatum<='27.02.2005' > >> > >> but it should have a lot > > > > Hi Claudius, > > > > I will recommend redo query using new SQL92 syntax of > joins. This make > > query more clean. > > > > > > SELECT > > KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag > > FROM > > Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID > > join Konten KZ ON B.Ziel_Konto=KZ.RecID > > WHERE > > B.Deleted='0' AND B.BDatum<='27.02.2005' > > faster too? > I don't know SQL92 syntax. I am a sybase hacker with learning > by seeing > and rebuilding ;-)) > The syntax you show me is a little bit confusing me. > > How is it realized when I want to do following? > > SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag > FROM Buchungen B, Konten KO, Konten KZ WHERE > B.Herk_Konto=KO.RecID AND B.Ziel_Konto=KZ.RecID AND > KO.Konto_Type = 1 AND B.Deleted='0' AND B.BDatum<='27.02.2005' > > is it then > > SELECT > KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag > FROM > Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID > join Konten KZ ON B.Ziel_Konto=KZ.RecID > WHERE KO.Konto_Type=1 > AND B.Deleted='0' AND B.BDatum<='27.02.2005' > > in other words, when I have in restrictions something from joined > tables? where is this written? > > bye > > > Claudius Hi Claudius, If I am understanding your question correctly, you can do something like this: SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Buchungen B join Konten KO ON (B.Herk_Konto=KO.RecID AND KO.Konto_Type=1) join Konten KZ ON B.Ziel_Konto=KZ.RecID WHERE B.Deleted='0' AND B.BDatum<='27.02.2005' Both versions, this one and Ruslan's, will have the same results but this one may "read" closer to how you are thinking. Hope this helps. -John From sunshine at public.kherson.ua Mon Feb 28 18:22:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 10:53:32 2005 Subject: INFORMATON: storm have broke inet Message-ID: Hi All, I want to inform that storm have break inet line here. So Matnis will not work until fix. In the best case this will happen Wednesday. I will setup dialup now to read/asnwer email at least. Also I think I will be able upload newer betas. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 19:13:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 11:14:07 2005 Subject: V4RB2 vTable.id Property In-Reply-To: Message-ID: On 2/28/05 5:20 PM, "erne" wrote: >>> I read abbout this new prop: >>> >>> ID as Integer (r/o) Returns the unique identifer of the table. >>> >>> can we use it to retrieve the table? as in >>> >>> tbl = DB.Table(ID) >> >> This will conflict to Table( Index ). >> >>> i.e. >>> ID is the index position of Table in DB structure >> >> In kernel we can do this. >> >> It seems for V4RB we will need TableByID( id ) >> > > that would be a lot useful! For example ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 19:27:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 11:27:29 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: Message-ID: On 2/28/05 5:31 PM, "Claudius Sailer" wrote: >> I will recommend redo query using new SQL92 syntax of joins. >> This make query more clean. >> >> >> SELECT >> KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag >> FROM >> Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID >> join Konten KZ ON B.Ziel_Konto=KZ.RecID >> WHERE >> B.Deleted='0' AND B.BDatum<='27.02.2005' > > faster too? No, do not think so. May be only for parser will be easier. But this is not main time usually -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From IvanSmahin at public.kherson.ua Mon Feb 28 20:15:58 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Feb 28 12:16:04 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: References: Message-ID: <114827333.20050228201558@public.kherson.ua> Hello Claudius, Monday, February 28, 2005, 5:31:30 PM, you wrote: CS> Hi Ruslan, CS> Am 27. Feb 2005 um 11:58 Uhr schrieb Ruslan Zasukhin: >> On 2/27/05 12:39 PM, "vbt@paradigma.ukrcom.kherson.ua" >> wrote: >> >>> Summary: SQL-Problem >>> Description: >>> Following Code has result 0 records >>> >>> SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM >>> Buchungen >>> B, Konten KO, Konten KZ >>> WHERE B.Herk_Konto=KO.RecID >>> AND B.Ziel_Konto=KZ.RecID >>> AND B.Deleted='0' >>> AND B.BDatum<='27.02.2005' >>> >>> but it should have a lot >> >> Hi Claudius, >> >> I will recommend redo query using new SQL92 syntax of joins. >> This make query more clean. >> >> >> SELECT >> KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag >> FROM >> Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID >> join Konten KZ ON B.Ziel_Konto=KZ.RecID >> WHERE >> B.Deleted='0' AND B.BDatum<='27.02.2005' CS> faster too? CS> I don't know SQL92 syntax. I am a sybase hacker with learning by seeing CS> and rebuilding ;-)) CS> The syntax you show me is a little bit confusing me. CS> How is it realized when I want to do following? CS> SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag CS> FROM Buchungen B, Konten KO, Konten KZ CS> WHERE B.Herk_Konto=KO.RecID CS> AND B.Ziel_Konto=KZ.RecID CS> AND KO.Konto_Type = 1 CS> AND B.Deleted='0' CS> AND B.BDatum<='27.02.2005' CS> is it then CS> SELECT CS> KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag CS> FROM CS> Buchungen B join Konten KO ON B.Herk_Konto=KO.RecID CS> join Konten KZ ON B.Ziel_Konto=KZ.RecID CS> WHERE KO.Konto_Type=1 CS> AND B.Deleted='0' AND B.BDatum<='27.02.2005' CS> in other words, when I have in restrictions something from joined CS> tables? where is this written? CS> bye CS> Claudius Actually, I'm also much more closer to the Sybase community :) But here is two possible forms of join query (following SQL-92) 1) ---------- Select ... FROM T1, T2 WHERE T1.f1 = T2.f2 ---------- 2) ---------- Select ... FROM T1 inner join T2 on T1.f1 = T2.f2 ---------- It might be nice till we have deal with 2-table join. But for many-tabled-join it is not so attractive to write (and read later!) such quasi-English sentences. (As you know, the main SQL goal was to have something like plain english text.) IMHO it must be your decission what way do you like. About performance. I don't think you get notable difference. But in second way it will be a little bit faster, because Valentina wouldn't parse WHERE clause to find "join conditions". As for me I would use the way which I used to. Moreover, in you query, second way might seems a bit awful: SELECT KO.Konto_Typ, KZ.Konto_Typ, B.Kategorie_ID, B.Betrag FROM Konten KZ INNER JOIN (Buchungen B inner join Konten KO ON B.Herk_Konto=KO.RecID ) ON B.Ziel_Konto=KZ.RecID WHERE B.Deleted='0' AND B.BDatum<='27.02.2005' ------------- Also, you should note that Valentina has some extensions here! If single link exists between two tables you can use short forms for inner joins - this link will be used automaticaly: Persons Addresses -------- ----------- Name ObjectPtr RecID City ------------------------------------------ Smith 3 1 NULL Smith 4 2 Limerick O'Konnor 2 3 NYC 4 Dublin ------------------------------------------- -- select * from Persons, Addresses -- Result: Name ObjectPtr City ------------------------------------------ Smith 3 NYC Smith 4 Dublin O'Konnor 2 Limerick -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From IvanSmahin at public.kherson.ua Mon Feb 28 20:25:21 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Feb 28 12:25:28 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: References: Message-ID: <275197531.20050228202521@public.kherson.ua> Hello Claudius, One more short note: Assume you have binary link which is joined two tables. Assume this is single link. We need to get join of these tables: 1) SELECT ... FROM T1 INNER JOIN T2 ON Link_Name 2) SELECT ... FROM T1, T2 But for outer joins you have only one way: 1) SELECT ... FROM T1 LEFT JOIN T2 ON Link_Name -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From Claudius at sailer-online.de Mon Feb 28 19:47:35 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 28 12:47:43 2005 Subject: [V4RB 0000496]: SQL-Problem In-Reply-To: <275197531.20050228202521@public.kherson.ua> References: <275197531.20050228202521@public.kherson.ua> Message-ID: Hi Ivan, Am 28. Feb 2005 um 19:25 Uhr schrieb Ivan Smahin: > Hello Claudius, > > One more short note: > > Assume you have binary link which is joined two tables. > Assume this is single link. > > We need to get join of these tables: > > 1) SELECT ... FROM T1 INNER JOIN T2 ON Link_Name > 2) SELECT ... FROM T1, T2 > > > But for outer joins you have only one way: > 1) SELECT ... FROM T1 LEFT JOIN T2 ON Link_Name Thanks for your many informations and ideas. I am using only RecID-Links. Thats best solution for me :-)) I will think about your informations. I am using something like SQLStringBuilder = "SELECT XXX, YYY, ZZZ" SQLStringBuilder= SQLStringBuilder+" FROM table1, table2" SQLStringBuilder= SQLStringBuilder+" WHERE XXX=RecID" and so on. I have to check which is better to read for me. This one or the new one I got from Ruslan and you. bye Claudius From jda at his.com Mon Feb 28 18:48:30 2005 From: jda at his.com (jda) Date: Mon Feb 28 17:48:44 2005 Subject: [V4RB] 2.0 b52 uploaded In-Reply-To: References: Message-ID: > >* improved speed of query > WHERE RecID in (1 ,2, 3, ...) > There is a problem here. This search should give 1 record. But it gives 0: select id,hit,uniqueID,authors,thedate,title,editors,authorsSortMethod from thereferences where hit>0 AND RecID in (39,60,63,64,65,69,73,80,108,197,213,216,219,223,226,279,341,345,357,359,365,372,380,396,399,405,409,414,424,425,430,432,465,467,483,503,504,511,555,557,564,595,631,642,651,733,747,773,789,790,792,800,801,802,837,841,856,866,875,884,889,890,891,892,898,900,903,910,917,947,950,970,979,980,982,986,987,1020,1033,1041,1061,1063,1064,1080,1086,1097,1100,1101,1111,1116,1121,1136,1144,1145,1190,1220,1244,1245,1263,1271,1300,1333,1335,1346,1351,1375,1376,1382,1389,1407,1416,1420,1429,1440,1494,1508,1524,1539,1547,1607,1608,1614,1665,1666,1667,1668,1669,1679,1688,1689,1718,1729,1742,1766,1811,1823,1835,1836,1862,1873,1884,1889,1895,1901,1903,1906,1910,1928,1940,1942,1948,1965,1968,2006,2007,2008,2009,2010,2029,2030,2031,2033,2034,2056,2063,2064,2080,2105,2106,2108,2114,2115,2116,2124,2128,2129,2134,2136,2140,2141,2161,2167,2195,2204,2207,2229,2245,2251,2252,2253,2254,2255,2256,2257,2258,2290,2295,2300,2301,2305,2316,2352) ORDER BY authorsSortMethod In fact, any AND search with recID in () gives 0 records for me. Jon