From listmail1 at dsl.pipex.com Sun Jan 1 02:06:10 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Sat Dec 31 20:07:21 2005 Subject: [OT] Happy New Year to ALL ! In-Reply-To: Message-ID: And happy new year to you all at Paradigma, too :-) Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Sat, 31 Dec 2005 22:18:09 +0200 > To: "valentina@lists.macserve.net" , > "valentina-beta@lists.macserve.net" , > "valentina-studio@lists.macserve.net" > Conversation: [OT] Happy New Year to ALL ! > Subject: [OT] Happy New Year to ALL ! > > Hi All, > > Paradigma team wish Happy New Year to all !!! > > Let new Year bring to all your many nice moments, implementations of dreams, > new creative ideas, happy eyes of your children and lovers! > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From IvanSmahin at public.kherson.ua Mon Jan 2 13:19:17 2006 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jan 2 05:20:30 2006 Subject: Please, ignore it. Message-ID: <29736578.20060102131917@public.kherson.ua> Hello, test -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua [Everything is possible. The impossible just takes longer.] From valentina at pixelrund.de Mon Jan 2 15:03:49 2006 From: valentina at pixelrund.de (Timo Rehmann) Date: Mon Jan 2 08:05:25 2006 Subject: differences between V4MD_1 and V4MD_2 ? Message-ID: <43B932C5.2010004@pixelrund.de> hello folks, i try to upgrade my project from a valentina 1 db to the new valentina 2 db (most important feature: import sql) my method with V1 works well: ValentinaInit(4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") according to the v4md director reference i now try something like this: Valentina.init("",4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") but i always get the error-message: "Script Error. Operator expected" can anybody help?! thanks for any tips! mfg, timo rehmann ps: is there any method to use the V1 scripts with a V2 database?! From sunshine at public.kherson.ua Mon Jan 2 16:29:43 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 2 08:30:58 2006 Subject: differences between V4MD_1 and V4MD_2 ? In-Reply-To: <43B932C5.2010004@pixelrund.de> Message-ID: On 1/2/06 4:03 PM, "Timo Rehmann" wrote: Hi Timo, > hello folks, > > i try to upgrade my project from a valentina 1 db to the new valentina 2 > db (most important feature: import sql) > > my method with V1 works well: > ValentinaInit(4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") > > according to the v4md director reference i now try something like this: > Valentina.init("",4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") Ops. Must be Valentina.init( 4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") Please tell me on which page you have found wrong description. > but i always get the error-message: > "Script Error. Operator expected" > > can anybody help?! > > thanks for any tips! > > mfg, timo rehmann > > ps: is there any method to use the V1 scripts with a V2 database?! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jan 2 16:30:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 2 08:31:36 2006 Subject: differences between V4MD_1 and V4MD_2 ? In-Reply-To: <43B932C5.2010004@pixelrund.de> Message-ID: On 1/2/06 4:03 PM, "Timo Rehmann" wrote: > ps: is there any method to use the V1 scripts with a V2 database?! You need do some manual corrections -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From listmail1 at dsl.pipex.com Tue Jan 3 09:48:25 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Tue Jan 3 03:49:43 2006 Subject: Crash when deleting records with DeleteAllRecords Message-ID: Hi all, I?m getting a crash ? sometimes, not always, but consistent enough to be a real problem ? when using DeleteAllRecords. Important lines from the crash log shown below: Thread 0 Crashed: 0 Kernel_Carbon_Final.shlb 0x05e5b42c CopyTo__Q23fbl11CachePtrCFPcUl + 124 1 Kernel_Carbon_Final.shlb 0x05e5b33c ReadString__Q23fbl20VarCharPage_TCFUlPcUl + 96 2 Kernel_Carbon_Final.shlb 0x05e55424 ReadRecord__Q23fbl11VarCharFileCFUlPcUl + 92 3 Kernel_Carbon_Final.shlb 0x05e55348 DoReadValue__Q23fbl8VVarCharCFUlPQ23fbl12Value_string + 208 4 Kernel_Carbon_Final.shlb 0x05e5520c ReadValue__Q23fbl8VVarCharCFUlQ23fbl25smart_ptr + 872 5 Kernel_Carbon_Final.shlb 0x05e54e34 ReadValue__Q23fbl8VVarCharFUl + 76 6 Kernel_Carbon_Final.shlb 0x05c5d380 ReadRecord__Q23fbl15Record_SeparateFv + 420 7 Kernel_Carbon_Final.shlb 0x05c5ec68 ReadRecord__Q23fbl5TableFv + 28 8 Kernel_Carbon_Final.shlb 0x05c0ac30 put_RecID__Q23fbl5TableFUl + 124 9 Kernel_Carbon_Final.shlb 0x05c4f408 DoDeleteRecordFast__Q23fbl5TableFUl + 44 10 Kernel_Carbon_Final.shlb 0x05c4f158 DeleteAllRecordsFast__Q23fbl5TableFQ23fbl24smart_ptr + 556 11 Kernel_Carbon_Final.shlb 0x05c4ed84 DeleteAllRecords__Q23fbl5TableFQ23fbl21smart_ptr + 444 12 Plugin 0x023a2970 Table_DeleteAllRecords__FP16REALobjectStructP16REALobjectStruct + 416 13 DJ-1800 3.0b5.debug 0x003ae8bc VTable.DeleteAllRecords%%oo + 96 14 DJ-1800 3.0b5.debug 0x00212600 DJDatabase.DeleteAllRecords%%o + 252 I am attempting to delete everything from three tables: vPlaylistTracks.DeleteAllRecords vTracks.DeleteAllRecords vPlaylists.DeleteAllRecords It seems that is is the second table (vTracks) which is causing the problem. If it adds anything, I have two vLinks (foreign key links) between the three tables: vPT_PlaylistUniqueIDLink = CreateForeignKeyLink("PT_PlaylistUniqueIDLink", vPlaylists.UniqueID, vPlaylistTracks.PlaylistUniqueIDPtr, EVOnDelete.kSetNull, EVOnUpdate.kSetNull, false) vPT_TrackUniqueIDLink = CreateForeignKeyLink("PT_TrackUniqueIDLink", vTracks.UniqueID, vPlaylistTracks.TrackUniqueIDPtr, EVOnDelete.kSetNull, EVOnUpdate.kSetNull, false) I?m not doing anything to these links before calling DeleteAllRecords Should I be dropping the links first somehow? RB 2005r4 Mach-O build, Valentina 2.0.5 Carbon, Mac OS 10.4.3. From listmail1 at dsl.pipex.com Tue Jan 3 09:52:07 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Tue Jan 3 03:53:24 2006 Subject: Mach-O version of V4RB? Message-ID: Hi Ruslan, Any news on the Mach-O version of V4RB? I?m keen to start testing it as soon as possible, so I can release a new version of my application in the near future. What I?m really looking for is an idea of when it might be available, so I can schedule some time for testing. All the best, Dave. From sunshine at public.kherson.ua Tue Jan 3 12:03:51 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 3 04:05:07 2006 Subject: Crash when deleting records with DeleteAllRecords In-Reply-To: Message-ID: On 1/3/06 11:48 AM, "Dave Addey" wrote: > > I?m not doing anything to these links before calling DeleteAllRecords > Should I be dropping the links first somehow? > > RB 2005r4 Mach-O build, Valentina 2.0.5 Carbon, Mac OS 10.4.3. Hi Dave, Actually you need then try fc2 upcoming fc3 To see if this problem exists here. If yes we need db and steps to reproduce. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From listmail1 at dsl.pipex.com Tue Jan 3 10:54:33 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Tue Jan 3 04:55:49 2006 Subject: Crash when deleting records with DeleteAllRecords In-Reply-To: Message-ID: Hi Ruslan, I've installed fc3, will let you know if the problem happens again. Unfortunately, it doesn't seem to be a consistent problem, which may make it hard for me to provide steps to reproduce. But I'll try :-) Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Tue, 03 Jan 2006 12:03:51 +0200 > To: "valentina@lists.macserve.net" > Conversation: Crash when deleting records with DeleteAllRecords > Subject: Re: Crash when deleting records with DeleteAllRecords > > On 1/3/06 11:48 AM, "Dave Addey" wrote: > >> >> I?m not doing anything to these links before calling DeleteAllRecords >> Should I be dropping the links first somehow? >> >> RB 2005r4 Mach-O build, Valentina 2.0.5 Carbon, Mac OS 10.4.3. > > Hi Dave, > > Actually you need then try fc2 upcoming fc3 > > To see if this problem exists here. If yes we need db and steps to > reproduce. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From valentina at pixelrund.de Tue Jan 3 14:07:31 2006 From: valentina at pixelrund.de (Timo Rehmann) Date: Tue Jan 3 07:09:09 2006 Subject: differences between V4MD_1 and V4MD_2 ? In-Reply-To: References: Message-ID: <43BA7713.2040902@pixelrund.de> Ruslan Zasukhin wrote: >On 1/2/06 4:03 PM, "Timo Rehmann" wrote: > > > >>ps: is there any method to use the V1 scripts with a V2 database?! >> >> > >You need do some manual corrections > > hm, sad, but i already supposed so... ... is there any hint for my other question concerning the initialization of the database? best regards, timo rehmann From sunshine at public.kherson.ua Tue Jan 3 15:15:02 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 3 07:16:50 2006 Subject: differences between V4MD_1 and V4MD_2 ? In-Reply-To: <43BA7713.2040902@pixelrund.de> Message-ID: On 1/3/06 3:07 PM, "Timo Rehmann" wrote: >>> ps: is there any method to use the V1 scripts with a V2 database?! >>> >>> >> >> You need do some manual corrections >> >> > hm, sad, but i already supposed so... > > ... is there any hint for my other question concerning the > initialization of the database? I have answer -- first parameter is not needed. You did not get my letter ? ---------------- > according to the v4md director reference i now try something like this: > Valentina.init("",4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") Ops. Must be Valentina.init( 4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") Please tell me on which page you have found wrong description. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 3 15:16:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 3 07:17:18 2006 Subject: Mach-O version of V4RB? In-Reply-To: Message-ID: On 1/3/06 11:52 AM, "Dave Addey" wrote: > Hi Ruslan, > > Any news on the Mach-O version of V4RB? I?m keen to start testing it as > soon as possible, so I can release a new version of my application in the > near future. What I?m really looking for is an idea of when it might be > available, so I can schedule some time for testing. Hi Dave, Ok, I will try tomorrow or after mane first build -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From listmail1 at dsl.pipex.com Tue Jan 3 13:30:47 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Tue Jan 3 07:32:04 2006 Subject: Mach-O version of V4RB? In-Reply-To: Message-ID: Hi Ruslan, Good stuff! Thanks. I'll keep an eye out for it and give it a test. All the best, Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Tue, 03 Jan 2006 15:16:00 +0200 > To: "valentina@lists.macserve.net" > Conversation: Mach-O version of V4RB? > Subject: Re: Mach-O version of V4RB? > > On 1/3/06 11:52 AM, "Dave Addey" wrote: > >> Hi Ruslan, >> >> Any news on the Mach-O version of V4RB? I?m keen to start testing it as >> soon as possible, so I can release a new version of my application in the >> near future. What I?m really looking for is an idea of when it might be >> available, so I can schedule some time for testing. > > Hi Dave, > > Ok, I will try tomorrow or after mane first build > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From valentina at pixelrund.de Tue Jan 3 14:33:01 2006 From: valentina at pixelrund.de (Timo Rehmann) Date: Tue Jan 3 07:34:38 2006 Subject: differences between V4MD_1 and V4MD_2 ? In-Reply-To: References: Message-ID: <43BA7D0D.8040707@pixelrund.de> Ruslan Zasukhin wrote: >You did not get my letter ? > > nope...?! >Ops. Must be > > Valentina.init( 4 * 1024 * 1024,"","V4DW-XXXX-XXXX-XXXX") > > >Please tell me on which page you have found wrong description. > > > ok, thanks, i will try this. i had the former syntax from the "V4MD_Reference_2_en.pdf", where the first parameter is described as "InComponentsPath" (on page 14). best regards, timo rehmann From cbpelto at pcisys.net Thu Jan 5 05:24:03 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jan 5 06:25:27 2006 Subject: Another Won't Run the Second Time In-Reply-To: References: Message-ID: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> Morning [local] Ruslan, On Jan 5, 2006, at 2:27 AM, Ruslan Zasukhin wrote: > On 1/5/06 2:25 AM, "Chuck Pelto" wrote: > > More corrections I implemented a method inside of the App that is called immediately after the mDatabase.Open( f ) call and uses the mTblPerson = mDatabase.Table( "Person" ) call. This solves the problem of not being able to access the tables. However, I'm wondering if there is a way to do the CreateStructure activity inside of the VDatabase object. It seems to me that it would be more efficient to build a shell application with the database related activities inside of that object, instead of nested inside the App object itself. Regards, Chuck From sunshine at public.kherson.ua Thu Jan 5 14:39:06 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 5 06:40:30 2006 Subject: Another Won't Run the Second Time In-Reply-To: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> Message-ID: On 1/5/06 2:24 PM, "Chuck Pelto" wrote: >> More corrections > > I implemented a method inside of the App that is called immediately > after the mDatabase.Open( f ) call and uses the mTblPerson = > mDatabase.Table( "Person" ) call. > > This solves the problem of not being able to access the tables. > > However, I'm wondering if there is a way to do the CreateStructure > activity inside of the VDatabase object. It seems to me that it would > be more efficient to build a shell application with the database > related activities inside of that object, instead of nested inside > the App object itself. :-) and this bring you to idea of Class-style. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Thu Jan 5 11:54:58 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jan 5 10:56:20 2006 Subject: Another Won't Run the Second Time In-Reply-To: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> References: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> Message-ID: <81d4cdc1da167897c12469f78673c91d@desuetude.com> On Jan 5, 2006, at 7:24 AM, Chuck Pelto wrote: > Morning [local] Ruslan, > > On Jan 5, 2006, at 2:27 AM, Ruslan Zasukhin wrote: > >> On 1/5/06 2:25 AM, "Chuck Pelto" wrote: >> >> More corrections > > I implemented a method inside of the App that is called immediately > after the mDatabase.Open( f ) call and uses the mTblPerson = > mDatabase.Table( "Person" ) call. > > This solves the problem of not being able to access the tables. > > However, I'm wondering if there is a way to do the CreateStructure > activity inside of the VDatabase object. It seems to me that it would > be more efficient to build a shell application with the database > related activities inside of that object, instead of nested inside the > App object itself. > This is a point of the class approach. When you define the database structure in the database and table constructors, Valentina builds the database structure from the constructors when you call Create. -------------- Charles Yeomans From cbpelto at pcisys.net Thu Jan 5 10:48:08 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jan 5 11:49:33 2006 Subject: Another Won't Run the Second Time In-Reply-To: <81d4cdc1da167897c12469f78673c91d@desuetude.com> References: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> <81d4cdc1da167897c12469f78673c91d@desuetude.com> Message-ID: <59345DB9-C6D3-4930-8734-5E2F416CA6EC@pcisys.net> On Jan 5, 2006, at 9:54 AM, Charles Yeomans wrote: > This is a point of the class approach. When you define the > database structure in the database and table constructors, > Valentina builds the database structure from the constructors when > you call Create. So. Is it impossible to call Create() from inside the VDatabase object? Regards, Chuck From Ed at Kleban.com Thu Jan 5 11:59:54 2006 From: Ed at Kleban.com (Ed Kleban) Date: Thu Jan 5 12:01:20 2006 Subject: Another Won't Run the Second Time In-Reply-To: <59345DB9-C6D3-4930-8734-5E2F416CA6EC@pcisys.net> Message-ID: On 1/5/06 11:48 AM, "Chuck Pelto" wrote: > > On Jan 5, 2006, at 9:54 AM, Charles Yeomans wrote: > >> This is a point of the class approach. When you define the >> database structure in the database and table constructors, >> Valentina builds the database structure from the constructors when >> you call Create. > > So. Is it impossible to call Create() from inside the VDatabase object? > I don't know the answer to that question. Perhaps Ruslan or Charles will comment. But I think the point of their previous posts is this: There is a well-established way of doing this. Using the Classes style not only accommodates this but offers a whole range of other great benefits -- which is why so far I use it exclusively. Ruslan and Charles have also talked about some of the benefits of using the API style instead. There are indeed tradeoffs, but it's nice to have options. Your question is a valid one, but I'd like to add my two cents as well in recommending that you choose one of the standard, supported styles. Then you can simply use one of the examples as a template to get started, tinker from there, life should be easier, most obvious things should work, and you'll get more enthusiastic encouragement and support from the others who also favor those approaches and are using them with success. Including me :-) I'm sure with a little more experience, trial, and possibly error you'll settle into a style that's comfortable and works well for you. Good luck! --Ed From yeomans at desuetude.com Thu Jan 5 13:03:20 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jan 5 12:04:41 2006 Subject: Another Won't Run the Second Time In-Reply-To: <59345DB9-C6D3-4930-8734-5E2F416CA6EC@pcisys.net> References: <852A5326-DDA6-406F-90B9-0C32699E8C41@pcisys.net> <81d4cdc1da167897c12469f78673c91d@desuetude.com> <59345DB9-C6D3-4930-8734-5E2F416CA6EC@pcisys.net> Message-ID: <48e97bf6753ce0307714d96558312c47@desuetude.com> On Jan 5, 2006, at 12:48 PM, Chuck Pelto wrote: > > On Jan 5, 2006, at 9:54 AM, Charles Yeomans wrote: > >> This is a point of the class approach. When you define the database >> structure in the database and table constructors, Valentina builds >> the database structure from the constructors when you call Create. > > So. Is it impossible to call Create() from inside the VDatabase object? No, you can certainly do that. -------------- Charles Yeomans From sunshine at public.kherson.ua Thu Jan 5 20:26:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 5 12:28:05 2006 Subject: Another Won't Run the Second Time In-Reply-To: <48e97bf6753ce0307714d96558312c47@desuetude.com> Message-ID: On 1/5/06 8:03 PM, "Charles Yeomans" wrote: >>> This is a point of the class approach. When you define the database >>> structure in the database and table constructors, Valentina builds >>> the database structure from the constructors when you call Create. >> >> So. Is it impossible to call Create() from inside the VDatabase object? > > No, you can certainly do that. I feel big need to write article about Styles in the WIKI :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jan 6 02:45:04 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 5 18:46:31 2006 Subject: Article about SQL, API and Class styles of coding Message-ID: Hi All, http://paradigma.ukrcom.kherson.ua/dokuwiki/doku.php?id=paradigma:public:doc umentation:en:articles:choosing_a_style_of_coding At last of end I have spent few hours to write this draft article where are described and compared styles of coding that Valentina supports. It is not completed yet. I still have many points to mention. But I hope, right now it can help better understand styles. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Thu Jan 5 23:05:07 2006 From: Ed at Kleban.com (Ed Kleban) Date: Thu Jan 5 23:06:34 2006 Subject: Article about SQL, API and Class styles of coding In-Reply-To: Message-ID: On 1/5/06 6:45 PM, "Ruslan Zasukhin" wrote: > Hi All, > > http://paradigma.ukrcom.kherson.ua/dokuwiki/doku.php?id=paradigma:public:doc > umentation:en:articles:choosing_a_style_of_coding > > At last of end I have spent few hours to write this draft article where are > described and compared styles of coding that Valentina supports. > > It is not completed yet. I still have many points to mention. > But I hope, right now it can help better understand styles. Hey Ruslan, great stuff. As we once discussed, I made a quick pass over the page to improve the English grammar. I was unable to validate the code and really think about all of the content being conveyed, as I can't really do both at the same time. But this is great stuff, and if anything I think you've even understated many of the potential benefits. But this is a super first draft! I originally put any questions I had in {braces}, but I think by the end I figured out most everything you were trying to say. You should probably give it at least a quick once over however to make sure I didn't stick my foot in your mouth anywhere. Unfortunately DocuWiki doesn't have a built-in spelling checker, and I see now that there are some words I missed, particularly in titles. I'll try and fix the more glaring ones. Thanks! --Ed From listmail1 at dsl.pipex.com Fri Jan 6 08:35:52 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Fri Jan 6 02:37:20 2006 Subject: Article about SQL, API and Class styles of coding In-Reply-To: Message-ID: Hi Ruslan, Good article! I now know that I am using "Class Style (Static Structure)" :-) I hadn't realised that something like res = fldFirstName.FindLike("Peter") could be used in place of SELECT * FROM people where Name = "Peter", to avoid SQL altogether. I might look in to using this. Thanks! Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Fri, 06 Jan 2006 02:45:04 +0200 > To: "valentina@lists.macserve.net" , > "valentina-beta@lists.macserve.net" , Chuck > Pelto > Conversation: Article about SQL, API and Class styles of coding > Subject: Article about SQL, API and Class styles of coding > > Hi All, > > http://paradigma.ukrcom.kherson.ua/dokuwiki/doku.php?id=paradigma:public:doc > umentation:en:articles:choosing_a_style_of_coding > > > At last of end I have spent few hours to write this draft article where are > described and compared styles of coding that Valentina supports. > > It is not completed yet. I still have many points to mention. > But I hope, right now it can help better understand styles. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Jan 6 11:56:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 6 03:57:51 2006 Subject: Drop Table faster of DeleteAllRecords ? In-Reply-To: Message-ID: On 1/6/06 11:24 AM, "Dave Addey" wrote: > ...to drop the tables (using the code from 1 above) takes 0.005 sec for > PlaylistTracks, 0.22 sec for Tracks, and 0.13 sec for Playlists. > ...to DeleteAllRecords (using the code from 4 above) takes 0.04 sec for > PlaylistTracks, 1.61 sec for Tracks, and 0.06 sec for Playlists. > > So, dropping is actually faster! But maybe this is because of the bug? DropTable is faster, because when you delete record by record, engine must check constraints and links to delete may be linked records. DropTable simply delete table, and I think do fast operation to zero links. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Jan 6 11:35:05 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jan 6 10:36:31 2006 Subject: server record-locking problem Message-ID: I'm seeing a small problem with record-locking. From time to time, my client application must be force-quit while a cursor with a lock is open. The result is that the record remains locked on the server, and the only way I have found to unlock it is to reboot the server machine. Is there a less drastic way to tell the server to release a record lock in such a situation? -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Jan 6 21:20:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 6 13:22:28 2006 Subject: server record-locking problem In-Reply-To: Message-ID: On 1/6/06 6:35 PM, "Charles Yeomans" wrote: Hi Charles, > I'm seeing a small problem with record-locking. From time to time, my > client application must be force-quit while a cursor with a lock is > open. The result is that the record remains locked on the server, and > the only way I have found to unlock it is to reboot the server machine. > Is there a less drastic way to tell the server to release a record > lock in such a situation? Hmm. In fact server must self catch "unexpected client disconnect" and destroy all info related to that client. So do you see such message in the Server terminal? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Jan 6 16:15:53 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jan 6 15:17:18 2006 Subject: server record-locking problem In-Reply-To: References: Message-ID: On Jan 6, 2006, at 2:20 PM, Ruslan Zasukhin wrote: > On 1/6/06 6:35 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> I'm seeing a small problem with record-locking. From time to time, my >> client application must be force-quit while a cursor with a lock is >> open. The result is that the record remains locked on the server, and >> the only way I have found to unlock it is to reboot the server >> machine. > >> Is there a less drastic way to tell the server to release a record >> lock in such a situation? > > Hmm. > > In fact server must self catch "unexpected client disconnect" and > destroy > all info related to that client. > > So do you see such message in the Server terminal? Since I rebooted, I don't have the message that was shown, but I recall that the log usually shows such a message. -------------- Charles Yeomans From jda at his.com Fri Jan 6 16:34:33 2006 From: jda at his.com (jda) Date: Fri Jan 6 15:35:55 2006 Subject: Duplicating a record In-Reply-To: References: Message-ID: Hi Ruslan, Is there a quick way to duplicate a record? Or do I have to make a new blank record and loop through the original and make a copy of all the fields? Thanks, Jon From sunshine at public.kherson.ua Fri Jan 6 23:55:17 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 6 15:56:43 2006 Subject: server record-locking problem In-Reply-To: Message-ID: On 1/6/06 11:15 PM, "Charles Yeomans" wrote: >> Hmm. >> >> In fact server must self catch "unexpected client disconnect" and >> destroy >> all info related to that client. >> >> So do you see such message in the Server terminal? > > Since I rebooted, I don't have the message that was shown, but I recall > that the log usually shows such a message. So do you have steps for us to reproduce problem ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jan 6 23:56:34 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 6 15:57:59 2006 Subject: Duplicating a record In-Reply-To: Message-ID: On 1/6/06 11:34 PM, "jda" wrote: Hi Jon, > Hi Ruslan, > > Is there a quick way to duplicate a record? We think it is good idea add VTable.DuplicateRecord(). You can add it as feature request. It can go into 2.2 > Or do I have to make a > new blank record and loop through the original and make a copy of all > the fields? For now yes. Than more that you use BLOBs -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jan 6 17:07:46 2006 From: jda at his.com (jda) Date: Fri Jan 6 16:09:08 2006 Subject: Duplicating a record In-Reply-To: References: Message-ID: >Hi Jon, > >> Hi Ruslan, >> >> Is there a quick way to duplicate a record? > >We think it is good idea add VTable.DuplicateRecord(). > >You can add it as feature request. >It can go into 2.2 Done. Some thought will have to go into how to handle unique fields, too (maybe not duplicate such fields, or perhaps better to throw an exception we can trap and fix (make that field unique)). Jon From gogaworm at tut.by Mon Jan 9 12:06:39 2006 From: gogaworm at tut.by (gogaworm@tut.by) Date: Mon Jan 9 04:09:31 2006 Subject: Wrong Date storing Message-ID: <1131436540.20060109120639@mamt.open.by> Hello! I came across the following problem. I store the java.sql.Date into VJDK.TypeDate field, as: field.setDate( myDate ); It works without any exceptions. But when I get the Date later, using _value = field.getDate(); I get the wrong value, for example I pass 2006-01-09 and get 2006-01-01. Can you help me, please. Ilona Karpova From sunshine at public.kherson.ua Mon Jan 9 12:43:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 9 04:44:45 2006 Subject: Wrong Date storing In-Reply-To: <1131436540.20060109120639@mamt.open.by> Message-ID: On 1/9/06 12:06 PM, "gogaworm@tut.by" wrote: Hi Ilona, > Hello! I came across the following problem. I store the > java.sql.Date > into VJDK.TypeDate field, as: > field.setDate( myDate ); > > It works without any exceptions. But when I get the Date later, > using > _value = field.getDate(); > > I get the wrong value, for example I pass 2006-01-09 and get > 2006-01-01. You use VJDK 1.x right ? Usually such kind of problem can go because you have db.DateFormat different from format of date values you send. Check this point. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Mon Jan 9 12:04:23 2006 From: fb at memedia.de (fb@memedia.de) Date: Mon Jan 9 05:05:53 2006 Subject: loadDump error Message-ID: <2552401.95571136804663160.JavaMail.servlet@kundenserver> I try to do a dump/loadDump with a damaged database. I can do the dump (XML) but when I try to load it I get error 1011 (V4MD 1.1 server/client). I have specified all paths and new DB does not exist. What am I doing wrong? best regards Florian PS: 3rd try to get through From sunshine at public.kherson.ua Mon Jan 9 13:09:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 9 05:11:35 2006 Subject: loadDump error In-Reply-To: <2552401.95571136804663160.JavaMail.servlet@kundenserver> Message-ID: On 1/9/06 1:04 PM, "fb@memedia.de" wrote: > I try to do a dump/loadDump with a damaged database. > > I can do the dump (XML) but when I try to load it I get error 1011 (V4MD 1.1 > server/client). I have specified all paths and new DB does not exist. > > What am I doing wrong? Can you try VAPP to load it ? VAPP is able show more info if it exists -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Mon Jan 9 12:15:01 2006 From: fb at memedia.de (fb@memedia.de) Date: Mon Jan 9 05:16:31 2006 Subject: AW: Re: loadDump error Message-ID: <32985313.96821136805296391.JavaMail.servlet@kundenserver> > >Can you try VAPP to load it ? > >VAPP is able show more info if it exists > No, I can't. I am on a business trip in Belarus with my laptop and few opportunities. Can I send you the (damaged) DB? About 1MB best regards, Florian From lfredricks at proactive-intl.com Mon Jan 9 11:56:22 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon Jan 9 13:58:12 2006 Subject: MacWorld Message-ID: <20060109195634.55AC47F06B@spatula.dreamhost.com> Hi all, Anyone on the list going to MacWorld? Im off tommorrow and will be there through Thursday night. If you are going it might be a good chance to meet, if you are Macinclined. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From realsoftlists at gmail.com Mon Jan 9 14:59:57 2006 From: realsoftlists at gmail.com (Mathieu Langlois) Date: Mon Jan 9 14:01:28 2006 Subject: MacWorld In-Reply-To: <20060109195634.55AC47F06B@spatula.dreamhost.com> References: <20060109195634.55AC47F06B@spatula.dreamhost.com> Message-ID: <5d7ca37e0601091159s73b35be2m248c594dadd4235b@mail.gmail.com> I wish... :-( Math On 1/9/06, Lynn Fredricks wrote: > > Hi all, > > Anyone on the list going to MacWorld? Im off tommorrow and will be there > through Thursday night. If you are going it might be a good chance to > meet, > if you are Macinclined. > From sunshine at public.kherson.ua Tue Jan 10 11:57:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 10 03:59:06 2006 Subject: [ANN] Valentina Studio fc3 uploaded Message-ID: Hi All, Please test fc3 of Vstudio. - 0001157: [Import/Export] Export wizards shows wrong bitmap (Andrey Mezheninov) - 0001195: [Table Browser] Data Browser Window Title (Andrey Mezheninov) - 0001231: [Property Inspector] Now show Formula of Method fields. (Igor Nikitin) - 0001227: [Dialogs] Cannot create field with some types ( unsigned short for example ) (Igor Nikitin) - 0001226: [Application Menu] Refresh problem of main window after maximize (Igor Nikitin) - 0001219: [VServer connection] Crash when close window "Server monitor" (Igor Nikitin) - 0001208: [Structure Browser] [NEW] Double click on table will open Data Browser. (Andrey Mezheninov) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ivan_smahin at valentina-db.com Tue Jan 10 17:03:50 2006 From: ivan_smahin at valentina-db.com (Ivan Smahin) Date: Tue Jan 10 09:05:23 2006 Subject: server record-locking problem In-Reply-To: References: Message-ID: <1019107472.20060110170350@valentina-db.com> Hello Charles, Friday, January 6, 2006, 11:15:53 PM, you wrote: > On Jan 6, 2006, at 2:20 PM, Ruslan Zasukhin wrote: >> On 1/6/06 6:35 PM, "Charles Yeomans" wrote: >> >> Hi Charles, >> >>> I'm seeing a small problem with record-locking. From time to time, my >>> client application must be force-quit while a cursor with a lock is >>> open. The result is that the record remains locked on the server, and >>> the only way I have found to unlock it is to reboot the server >>> machine. >> >>> Is there a less drastic way to tell the server to release a record >>> lock in such a situation? >> >> Hmm. >> >> In fact server must self catch "unexpected client disconnect" and >> destroy >> all info related to that client. >> >> So do you see such message in the Server terminal? > Since I rebooted, I don't have the message that was shown, but I recall > that the log usually shows such a message. I have double checked this point - server frees all "suddenly disconnected" client's resources self. Could you give me some way to reproduce the problem? And please - check the message mentioned by Ruslan in the server log. It should be there in a couple with another message - "(3776) WARNING: database '...': cursor (...) was not deleted - deleting..." Thank you. -- Best regards, Ivan mailto:ivan_smahin@valentina-db.com From sunshine at public.kherson.ua Tue Jan 10 22:02:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 10 14:04:04 2006 Subject: Windows deployment of v2 Message-ID: Hi All, Hi Trevor, Trevor you have ask about ability to deploy app on windows as MyApplicationFolder Myapp.exe VComponents We have got one idea. It is possible to force windows to load dlls from that VComponents folder simply by adding PATH to that folder. If this looks okay, then only we need yet, really specify for API, Function which tell engine where to search for icu dat file and xml error files. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue Jan 10 18:22:36 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jan 10 17:24:15 2006 Subject: server record-locking problem In-Reply-To: <1019107472.20060110170350@valentina-db.com> References: <1019107472.20060110170350@valentina-db.com> Message-ID: On Jan 10, 2006, at 10:03 AM, Ivan Smahin wrote: > Hello Charles, > > Friday, January 6, 2006, 11:15:53 PM, you wrote: > >> On Jan 6, 2006, at 2:20 PM, Ruslan Zasukhin wrote: > >>> On 1/6/06 6:35 PM, "Charles Yeomans" wrote: >>> >>> Hi Charles, >>> >>>> I'm seeing a small problem with record-locking. From time to time, >>>> my >>>> client application must be force-quit while a cursor with a lock is >>>> open. The result is that the record remains locked on the server, >>>> and >>>> the only way I have found to unlock it is to reboot the server >>>> machine. >>> >>>> Is there a less drastic way to tell the server to release a record >>>> lock in such a situation? >>> >>> Hmm. >>> >>> In fact server must self catch "unexpected client disconnect" and >>> destroy >>> all info related to that client. >>> >>> So do you see such message in the Server terminal? > >> Since I rebooted, I don't have the message that was shown, but I >> recall >> that the log usually shows such a message. > > I have double checked this point - server frees all "suddenly > disconnected" client's resources self. Could you give me some way to > reproduce the problem? > > And please - check the message mentioned by Ruslan in the server log. > It should be there in a couple with another message - > "(3776) WARNING: database '...': cursor (...) was not deleted - > deleting..." > > Thank you. I will attempt to do so, but it may be a day or two before I have time to play with it. -------------- Charles Yeomans From jda at his.com Tue Jan 10 18:34:00 2006 From: jda at his.com (jda) Date: Tue Jan 10 17:35:33 2006 Subject: Bug when file names have periods In-Reply-To: References: <1019107472.20060110170350@valentina-db.com> Message-ID: Hi Ruslan, The bug I reported earlier today has a second part...if a file name (Mac OS X) has a period in it, Valentina won't open it. For example, if the name is myfile.it is my file Valentina throws an exception: File "myfile" does not exist. I can reproduce this with viSQL, so it's not my code. The file I sent you earlier today should show this, too. Jon From sunshine at public.kherson.ua Wed Jan 11 10:08:49 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 02:10:32 2006 Subject: Bug when file names have periods In-Reply-To: Message-ID: On 1/11/06 1:34 AM, "jda" wrote: > Hi Ruslan, > > The bug I reported earlier today has a second part...if a file name > (Mac OS X) has a period in it, Valentina won't open it. For example, > if the name is > > myfile.it is my file > > Valentina throws an exception: > > File "myfile" does not exist. > > I can reproduce this with viSQL, so it's not my code. > > The file I sent you earlier today should show this, too. Kirill have fix this already -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From valentina at pixelrund.de Wed Jan 11 13:03:19 2006 From: valentina at pixelrund.de (Timo Rehmann) Date: Wed Jan 11 06:05:09 2006 Subject: V2MD - init/open database In-Reply-To: References: Message-ID: <43C4F407.3060703@pixelrund.de> hi folks, sadly it is not an ease to work with the V2MD-plugin (due to my novice-state?!): the init-method does not work as you (ruszlan) described during our last correspondence, i have to use valentina 1 syntax to init the database: ValentinaInit() instead of Valentina.init() // this will lead to "Script-Errorr, Operator expected" ok, database is initialized (if the debug-information is correct) but then i have problems using the open-property: dbref = new(Xtra "VDatabase",#kLocal) odb = dbref.open(the moviePath & dbname) dbs = dbref.isOpen --- >>> database will not open, dbs returns only NULL can anyone help or explain the mentioned behaviour? best regards, timo rehmann From jda at his.com Wed Jan 11 07:15:20 2006 From: jda at his.com (jda) Date: Wed Jan 11 06:16:54 2006 Subject: Bug when file names have periods In-Reply-To: References: Message-ID: > > > >> I can reproduce this with viSQL, so it's not my code. >> > > The file I sent you earlier today should show this, too. > >Kirill have fix this already > Great. May we have the fix, please? Thanks, Jon From sunshine at public.kherson.ua Wed Jan 11 14:40:37 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 06:42:20 2006 Subject: Bug when file names have periods In-Reply-To: Message-ID: On 1/11/06 2:15 PM, "jda" wrote: >>> I can reproduce this with viSQL, so it's not my code. >>> >>> The file I sent you earlier today should show this, too. >> >> Kirill have fix this already >> > > Great. May we have the fix, please? Sorry no, I do big refactoring now -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jan 11 14:46:27 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 06:48:07 2006 Subject: V2MD - init/open database In-Reply-To: <43C4F407.3060703@pixelrund.de> Message-ID: On 1/11/06 2:03 PM, "Timo Rehmann" wrote: > hi folks, > sadly it is not an ease to work with the V2MD-plugin (due to my > novice-state?!): > > the init-method does not work as you (ruszlan) described during our last > correspondence, > i have to use valentina 1 syntax to init the database: > > ValentinaInit() > > instead of > > Valentina.init() // this will lead to "Script-Errorr, Operator expected" I think you have miss that in V2 you MUST create object Valentina Valentina = new (Xtra("Valentina")) Please look into V4MD/Examples/Common/Init_Shutdown Here go to ValentinaGlobals to see such code: ------------------------------------------ on InitializeValentinaReferences () -- Whether we will use examples in client-server mode gClient = false Valentina = new (Xtra("Valentina")) Button Init of this example have script. Note that "Valentina" this is name of global variable here. Actually it can be any other name, e.g. "Vengine" ------------------------------------------ global Valentina on mouseUp me -- First of all we must init Valentina engine Valentina.Init( 8 * 1024 * 1024, "", "" ) if not CheckValError() then -- The next line helps you debug code using "Valentina for Director" Valentina.debugLevel = #kLogFunctions -- Enable logging to the text file. Valentina.logToFile(true, false) put Valentina.cacheSize into field "CacheSize" put Valentina.version into field "Version" put Valentina.debugLevel into field "DebugLevel" end if end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jan 11 07:48:25 2006 From: jda at his.com (jda) Date: Wed Jan 11 06:50:00 2006 Subject: Bug when file names have periods In-Reply-To: References: Message-ID: > > > >> Great. May we have the fix, please? > >Sorry no, I do big refactoring now > How long will that take, do you think? This is not an obscure bug, this means that many people are going to get errors trying to open files they have used for years, and then inundate me with tech support questions (it's happening already). If we can't have the fix soon, do you know in which fc version it broke? And can we get the release just prior to that? Thanks, Jon From sunshine at public.kherson.ua Wed Jan 11 15:00:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 07:02:22 2006 Subject: Bug when file names have periods In-Reply-To: Message-ID: On 1/11/06 2:48 PM, "jda" wrote: >>> Great. May we have the fix, please? >> >> Sorry no, I do big refactoring now >> > > How long will that take, do you think? I hope 1-2 days yet > This is not an obscure bug, this means that many people are going to > get errors trying to open files they have used for years, and then > inundate me with tech support questions (it's happening already). If > we can't have the fix soon, do you know in which fc version it broke? > And can we get the release just prior to that? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jan 11 15:02:46 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 07:04:28 2006 Subject: Bug when file names have periods In-Reply-To: Message-ID: On 1/11/06 2:48 PM, "jda" wrote: > This is not an obscure bug, this means that many people are going to > get errors trying to open files they have used for years, and then > inundate me with tech support questions (it's happening already). If > we can't have the fix soon, do you know in which fc version it broke? > And can we get the release just prior to that? I do not understand, you have made release using fc3 ? If add .vdb extension, it fix problem ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jan 11 12:44:18 2006 From: jda at his.com (jda) Date: Wed Jan 11 11:45:53 2006 Subject: Bug when file names have periods In-Reply-To: References: Message-ID: > >I do not understand, you have made release using fc3 ? Yes. > > >If add .vdb extension, it fix problem ? > I don't know -- my app has it's own preferred extension (.bdb). But most users use no extension at all (Mac-only, you know). But some have periods in the name for other reasons, e.g. My Database 1.2 or something like that. Jon From sunshine at public.kherson.ua Thu Jan 12 00:14:11 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 11 16:15:53 2006 Subject: Bug when file names have periods In-Reply-To: Message-ID: On 1/11/06 7:44 PM, "jda" wrote: >> If add .vdb extension, it fix problem ? >> > > I don't know -- my app has it's own preferred extension (.bdb). But > most users use no extension at all (Mac-only, you know). But some > have periods in the name for other reasons, e.g. > > My Database 1.2 > > or something like that. Then I think should work My Database 1.2.bdb We have almost done changes in code, now fixing last failed tests. So I have hope tomorrow make new fc build -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jan 11 17:47:48 2006 From: jda at his.com (jda) Date: Wed Jan 11 16:49:25 2006 Subject: Bug when file names have periods In-Reply-To: References: Message-ID: > > >Then I think should work > > My Database 1.2.bdb No, that doesn't work. > > >We have almost done changes in code, now fixing last failed tests. >So I have hope tomorrow make new fc build > Good. Thank you. Jon From doppler at derlichtblick.at Thu Jan 12 19:05:09 2006 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jan 12 12:06:49 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: References: Message-ID: <43C69A55.7000609@derlichtblick.at> works everyone with the studio on mac os x ? for me it is not possible, becouse this and earlier versions don't run well. you wan't to change a value of a record in the databroser ? crash you want to chance a fieldtype ? crash you want to close the databroserwindow with the systembutton for close-window? crash and so on... hi ruslan, is it possible to chance my valentina studio licence for mac to a licence for pc ? maybe its better on pc. my todays work is destroid by the studio. i cannot open the db after a crash. f... also director mx2004 with valentina, its a little bit better but their also crashes by the valentina xtra every some minutes. i think you don't work and tested on mac... gr thomas Ruslan Zasukhin wrote: > Hi All, > > Please test fc3 of Vstudio. > > - 0001157: [Import/Export] Export wizards shows wrong bitmap (Andrey > Mezheninov) > > - 0001195: [Table Browser] Data Browser Window Title (Andrey Mezheninov) > > - 0001231: [Property Inspector] Now show Formula of Method fields. (Igor > Nikitin) > > - 0001227: [Dialogs] Cannot create field with some types ( unsigned short > for example ) (Igor Nikitin) > > - 0001226: [Application Menu] Refresh problem of main window after maximize > (Igor Nikitin) > > - 0001219: [VServer connection] Crash when close window "Server monitor" > (Igor Nikitin) > > - 0001208: [Structure Browser] [NEW] Double click on table will open Data > Browser. (Andrey Mezheninov) > > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From maxprog at mac.com Thu Jan 12 19:10:10 2006 From: maxprog at mac.com (Stan Busk) Date: Thu Jan 12 12:11:52 2006 Subject: Simple doubt about ORDER BY Message-ID: <91C7A777-85F2-4CCB-BD32-21EE0359A6EA@mac.com> Hi, Am I right to think Valentina returns entries sorted by RecID when the sorted column values are identical? It looks like it behave that way. Just to make sure. Stan From sunshine at public.kherson.ua Thu Jan 12 20:12:17 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 12 12:14:06 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: <43C69A55.7000609@derlichtblick.at> Message-ID: On 1/12/06 8:05 PM, "thomas doppler" wrote: Hi Thomas, > works everyone with the studio on mac os x ? > for me it is not possible, becouse this and earlier versions don't run well. > > you wan't to change a value of a record in the databroser ? crash > you want to chance a fieldtype ? crash > you want to close the databroserwindow with the systembutton for > close-window? crash > and so on... Strange, I work on OS X each day with it. Try to find just in case Home/Library/ApplicationSupport/Vstudio/prefsDB And trash it. Also it is known issue that it crashes if you use TypeIt4Me utility. I do use it, and I do switch to US keyboard when use Vstudio. > hi ruslan, is it possible to chance my valentina studio licence for mac > to a licence for pc ? maybe its better on pc. Please at first try it on PC, ok ? > my todays work is destroid by the studio. i cannot open the db after a > crash. f... > > also director mx2004 with valentina, its a little bit better but their > also crashes by the valentina xtra every some minutes. > i think you don't work and tested on mac... We do. And 50+% Valentina developers -- are MAC users. I personally work 95% of my time on DUAL G5 MAC. Hmm, if you have such problems, then you can contact me in ICQ, And in live mode try to teach me how you crash. FYI, Vstudio on MAC develop Jochen, on Windows Jochen, Igor, Alex, ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jan 12 20:13:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 12 12:14:44 2006 Subject: Simple doubt about ORDER BY In-Reply-To: <91C7A777-85F2-4CCB-BD32-21EE0359A6EA@mac.com> Message-ID: On 1/12/06 8:10 PM, "Stan Busk" wrote: Hi Stan, > Am I right to think Valentina returns entries sorted by RecID when > the sorted column values are identical? It looks like it behave that > way. Just to make sure. Probably, although this is NOT a target. So do not depend on this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jan 12 20:18:12 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 12 12:19:56 2006 Subject: Simple doubt about ORDER BY In-Reply-To: Message-ID: On 1/12/06 8:13 PM, "Ruslan Zasukhin" wrote: > On 1/12/06 8:10 PM, "Stan Busk" wrote: > > Hi Stan, > >> Am I right to think Valentina returns entries sorted by RecID when >> the sorted column values are identical? It looks like it behave that >> way. Just to make sure. > > Probably, although this is NOT a target. > So do not depend on this. Stan, I am wrong. Valentina really do all its best to get records sorted by RecID. Actually this is natural order for many algorithms, so no additional overhead. The same is true for joins. This is because always it is better iterate forward then backward. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Thu Jan 12 13:01:46 2006 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Jan 12 14:03:33 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: <43C69A55.7000609@derlichtblick.at> References: <43C69A55.7000609@derlichtblick.at> Message-ID: <38B8EC5B-8D54-4D3D-9EA4-FFBE758A398C@goodeast.com> On Jan 12, 2006, at 11:05 AM, thomas doppler wrote: > works everyone with the studio on mac os x ? > for me it is not possible, becouse this and earlier versions don't > run well. fc3 crashes one of my databases just trying to open it. But this is a new problem and has been reported as resolved: So I wait for the next version. Otherwise VStudio (before version fc3) has been working pretty well for me. Though I only use it to browse database structures and run SQLs. The main problem I have is that it doesn't always get updated with the latest version of the Valentina 2.1 engine. I am in development and I can afford to be on the bleeding edge :) Best regards, Frank Schima From sunshine at public.kherson.ua Thu Jan 12 22:08:04 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 12 14:09:54 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: <38B8EC5B-8D54-4D3D-9EA4-FFBE758A398C@goodeast.com> Message-ID: On 1/12/06 10:01 PM, "Frank Schima" wrote: > The main problem I have is that it doesn't always get updated with > the latest version of the Valentina 2.1 engine. I am in development > and I can afford to be on the bleeding edge :) Press Jochen more often :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Thu Jan 12 21:20:31 2006 From: maxprog at mac.com (Stan Busk) Date: Thu Jan 12 14:22:11 2006 Subject: Simple doubt about ORDER BY In-Reply-To: References: Message-ID: <6B795DDF-0C61-45DE-9BBE-D099BA5BA81E@mac.com> Really cool! I think it is far the best behavior. ~/Stan > On 1/12/06 8:13 PM, "Ruslan Zasukhin" > wrote: > >> On 1/12/06 8:10 PM, "Stan Busk" wrote: >> >> Hi Stan, >> >>> Am I right to think Valentina returns entries sorted by RecID when >>> the sorted column values are identical? It looks like it behave that >>> way. Just to make sure. >> >> Probably, although this is NOT a target. >> So do not depend on this. > > Stan, I am wrong. > > Valentina really do all its best to get records sorted by RecID. > Actually this is natural order for many algorithms, so no additional > overhead. > > The same is true for joins. > > This is because always it is better iterate forward then backward. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From macsforever2000 at goodeast.com Thu Jan 12 13:48:54 2006 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Jan 12 14:50:47 2006 Subject: Transactions in Valentina Message-ID: <777F8303-497B-442D-9FAD-E0B8E5AFEFBA@goodeast.com> Hi everyone, I have recently added a feature request for Transactions: I am trying to determine how much interest there is in this feature to try to get it pushed up in priority. For me, it is essential functionality, particularly in VServer to replace MySQL, PostgreSQL or whatever. Mantis does not have "voting" but you can attach yourself to the report by pressing "Monitor Issue". Best regards, Frank Schima From sunshine at public.kherson.ua Fri Jan 13 19:55:20 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 13 11:56:59 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: <43C69A55.7000609@derlichtblick.at> Message-ID: On 1/12/06 8:05 PM, "thomas doppler" wrote: Hi Thomas, Hi Jochen, Jochen, it needs check all issues that Thomas see. Thomas, please give us as many info as possible. We need steps to reproduce your crashes. What about TypeIt4Me ? >> Thomas >> works everyone with the studio on mac os x ? >> for me it is not possible, becouse this and earlier versions don't run well. >> >> you wan't to change a value of a record in the databroser ? crash >> you want to chance a fieldtype ? crash >> you want to close the databroserwindow with the systembutton for >> close-window? crash >> and so on... >> >> hi ruslan, is it possible to chance my valentina studio licence for mac >> to a licence for pc ? maybe its better on pc. >> my todays work is destroid by the studio. i cannot open the db after a >> crash. f... >> >> also director mx2004 with valentina, its a little bit better but their >> also crashes by the valentina xtra every some minutes. >> i think you don't work and tested on mac... > Ruslan > Strange, I work on OS X each day with it. > > Try to find just in case Home/Library/ApplicationSupport/Vstudio/prefsDB > And trash it. > > Also it is known issue that it crashes if you use TypeIt4Me utility. > I do use it, and I do switch to US keyboard when use Vstudio. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Fri Jan 13 19:00:24 2006 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Jan 13 12:02:10 2006 Subject: [ANN] Valentina Studio fc3 uploaded In-Reply-To: References: Message-ID: <10C1B4FF-047A-44EE-9F48-B71490D08173@valentina-db.de> Hi all, i think this must be issue with some third-party tool. All described things do work here on at least 3 machines. (10.4.3 + 10.4.4) -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de Am 13.01.2006 um 18:55 schrieb Ruslan Zasukhin: > On 1/12/06 8:05 PM, "thomas doppler" wrote: > > Hi Thomas, > Hi Jochen, > > Jochen, it needs check all issues that Thomas see. > > Thomas, please give us as many info as possible. > We need steps to reproduce your crashes. > > What about TypeIt4Me ? > > >>> Thomas >>> works everyone with the studio on mac os x ? >>> for me it is not possible, becouse this and earlier versions >>> don't run well. >>> >>> you wan't to change a value of a record in the databroser ? crash >>> you want to chance a fieldtype ? crash >>> you want to close the databroserwindow with the systembutton for >>> close-window? crash >>> and so on... >>> >>> hi ruslan, is it possible to chance my valentina studio licence >>> for mac >>> to a licence for pc ? maybe its better on pc. >>> my todays work is destroid by the studio. i cannot open the db >>> after a >>> crash. f... >>> >>> also director mx2004 with valentina, its a little bit better but >>> their >>> also crashes by the valentina xtra every some minutes. >>> i think you don't work and tested on mac... > >> Ruslan >> Strange, I work on OS X each day with it. >> >> Try to find just in case Home/Library/ApplicationSupport/Vstudio/ >> prefsDB >> And trash it. >> >> Also it is known issue that it crashes if you use TypeIt4Me utility. >> I do use it, and I do switch to US keyboard when use Vstudio. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > From ernestogiannotta at tiscalinet.it Fri Jan 13 23:17:28 2006 From: ernestogiannotta at tiscalinet.it (Erne) Date: Fri Jan 13 16:19:12 2006 Subject: [V4RB 0000914]: GetDate function that takes integers as parameters In-Reply-To: <38612eb37e1d187f612fff1f6d2ff2ba@paradigma.ukrcom.kheron.ua> References: <38612eb37e1d187f612fff1f6d2ff2ba@paradigma.ukrcom.kheron.ua> Message-ID: <4C25C12C-8B3F-4D73-AB07-91E84F97C905@tiscalinet.it> Hello Ruslan, On 13-gen-06, at 21:07, vbt@paradigma.ukrcom.kherson.ua wrote: > Summary: GetDate function that takes integers as > parameters > Description: > A GetDate function that takes integers as parameters thus being > independet > from the format set with DateFormat, DateSep and TimeSep. > It could be always in the YMD HMS order so that we could declare: > DateMethod.MethodText = GetDate(year, month, day, [hour, minute, > second]) > the 3 time parameters being optional > ====================================================================== > > ---------------------------------------------------------------------- > Ruslan Zasukhin - 01-13-06 22:07 > ---------------------------------------------------------------------- > I have not catch. This is in V4RB API ? or in SQL ? > in API we have functions with numbers ... right now if I want to use a V4RB SQL date function like DateDiff I have to build a string representing a date in the current db.dateformat e.g. x = datediff( ?1997-10-23 15:16:10?, ?2002-01-15 14:10:00?, ?day?) but if db.DateFormat is not EVDateFormat.kYMD the above will fail what I'm asking for is a GetDate(1997, 10, 23, [15, 16, 10]) that will return a string in the current db.DateFormat just as CurDate does e.g. let's have db.DateFormat = EVDateFormat.kDMY GetDate(1997, 10, 23, [15, 16, 10]) will return "23-10-1997" the same will apply to DateSep and TimeSep so we'll have a string date correctly formatted to use it with the DB Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From j.schulman at onlinehome.de Sat Jan 14 16:12:43 2006 From: j.schulman at onlinehome.de (Jurriaan Schulman) Date: Sat Jan 14 09:14:27 2006 Subject: Valentina for Cocoa? Message-ID: A few months ago. Valentina for Cocoa was mentioned. However, I can't find on the Paradigma homepage. Is it still beta and wenn will it be released? Cheers, Jurriaan From sunshine at public.kherson.ua Sat Jan 14 17:18:38 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 14 09:20:21 2006 Subject: Valentina for Cocoa? In-Reply-To: Message-ID: On 1/14/06 5:12 PM, "Jurriaan Schulman" wrote: Hi Jurriaan, > A few months ago. Valentina for Cocoa was mentioned. However, I can't find > on the Paradigma homepage. Is it still beta and wenn will it be released? * yes it is still beta. next week we will add it to WEB pages. I think Mon - Tue * its API is complete mainly thanks to efforts of Justin. * to get release we need yet produce docs and 50-60 examples. I think this is realistic to get at middle-end of Febrary -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.schulman at onlinehome.de Sat Jan 14 16:51:28 2006 From: j.schulman at onlinehome.de (Jurriaan Schulman) Date: Sat Jan 14 09:53:11 2006 Subject: Valentina for Cocoa? In-Reply-To: Message-ID: Hi Ruslan, That is good news. I'm looking forward to this release so I can switch from Realbasic to Cocoa development. Regards, Jurriaan Am 14.01.2006 16:18 Uhr schrieb Ruslan Zasukhin > On 1/14/06 5:12 PM, "Jurriaan Schulman" wrote: > > Hi Jurriaan, > >> A few months ago. Valentina for Cocoa was mentioned. However, I can't find >> on the Paradigma homepage. Is it still beta and wenn will it be released? > > * yes it is still beta. > > next week we will add it to WEB pages. > I think Mon - Tue > > * its API is complete mainly thanks to efforts of Justin. > > * to get release we need yet produce docs and 50-60 examples. > I think this is realistic to get at middle-end of Febrary > From sunshine at public.kherson.ua Sat Jan 14 17:59:34 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 14 10:01:16 2006 Subject: Valentina for Cocoa? In-Reply-To: Message-ID: On 1/14/06 5:51 PM, "Jurriaan Schulman" wrote: Hi Jurriaan, > Hi Ruslan, > > That is good news. I'm looking forward to this release so I can switch from > Realbasic to Cocoa development. Excellent! so will you wish to test beta of V4CC in 2-3 days when we upload it? Then please subscribe to beta list where we will discuss beta -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sumeet75 at hotmail.com Sun Jan 15 11:14:57 2006 From: sumeet75 at hotmail.com (Sumeet Singh) Date: Sun Jan 15 11:16:41 2006 Subject: Valentina with Visual Studio 2005 ? Message-ID: Hi all, We use Valentina 2 C++ SDK in our product where we use Visual Studio (VS) 2003. As a part of supporting our product on upcoming MS Vista, I first tried to upgrade from VS 2003 to VS 2005. When I built my project in Visual Studio 2005, I got following linking errors w.r.t vdk.lib: LINK : warning LNK4076: invalid incremental status file '..\Debug\DBMgr.ilk'; linking nonincrementally Creating library D:\e360-trunk\Rac Server Manager\Debug/Lib/DBMgr.lib and object D:\e360-trunk\Rac Server Manager\Debug/Lib/DBMgr.exp vdk.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob referenced in function _output_message ..\Debug\DBMgr.dll : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://d:\e360-trunk\Rac Server Manager\DBMgr\Debug\BuildLog.htm" DBMgr - 2 error(s), 250 warning(s) Can you give me some pointers for this ? Has anyone tried to use Valentina 2 SDK with VS 2005 ? vdk.lib is not generated in our build and is checked-in into our repository. Thanks in advance, Sumeet From sunshine at public.kherson.ua Sun Jan 15 19:45:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 15 11:47:49 2006 Subject: Valentina with Visual Studio 2005 ? In-Reply-To: Message-ID: On 1/15/06 7:14 PM, "Sumeet Singh" wrote: Hi Sumeet, > Hi all, > > We use Valentina 2 C++ SDK in our product where we use Visual Studio (VS) > 2003. Wow. You mean beta? We ship 2.1 release of C++ SDK today night. :-) > As a part of supporting our product on upcoming MS Vista, I first > tried to upgrade from VS 2003 to VS 2005. > When I built my project in Visual Studio 2005, I got following linking > errors w.r.t vdk.lib: We have port already Valentina to Visual 2005 on one computer here. We plan starting right from tomorrow Monday, start upgrade our Windows computers to Visual 2005. And yes, we will need in nearest days I think produce additional archive VSDK_win_2005 > LINK : warning LNK4076: invalid incremental status file > '..\Debug\DBMgr.ilk'; linking nonincrementally > Creating library D:\e360-trunk\Rac Server Manager\Debug/Lib/DBMgr.lib and > object D:\e360-trunk\Rac Server Manager\Debug/Lib/DBMgr.exp > vdk.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob > referenced in function _output_message > ..\Debug\DBMgr.dll : fatal error LNK1120: 1 unresolved externals > Build log was saved at "file://d:\e360-trunk\Rac Server > Manager\DBMgr\Debug\BuildLog.htm" > DBMgr - 2 error(s), 250 warning(s) > > Can you give me some pointers for this ? Has anyone tried to use Valentina 2 > SDK with VS 2005 ? > vdk.lib is not generated in our build and is checked-in into our repository. > > Thanks in advance, > > Sumeet -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lfredricks at proactive-intl.com Sun Jan 15 11:38:00 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Jan 15 13:41:54 2006 Subject: Valentina on FreshMeat -- Your Support Wanted! Message-ID: <20060115194009.899587F026@spatula.dreamhost.com> http://freshmeat.net/projects/valentina/ Hi all, We've listed Valentina on Freshmeat.net in order to raise awareness. Several numbers of people are looking but the only ones really qualified at this point to rate Valentina are our current user base -- you! :-) We would really appreciate your support in visiting the link about and ranking Valentina. Thanks all for your help! Have a great (what remains of the) weekend! Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From delong at redcort.com Mon Jan 16 10:47:10 2006 From: delong at redcort.com (Keith DeLong) Date: Mon Jan 16 12:48:58 2006 Subject: Intel Software Development Products for Mac OS Message-ID: Ruslan, I thought this page on the new developer tools from Intel might be of interest to you: http://www.intel.com/cd/ids/developer/asmo-na/eng/255716.htm Best, Keith DeLong From sunshine at public.kherson.ua Mon Jan 16 21:42:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 16 13:44:12 2006 Subject: Intel Software Development Products for Mac OS In-Reply-To: Message-ID: On 1/16/06 8:47 PM, "Keith DeLong" wrote: > Ruslan, > I thought this page on the new developer tools from Intel might be of > interest to you: > > http://www.intel.com/cd/ids/developer/asmo-na/eng/255716.htm Thank you, Keith I have see it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jan 18 19:18:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 18 11:20:22 2006 Subject: Remote and Embedded? In-Reply-To: Message-ID: On 1/18/06 6:40 PM, "Philip M?tteli" wrote: Hi Philip, > Some questions: > > 1. Is it possible to be client and embedded? Yes, you can make application which in the same time will work with some LOCAL and some remote dbs located on (may be different) Valentina Servers > I've seen, that Valentina has an Init function. This init function is > different if one uses Valentina remotely or embedded. Lets say, I > have the following method: > > + persistentObjectWithName:(NSString *)anObjectName > fromDataBaseWithName:(NSString *)aDBName onHost:(NSHost *)aHost > withPortNumber:(unsigned)aNumber > > My goal was to say something like this: > > aHost ? ValentinaInitC : ValentinaInit; > > > Until I saw in 'VClient.h' the following: > > #ifndef FBL_CLIENT > # define FBL_CLIENT 1 > #endif // FBL_CLIENT > > > So would my idea be possible or do I have to decide at compile time, > how I will use Valentina? I think this macro here just to follow rules. I believe we never try disable it. > Would it be possible, if I made two separate libraries? No need for separate libraries! All our plugins work as next: -> vkernel.dll plugin -> vclient.dll Only difference is in Init/Shutdown and Vdatabase constructor. IF you want app to work with local and remote you do: ValentinaInit( cache ) -- first ValentinaInitC() -- second 7 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lfredricks at proactive-intl.com Wed Jan 18 13:54:44 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Jan 18 15:59:07 2006 Subject: Thanks to All Who Voted on FreshMeat! If You havent Yet, Please Do :-) Message-ID: <20060118215706.854087F069@spatula.dreamhost.com> http://freshmeat.net/projects/valentina/ Id like to thank all those who ranked us on Freshmeat for Valentina! If you havent already done so, please take the time to visit this page and rank us. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From sunshine at public.kherson.ua Thu Jan 19 22:54:43 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 19 14:58:13 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded Message-ID: Hi All, You can download Vstudio WIN build. Main news here ? support of pictures. I hope Director/V4MD developers will love this. VStudio - 2.1 fc7 ================= - 0001256: [Property Inspector] Now show EditField with Method text. (Igor Nikitin) - 0001255: [Dialogs] Dialog CreateMethod joined with CreateField dialog. (Igor Nikitin) - 0001254: [Property Inspector] Show type of Picture field (Igor Nikitin) - 0001252: [Table Browser] Width of column on open try to show full column name (Andrey Mezheninov) - 0001251: [Table Browser] [NEW] Double Click on Picture field open PictureEditor (Igor Nikitin) - 0001250: [Table Browser] [New] Pictures can be previewed in Inspector window (soon will be separate window). (Igor Nikitin) - 0001249: [Table Browser] Can show pictures now in preview mode (Igor Nikitin) - 0001190: [Links] Please Add Name Of ObjectPtr When Viewing a Link (Igor Nikitin) - 0001218: [Links] Please Show the Link_xxx Related To An ObjectPtr (Igor Nikitin) - 0001156: [Schema Browser] Crash when selcting multiple items in 3. column (Andrey Mezheninov) - 0001196: [Table Browser] On resize of window area of both top and related browsers should grow (Igor Nikitin) - 0001197: [Table Browser] Window splitter dissaper. (Igor Nikitin) - 0001024: [Application Menu] First 3 columns allow resize INTERNAL column. (Jochen Peters) - 0001192: [Schema Browser] [Glitch] Structure Browser 4th column has 3 sub-columns (Igor Nikitin) - 0001246: [Dialogs] Dialog "Create New Field" now handle methods as well. (Igor Nikitin) - 0001245: [Schema Browser] Need to improve resizing of columns in 4th column (fields) (Igor Nikitin) - 0000878: [VServer connection] VStudio crashes when I tried to add record in the databrowser window on WinXP. (Jochen Peters) - 0001244: [Table Browser] Crash on close of browser right after adding of the first record. (Andrey Mezheninov) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jan 20 11:05:11 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 03:07:09 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: <20060120002228.7692410384CC@lists.realsoftware.com> Message-ID: > From: Bob Gordon > Date: Thu, 19 Jan 2006 15:49:36 -0800 (PST) Hi Bob, > Never mind. (Partly) > > I also installed the Valentina plug in. When I take it > out of the plugins folder, RB starts up fine. > > Is this a known issue? > > I'll report any results I find. * so Valentina not works for you only with RB 2006 r1 ? with other versions it did work ? Anybody from Valentina V4RB developers do use 2006 r1 with success? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Fri Jan 20 10:48:11 2006 From: maxprog at mac.com (Stan Busk) Date: Fri Jan 20 03:50:09 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: References: Message-ID: I do. I use Valentina exclusively with Valentina 2006 r1 on the Mac since it was released. No problem. The only problems I got was with other plugins. On the PC I got problems because Valentina installer was placing the new plugin in the wrong folder (on previous RB version plugin folder). ~/Stan > Anybody from Valentina V4RB developers do use 2006 r1 with success? From jules.jacquot at wanadoo.fr Fri Jan 20 10:55:01 2006 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Jan 20 03:56:58 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: References: Message-ID: <76204DD8-2E22-4116-AC4C-5DD7C98ADE28@wanadoo.fr> Le 20 janv. 06 ? 10:05, Ruslan Zasukhin a ?crit : >> From: Bob Gordon >> Date: Thu, 19 Jan 2006 15:49:36 -0800 (PST) > > Hi Bob, > >> Never mind. (Partly) >> >> I also installed the Valentina plug in. When I take it >> out of the plugins folder, RB starts up fine. >> >> Is this a known issue? >> >> I'll report any results I find. > > * so Valentina not works for you only with RB 2006 r1 ? > with other versions it did work ? > > > Anybody from Valentina V4RB developers do use 2006 r1 with success? yes i do jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Fri Jan 20 12:04:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 04:06:28 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: Message-ID: On 1/20/06 11:48 AM, "Stan Busk" wrote: Thank you, Stan. > I do. I use Valentina exclusively with Valentina 2006 r1 on the Mac > since it was released. No problem. The only problems I got was with > other plugins. Bob, then it sounds like problem on your local computer. Please try collect info as many as possible, May be try reinstall V4RB. May be you have lost /Library/CFMSuport/VComponents > On the PC I got problems because Valentina installer > was placing the new plugin in the wrong folder (on previous RB > version plugin folder). Hmm, but installer have button CHOOSE > ~/Stan > >> Anybody from Valentina V4RB developers do use 2006 r1 with success? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Fri Jan 20 11:14:15 2006 From: maxprog at mac.com (Stan Busk) Date: Fri Jan 20 04:16:14 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: References: Message-ID: Hi, Yes, I am just too fast :( my fault... but I found out right after and also removed all those useless RB versions. >> On the PC I got problems because Valentina installer >> was placing the new plugin in the wrong folder (on previous RB >> version plugin folder). > > Hmm, but installer have button CHOOSE From sunshine at public.kherson.ua Fri Jan 20 13:56:34 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 05:59:03 2006 Subject: ValentinaSQL.pdf updated on site Message-ID: Fixed CREATE TABLE grammar to reflect RAM table creation -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From paymc at tiscali.it Fri Jan 20 13:24:06 2006 From: paymc at tiscali.it (^^pay^^) Date: Fri Jan 20 06:24:40 2006 Subject: [V4MD] Problem on closing apllication Message-ID: <200601201222.k0KCMf328941@cclab.unile.it> Hallo, I've a problem with Valentina2 on Director MX 2004 with a Win XP Pro system. My published application works fine, but when I put my files on a CD I encounter the problem: when I close the application it crash: "Windows System error". I realize that the application crash when my dbfile.vdb is write locked (on a CD or in onlyread mode on my HD). Moreover my application is used only to read from database and not to write on it. This is a little bit of my code: on startmovie set Valentina = new ( Xtra "valentina") Valentina.Init( 10 * 1024 * 1024, "" , "myserial" ) gDatabase = new (Xtra "VDatabase", #kLocal) gDatabase.Open( the moviePath & "dbfile.vdb") end on stopmovie if objectP(gDatabase) then gDatabase.close() end if if objectP(Valentina) then Valentina.shutDown() end if end In the stop movie the gDatabase = VOID or = 0 generating an other windows system library error. After I thought that the problem is a bug on my Valentina release: so I tried to use the last release, downloading it from the website, and installing it. With this version I've an error on the Valentina.Init row: OBJECT EXPECTED Do you have an idea about my problem (also only with the previous release)? Thank you for the attenction PhAI From sunshine at public.kherson.ua Fri Jan 20 15:46:11 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 07:48:07 2006 Subject: [V4MD] Problem on closing apllication In-Reply-To: <200601201222.k0KCMf328941@cclab.unile.it> Message-ID: On 1/20/06 2:24 PM, "^^pay^^" wrote: Hi PhAI, > I've a problem with Valentina2 on Director MX 2004 with a Win XP Pro system. > > My published application works fine, but when I put my files on a CD I > encounter the problem: when I close the application it crash: "Windows > System error". > I realize that the application crash when my dbfile.vdb is write locked (on > a CD or in onlyread mode on my HD). Hmm, you can reproduce this on HDD by locking db? Do you use V4MD 2.1? > Moreover my application is used only to read from database and not to write > on it. > > This is a little bit of my code: > > on startmovie > set Valentina = new ( Xtra "valentina") > > Valentina.Init( 10 * 1024 * 1024, "" , "myserial" ) > > gDatabase = new (Xtra "VDatabase", #kLocal) > gDatabase.Open( the moviePath & "dbfile.vdb") end > > on stopmovie > > if objectP(gDatabase) then > gDatabase.close() > end if > if objectP(Valentina) then > Valentina.shutDown() > end if > > end I wonder. I do not see that you have declare Valentina variable to be global. So how stopmovie() see it ? Or you have copy here not full sources ? > In the stop movie the gDatabase = VOID or = 0 generating an other windows > system library error. > After I thought that the problem is a bug on my Valentina release: so I > tried to use the last release, downloading it from the website, and > installing it. > > With this version I've an error on the Valentina.Init row: OBJECT EXPECTED > Do you have an idea about my problem (also only with the previous release)? Strange, please try first of all run V4MD example, e.g. simplest: V4MD/Examples/Common/Init_Shutdown If it not works then you should try reinstall V4MD 2.1 Before do this please go to Program Files/Paradigma Software/ And here trash VComponents folder. Install V4MD 2.1 again. Let me know result. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jordan at digi-net.com Fri Jan 20 09:03:46 2006 From: jordan at digi-net.com (Ken Jordan) Date: Fri Jan 20 08:02:30 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: References: Message-ID: <43D0EDC2.7060505@digi-net.com> Ruslan Zasukhin wrote: >On 1/20/06 11:48 AM, "Stan Busk" wrote: > >Thank you, Stan. > > > >>I do. I use Valentina exclusively with Valentina 2006 r1 on the Mac >>since it was released. No problem. The only problems I got was with >>other plugins. >> >> > >Bob, then it sounds like problem on your local computer. > >Please try collect info as many as possible, >May be try reinstall V4RB. May be you have lost > > /Library/CFMSuport/VComponents > > I haven't seen any mention in this thread about which version of V4RB is being used. My experience has been that version 2.0.5 and up will work with 2006r1, 2.0.4 and earlier will not. RB2006r1 apparently wants only .rbx format plugins - will crash on startup if the plugins dir contains dylibs (on Mac) or dlls (on Win) (I have heard a rumor that dylib support has been re-implemented for r2) Ken From sunshine at public.kherson.ua Fri Jan 20 16:15:32 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 08:17:28 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: <43D0EDC2.7060505@digi-net.com> Message-ID: On 1/20/06 4:03 PM, "Ken Jordan" wrote: Hi Ken, Hi Bob, ------------------ On 1/20/06 11:55 AM, "Jules Jacquot" wrote: >> Anybody from Valentina V4RB developers do use 2006 r1 with success? > yes i do ------------------ >>> On 1/20/06 11:48 AM, "Stan Busk" wrote: >>> I do. I use Valentina exclusively with Valentina 2006 r1 on the Mac >>> since it was released. No problem. The only problems I got was with >>> other plugins. -------------------- >> Bob, then it sounds like problem on your local computer. >> >> Please try collect info as many as possible, >> May be try reinstall V4RB. May be you have lost >> /Library/CFMSuport/VComponents >> > I haven't seen any mention in this thread about which version of V4RB is > being used. > My experience has been that version 2.0.5 and up will work with 2006r1, 2.0.4 > and earlier will not. Interesting > RB2006r1 apparently wants only .rbx format plugins - will crash on startup if > the plugins dir contains dylibs (on Mac) or dlls (on Win) (I have heard a > rumor that dylib support has been re-implemented for r2) Thank you for info, Ken. Well, V4RB 2.0.5 and 2.1 still go NOT in .rbx format for MAC. .rbx format plugin is located in the V4RB WIN archive although. V4RB do not installs into plguins folder any dylibs. They go into separate VComponents folder... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jan 20 16:26:27 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 08:28:21 2006 Subject: design of app that work with local and remote In-Reply-To: <007A1701-F1A9-4C25-A59E-86A0C0DA6059@econophone.ch> Message-ID: On 1/20/06 4:01 PM, "Philip M?tteli" wrote: Hi Philip, >> In any case I'd recommend at first do not think about Server. >> And implement local variant only. Changes to Vserver are small and >> can be >> added later. > > I'm afraid, that assuming only the embedded case, might influence my > design considerably. And changing an OO design is very annoying. So I > try to think of both, though I might implement only one version at > first. First of all let's clarify. Are you going to use SQL or API methods only and never SQL? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jan 20 18:33:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 10:35:54 2006 Subject: SQL vs. API In-Reply-To: <5E9845D5-8E76-4E2A-875A-71BDF1AC119F@econophone.ch> Message-ID: On 1/20/06 4:50 PM, "Philip M?tteli" wrote: Hi Philip, >>>> In any case I'd recommend at first do not think about Server. >>>> And implement local variant only. Changes to Vserver are small and >>>> can be >>>> added later. >>> >>> I'm afraid, that assuming only the embedded case, might influence my >>> design considerably. And changing an OO design is very annoying. So I >>> try to think of both, though I might implement only one version at >>> first. >> >> First of all let's clarify. >> >> Are you going to use SQL or >> API methods only and never SQL? > > I think I have to offer the SQL version, though the pure persistence > mechanism wouldn't need it. Okay. > But as I pointed out in one of our previous letters, searching for > contents of objects happens and then a declarative approach is often > used, even in pure dynamical environments (just look at NSPredicate, > ?). In such a case, using the advantage of an SQL data-store would be > a great advantage. Agree. > More concretely: Imagine a program, managing the cars of a city. All > these cars would be in a huge instance of NSArray. This collection > object actually offers a method like this: > > - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate; I see > If this instance of NSAarray, with all the cars of a city is big, it > would be a big advantage to let this collection object just forward > all queries to an external data-store like Valentina. This way, the > memory footprint would be tiny. Only objects, that are really needed, > would be in memory. Yes, clear. > This way the advantage of having an RDB comes into play. Right. Point is: IF to think only about LOCAL dbs, then we could solve that predicates using I_Field::Find() methods. Just I want make sure that you have learn this way and aware of it. It is FASTEST way. But taking into account remote access and SQL standard, may be really let's start with SQL. This will be much easier -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From paymc at tiscali.it Fri Jan 20 18:38:30 2006 From: paymc at tiscali.it (^^pay^^) Date: Fri Jan 20 11:39:03 2006 Subject: R: [V4MD] Problem on closing apllication In-Reply-To: Message-ID: <200601201737.k0KHb6306411@cclab.unile.it> Hi and thank's for the answer, > Hmm, you can reproduce this on HDD by locking db? > Do you use V4MD 2.1? Now I'm using the last release downloaded from the website. > I wonder. I do not see that you have declare Valentina variable to be > global. So how stopmovie() see it ? > > Or you have copy here not full sources ? Sorry: I don't past the entire code. At the file begin there are this code: global Valentina global gDatabase > Strange, please try first of all run V4MD example, e.g. simplest: > > V4MD/Examples/Common/Init_Shutdown > > If it not works then you should try reinstall V4MD 2.1 > Before do this please go to > > Program Files/Paradigma Software/ > > And here trash VComponents folder. > Install V4MD 2.1 again. I remove all and reinstall like your suggestion, but if I try to launch an example I read " Cannot set reference to Valentina Xtra!" > Let me know result. Sorry, but I don't attain any kind of results... PhAI From sunshine at public.kherson.ua Fri Jan 20 20:48:16 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 20 12:50:14 2006 Subject: R: [V4MD] Problem on closing application In-Reply-To: <200601201737.k0KHb6306411@cclab.unile.it> Message-ID: On 1/20/06 7:38 PM, "^^pay^^" wrote: >> Strange, please try first of all run V4MD example, e.g. simplest: >> >> V4MD/Examples/Common/Init_Shutdown >> >> If it not works then you should try reinstall V4MD 2.1 >> Before do this please go to >> >> Program Files/Paradigma Software/ >> >> And here trash VComponents folder. >> Install V4MD 2.1 again. > > I remove all and reinstall like your suggestion, but if I try to launch an > example I read " Cannot set reference to Valentina Xtra!" Hmm, I will test V4MD WIN 2.1 from site on my computer in nearest 30-90 minutes and let you know if it works here. * another thing you can check: MyComputer -> properties Advanced button here you can see environment variable PATH. it should contain path to Program Files/Paradigma Software/VComponents Do you see this path ? Few developers have find that if PATH string is very long, then Windows stop recognize paths at end. So you can try COPY path to VComponents to the beginning of this PATH string. Then press OK. Does this help ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jan 21 10:43:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 21 02:45:25 2006 Subject: R: [V4MD] Problem on closing apllication In-Reply-To: <200601201737.k0KHb6306411@cclab.unile.it> Message-ID: On 1/20/06 7:38 PM, "^^pay^^" wrote: Hi PhAI, >> Strange, please try first of all run V4MD example, e.g. simplest: >> >> V4MD/Examples/Common/Init_Shutdown >> >> If it not works then you should try reinstall V4MD 2.1 >> Before do this please go to >> >> Program Files/Paradigma Software/ >> >> And here trash VComponents folder. >> Install V4MD 2.1 again. > > I remove all and reinstall like your suggestion, but if I try to launch an > example I read " Cannot set reference to Valentina Xtra!" I have try archive from site, on clean computer, and it works with no problems. Examples do work fine. Do you have another PC to try ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 21 06:06:04 2006 From: jda at his.com (jda) Date: Sat Jan 21 05:08:00 2006 Subject: Multilevel sorts In-Reply-To: References: Message-ID: Hi Ruslan, I have a three-level sort (ORDER BY) like this: name,date,title If the names are the same and date field is empty (NULL), the sort never gets to the title. If I enter data in the date field (and make it identical for each record), then the title sort is done. Is this expected behavior (I don't think so -- NULL fields should sort identically, no)? Jon From sunshine at public.kherson.ua Sat Jan 21 13:19:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 21 05:22:04 2006 Subject: Multilevel sorts In-Reply-To: Message-ID: On 1/21/06 1:06 PM, "jda" wrote: Hi Jon, > I have a three-level sort (ORDER BY) like this: > > name,date,title > > If the names are the same and date field is empty (NULL), the sort > never gets to the title. If I enter data in the date field (and make > it identical for each record), then the title sort is done. > > Is this expected behavior (I don't think so -- NULL fields should > sort identically, no)? Interesting question. I think it is correct behavior. You cannot say that 10 records that have NULLs, create group of records with the same values. NULL - means undefined value! NULL != NULL -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 21 10:31:42 2006 From: jda at his.com (jda) Date: Sat Jan 21 09:33:39 2006 Subject: Complex methods In-Reply-To: References: Message-ID: Hi Ruslan, I think I know the answer to this, but I thought I'd ask... I want to string together two string operations in a method. The first strips out certain words from the string. The second returns the first line (ending in a return charcater) in that string. I have done this, and it works, but the SQL code for each section of a CASE/WHEN/ELSE clause is enormous (here's an example from a single WHEN clause, for just one word to be removed from the string): IF(Left((CASE WHEN LOCATE(UPPER('al-'),UPPER(coalesce(authors,editors)))=1 THEN RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - LENGTH('al-')) WHEN LOCATE(UPPER('von '),UPPER(coalesce(authors,editors)))=1 THEN RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - LENGTH('von ')) WHEN LOCATE(UPPER('the '),UPPER(coalesce(authors,editors)))=1 THEN RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - LENGTH('the ')) ELSE coalesce(authors,editors) END)), (LOCATE(chr(13), (CASE WHEN LOCATE(UPPER('al-'),UPPER(coalesce(authors,editors)))=1 THEN RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - LENGTH('al-')) This makes debugging terribly difficult, and of course can easily generate SQL statements of thousands of characters. The question is, is there a simple way to get the result of the first SQL query and then feed that to the second, all within one SQL statement? I suppose I can create temporary fields to handle sequential calls, but I'd rather not (that gets complex, too). I hope this question is clear. Thanks, Jon From sunshine at public.kherson.ua Sat Jan 21 21:39:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 21 13:41:45 2006 Subject: Complex methods In-Reply-To: Message-ID: On 1/21/06 5:31 PM, "jda" wrote: Hi Jon, > I think I know the answer to this, but I thought I'd ask... > > I want to string together two string operations in a method. The > first strips out certain words from the string. The second returns > the first line (ending in a return charcater) in that string. > > I have done this, and it works, but the SQL code for each section of > a CASE/WHEN/ELSE clause is enormous (here's an example from a single > WHEN clause, for just one word to be removed from the string): > > IF(Left((CASE WHEN > LOCATE(UPPER('al-'),UPPER(coalesce(authors,editors)))=1 THEN > RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - > LENGTH('al-')) WHEN LOCATE(UPPER('von > '),UPPER(coalesce(authors,editors)))=1 THEN > RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - > LENGTH('von ')) WHEN LOCATE(UPPER('the > '),UPPER(coalesce(authors,editors)))=1 THEN > RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - > LENGTH('the ')) ELSE coalesce(authors,editors) END)), > (LOCATE(chr(13), (CASE WHEN > LOCATE(UPPER('al-'),UPPER(coalesce(authors,editors)))=1 THEN > RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - > LENGTH('al-')) > > This makes debugging terribly difficult, and of course can easily > generate SQL statements of thousands of characters. > > The question is, is there a simple way to get the result of the first > SQL query and then feed that to the second, all within one SQL > statement? I suppose I can create temporary fields to handle > sequential calls, but I'd rather not (that gets complex, too). If you want in SINGLE QUERY and simpler, then MAY BE you can try subselects. Also you can think about methods. But NOT indexed. And extract some part of formula into method(s) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 21 16:28:13 2006 From: jda at his.com (jda) Date: Sat Jan 21 15:30:12 2006 Subject: Complex methods In-Reply-To: References: Message-ID: > > >If you want in SINGLE QUERY and simpler, >then MAY BE you can try subselects. Can you give me a crude (simple) example of what you mean? > >Also you can think about methods. But NOT indexed. >And extract some part of formula into method(s) > Actually, this is a method now (not indexed). I make a temporary field with this method, the drop it after the sort. Thanks, Jon From sunshine at public.kherson.ua Sat Jan 21 23:32:02 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 21 15:34:01 2006 Subject: Complex methods In-Reply-To: Message-ID: On 1/21/06 11:28 PM, "jda" wrote: >> If you want in SINGLE QUERY and simpler, >> then MAY BE you can try subselects. > > Can you give me a crude (simple) example of what you mean? select .. from( select .. from T where ... ) where >> Also you can think about methods. But NOT indexed. >> And extract some part of formula into method(s) >> > > Actually, this is a method now (not indexed). I make a temporary > field with this method, the drop it after the sort. Then you can split THIS method to SEVERAL, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Sat Jan 21 17:14:59 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jan 21 16:16:59 2006 Subject: Rb 2006 r1 doesn't start // Anybody use 2006 r1 + V4RB ? In-Reply-To: References: Message-ID: On Jan 20, 2006, at 4:05 AM, Ruslan Zasukhin wrote: >> From: Bob Gordon >> Date: Thu, 19 Jan 2006 15:49:36 -0800 (PST) > > Hi Bob, > >> Never mind. (Partly) >> >> I also installed the Valentina plug in. When I take it >> out of the plugins folder, RB starts up fine. >> >> Is this a known issue? >> >> I'll report any results I find. > > * so Valentina not works for you only with RB 2006 r1 ? > with other versions it did work ? > > > Anybody from Valentina V4RB developers do use 2006 r1 with success? I am; I'm moving right now to V4Rb 2.1... -------------- Charles Yeomans From yeomans at desuetude.com Sat Jan 21 17:32:12 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jan 21 16:34:11 2006 Subject: [V4Rb] Checking for server timeout Message-ID: <8284f21a526f6918041d2bfcb47fd310@desuetude.com> When connecting to a remote database, does VDatabase.IsOpen return false if the connection to the server has timed out due to inactivity? -------------- Charles Yeomans From sunshine at public.kherson.ua Sun Jan 22 11:54:50 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 03:56:54 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: <8284f21a526f6918041d2bfcb47fd310@desuetude.com> Message-ID: On 1/22/06 12:32 AM, "Charles Yeomans" wrote: Hi Charles, > When connecting to a remote database, does VDatabase.IsOpen return > false if the connection to the server has timed out due to inactivity? Not sure, but I think yes, because * Server have close connection for non-active client e.g. 5 minutes later. * client become aware about problem on its next attempt touch socket so e.g. 30 minutes later. Any first command client execute will throw error. Charles, Vserver class, as I remember, have property Vserver.ConnectionAlive About isOpen() not remember exactly now. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From martin at kinetix.co.uk Sun Jan 22 12:10:29 2006 From: martin at kinetix.co.uk (Martin Wright) Date: Sun Jan 22 06:12:37 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: Message-ID: <20060122121233.A4F3E3E7D7D@edison.macserve.net> Hi Even though I always us 'gMyCursor = VOID' there are always lots of 'V4MD *: Cursor_Destroy...*' when I stop the application. Is there any better way of destroying the cursor? Or is there a way of checking if one exists? Martin From jda at his.com Sun Jan 22 08:05:29 2006 From: jda at his.com (jda) Date: Sun Jan 22 07:07:28 2006 Subject: Complex methods In-Reply-To: References: Message-ID: > > >Then you can split THIS method to SEVERAL, right ? > Hi Ruslan, I'm trying to implement a complex sort as several methods. But I've wrestled with a bizarre situation I can't resolve. I make a temporary method like this: dim fld2 as VVarChar fld2 = myDatabase.myReferences.CreateVarCharField("mySortMethod", 64, EVFlag.fNone, "'test'") (this is the simplest example I can make -- the method should just return the word 'test'). But when I examine it (with viSQL) the method columns are empty. And this is what viSQL tells me about the table myReferences: firstAuthorSortMethod VarChar[0] Method Any ideas what I'm doing wrong? Thanks, Jon From sunshine at public.kherson.ua Sun Jan 22 15:51:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 07:53:54 2006 Subject: Complex methods In-Reply-To: Message-ID: On 1/22/06 3:05 PM, "jda" wrote: Hi Jon, > I'm trying to implement a complex sort as several methods. But I've > wrestled with a bizarre situation I can't resolve. I make a temporary > method like this: > > dim fld2 as VVarChar > > fld2 = myDatabase.myReferences.CreateVarCharField("mySortMethod", 64, > EVFlag.fNone, "'test'") > > (this is the simplest example I can make -- the method should just > return the word 'test'). > > But when I examine it (with viSQL) the method columns are empty. And > this is what viSQL tells me about the table myReferences: > > firstAuthorSortMethod VarChar[0] Method > > Any ideas what I'm doing wrong? Looks correct on first view. Try to make OTHER formula please, e.g. = f1 // other field May be problem in just string constant ? So some error is thrown -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sun Jan 22 09:11:55 2006 From: jda at his.com (jda) Date: Sun Jan 22 08:13:54 2006 Subject: Complex methods In-Reply-To: References: Message-ID: > >Looks correct on first view. > >Try to make OTHER formula please, e.g. > > = f1 // other field > >May be problem in just string constant ? > >So some error is thrown > Hi Ruslan, No, if I use this fld2 = myDatabase.myReferences.CreateVarCharField("firstAuthorSortMethod", 64, EVFlag.fNone, "authors") I get empty rows (even though there is text in each "authors" field and viSQl tells me mySortMethod=authors VarChar[0] Method Jon From sunshine at public.kherson.ua Sun Jan 22 17:11:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 09:13:58 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: <20060122121233.A4F3E3E7D7D@edison.macserve.net> Message-ID: On 1/22/06 2:10 PM, "Martin Wright" wrote: Hi Martin, > Even though I always us 'gMyCursor = VOID' there are always lots of 'V4MD *: > Cursor_Destroy...*' when I stop the application. > Is there any better way of destroying the cursor? = VOID is correct way. > Or is there a way of checking if one exists? Strange. * IS anything happens on gMyCursor = VOID ? On this call Director should destroy cursor. * Cursor_Destroy show show some number. This is address of cursor object. it is possible find where it was born. MAY BE you have something as curs = select() curs = select() surs = VOID I.e. You have lost first cursor ... Although Director should self destroy first cursor after second select() and assignment done. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 17:50:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 09:52:48 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? Message-ID: Hi Director developers, I have spend some time reading Arca Xtra site and features, and talking to few developers, some of them have choose Arca instead of Valentina, as I understand only because of simpler syntax. So, this is information from Arca site: > myresult = gDB.executeSQL("SELECT name, age FROM users WHERE age<=18") returns: > [#rowschanged: 0, #columns: ["name", "age"], #columntype: ["text", "integer"], > #rows: [["John", 15], ["Mary", 13], ["Paulo", 10]], #errorMsg: 0] What good ideas I see here... 1) single QUERY function in Database class, which eliminates need of cursor at all. Hmm. I believe in V4MD 1.x was such function. Also we did have similar db level function in the Valentina for WebSiphon about 5 years ago. So it is good idea add such function to V4MD 2 back. 2) In Vcursor class we have GetRecordAsPropList(), GetRecordsAsPropList(). and we have functions which can return records as SIMPLE list, and as Strings formated with some delimiters. So we have a lots here. BUT. GetRecordsAsPropList() returns prop list in format [ [#fld1_name:v11, #fld2_name:v21], [#fld1_name:v12, #fld2_name:v22], [#fld1_name:v13, #fld2_name:v23], [#fld1_name:v14, #fld2_name:v24] ] It is easy to see that this function stupidly create field names many times. IF you look on Arca list, then its author have extract field names into separate sublist, and rows go as simple list in fact. ------------------------------------------ So how we can improve V4MD2 to get this idea? A) Arca use SqlExecute() function to execute EXECUTE and SELECT commands. Valentina 2 on C++ Level have 3 functions in fact: db.SqlExecute() as integer db.SqlSelect() as VCursor db.Query() as VResult Function Query() is exactly what we need! So we can add into V4MD new function Vdatabase.Query() -- returns property list in format of Arca do. This can be implemented very easy. (at last of end do simple things is much easier then do hard :-) I think everybody will agree that we can add this function with no problems. IF exists some Lingo developers that prefer this way they will get it. Developers which what more flexibility and control will go to SqlExecute() -- it simply returns integer SqlSelect() -- to get vcursor and its features. -------- B) Now lets think about existed RecordsAsPropList() it looks like will be good idea to change their result. I think we can: * rename existed functions to RecordAsPropList2() // deprecated * and have RecordAsPropList() with new behavior. So people that use them now will need just find/replace to fix existed code. All new code will go with these new methods. What you think about this plan ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 18:00:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 10:02:27 2006 Subject: SQL crashes based on temporary method. In-Reply-To: Message-ID: On 1/22/06 5:37 PM, "jda" wrote: Hi Jon, > OK, that's definitely a problem... > > There seems to be some dependency of fields on each other, and of the > cursor on the sort method. > > If I dispose of a temporary method field *after* the cursor has been > created but *before* using the cursor, attempts to manipulate the > cursor -> crash. OF COURSE !!!! Cursor in most cases use underlined table to do work. Only CLIENT cursor create COPY of result records. > If I use the cursor and *after* drop the fields -> no crash. > > So, for some reason the cursor is trying to access the sort method > after it is created... Because this is how it works. You have discover interesting dependency which should be documented. > (FYI, I want to destroy the temporary fields as soon as I can, > because if there is a crash working with the database they won't be > dropped and the database will be ruined). I see. Interesting...may be we should add such feature as: Temporary Field of Table? Like we have Temporary Table of database? Ivan what you think about this? Deal is that Temporary object is NOT stored into system tables, So crash do not affect database schema. Jon, add this as feature request I think... May be we should be able do TMP only methods? Probably yes. Lets start with Tmp Methods only! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 18:03:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 10:05:10 2006 Subject: Complex methods In-Reply-To: Message-ID: On 1/22/06 4:11 PM, "jda" wrote: >> Looks correct on first view. >> >> Try to make OTHER formula please, e.g. >> >> = f1 // other field >> >> May be problem in just string constant ? >> >> So some error is thrown >> > > Hi Ruslan, > > No, if I use this > > fld2 = > myDatabase.myReferences.CreateVarCharField("firstAuthorSortMethod", > 64, EVFlag.fNone, "authors") > > I get empty rows (even though there is text in each "authors" field > > and viSQl tells me > > mySortMethod=authors VarChar[0] Method So is this problem related to issue you have found with tmp methods ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Sun Jan 22 09:08:10 2006 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun Jan 22 10:10:13 2006 Subject: Complex methods In-Reply-To: References: Message-ID: <1F8F7139-08BD-47F3-9038-8F1B657E7147@goodeast.com> On Jan 22, 2006, at 7:11 AM, jda wrote: > No, if I use this > > fld2 = myDatabase.myReferences.CreateVarCharField > ("firstAuthorSortMethod", 64, EVFlag.fNone, "authors") > > I get empty rows (even though there is text in each "authors" field > > and viSQl tells me > > mySortMethod=authors VarChar[0] Method I thought that any VarChar with a length less than 1022 was problematic. Maybe try it with 1022. Best regards, Frank Schima From jda at his.com Sun Jan 22 11:10:26 2006 From: jda at his.com (jda) Date: Sun Jan 22 10:12:24 2006 Subject: Complex methods In-Reply-To: References: Message-ID: >On 1/22/06 4:11 PM, "jda" wrote: > >>> Looks correct on first view. >>> >>> Try to make OTHER formula please, e.g. >>> >>> = f1 // other field >>> >>> May be problem in just string constant ? >>> >>> So some error is thrown >>> >> >> Hi Ruslan, >> >> No, if I use this >> >> fld2 = >> myDatabase.myReferences.CreateVarCharField("firstAuthorSortMethod", >> 64, EVFlag.fNone, "authors") >> >> I get empty rows (even though there is text in each "authors" field >> >> and viSQl tells me >> >> mySortMethod=authors VarChar[0] Method > >So is this problem related to issue you have found with tmp methods ? > It seems to be, yes. Jon From jda at his.com Sun Jan 22 11:12:15 2006 From: jda at his.com (jda) Date: Sun Jan 22 10:14:11 2006 Subject: Complex methods In-Reply-To: <1F8F7139-08BD-47F3-9038-8F1B657E7147@goodeast.com> References: <1F8F7139-08BD-47F3-9038-8F1B657E7147@goodeast.com> Message-ID: >On Jan 22, 2006, at 7:11 AM, jda wrote: > >>No, if I use this >> >>fld2 = >>myDatabase.myReferences.CreateVarCharField("firstAuthorSortMethod", >>64, EVFlag.fNone, "authors") >> >>I get empty rows (even though there is text in each "authors" field >> >>and viSQl tells me >> >>mySortMethod=authors VarChar[0] Method > >I thought that any VarChar with a length less than 1022 was >problematic. Maybe try it with 1022. > Hi Frank, I use smaller VarChar fields a lot with no problems (and 1022 didn't help). I've been corresponding with Ruslan offlist, and it seems that this may be a side effect of having a temporary field. I've found other dependency issues as well that Ruslan is going to sort out. Thanks, Jon From yeomans at desuetude.com Sun Jan 22 11:22:01 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Jan 22 10:24:03 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: References: Message-ID: On Jan 22, 2006, at 4:54 AM, Ruslan Zasukhin wrote: > On 1/22/06 12:32 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> When connecting to a remote database, does VDatabase.IsOpen return >> false if the connection to the server has timed out due to inactivity? > > Not sure, but I think yes, because > > * Server have close connection for non-active client > e.g. 5 minutes later. > > * client become aware about problem on its next attempt touch > socket > so e.g. 30 minutes later. Any first command client execute > will throw error. What I was doing was just checking for error &h82509, "Connection timed out". Sometimes I get this error, but sometimes the result of attempting a connection is a stream read error. I'll try VDatabase.IsOpen and see what happens. > > Charles, Vserver class, as I remember, have property > > Vserver.ConnectionAlive > > About isOpen() not remember exactly now. > All I see is a property VServer.Available as Boolean. The documentation suggests that this property checks whether the server is up. -------------- Charles Yeomans From sunshine at public.kherson.ua Sun Jan 22 18:41:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 10:43:59 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: Message-ID: On 1/22/06 6:22 PM, "Charles Yeomans" wrote: >> Charles, Vserver class, as I remember, have property >> >> Vserver.ConnectionAlive >> >> About isOpen() not remember exactly now. >> > > All I see is a property VServer.Available as Boolean. The > documentation suggests that this property checks whether the server is > up. Yes, this is what I mean. Right, so if TRUE, then connection to server is OK. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 18:49:51 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 10:51:56 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: Message-ID: On 1/22/06 6:22 PM, "Charles Yeomans" wrote: Hi Charles, >>> When connecting to a remote database, does VDatabase.IsOpen return >>> false if the connection to the server has timed out due to inactivity? >> >> Not sure, but I think yes, because >> >> * Server have close connection for non-active client >> e.g. 5 minutes later. >> >> * client become aware about problem on its next attempt touch >> socket >> so e.g. 30 minutes later. Any first command client execute >> will throw error. > > What I was doing was just checking for error &h82509, "Connection timed > out". Sometimes I get this error, but sometimes the result of > attempting a connection is a stream read error. > I'll try VDatabase.IsOpen and see what happens. Okay, For your info and info of all Vserver developers. Right now our primary task is to CHANGE protocol of Vserver. This is main task for 2.2 release. Current protocol is weak from point of view error-resistance. We going to use new protocol which should simply remove these STREAM ERRORs ------------------- Another step we do in this regard is: Valentina put on protocol a lots of API methods. we name this as reach protocol. Up to now this was manual work. We have found relatively easy way to automate this. So we have big hope that 2.2 release will increase a lots stability of Vserver protocol. Except of above, new protocol solve other major tasks: the main is: ability to future extend commands and that old server and clients still are able work with newer server clients. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ich at medienzar.de Sun Jan 22 20:44:28 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Sun Jan 22 13:46:43 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: References: Message-ID: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Hi Ruslan, > It is easy to see that this function stupidly create field names > many times. > IF you look on Arca list, then its author have extract field names > into > separate sublist, and rows go as simple list in fact. Arca's way looks definitely more effective. > Function Query() is exactly what we need! > So we can add into V4MD new function > > Vdatabase.Query() -- returns property list in format of Arca do. > > > This can be implemented very easy. > (at last of end do simple things is much easier then do hard :-) > > I think everybody will agree that we can add this function with no > problems. > > IF exists some Lingo developers that prefer this way they will get it. > Developers which what more flexibility and control will go to > > SqlExecute() -- it simply returns integer > SqlSelect() -- to get vcursor and its features. Great Idea. Confirmed ;-) > * rename existed functions to > RecordAsPropList2() // deprecated > > * and have RecordAsPropList() with new behavior. > > So people that use them now will need just find/replace to fix > existed code. How about using GetRecordsWithProps, this would not break existing code. We already have a function GetRecords that returns a linear list the same way as Arca does. However, the result doesn't show any field properties like name, type or affected rows. So the new function could better be seen as an extension of the existing GetRecords function than as a modification of GetRecordsAsPropList. For a single record (GetRecordAsPropList) the problem does't apply because you have to extract field names only once. Because the result for GetRecordAsPropList is already a propList we could simply add #columnTypes and #rowsChanged properties without breaking exisiting code because the field names are string properties now and could never conflict wih symbol properties like #columnTypes or #rowsChanged. The problem with multiple records (GetRecordsAsPropList) is that the result is now a linear list of embedded propLists. Changing that type to propList with embedded linear lists would indeed break existing code and I don't like the idea to ask developers to replace function names. As an alternative there could also be an optional parameter used to communicate the type of information the user is interested in, i.e. GetRecords([#columnNames,#columnsTypes,#rows]) Or even more a function that takes a propList parameter by reference to be filled up with the cursor's information: myList = [#rows:[ ],#columnNames:[]] curs.FillUpPopList(myList) Maybe the latter could improve performance because you don't have to instanciate list objects within the xtra. There is also another interesting question: What should be returned as a field's type property? Arca obviously uses Director's types. This makes sense because Director doesn't make a difference between Text or VarChar, Short Or Long, SIngle or Double, but only uses string, integer or float. Even boolean is only an integer which is TRUE for anything else than 0. So, the only additional field type information one could use from a query result is Director's type, because many of Valentina's types are treated in the same way within Director. I admit that I never used Arca until now. So I can't make any suggestions by comparing Valentina to Arca. However, there are a few things that I missed in Valintina in my recent projects: (1)Images: Director has a data type #image since version 8. You can treat an image independently from a bitmap member within Director. With Valentina you have to create a dummy bitmap member and use .SetPicture/GetPicture(,) to get/set an image from/to a database. Therefore we cannot return pictures within a query's propList result. Even worse: if you want a losslessly compressed picture, a picture with a color depth that JPEG doesnt support (1,2,4,8) or a picture using an alpha mask, you have to use .SetMedia/GetMedia(,) instead. So I would recommend that V4MD2 should stop compatibility with Director versions lower than 8 and therefore natively support the new datatypes that came up with Director 8. Besides #image (which is the most important for me) there are #date and #color as well. The latter could be expressed with strings as well, but especially with date and time fields it is sometimes very annoying to parse the strings respecting the end user's local settings. The #date type is independent of local settings and even has a #seconds property which could be used to express a time field's value based on integer instead of string. (2)Unicode: First of all: this is not a Valentina problem but much more a Director problem. Just wondered how it would be possible to serve Valentina2 's UTF16 field values to Director. I know about several developers who use embedded Flash members and XML to deal with Unicode. However, this is very difficult to handle and in many cases they get unpredictable results whenever Director is involved. I don't know how Director treats strings "underneath the Lingo surface" but it would be great to find a solution for that. Maybe Adobe is already planning to improve Director for Unicode support but until now the only way to deal with it is Flash. It would be great to have kind of a "Unicode bridge" between the Valentina Xtra and embedded Flash assets. I'm not an expert with text encoding and dependencies between encoding and fonts. I just see that there is Unicode support in Valentina, Unicode support in embedded Flash assets, embedded Fonts in Director and, between all of that, Director's poor string handling which separates them from each other. I also don't know whether a practical solution would be to invent a new stringWithEncoding dataType to director or to temporarily save results as XML files for Flash to load (which way back then from Flash to Director?). As you see I have no specific suggestion for that but only phantasies and dreams. I just wanted to draw your attention upon that item ;-) Regards Tsch. From sunshine at public.kherson.ua Sun Jan 22 21:53:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 13:55:06 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: >> Function Query() is exactly what we need! >> So we can add into V4MD new function >> >> Vdatabase.Query() -- returns property list in format of Arca do. >> >> >> This can be implemented very easy. >> (at last of end do simple things is much easier then do hard :-) >> >> I think everybody will agree that we can add this function with no >> problems. >> >> IF exists some Lingo developers that prefer this way they will get it. >> Developers which what more flexibility and control will go to >> >> SqlExecute() -- it simply returns integer >> SqlSelect() -- to get vcursor and its features. > > Great Idea. Confirmed ;-) Okay, I already have start develop this new function. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 21:56:08 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 13:58:10 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: Hi Tschoatscho, >> * rename existed functions to >> RecordAsPropList2() // deprecated >> >> * and have RecordAsPropList() with new behavior. >> >> So people that use them now will need just find/replace to fix >> existed code. > > How about using GetRecordsWithProps, this would not break existing code. > We already have a function GetRecords that returns a linear list the > same way as Arca does. However, the result doesn't show any field > properties like name, type or affected rows. > So the new function could better be seen as an extension of the > existing GetRecords function than as a modification of > GetRecordsAsPropList. Okay. Yes this is also good way, just I was not able find good name. You have offer good name, so we will go by this way. And you agree, that current 2 methods with XXXXAsProp() should be deprecated. I.e. We will remove them from docs, but they still will live in Xtras up to v 3.0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 22:07:05 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:09:09 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: > For a single record (GetRecordAsPropList) the problem does't apply > because you have to extract field names only once. Because the result > for GetRecordAsPropList is already a propList we could simply add > #columnTypes and #rowsChanged properties without breaking exisiting > code because the field names are string properties now and could > never conflict wih symbol properties like #columnTypes or #rowsChanged. I will think about this suggestion little later. It seems in this case we will have different formats of lists for GetRecordsWithProp GetRecordAsPropList I think better to have GetRecordsWithProp GetRecordWithProp Which will work similarly. Note, rowsChanged is not needed for this method. It is needed only for db.Query() when you do NOT SELECT but any other SQL command. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 22:14:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:16:26 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: > There is also another interesting question: What should be returned > as a field's type property? Arca obviously uses Director's types. In fact SQlLite which is under Arca, has the same set of types. SqlLite have only integer, real, string, BLOB. Nothing more. > This makes sense because Director doesn't make a difference between > Text or VarChar, Short Or Long, SIngle or Double, but only uses > string, integer or float. Even boolean is only an integer which is > TRUE for anything else than 0. Yes I see point > So, the only additional field type > information one could use from a query result is Director's type, > because many of Valentina's types are treated in the same way within > Director. Actually I wonder what for this type info present in Arca list at all ?! Try to show me task when you cannot live without it ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 22:18:50 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:20:52 2006 Subject: [V4MD] please read ALL: -- Images In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: > I admit that I never used Arca until now. So I can't make any > suggestions by comparing Valentina to Arca. However, there are a few > things that I missed in Valintina in my recent projects: > (1)Images: > Director has a data type #image since version 8. You can treat an > image independently from a bitmap member within Director. > With Valentina you have to create a dummy bitmap member and use > .SetPicture/GetPicture(,) to get/set > an image from/to a database. Therefore we cannot return pictures > within a query's propList result. Even worse: if you want a > losslessly compressed picture, a picture with a color depth that JPEG > doesnt support (1,2,4,8) or a picture using an alpha mask, you have > to use .SetMedia/GetMedia(,) instead. > So I would recommend that V4MD2 should stop compatibility with > Director versions lower than 8 and therefore natively support the new > datatypes that came up with Director 8. Besides #image (which is the > most important for me) there are #date and #color as well. The latter > could be expressed with strings as well, but especially with date and > time fields it is sometimes very annoying to parse the strings > respecting the end user's local settings. The #date type is > independent of local settings and even has a #seconds property which > could be used to express a time field's value based on integer > instead of string. Moment! V4MD v2 can work with Images! Please check methods "getImage object me, * -- Reads Picture field to the image "setImage object me, * -- Writes image object into the Picture Do you know this methods ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 22:20:28 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:22:32 2006 Subject: [V4MD] please read ALL: support of #date, #color In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: > Besides #image (which is the > most important for me) there are #date and #color as well. The latter > could be expressed with strings as well, but especially with date and > time fields it is sometimes very annoying to parse the strings > respecting the end user's local settings. The #date type is > independent of local settings and even has a #seconds property which > could be used to express a time field's value based on integer > instead of string. Well no problems. With V4MD2 we even do not try go lower of Director 8. Please add this as feature request into out bug tracking system. Also please describe into which column type should fit the #color -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ich at medienzar.de Sun Jan 22 21:29:24 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Sun Jan 22 14:31:25 2006 Subject: [V4MD] please read ALL: -- Images In-Reply-To: References: Message-ID: <80009142-8909-4DD6-9CC9-38E9F993B28D@medienzar.de> > Moment! > > V4MD v2 can work with Images! > > Please check methods > > "getImage object me, * -- Reads Picture field to the image > "setImage object me, * -- Writes image object into the > Picture > > Do you know this methods ? Well, sorry for that, I'm still working with v1.9.x. I will update as soon as my customers will have paid their bills ;-) However, it would be nice to access image information within a result propList as well, if that doesn't slow down performance. From sunshine at public.kherson.ua Sun Jan 22 22:40:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:42:04 2006 Subject: [V4MD] please read ALL: unicode, flash? In-Reply-To: <79F86240-8526-459E-A70B-8F66F265F08B@medienzar.de> Message-ID: On 1/22/06 9:44 PM, "Tschoatscho Kettl" wrote: Hi Tschoatscho, > (2)Unicode: > First of all: this is not a Valentina problem but much more a > Director problem. > Just wondered how it would be possible to serve Valentina2 's UTF16 > field values to Director. Good question! > I know about several developers who use > embedded Flash members and XML to deal with Unicode. Yes I also have hear about this. Also I have hear about some JavaScript in Director MX (?). And was not yet time discover if any V4MD use JS and need JS. What benefits of JS. And if V4MD2 can be used with JS right now? I.e. Does director self is able use our Xtras with Lingo and JS in the same time ? > However, this is > very difficult to handle and in many cases they get unpredictable > results whenever Director is involved. I don't know how Director > treats strings "underneath the Lingo surface" but it would be great > to find a solution for that. This give me just char* This is not enough to work with unicode strings. Although, nope. I can also know length of string. But I doubt you can write Unicode string in Lingo itself. > Maybe Adobe is already planning to improve Director for Unicode support but > until now the only way to deal with it is Flash. It would be great to have > kind of a "Unicode bridge" between the Valentina Xtra and embedded Flash > assets. > I'm not > an expert with text encoding and dependencies between encoding and > fonts. I just see that there is Unicode support in Valentina, Unicode > support in embedded Flash assets, embedded Fonts in Director and, > between all of that, Director's poor string handling which separates > them from each other. I also don't know whether a practical solution > would be to invent a new stringWithEncoding dataType to director or > to temporarily save results as XML files for Flash to load (which way > back then from Flash to Director?). Well, I also do not have ideas about this. May be other V4MD developers will throw some ideas ? > As you see I have no specific suggestion for that but only phantasies > and dreams. I just wanted to draw your attention upon that item ;-) Just only yesterday I have told: I dream about Director-developer-dreamer! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 22:41:42 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 14:43:43 2006 Subject: [V4MD] please read ALL: -- Images In-Reply-To: <80009142-8909-4DD6-9CC9-38E9F993B28D@medienzar.de> Message-ID: On 1/22/06 10:29 PM, "Tschoatscho Kettl" wrote: >> Moment! >> >> V4MD v2 can work with Images! >> >> Please check methods >> >> "getImage object me, * -- Reads Picture field to the image >> "setImage object me, * -- Writes image object into the >> Picture >> >> Do you know this methods ? > > Well, sorry for that, I'm still working with v1.9.x. > I will update as soon as my customers will have paid their bills ;-) Aha. Good. > However, it would be nice to access image information within a result > propList as well, if that doesn't slow down performance. I think for MANY records it will. On the other hand, new db.Query() will put into list everything you have SELECT. Hmm, I did not think about pictures yet in this list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ich at medienzar.de Sun Jan 22 21:50:13 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Sun Jan 22 14:52:14 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: References: Message-ID: <31E69BA2-9A03-4741-8211-45580F0F7E1E@medienzar.de> Hi Ruslan, > And you agree, that current 2 methods with XXXXAsProp() should be > deprecated. I.e. We will remove them from docs, but they still will > live in > Xtras up to v 3.0 Agree. Any removed API functions make it easier to learn Valentina. Keep it simple for beginners and offer optional parameters for the geeks. Regards Tsch. From ich at medienzar.de Sun Jan 22 22:00:43 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Sun Jan 22 15:02:43 2006 Subject: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: References: Message-ID: <01E56B45-D8D4-4E21-A9A8-302476CC1FCD@medienzar.de> Hi Ruslan, >> So, the only additional field type >> information one could use from a query result is Director's type, >> because many of Valentina's types are treated in the same way within >> Director. > > Actually I wonder what for this type info present in Arca list at > all ?! > > Try to show me task when you cannot live without it ? If we only support types of #string and #integer: you could get trouble after assigning an integer value to a member's #text property. There is an ilk() function in Director, which one could use to check the type of unknown results, so we don't need it at all (if it causes overhead). If you extend the xtra's capabilities to #date, #color and #image within lists, type information could be very useful if you don't want to care about field order in your query. Of course, you could check the order with the field names list but sometimes it is more convenient to concentrate upon the type. Regards Tsch. From jda at his.com Sun Jan 22 16:06:01 2006 From: jda at his.com (jda) Date: Sun Jan 22 15:07:58 2006 Subject: SQL not handling Unicode In-Reply-To: References: Message-ID: Hi Ruslan, I've created a sort method that ignores certain words at the beginning of a name. It works ONLY with ASCII characters -- accented characters don't work. Here is an example of relevant SQL in the method: CASE WHEN LOCATE('z?m ',coalesce(authors,editors))=1 THEN RIGHT(coalesce(authors,editors), LENGTH(coalesce(authors,editors)) - LENGTH('z?m ')) ELSE coalesce(authors,editors) END (it looks for the word 'z?m' at the beginning of the field, and if it is there it returns the field without that word). If this should work, I'll file a bug report. If not, a feature request. Jon From sunshine at public.kherson.ua Sun Jan 22 23:10:42 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 15:17:12 2006 Subject: SQL not handling Unicode In-Reply-To: Message-ID: On 1/22/06 11:06 PM, "jda" wrote: Hi Jon, > I've created a sort method that ignores certain > words at the beginning of a name. It works ONLY > with ASCII characters -- accented characters > don't work. Here is an example of relevant SQL in > the method: > > CASE WHEN LOCATE('z?m > ',coalesce(authors,editors))=1 THEN > RIGHT(coalesce(authors,editors), > LENGTH(coalesce(authors,editors)) - LENGTH('z?m > ')) ELSE coalesce(authors,editors) END > > (it looks for the word 'z?m' at the beginning of > the field, and if it is there it returns the > field without that word). So function LOCATE() fails to find 'z?m' ? > If this should work, I'll file a bug report. If not, a feature request. bug -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jan 22 23:28:36 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 22 15:30:37 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: Message-ID: On 1/22/06 6:22 PM, "Charles Yeomans" wrote: > What I was doing was just checking for error &h82509, "Connection timed > out". Sometimes I get this error, but sometimes the result of > attempting a connection is a stream read error. BTW, avoid to use number constants. Better to use constant names EVError.kErrConnectionTimeOut -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Mon Jan 23 07:33:50 2006 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Jan 23 00:35:58 2006 Subject: AW: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: Message-ID: <000101c61fe6$fbd35cb0$0200a8c0@BLUELAGOON> Hi Ruslan! > > 1) single QUERY function in Database class, which eliminates need of > cursor > at all. > > Hmm. I believe in V4MD 1.x was such function. Also we did have similar > db level function in the Valentina for WebSiphon about 5 years ago. > > So it is good idea add such function to V4MD 2 back. I am still learning VNET and on MD I am using 1.1 but if you removed this function: YES, bring it back. Also for compability. > > > 2) In Vcursor class we have > GetRecordAsPropList(), > GetRecordsAsPropList(). > > and we have functions which can return records as SIMPLE list, > and as Strings formated with some delimiters. So we have a lots here. > > BUT. GetRecordsAsPropList() returns prop list in format > > [ [#fld1_name:v11, #fld2_name:v21], > [#fld1_name:v12, #fld2_name:v22], > [#fld1_name:v13, #fld2_name:v23], > [#fld1_name:v14, #fld2_name:v24] > ] > > It is easy to see that this function stupidly create field names many > times. > IF you look on Arca list, then its author have extract field names into > separate sublist, and rows go as simple list in fact. > Well I do not see big advantages here. But if you like it :-) > > > I think we can: > > * rename existed functions to > RecordAsPropList2() // deprecated > > * and have RecordAsPropList() with new behavior. > > So people that use them now will need just find/replace to fix existed > code. > All new code will go with these new methods. > > What you think about this plan ? Very bad idea. Why force people who update from V1 to V2 (and there are still many of V1 users I would guess) to change their code? Make new names for new functions. If you feel it is easier to no longer mention these functions in the manuals - OK. But do not use functions with same name and different results. Again: very bad idea. And something general: the beginning with Valentina was not easy, yes. But the cursor thing is brilliant when you got used to it. If you want to make it easier for beginners, it would be a good idea to use db.SqlExecute() as integer db.Query() as VResult The the only more functions you would need are ValentinaInit() ValentinaCreate() ValentinaOpen() If you do so, it would be a good idea to change the docs in the same way. You'll need a chapter "V4MD for beginners" showing how to use these 5 functions to create and handle a DB within minutes. Then advanced users can continue to the other chapters Best regards, Florian From sunshine at public.kherson.ua Mon Jan 23 11:11:46 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 03:13:50 2006 Subject: AW: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <000101c61fe6$fbd35cb0$0200a8c0@BLUELAGOON> Message-ID: On 1/23/06 8:33 AM, "Florian Bogeschdorfer" wrote: Hi Florian, >> I think we can: >> >> * rename existed functions to >> RecordAsPropList2() // deprecated >> >> * and have RecordAsPropList() with new behavior. >> >> So people that use them now will need just find/replace to fix existed >> code. >> All new code will go with these new methods. >> >> What you think about this plan ? > > Very bad idea. Why force people who update from V1 to V2 (and there are > still many of V1 users I would guess) to change their code? Right. We already have refuse this idea. We will make new functions with new names. > Make new names for new functions. If you feel it is easier to no longer > mention these functions in the manuals - OK. But do not use functions with > same name and different results. Again: very bad idea. > > And something general: the beginning with Valentina was not easy, yes. But > the cursor thing is brilliant when you got used to it. If you want to make > it easier for beginners, it would be a good idea to use > db.SqlExecute() as integer > db.Query() as VResult Florian, even more easy! only db.Query() !!! this function will be able accept as SELECT so INSERT/UPDATE/... > The the only more functions you would need are > > ValentinaInit() > ValentinaCreate() > ValentinaOpen() Right! > If you do so, it would be a good idea to change the docs in the same way. Exactly! We will add THE FIRST STEP part. > You'll need a chapter "V4MD for beginners" showing how to use these 5 > functions to create and handle a DB within minutes. > > Then advanced users can continue to the other chapters :-) right, this is what we going to do in nearest days -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jan 23 11:13:47 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 03:15:54 2006 Subject: AW: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ? In-Reply-To: <000101c61fe6$fbd35cb0$0200a8c0@BLUELAGOON> Message-ID: On 1/23/06 8:33 AM, "Florian Bogeschdorfer" wrote: >> 2) In Vcursor class we have >> GetRecordAsPropList(), >> GetRecordsAsPropList(). >> >> and we have functions which can return records as SIMPLE list, >> and as Strings formated with some delimiters. So we have a lots here. >> >> BUT. GetRecordsAsPropList() returns prop list in format >> >> [ [#fld1_name:v11, #fld2_name:v21], >> [#fld1_name:v12, #fld2_name:v22], >> [#fld1_name:v13, #fld2_name:v23], >> [#fld1_name:v14, #fld2_name:v24] >> ] >> >> It is easy to see that this function stupidly create field names many >> times. >> IF you look on Arca list, then its author have extract field names into >> separate sublist, and rows go as simple list in fact. >> > Well I do not see big advantages here. But if you like it :-) Advantage is: speed and RAM. * Lingo list is known as slow thing. * so if you get result with 1000 records, then right now Valentina create list with 1000 + 1000 items. In new way it will be only fieldCount + 1000. i.e. About 2 times less. So 2 times faster and 2 times less RAM. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From martin at kinetix.co.uk Mon Jan 23 10:22:36 2006 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Jan 23 04:24:48 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: Message-ID: <20060123102444.3E8183E81AE@edison.macserve.net> Hi Ruslan When I call 'gMyCursor = VOID' there is no indication in the message window thet the cursor is destroyed - i.e. no 'V4MD *:Cursor_Destroy...*' I am creating many cursors in a repeat loop. The following code: gMyCursor = new( xtra "VCursor", GetRef(gMyDB), sql) RecCount = GetRecordCount(gMyCursor) subChapter_list = GetRecordsAsPropList(gMyCursor) gMyCursor = VOID Produces the following message: * V4MD *: GetRef...done * V4MD *: new VCursor...done * V4MD *: Cursor_GetRecordCount...done * V4MD *: Cursor_GetRecordsAsPropList...done Martin On 1/22/06 2:10 PM, "Martin Wright" wrote: Hi Martin, > Even though I always us 'gMyCursor = VOID' there are always lots of 'V4MD *: > Cursor_Destroy...*' when I stop the application. > Is there any better way of destroying the cursor? = VOID is correct way. > Or is there a way of checking if one exists? Strange. * IS anything happens on gMyCursor = VOID ? On this call Director should destroy cursor. * Cursor_Destroy show show some number. This is address of cursor object. it is possible find where it was born. MAY BE you have something as curs = select() curs = select() surs = VOID I.e. You have lost first cursor ... Although Director should self destroy first cursor after second select() and assignment done. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Jan 23 12:26:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 04:28:58 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: <20060123102444.3E8183E81AE@edison.macserve.net> Message-ID: On 1/23/06 12:22 PM, "Martin Wright" wrote: Hi Martin, > Hi Ruslan > > When I call 'gMyCursor = VOID' there is no indication in the message window > thet the cursor is destroyed - > i.e. no 'V4MD *:Cursor_Destroy...*' > > I am creating many cursors in a repeat loop. > > The following code: > gMyCursor = new( xtra "VCursor", GetRef(gMyDB), sql) > RecCount = GetRecordCount(gMyCursor) > subChapter_list = GetRecordsAsPropList(gMyCursor) > gMyCursor = VOID > > > Produces the following message: > * V4MD *: GetRef...done > * V4MD *: new VCursor...done > * V4MD *: Cursor_GetRecordCount...done > * V4MD *: Cursor_GetRecordsAsPropList...done We talk about V4MD 2 ? Can you reproduce this problem on our example or on some simple project ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jan 23 16:06:20 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 08:08:35 2006 Subject: R: R: [V4MD] Problem on closing apllication In-Reply-To: <200601231401.k0NE1g316015@cclab.unile.it> Message-ID: On 1/23/06 4:03 PM, "^^pay^^" wrote: > Hi, > > I uninstalled all, and reintalled all: so your example work properly! > I do a little change to the code (copying from the init_shutdown example) > and it work properly... > So I try to launch and close the application (with the dbfile in write > locked)... AND IT WORK PROPERLY!!! (now it work also on a cd) > I think that the problem on the Valentina Start is caused from a conflict > from different installation.. and the problem on the closing application is > solved by the new Valentina2 version... > > Thank you for all. Okay. Excellent! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Mon Jan 23 13:41:24 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Jan 23 14:43:32 2006 Subject: sql advice Message-ID: <682B777F-F0EC-4C16-8FA2-0EE03FDC626C@gmail.com> I need some help with a database query. Hope it's okay that I post this here. I'm using Valentina 1 with Revolution. I have five tables: Students, StudentYear, StudentClass, Classes, and Teachers. Students contains data that is pretty much static. It does not change from school year to school year. StudentYear contains a pointer to Students, along with a couple fields of data that change every school year (Grade, SchoolYear, etc.). StudentClass is a cross table (or whatever the proper term is) between StudentYear and Classes to create a many-to-many relationship. And then Classes contains an object pointer to Teachers to create a one-to-many between Teachers and Classes. Hopefully this all makes sense so far. Now, in my program I have to generate a list of teachers, such that all teachers are listed, along with any classes that point to those teachers (if any), along with any students associated with those classes (if any). Here is the query I'm currently running: SELECT Teachers.FirstName, Teachers.LastName, Classes.ClassName, Classes.Reading, Students.FirstName, Students.LastName, StudentYear.Grade, Teachers.Type, Teachers.RecID FROM Teachers, Classes, Students, StudentClass, StudentYear WHERE Classes.TeacherPtr*=*Teachers.RecID AND StudentClass.ClassPtr*=Classes.RecID AND StudentClass.StudentYearPtr*=StudentYear.RecID AND StudentYear.StudentPtr*=*Students.RecID AND StudentYear.SchoolYear='2005' AND Teachers.Active=1 As you can see, it's fairly involved. SchoolYear is a value that would correspond to the current school year, so that when running the query it should return all data corresponding to the current school year. Unfortunately, it's not working correctly. I'm getting most of the correct data, but some is missing. What's happening is any teachers and classes that had students assigned to them in a previous school year do not show up in the list for the current school year. I have tried every possible combination of joins I can think of to make this work and I can't figure it out. Maybe what I'm trying to do is not even possible, though it seems like it should be. If I omit the "StudentYear.SchoolYear='2005'" part, then of course I get all the data from every school year, but that's not what I want. Hopefully I've provided enough information. If anyone can see anything I'm missing, I would greatly appreciate any help you could give. I've been banging my head on my desk now for several hours, and it's really starting to hurt. :-) Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Mon Jan 23 23:27:37 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 15:29:45 2006 Subject: sql advice In-Reply-To: <682B777F-F0EC-4C16-8FA2-0EE03FDC626C@gmail.com> Message-ID: On 1/23/06 10:41 PM, "Chris Sheffield" wrote: Hi Chris, > I need some help with a database query. Hope it's okay that I post > this here. > > I'm using Valentina 1 with Revolution. > > I have five tables: Students, StudentYear, StudentClass, Classes, and > Teachers. Students contains data that is pretty much static. It > does not change from school year to school year. StudentYear > contains a pointer to Students, along with a couple fields of data > that change every school year (Grade, SchoolYear, etc.). > StudentClass is a cross table (or whatever the proper term is) > between StudentYear and Classes to create a many-to-many > relationship. And then Classes contains an object pointer to > Teachers to create a one-to-many between Teachers and Classes. > Hopefully this all makes sense so far. > > Now, in my program I have to generate a list of teachers, such that > all teachers are listed, along with any classes that point to those > teachers (if any), along with any students associated with those > classes (if any). Here is the query I'm currently running: > > > SELECT Teachers.FirstName, Teachers.LastName, Classes.ClassName, > Classes.Reading, Students.FirstName, Students.LastName, > StudentYear.Grade, Teachers.Type, Teachers.RecID FROM Teachers, > Classes, Students, StudentClass, StudentYear WHERE > Classes.TeacherPtr*=*Teachers.RecID AND > StudentClass.ClassPtr*=Classes.RecID AND > StudentClass.StudentYearPtr*=StudentYear.RecID AND > StudentYear.StudentPtr*=*Students.RecID AND > StudentYear.SchoolYear='2005' AND Teachers.Active=1 I think first of all it can be good idea to use SQL92 syntax for joins, Although it looks horrible... Also, since you have so complex query, do not write it as the whole. Grow it step by step and check results. ----------------- SELECT ... FROM (Teachers FULL OUTER JOIN Classes ON Teachers.RecID = Classes.TeacherPtr) --------------------- SELECT ... FROM ((Teachers FULL OUTER JOIN Classes ON Teachers.RecID = Classes.TeacherPtr) LEFT OUTER JOIN StudentClass ON Classes.RecID = StudentClass.ClassPtr) But looking at your structure above: 1) StudentYear => Student I think here should be INNER JOIN, but in your query it is FULL OUTER. 2) StudentClass is a cross table. Okay. then probably its links also should be INNER JOINS. ------------------- Logic of your query is: * you have set of Students (for 2005 year). We can forget about StudentYear now. * and you have set of Teachers (active). * and you have Classes. Linked to Students as M : M Linked to Teachers as M : 1 This is high level diagram of your db structure: Teachers Classes StudentYear Students link1 link2 link3 Note, link1 is in your case table StudentClass. It could by BinaryLink. Right? IF to think in terms of link it is simpler to see the whole picture. Now we can start draw draft of JOIN: FROM (((Teachers JOIN Classes using link1) JOIN StudentYear USING link2) JOIN Students USING link3 ) Looks much simpler, right? Btw this is where advantage of LINKS is visible also by eye. Now let's try expand link1 and link3 according to your structure, they are simple: FROM (((Teachers t JOIN Classes c ON t.recID = c.TeacherPtr ) JOIN StudentYear sy ON link2 ) JOIN Students s USING sy.StudentPtr = s.recid ) And now we need expand link2: FROM (((Teachers t JOIN Classes c ON t.recID = c.TeacherPtr ) JOIN StudentClass scl ON c.recID = scl.ClasPtr JOIN StudentYear sy ON scl.StudentYearPtr = sy.recID ) JOIN Students s USING sy.StudentPtr = s.recid ) I hope this is close to true. [Not tested]. IF you need OUTER JOIN, then I think you need it between Teachers and Classes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Mon Jan 23 15:15:42 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Jan 23 16:17:50 2006 Subject: sql advice In-Reply-To: References: Message-ID: Thanks, Ruslan. But isn't this sql syntax only supported with Valentina 2, or am I mistaken? On Jan 23, 2006, at 2:27 PM, Ruslan Zasukhin wrote: > I think first of all it can be good idea to use SQL92 syntax for > joins, > Although it looks horrible... > > Also, since you have so complex query, do not write it as the whole. > Grow it step by step and check results. > > ----------------- > SELECT ... > FROM > (Teachers FULL OUTER JOIN Classes ON Teachers.RecID = > Classes.TeacherPtr) > > > --------------------- > SELECT ... > FROM > ((Teachers FULL OUTER JOIN Classes ON Teachers.RecID = > Classes.TeacherPtr) > LEFT OUTER JOIN StudentClass ON Classes.RecID = > StudentClass.ClassPtr) > > > But looking at your structure above: > > 1) StudentYear => Student > > I think here should be INNER JOIN, but in your query it is FULL > OUTER. > > > 2) StudentClass is a cross table. Okay. > then probably its links also should be INNER JOINS. > > > ------------------- > Logic of your query is: > > * you have set of Students (for 2005 year). > We can forget about StudentYear now. > > * and you have set of Teachers (active). > > * and you have Classes. > Linked to Students as M : M > Linked to Teachers as M : 1 > > > This is high level diagram of your db structure: > > Teachers Classes StudentYear Students > link1 link2 link3 > > > Note, link1 is in your case table StudentClass. It could by > BinaryLink. > Right? IF to think in terms of link it is simpler to see the whole > picture. > > Now we can start draw draft of JOIN: > > FROM > (((Teachers JOIN Classes using link1) > JOIN StudentYear USING link2) > JOIN Students USING link3 ) > > Looks much simpler, right? Btw this is where advantage of LINKS is > visible > also by eye. > > Now let's try expand link1 and link3 according to your structure, > they are > simple: > > FROM > (((Teachers t JOIN Classes c ON t.recID = c.TeacherPtr ) > JOIN StudentYear sy ON link2 ) > JOIN Students s USING sy.StudentPtr = s.recid ) > > And now we need expand link2: > > FROM > (((Teachers t JOIN Classes c ON t.recID = c.TeacherPtr ) > JOIN StudentClass scl ON c.recID = scl.ClasPtr > JOIN StudentYear sy ON scl.StudentYearPtr = sy.recID ) > JOIN Students s USING sy.StudentPtr = s.recid ) > > I hope this is close to true. [Not tested]. > > IF you need OUTER JOIN, then I think you need it between > Teachers and Classes. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Tue Jan 24 00:20:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 16:22:26 2006 Subject: sql advice In-Reply-To: Message-ID: On 1/24/06 12:15 AM, "Chris Sheffield" wrote: > Thanks, Ruslan. But isn't this sql syntax only supported with > Valentina 2, or am I mistaken? Ak, you are on 1.x ? Sorry, I have not realize that Then still you can translate last my form to 1.x style Just I wonder why you have so many outer joins It seems to me these 3 should be simple inner joins. > JOIN StudentClass scl ON c.recID = scl.ClasPtr > JOIN StudentYear sy ON scl.StudentYearPtr = sy.recID ) > JOIN Students s USING sy.StudentPtr = s.recid ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Mon Jan 23 15:23:10 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Jan 23 16:25:16 2006 Subject: sql advice In-Reply-To: References: Message-ID: <08F6BECA-0236-4A6A-B3B8-6D33C47BE3FF@gmail.com> Okay, I'll give that a try. Thanks. On Jan 23, 2006, at 3:20 PM, Ruslan Zasukhin wrote: > On 1/24/06 12:15 AM, "Chris Sheffield" wrote: > >> Thanks, Ruslan. But isn't this sql syntax only supported with >> Valentina 2, or am I mistaken? > > Ak, you are on 1.x ? > Sorry, I have not realize that > > Then still you can translate last my form to 1.x style > > Just I wonder why you have so many outer joins > > It seems to me these 3 should be simple inner joins. > >> JOIN StudentClass scl ON c.recID = scl.ClasPtr >> JOIN StudentYear sy ON scl.StudentYearPtr = sy.recID ) >> JOIN Students s USING sy.StudentPtr = s.recid ) > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Tue Jan 24 00:26:28 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 23 16:28:35 2006 Subject: sql advice In-Reply-To: <682B777F-F0EC-4C16-8FA2-0EE03FDC626C@gmail.com> Message-ID: On 1/23/06 10:41 PM, "Chris Sheffield" wrote: Hi Chris, > Now, in my program I have to generate a list of teachers, such that > all teachers are listed, along with any classes that point to those > teachers (if any), along with any students associated with those > classes (if any). Here is the query I'm currently running: > SELECT Teachers.FirstName, Teachers.LastName, Classes.ClassName, > Classes.Reading, Students.FirstName, Students.LastName, > StudentYear.Grade, Teachers.Type, Teachers.RecID FROM Teachers, > Classes, Students, StudentClass, StudentYear WHERE > Classes.TeacherPtr*=*Teachers.RecID AND > StudentClass.ClassPtr*=Classes.RecID AND > StudentClass.StudentYearPtr*=StudentYear.RecID AND > StudentYear.StudentPtr*=*Students.RecID AND > StudentYear.SchoolYear='2005' AND Teachers.Active=1 > > > As you can see, it's fairly involved. SchoolYear is a value that > would correspond to the current school year, so that when running the > query it should return all data corresponding to the current school > year. Unfortunately, it's not working correctly. I'm getting most > of the correct data, but some is missing. > What's happening is any > teachers and classes that had students assigned to them in a previous > school year do not show up in the list for the current school year. Mmm, why you expect to see something from 2004 year ? You have made WHERE = 2005 > I have tried every possible combination of joins I can think of to make this > work and I can't figure it out. > > Maybe what I'm trying to do is not even possible, though it seems like it > should be. > > If I omit the "StudentYear.SchoolYear='2005'" part, then of course I get all > the data from every school year, but that's not what I want. Then I have not catch. You want to see 2005 year only ? Or prev years also ? > Hopefully I've provided enough information. If anyone can see > anything I'm missing, I would greatly appreciate any help you could > give. I've been banging my head on my desk now for several hours, > and it's really starting to hurt. :-) :-)) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Mon Jan 23 15:56:26 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Jan 23 16:58:32 2006 Subject: sql advice In-Reply-To: References: Message-ID: <50FABF98-A723-4217-8FFA-8D9E91CF3710@gmail.com> When I do this (in Valentina 1 syntax (hopefully I've got it correct), I don't get all the data I want. Any classes and teachers that do not have students in the current year do not show on the list. And they should. Maybe I've got the syntax on my joins incorrect still. Here it is: Classes.TeacherPtr=Teachers.RecID AND StudentClass.ClassPtr=Classes.RecID AND StudentClass.StudentYearPtr=StudentYear.RecID AND StudentYear.StudentPtr=Students.RecID Am I still missing something? Chris On Jan 23, 2006, at 3:20 PM, Ruslan Zasukhin wrote: >> JOIN StudentClass scl ON c.recID = scl.ClasPtr >> JOIN StudentYear sy ON scl.StudentYearPtr = sy.recID ) >> JOIN Students s USING sy.StudentPtr = s.recid ) ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From yeomans at desuetude.com Mon Jan 23 19:46:53 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jan 23 18:48:59 2006 Subject: [V4Rb] Checking for server timeout In-Reply-To: References: Message-ID: On Jan 22, 2006, at 4:28 PM, Ruslan Zasukhin wrote: > On 1/22/06 6:22 PM, "Charles Yeomans" wrote: > >> What I was doing was just checking for error &h82509, "Connection >> timed >> out". Sometimes I get this error, but sometimes the result of >> attempting a connection is a stream read error. > > BTW, avoid to use number constants. Better to use constant names > > EVError.kErrConnectionTimeOut I hadn't noticed EVError; thanks. -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Jan 24 12:06:47 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 04:08:52 2006 Subject: sql advice In-Reply-To: <50FABF98-A723-4217-8FFA-8D9E91CF3710@gmail.com> Message-ID: On 1/24/06 12:56 AM, "Chris Sheffield" wrote: > When I do this (in Valentina 1 syntax (hopefully I've got it > correct), I don't get all the data I want. Any classes and teachers > that do not have students in the current year do not show on the > list. And they should. > > Maybe I've got the syntax on my joins incorrect still. Here it is: > > Classes.TeacherPtr=Teachers.RecID AND > StudentClass.ClassPtr=Classes.RecID AND > StudentClass.StudentYearPtr=StudentYear.RecID AND > StudentYear.StudentPtr=Students.RecID > > > Am I still missing something? This is only inner joins. You need some of them to be outers. So you want to see ALL Classes, even if they not have student in current year. Note, I change order of conditions to reflect your diagram! You start from Teacher, then go to Classes. From Classes to you go Students via link-table StudentClass. Teachers.RecID = Classes.TeacherPtr AND Classes.RecID *= StudentClass.ClassPtr AND StudentClass.StudentYearPtr = StudentYear.RecID AND StudentYear.StudentPtr = Students.RecID -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Tue Jan 24 07:12:02 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue Jan 24 08:14:11 2006 Subject: sql advice In-Reply-To: References: Message-ID: <11F38EE9-B0A7-4FFD-BF81-6EAC3A37875D@gmail.com> Still no go unfortunately. This only returns the teachers and classes that have students. As you said, I need all teachers and classes, whether they have students or not. I know this seems like it should work, but it doesn't unless I remove the SchoolYear condition. But I need to be able to filter the records by SchoolYear, otherwise I'm in trouble. Thanks. On Jan 24, 2006, at 3:06 AM, Ruslan Zasukhin wrote: > > Teachers.RecID = Classes.TeacherPtr AND > Classes.RecID *= StudentClass.ClassPtr AND > StudentClass.StudentYearPtr = StudentYear.RecID AND > StudentYear.StudentPtr = Students.RecID ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From ayu8 at cdc.gov Tue Jan 24 09:49:43 2006 From: ayu8 at cdc.gov (Sims, John) Date: Tue Jan 24 09:06:41 2006 Subject: sql advice Message-ID: > > Still no go unfortunately. This only returns the teachers > and classes that have students. As you said, I need all > teachers and classes, whether they have students or not. > > I know this seems like it should work, but it doesn't unless > I remove the SchoolYear condition. But I need to be able to > filter the records by SchoolYear, otherwise I'm in trouble. > > Thanks. > > > On Jan 24, 2006, at 3:06 AM, Ruslan Zasukhin wrote: > > > > > Teachers.RecID = Classes.TeacherPtr AND Classes.RecID *= > > StudentClass.ClassPtr AND StudentClass.StudentYearPtr = > > StudentYear.RecID AND StudentYear.StudentPtr = Students.RecID > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ Hi Chris, Try this: SELECT Teachers.FirstName, Teachers.LastName, Classes.ClassName, Classes.Reading, Students.FirstName, Students.LastName, StudentYear.Grade, Teachers.Type, Teachers.RecID FROM Teachers, Classes, Students, StudentClass, StudentYear WHERE Teachers.RecID*=Classes.TeacherPtr AND Classes.RecID*=StudetClass.ClassPtr AND StudentClass.StudentYearPtr*=StudentYear.RecID AND StudentYear.StudentPtr*=Students.RecID AND StudentYear.SchoolYear='2005' AND Teachers.Active=1 This should give you all Teachers, all Classes as long as a Teacher is assigned to the class, and then the other info you are looking for. I hope this works. It is kind of hard to know for sure without seeing the actual data. Good luck, -John From cmsheffield at gmail.com Tue Jan 24 08:19:42 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue Jan 24 09:21:52 2006 Subject: sql advice In-Reply-To: References: Message-ID: Unfortunately, no. I had tried this very thing just before seeing your post. It's as if by applying the SchoolYear='2005' part, it's only returning teachers and classes that have students in that year, even though it seems like it should return all teachers and classes regardless. I'm missing the key somewhere. On Jan 24, 2006, at 7:49 AM, Sims, John wrote: > SELECT Teachers.FirstName, Teachers.LastName, Classes.ClassName, > Classes.Reading, Students.FirstName, Students.LastName, > StudentYear.Grade, Teachers.Type, Teachers.RecID > FROM Teachers, Classes, Students, StudentClass, StudentYear > WHERE Teachers.RecID*=Classes.TeacherPtr > AND Classes.RecID*=StudetClass.ClassPtr > AND StudentClass.StudentYearPtr*=StudentYear.RecID > AND StudentYear.StudentPtr*=Students.RecID > AND StudentYear.SchoolYear='2005' > AND Teachers.Active=1 > > This should give you all Teachers, all Classes as long as a Teacher is > assigned to the class, and then the other info you are looking for. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From cbpelto at pcisys.net Tue Jan 24 10:02:45 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jan 24 11:04:26 2006 Subject: The New Reference Message-ID: Morning [local] Ruslan, Could you please check the web-site for documentation. I can't seem to access the V4RBReference_2en.pdf, updated Jan 15, 2006. All the others are accessible. Thanks, Chuck Pelto From martin at kinetix.co.uk Tue Jan 24 17:14:03 2006 From: martin at kinetix.co.uk (Martin Wright) Date: Tue Jan 24 11:16:17 2006 Subject: [V4MD] split MAC xtra In-Reply-To: Message-ID: <20060124171613.A80DD3E85FF@edison.macserve.net> Hi Ruslan How can I split the MAC xtra, so I can create a Mac projector from Windows Director MX 2004? Martin From sunshine at public.kherson.ua Tue Jan 24 19:57:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 11:59:27 2006 Subject: sql advice In-Reply-To: <11F38EE9-B0A7-4FFD-BF81-6EAC3A37875D@gmail.com> Message-ID: On 1/24/06 4:12 PM, "Chris Sheffield" wrote: > Still no go unfortunately. This only returns the teachers and > classes that have students. As you said, I need all teachers and > classes, whether they have students or not. > > I know this seems like it should work, but it doesn't unless I remove > the SchoolYear condition. But I need to be able to filter the > records by SchoolYear, otherwise I'm in trouble. IF you want please send db to Ivan. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 24 19:58:40 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 12:00:45 2006 Subject: The New Reference In-Reply-To: Message-ID: On 1/24/06 7:02 PM, "Chuck Pelto" wrote: > Morning [local] Ruslan, > > Could you please check the web-site for documentation. > > I can't seem to access the V4RBReference_2en.pdf, updated Jan 15, 2006. > > All the others are accessible. I do not see problems, Chuck. I have try file, and it start download. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 24 20:01:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 12:03:29 2006 Subject: [V4MD] split MAC xtra In-Reply-To: <20060124171613.A80DD3E85FF@edison.macserve.net> Message-ID: On 1/24/06 7:14 PM, "Martin Wright" wrote: Hi Martin, > Hi Ruslan > > How can I split the MAC xtra, so I can create a Mac projector from Windows > Director MX 2004? I think this is question not to me, but to Director docs or HOW TO. It seems about 6-9 months ago something about this was mentioned on this list. Anybody have experience on this ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Tue Jan 24 11:52:10 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jan 24 12:53:49 2006 Subject: The New Reference In-Reply-To: References: Message-ID: Okay.... ...this time, the fourth attempt, the first after your reply, it worked. Thanks....whatever it was you did. Regards, Chuck On Jan 24, 2006, at 10:58 AM, Ruslan Zasukhin wrote: > On 1/24/06 7:02 PM, "Chuck Pelto" wrote: > >> Morning [local] Ruslan, >> >> Could you please check the web-site for documentation. >> >> I can't seem to access the V4RBReference_2en.pdf, updated Jan 15, >> 2006. >> >> All the others are accessible. > > I do not see problems, Chuck. > I have try file, and it start download. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Jan 24 22:55:43 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 14:57:54 2006 Subject: [ANN] V4MD MAC 2.2 b3 uploaded. [NEW] db.SqlQuery() method. Message-ID: Hi V4MD Developers! You can download 2.2 b3 build. This build contains new function Vdatabase.SqlQuery() which returns property list. * this method can work with ANY SQL command. * it is expected that it A LOTS simplify usage of V4MD for newbie Director developers. * it also have #errNumberHex, so you can easy see hex value of error code. Please try and let me know your comments. If somebody need WIN build please let me know, I will make it also then. V4MD - 2.2 b3 ============= - 0001271: [Examples] [NEW] SQL/GettingStarted. Demonstrates usage of db.SqlQuery() method. (Ruslan Zasukhin) - 0001270: [API] [NEW] VDatabase.SqlQuery() method that returns Property List for ANY SQL command. (Ruslan Zasukhin) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Tue Jan 24 22:20:02 2006 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Jan 24 15:22:08 2006 Subject: [ANN] V4MD MAC 2.2 b3 uploaded. [NEW] db.SqlQuery() method. References: Message-ID: <002501c6212b$f0e2bee0$c1573897@paolof61yi6d5z> ----- Original Message ----- From: "Ruslan Zasukhin" To: ; ; "Chuck Neal" Sent: Tuesday, January 24, 2006 9:55 PM Subject: [ANN] V4MD MAC 2.2 b3 uploaded. [NEW] db.SqlQuery() method. > Hi V4MD Developers! > > You can download 2.2 b3 build. > > This build contains new function Vdatabase.SqlQuery() which returns > property > list. > > * this method can work with ANY SQL command. > * it is expected that it A LOTS simplify usage of V4MD for newbie > Director developers. > > * it also have #errNumberHex, so you can easy see hex value of error > code. > > > Please try and let me know your comments. > If somebody need WIN build please let me know, I will make it also then. Yes I want try this new beta, thanks Paolo > > V4MD - 2.2 b3 > ============= > - 0001271: [Examples] [NEW] SQL/GettingStarted. Demonstrates usage of > db.SqlQuery() method. (Ruslan Zasukhin) > - 0001270: [API] [NEW] VDatabase.SqlQuery() method that returns Property > List for ANY SQL command. (Ruslan Zasukhin) > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Jan 25 00:02:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 24 16:05:13 2006 Subject: [ANN] V4MD WIN 2.2 b3 uploaded also. [NEW] db.SqlQuery() method. In-Reply-To: Message-ID: On 1/24/06 10:55 PM, "Ruslan Zasukhin" wrote: > Hi V4MD Developers! > > You can download 2.2 b3 build. > > This build contains new function Vdatabase.SqlQuery() which returns property > list. > > * this method can work with ANY SQL command. > * it is expected that it A LOTS simplify usage of V4MD for newbie > Director developers. > > * it also have #errNumberHex, so you can easy see hex value of error > code. > > > Please try and let me know your comments. > If somebody need WIN build please let me know, I will make it also then. > > > V4MD - 2.2 b3 > ============= > - 0001271: [Examples] [NEW] SQL/GettingStarted. Demonstrates usage of > db.SqlQuery() method. (Ruslan Zasukhin) > - 0001270: [API] [NEW] VDatabase.SqlQuery() method that returns Property > List for ANY SQL command. (Ruslan Zasukhin) > -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From martin at kinetix.co.uk Wed Jan 25 12:14:35 2006 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Jan 25 06:17:40 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: Message-ID: <20060125121644.F3B8B3E88BF@edison.macserve.net> Hi Ruslan If the variable used for the cursor (gMyCursor in my case) is global, the cursor won't destroy. If I use a temporary (local) variable (not global) the cursor destroys every time. Martin On 1/23/06 12:22 PM, "Martin Wright" wrote: Hi Martin, > Hi Ruslan > > When I call 'gMyCursor = VOID' there is no indication in the message > window thet the cursor is destroyed - i.e. no 'V4MD > *:Cursor_Destroy...*' > > I am creating many cursors in a repeat loop. > > The following code: > gMyCursor = new( xtra "VCursor", GetRef(gMyDB), sql) RecCount = > GetRecordCount(gMyCursor) subChapter_list = > GetRecordsAsPropList(gMyCursor) gMyCursor = VOID > > > Produces the following message: > * V4MD *: GetRef...done > * V4MD *: new VCursor...done > * V4MD *: Cursor_GetRecordCount...done > * V4MD *: Cursor_GetRecordsAsPropList...done We talk about V4MD 2 ? Can you reproduce this problem on our example or on some simple project ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jan 25 18:49:53 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jan 25 10:52:08 2006 Subject: [V4MD] Cursor_Destroy In-Reply-To: <20060125121644.F3B8B3E88BF@edison.macserve.net> Message-ID: On 1/25/06 2:14 PM, "Martin Wright" wrote: > Hi Ruslan > > If the variable used for the cursor (gMyCursor in my case) is global, the > cursor won't destroy. > If I use a temporary (local) variable (not global) the cursor destroys every > time. Right Martin, Global cursors you should destroy self using gcursor = VOID -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Wed Jan 25 10:25:40 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jan 25 11:27:23 2006 Subject: Setting Data Into New Record Message-ID: Is there anything special in a call to set a single field of a newly created record to a particular value? I'm interested in creating a new record in a table the moment someone creates a new row in an RB2005 listbox. I want to set a pointer field in that newly created record to point to the record in another table. The code I have so far is: childRecID = App.tblChild.AddRecord() // make new child record and capture the new record's ID I want to add the recID for the parent record to the newly created child record. Is Valentina pointing to the newly created record in the child table at this point, so that a simple... App.tblChild.Field("chld_parentptr") = parentRecID ...sufficient? Regards, Chuck From cbpelto at pcisys.net Wed Jan 25 10:56:53 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jan 25 11:58:33 2006 Subject: Setting Data Into New Record In-Reply-To: References: Message-ID: <0251260E-B424-4A0C-B3F2-30EA56CC7073@pcisys.net> Looks like it does work... On Jan 25, 2006, at 10:25 AM, Chuck Pelto wrote: > Is there anything special in a call to set a single field of a > newly created record to a particular value? > > I'm interested in creating a new record in a table the moment > someone creates a new row in an RB2005 listbox. I want to set a > pointer field in that newly created record to point to the record > in another table. > > The code I have so far is: > > childRecID = App.tblChild.AddRecord() // make new child record and > capture the new record's ID > > I want to add the recID for the parent record to the newly created > child record. > > Is Valentina pointing to the newly created record in the child > table at this point, so that a simple... > > App.tblChild.Field("chld_parentptr") = parentRecID > > ...sufficient? > > Regards, > > Chuck > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Wed Jan 25 14:31:30 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jan 25 15:33:10 2006 Subject: SQL Select Problem Message-ID: <716BB01E-8CCE-441E-BD7B-64846F0554DC@pcisys.net> Is there something wrong here? I'm not getting any records found in a simple SQL SELECT search. Are my params wrong? thisCursor = App.tDatabase.SQLSelect(sqlString, EVCursorLocation.kClientSide, EVLockType.kReadWrite, EVCursorDirection.kRandom) Is there something wrong with my SQL argument? SELECT RecID, * FROM Information WHERE info_contactsptr = '1' I can see the record in the information table using VStudio. But after the SQLSelect() call is run, there are no records in the cursor. Admittedly, this is my first effort at using SQL with V4RB2. And something seem to have changed. I'm just wondering if I caught them all. Regards, Chuck From ich at medienzar.de Wed Jan 25 23:23:03 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Wed Jan 25 16:25:17 2006 Subject: SQL Select Problem In-Reply-To: <716BB01E-8CCE-441E-BD7B-64846F0554DC@pcisys.net> References: <716BB01E-8CCE-441E-BD7B-64846F0554DC@pcisys.net> Message-ID: <1929D7D9-A9AD-4191-86C0-9DF9870001BB@medienzar.de> > SELECT RecID, * FROM Information WHERE info_contactsptr = '1' I'm neither a Realbasic nor a SQL expert but if info_contactsptr id an object pointer, it should not be compared with a string. Did you try to remove the kommas -> WHERE info_contactsptr = 1 From cbpelto at pcisys.net Wed Jan 25 15:50:11 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jan 25 16:51:52 2006 Subject: SQL Select Problem In-Reply-To: <716BB01E-8CCE-441E-BD7B-64846F0554DC@pcisys.net> References: <716BB01E-8CCE-441E-BD7B-64846F0554DC@pcisys.net> Message-ID: <5C5A6619-34B6-404B-88DF-9F288F089D15@pcisys.net> My error.... On Jan 25, 2006, at 2:31 PM, Chuck Pelto wrote: > Is there something wrong here? > > I'm not getting any records found in a simple SQL SELECT search. > > Are my params wrong? > > thisCursor = App.tDatabase.SQLSelect(sqlString, > EVCursorLocation.kClientSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom) > > Is there something wrong with my SQL argument? > > SELECT RecID, * FROM Information WHERE info_contactsptr = '1' > > I can see the record in the information table using VStudio. > > But after the SQLSelect() call is run, there are no records in the > cursor. > > Admittedly, this is my first effort at using SQL with V4RB2. And > something seem to have changed. I'm just wondering if I caught them > all. I was putting the AddRecord() before the call to modify the pointer field in the child. And no UpdateRecord() call following. Sorry for my confusion. Regards, Chuck From philip.moetteli at econophone.ch Thu Jan 26 14:17:50 2006 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Thu Jan 26 07:20:09 2006 Subject: (no subject) Message-ID: <18487733-2DE1-4207-AE3D-0E711D0BDFCB@econophone.ch> Hello, What is actually happening, when I do a I_Server->AddUser(userName, password, inIsAdmin); How is the user chosen, under which name a transaction is made? Thanks Phil From sunshine at public.kherson.ua Thu Jan 26 15:20:48 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 26 07:22:57 2006 Subject: (no subject) In-Reply-To: <18487733-2DE1-4207-AE3D-0E711D0BDFCB@econophone.ch> Message-ID: On 1/26/06 3:17 PM, "Philip M?tteli" wrote: Hi Philip, > What is actually happening, when I do a > > I_Server->AddUser(userName, password, inIsAdmin); > > How is the user chosen, under which name a transaction is made? For now Vserver have quite simple managing of users. This command just add new record into table "Users" of MasterDb -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jan 26 17:27:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jan 26 09:29:46 2006 Subject: ValentinaSQL.pdf updated Message-ID: http://paradigmasoft.com/docs/ValentinaSQL_2_en.pdf Corrected grammar to reflect * clonedb * convertRDBLink * table_dot_column * table_dot_column_list * column_reference -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Jan 27 18:53:24 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jan 27 17:55:36 2006 Subject: [V4Rb] VTable.CreateObjectPtrField question Message-ID: <1ac7ccac4bbb05e3f4fcd78e4f966d10@desuetude.com> What happens if I pass a nil reference for the target parameter to VTable.CreateObjectPtrField? Charles Yeomans From sunshine at public.kherson.ua Sat Jan 28 02:12:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jan 27 18:14:35 2006 Subject: [V4Rb] VTable.CreateObjectPtrField question In-Reply-To: <1ac7ccac4bbb05e3f4fcd78e4f966d10@desuetude.com> Message-ID: On 1/28/06 1:53 AM, "Charles Yeomans" wrote: > What happens if I pass a nil reference for the target parameter to > VTable.CreateObjectPtrField? Will be create invalid ObjectPtr field I think. Later it is possible set correct tagret using VObjectPtr.Target property -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jan 28 10:56:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 28 02:58:44 2006 Subject: [Valentina 2] Binary Links are amazing! In-Reply-To: Message-ID: On 1/28/06 6:33 AM, "Justin Drury" wrote: Hi Justin, > I just used a binary link on two tables...amazing, I'm blown away... :-) > I'm having a bit of a hard time with the docs, apart from count_linked is > there any other cool functions for binary links? YES. Please check ValentinaSQL.pdf section "Link Functions" Or you ask about API functions? Then you need check I_Link, I_Link2 interfaces. We still will improve these interfaces and exposed methods into plugins. > select * from table1,table2 seems to automatically join, is there anything > else that's nifty? * Also you can find USEFUL new operator -> Please read SQL.pdf if still questions about it, let me know. In short: this is part of SQL2003, but(!) we have extend this idea to be used with our Links feature. We like results :-) This operator can REALLY simply as syntax of your query so increase performance, because it removes need in join. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Frank Schima from Valentina list use this feature very intensive and have offer many ideas how to improve this future more. * Also note that we have extend syntax of join of SL92 SELECT ... FROM T1 JOIN T2 ON link_name When you have 3-4-5 tables to join, such syntax simplify a lots query. Note, in 80% of cases you can use even simpler form: SELECT ... FROM T1 JOIN T2 > BTW, in the api a link is made by passing an array, is there any reason why > there's no? linkRecords(int recID1,int recID2) ? Aha, this is exactly what must be improved. Right now into plugins exposed set of methods which go from general I_Link. I_Link2 have methods which are comfortable for partial case - link between 2 tables. So I_Link2 should have method which you want. And binaryLink should inherit it. > Again... amazing...so easy and powerful, I just used it to join up files on > hard drive in one table with metadata from a mysql dump in another table and > was able to give the client reports on duplicate records, orphaned files on > disk, files in the database without corresponding files.? Amazing... And I hope you have note that BinaryLink can handle M : M link? Actually Links and BinaryLinks is the most REVOLUTIONARY new feature of Valentina 2.x. As I like say: any other DBMS of the world do not have this. It is clean Paradigma Software invention. And as far as I see, developers which have spend time to try it very like it! Also note, on Valentina list we have discuss with Ed new improvements to BinaryLinks. Believe me, it will be just fantastic thing. :-) > and indexing in v2 on a field is sooooo much faster than v1. Good news. Then I think you will be happy that the next build 2.2 fc4 will be able index varchar/string about 3 times faster of 2.1. 2.1 do bench which I have in 100 seconds, 2.2 now in 32 seconds. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 28 07:44:24 2006 From: jda at his.com (jda) Date: Sat Jan 28 06:46:37 2006 Subject: New folders being created? In-Reply-To: References: Message-ID: Hi Ruslan, I'm seeing what I think is new behavior. If I launch my app on a .dmg, a new series of folders is created on the .dmg: Library -> Application Support -> ICU (empty) Is this intentional (I don't recall seeing it in previous released -- I'm using 2.2b2). Jon From sunshine at public.kherson.ua Sat Jan 28 15:36:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 28 07:39:12 2006 Subject: New folders being created? In-Reply-To: Message-ID: On 1/28/06 2:44 PM, "jda" wrote: > Hi Ruslan, > > I'm seeing what I think is new behavior. If I launch my app on a > .dmg, a new series of folders is created on the .dmg: > > Library -> Application Support -> ICU (empty) > > Is this intentional (I don't recall seeing it in previous released -- > I'm using 2.2b2). No. I have not see this ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 28 08:44:11 2006 From: jda at his.com (jda) Date: Sat Jan 28 07:46:26 2006 Subject: New folders being created? In-Reply-To: References: Message-ID: >On 1/28/06 2:44 PM, "jda" wrote: > >> Hi Ruslan, >> >> I'm seeing what I think is new behavior. If I launch my app on a >> .dmg, a new series of folders is created on the .dmg: >> >> Library -> Application Support -> ICU (empty) >> >> Is this intentional (I don't recall seeing it in previous released -- >> I'm using 2.2b2). > >No. I have not see this ... > Hm, I removed VComponents from CFMSupport (so I can test my bundle that has the support files to make sure it is working) and that's when I see the new folders created. Jon From sunshine at public.kherson.ua Sat Jan 28 17:50:06 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 28 09:52:21 2006 Subject: New folders being created? In-Reply-To: Message-ID: On 1/28/06 3:44 PM, "jda" wrote: >>> I'm seeing what I think is new behavior. If I launch my app on a >>> .dmg, a new series of folders is created on the .dmg: >>> >>> Library -> Application Support -> ICU (empty) >>> >>> Is this intentional (I don't recall seeing it in previous released -- >>> I'm using 2.2b2). >> >> No. I have not see this ... >> > > Hm, I removed VComponents from CFMSupport (so I can test my bundle > that has the support files to make sure it is working) and that's > when I see the new folders created. This happens only on .dmg Or in simple separate folder it also happens ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 28 10:57:00 2006 From: jda at his.com (jda) Date: Sat Jan 28 09:59:16 2006 Subject: New folders being created? In-Reply-To: References: Message-ID: >On 1/28/06 3:44 PM, "jda" wrote: > >>>> I'm seeing what I think is new behavior. If I launch my app on a >>>> .dmg, a new series of folders is created on the .dmg: >>>> >>>> Library -> Application Support -> ICU (empty) >>>> >>>> Is this intentional (I don't recall seeing it in previous released -- >>>> I'm using 2.2b2). >>> >>> No. I have not see this ... >>> >> >> Hm, I removed VComponents from CFMSupport (so I can test my bundle >> that has the support files to make sure it is working) and that's >> when I see the new folders created. > >This happens only on .dmg > >Or in simple separate folder it also happens ? > Only on the .dmg. And it happens whether or not VComponents is installed in CFMSupport. It's as if Valentina wants a /LIbrary folder, and if there isn't one (like on the .dmg) it creates one... Jon From sunshine at public.kherson.ua Sat Jan 28 18:08:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 28 10:11:11 2006 Subject: New folders being created? In-Reply-To: Message-ID: On 1/28/06 5:57 PM, "jda" wrote: >>>>> I'm seeing what I think is new behavior. If I launch my app on a >>>>> .dmg, a new series of folders is created on the .dmg: >>>>> >>>>> Library -> Application Support -> ICU (empty) >>>>> >>>>> Is this intentional (I don't recall seeing it in previous released -- >>>>> I'm using 2.2b2). >>>> >>>> No. I have not see this ... >>>> >>> >>> Hm, I removed VComponents from CFMSupport (so I can test my bundle >>> that has the support files to make sure it is working) and that's >>> when I see the new folders created. >> >> This happens only on .dmg >> >> Or in simple separate folder it also happens ? >> > > Only on the .dmg. > > And it happens whether or not VComponents is installed in CFMSupport. > > It's as if Valentina wants a /LIbrary folder, and if there isn't one > (like on the .dmg) it creates one... But not clear why Application Support present here -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jan 28 11:17:40 2006 From: jda at his.com (jda) Date: Sat Jan 28 10:19:55 2006 Subject: New folders being created? In-Reply-To: References: Message-ID: > > >> This happens only on .dmg >>> >>> Or in simple separate folder it also happens ? >>> >> >> Only on the .dmg. >> >> And it happens whether or not VComponents is installed in CFMSupport. >> >> It's as if Valentina wants a /LIbrary folder, and if there isn't one >> (like on the .dmg) it creates one... > >But not clear why Application Support present here > I know. Why not try launching one of the examples on a .dmg yourself and see if you see it? Jon From sunshine at public.kherson.ua Sun Jan 29 20:10:09 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jan 29 12:12:26 2006 Subject: [DOCS] V4MD_Reference_2_en.pdf updated Message-ID: Hi All, http://paradigmasoft.com/docs/V4MD_Reference_2_en.pdf You can download update document. * I have add description of new function db.SqlQuery * improved a lots part "Getting Started" pages 5-9. Please check this changes and let me know if anything is missing and should be added. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Tue Jan 31 07:53:05 2006 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Jan 30 12:55:27 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: References: Message-ID: <7.0.0.16.2.20060131074906.039d35a0@paradise.net.nz> >You can download Vstudio WIN build. > >Main news here ? support of pictures. >I hope Director/V4MD developers will love this. Was the ability to connect to an ODBC data source removed, and if so are there plans to re-instate it? (I don't seem to be able to do so, as it doesn't appear in the "Connect to..." options - "Valentina Server" is the only entry) Thanks, -Sean. From sunshine at public.kherson.ua Mon Jan 30 21:08:34 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 30 13:11:00 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: <7.0.0.16.2.20060131074906.039d35a0@paradise.net.nz> Message-ID: On 1/30/06 8:53 PM, "Sean Wilson" wrote: > >> You can download Vstudio WIN build. >> >> Main news here ? support of pictures. >> I hope Director/V4MD developers will love this. > > Was the ability to connect to an ODBC data source > removed, and if so are there plans to re-instate > it? (I don't seem to be able to do so, as it > doesn't appear in the "Connect to..." options - > "Valentina Server" is the only entry) Hi Sean, We have drop ability CONNECT TO ODBC source to browse its structure and data Because on market exists a lots of such tools, so we have decide no need spend efforts to improve this. BUT you still can do IMPORT of data from ODBC source. You can do this via Import Wizard. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Mon Jan 30 20:20:05 2006 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Jan 30 13:22:35 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: References: Message-ID: <384C68B6-2157-4C94-9135-BB5BA42B4213@valentina-db.de> >> Was the ability to connect to an ODBC data source >> removed, and if so are there plans to re-instate >> it? (I don't seem to be able to do so, as it >> doesn't appear in the "Connect to..." options - >> "Valentina Server" is the only entry) > > Hi Sean, > > We have drop ability CONNECT TO ODBC source to browse its structure > and data > Because on market exists a lots of such tools, so we have decide no > need > spend efforts to improve this. > > BUT you still can do IMPORT of data from ODBC source. > You can do this via Import Wizard. > Hi Sean, you have to download the additional Plugins from the Website. They contain Valentina 1.x and ODBC access. You will need the ODBC Plugin if you want to import from an ODBC source. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Mon Jan 30 21:26:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 30 13:28:54 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: <384C68B6-2157-4C94-9135-BB5BA42B4213@valentina-db.de> Message-ID: On 1/30/06 9:20 PM, "Jochen Peters" wrote: > you have to download the additional Plugins from the Website. They > contain Valentina 1.x and ODBC access. > You will need the ODBC Plugin if you want to import from an ODBC source. Jochen, so on default Vstudio do not have ODBC import now ? Why you have remove it ? We was going remove into separate archive only V1 plugin. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Tue Jan 31 08:29:07 2006 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Jan 30 13:31:27 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: <384C68B6-2157-4C94-9135-BB5BA42B4213@valentina-db.de> References: <384C68B6-2157-4C94-9135-BB5BA42B4213@valentina-db.de> Message-ID: <7.0.0.16.2.20060131082820.02574a58@paradise.net.nz> >you have to download the additional Plugins from the Website. OK, I looked and the download site for plugins isn't obvious - can you provide a URL? Thanks, -Sean. From sunshine at public.kherson.ua Mon Jan 30 21:30:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 30 13:33:02 2006 Subject: [ANN] Vstudio 2.1 fc7 for Windows uploaded In-Reply-To: <7.0.0.16.2.20060131082820.02574a58@paradise.net.nz> Message-ID: On 1/30/06 9:29 PM, "Sean Wilson" wrote: > >> you have to download the additional Plugins from the Website. > > OK, I looked and the download site for plugins isn't obvious - can > you provide a URL? http://paradigmasoft.com/en/products/download/VSTUDIO Here you can see them -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 31 14:20:08 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 06:22:34 2006 Subject: [V4RB2.1] VSet position ? In-Reply-To: Message-ID: On 1/31/06 12:31 PM, "Daniel FLEURY" wrote: >> Do you mean that you have RecID and you want find its position in ArraySet? > > Yes, right > > >> >> So you have ArraySet with some records, >> Then you add record ... Get new RecID >> >> And you want insert it into ArraySet ? >> even more ... To keep array sorted? > > example: > > newRecID=table.addrecord() > allRecords=table.SelectAllRecords() > allRecordsSortedByField=table.Sort(allRecords, table.field("aField"), > true)//I update the VArraySet > > and now I would like something like= > newPosition=allRecordsSortedByField.position(newRecID) Moment. Note that allRecordsSortedByField do NOT contains this new RecID. Because when you have create it this record did not exists. You need self append new item into array and item will go into END of array. So this will be like Windows do :-) > mySlider.value = newPosition Well I see next way: - after add of new record you need create new set and sort it again. - then you can use NEW function which we can add: index = Varray.IndexOf( recid ) So you can set correctly yor slider. >> I think there is no such API now. > > It would be usefull ! Please add request into Mantis >> You want keep it sorting how? By values of RecID? >> Because if you have array that keep sort order e.g. by field f1, >> >> Then you cannot know where to insert that new RecID. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From marcel.lenormand at gmail.com Tue Jan 31 12:31:59 2006 From: marcel.lenormand at gmail.com (Marcel Lenormand) Date: Tue Jan 31 07:02:16 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: References: Message-ID: <129556979fc4df31aa2cba2a3cea8bd2@gmail.com> Thanks to Ruslan for the new 'Getting Started' section of the V4MD Reference docs. I'm very new to the list and Valentina, so any assistance getting going is gratefully appreciated. Follow the docs' instructions for the "sqlQuery" command I'm running into a "Handler not found" error. My code looks like this... res = gDatabase.SqlQuery( "SELECT * FROM Bookings WHERE BookingID = 'ib2263' " ) put res and my test project is based on the Tutorial Examples : lesson 3 : step 1 I believe I have the Xtras installed ok - the other functions from the buttons 'Add' 'Delete' 'Update' etc work fine. Many thanks in advance for you assistance Marcel Guernsey From sunshine at public.kherson.ua Tue Jan 31 15:06:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 07:08:44 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: <129556979fc4df31aa2cba2a3cea8bd2@gmail.com> Message-ID: On 1/31/06 2:31 PM, "Marcel Lenormand" wrote: Hi Marcel, Please make sure that you use V4MD 2.2 beta latest build. > Thanks to Ruslan for the new 'Getting Started' section of the V4MD > Reference docs. > I'm very new to the list and Valentina, so any assistance getting going > is gratefully appreciated. > > > Follow the docs' instructions for the "sqlQuery" command I'm running > into a "Handler not found" error. > > My code looks like this... > res = gDatabase.SqlQuery( "SELECT * FROM Bookings WHERE BookingID = > 'ib2263' " ) > put res > > and my test project is based on the Tutorial Examples : lesson 3 : step > 1 > > I believe I have the Xtras installed ok - the other functions from the > buttons 'Add' 'Delete' 'Update' etc work fine. > > Many thanks in advance for you assistance -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 31 15:07:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 07:10:07 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: <129556979fc4df31aa2cba2a3cea8bd2@gmail.com> Message-ID: On 1/31/06 2:31 PM, "Marcel Lenormand" wrote: > and my test project is based on the Tutorial Examples : lesson 3 : step > 1 Lesson 3 -- actually about ShockWave. Right ? I think better use Lesson 2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From marcel.lenormand at gmail.com Tue Jan 31 13:20:54 2006 From: marcel.lenormand at gmail.com (Marcel Lenormand) Date: Tue Jan 31 07:23:18 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: References: Message-ID: Thanks Ruslan, will download beta 2.2 I'm using the shockwave version as a base because that's where my project will end up - but for now Im just using it locally. (gClient = false) Marcel On 31 Jan 2006, at 1:07 pm, Ruslan Zasukhin wrote: > On 1/31/06 2:31 PM, "Marcel Lenormand" > wrote: > >> and my test project is based on the Tutorial Examples : lesson 3 : >> step >> 1 > > Lesson 3 -- actually about ShockWave. Right ? > > I think better use Lesson 2 > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From marcel.lenormand at gmail.com Tue Jan 31 13:31:13 2006 From: marcel.lenormand at gmail.com (Marcel Lenormand) Date: Tue Jan 31 07:40:36 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: <129556979fc4df31aa2cba2a3cea8bd2@gmail.com> Message-ID: Oh dear, not good news I'm afraid. With the new Xtra, Director crashes when I try to run my project. I can run Tutorial Example Lesson 1, Steps 1-4, but Step 5 crashes in the same way. What did I do wrong? Marcel On 1/31/06 2:31 PM, "Marcel Lenormand" wrote: > and my test project is based on the Tutorial Examples : lesson 3 : step > 1 Lesson 3 -- actually about ShockWave. Right ? I think better use Lesson 2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Jan 31 15:43:18 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 07:45:38 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: Message-ID: On 1/31/06 3:31 PM, "Marcel Lenormand" wrote: > Oh dear, not good news I'm afraid. > > With the new Xtra, Director crashes when I try to run my project. > > I can run Tutorial Example Lesson 1, Steps 1-4, but Step 5 crashes in > the same way. > > What did I do wrong? Please find VComponents folder on your computer and trash it Then install again What OS do you use ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 31 16:08:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 08:10:22 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: Message-ID: On 1/31/06 3:43 PM, "Ruslan Zasukhin" wrote: > On 1/31/06 3:31 PM, "Marcel Lenormand" wrote: > >> Oh dear, not good news I'm afraid. >> >> With the new Xtra, Director crashes when I try to run my project. >> >> I can run Tutorial Example Lesson 1, Steps 1-4, but Step 5 crashes in >> the same way. >> >> What did I do wrong? > > Please find VComponents folder on your computer and trash it > Then install again > > What OS do you use ? > For MACOS you need look into /Library/CFMSupport/VComponents For Windows Program Files/Paradigma Software/VComponents -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jan 31 17:03:14 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 09:05:42 2006 Subject: V4MD vs Others Message-ID: Hi V4MD Develoeprs! Please take a look on this DRAFT page: http://paradigma.ukrcom.kherson.ua/en/products/developer/adk/V4MDCMP Here we have try to give more or less objective comparison Of Valentina for Director vs other DB Xtra. IF you will see * any mistakes * missing features or group of features * or you have some advices please let me know. We need yet add before and after table some comments I think. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From marcel.lenormand at gmail.com Tue Jan 31 14:46:14 2006 From: marcel.lenormand at gmail.com (Marcel Lenormand) Date: Tue Jan 31 09:13:23 2006 Subject: sqlQuery: "Handler not found in object" In-Reply-To: References: Message-ID: Sorted, thanks. Trashed the VComponents folder, re-installed, same problem. Then found V4MD 2.2 folder on root of hard drive not in Xtras folder. Problem solved. Many thanks. Working nicely now. Looking forward to many new discoveries... Marcel On 31 Jan 2006, at 2:08 pm, Ruslan Zasukhin wrote: > On 1/31/06 3:43 PM, "Ruslan Zasukhin" > wrote: > >> On 1/31/06 3:31 PM, "Marcel Lenormand" >> wrote: >> >>> Oh dear, not good news I'm afraid. >>> >>> With the new Xtra, Director crashes when I try to run my project. >>> >>> I can run Tutorial Example Lesson 1, Steps 1-4, but Step 5 crashes in >>> the same way. >>> >>> What did I do wrong? >> >> Please find VComponents folder on your computer and trash it >> Then install again >> >> What OS do you use ? >> > > For MACOS you need look into > > /Library/CFMSupport/VComponents > > For Windows > > Program Files/Paradigma Software/VComponents > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From christer at ljusaideer.se Tue Jan 31 18:46:07 2006 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Jan 31 11:48:31 2006 Subject: Problems with first attempt to convert major project Message-ID: I have today started my first attempt to convert our biggest Valentina/RB project from 2.0a62 to 2.1 and have not had much success. I can init Valentina, but get a crash as soon as I try to open my old 2.0a62 database. Console reports error 533762, which I can't find documented. A few lines before in the console there is one error with a baseobject (VarChar), which is reported as 346, also undocumented, I think. As a sidenote, I can't get Valentina Studio (fc6) to work at all. It launches, but all menu items are greyed out, and I have to force quit. Using RB2006r1 on Mac OS X 10.4.4 (swedish). -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Tue Jan 31 19:55:12 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jan 31 11:57:37 2006 Subject: Problems with first attempt to convert major project In-Reply-To: Message-ID: On 1/31/06 7:46 PM, "Christer Olsson" wrote: Hi Christer, > I have today started my first attempt to convert our biggest Valentina/RB > project from 2.0a62 to 2.1 and have not had much success. > > I can init Valentina, but get a crash as soon as I try to open my old 2.0a62 > database. Console reports error 533762, which I can't find documented. A few > lines before in the console there is one error with a baseobject (VarChar), > which is reported as 346, also undocumented, I think. > > As a sidenote, I can't get Valentina Studio (fc6) to work at all. It launches, > but all menu items are greyed out, and I have to force quit. > > Using RB2006r1 on Mac OS X 10.4.4 (swedish). So you use RB and OSX - clear. * I assume you also use V4RB 2.1 MAC right ? * Also - do you use Vserver ? * You have some daatabse in v1 format, right ? to use it with v2 you need first of all CONVERT it to V2 format. You can do this using Vstudio, or our example V4RB/Examples/Common/Convert_1_2 * V4RB now have new feature: Valentina.DEbugLevel = kLogParams you will see error codes for methods and its description * error code you can check if look into Vcomponents/Resources/en/... 2 Xml files here -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From christer at ljusaideer.se Tue Jan 31 23:44:33 2006 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Jan 31 16:46:57 2006 Subject: Problems with first attempt to convert major project In-Reply-To: References: Message-ID: <9BE9AA0C-3AEF-4BC0-AED6-C7AB7A1D7938@ljusaideer.se> 31 jan 2006 kl. 18.55 skrev Ruslan Zasukhin: > On 1/31/06 7:46 PM, "Christer Olsson" wrote: > > Hi Christer, > >> I have today started my first attempt to convert our biggest >> Valentina/RB >> project from 2.0a62 to 2.1 and have not had much success. >> >> I can init Valentina, but get a crash as soon as I try to open my >> old 2.0a62 >> database. Console reports error 533762, which I can't find >> documented. A few >> lines before in the console there is one error with a baseobject >> (VarChar), >> which is reported as 346, also undocumented, I think. >> >> As a sidenote, I can't get Valentina Studio (fc6) to work at all. >> It launches, >> but all menu items are greyed out, and I have to force quit. >> >> Using RB2006r1 on Mac OS X 10.4.4 (swedish). > > So you use RB and OSX - clear. > > * I assume you also use V4RB 2.1 MAC right ? Yes. > > * Also - do you use Vserver ? Yes. > > * You have some daatabse in v1 format, right ? > to use it with v2 you need first of all CONVERT it to V2 format. Did 2.0a62 create v1 databases? > > You can do this using Vstudio, or our example > V4RB/Examples/Common/Convert_1_2 As I mentioned: I can't get VStudio to work. All menu items are greyed out. > > * V4RB now have new feature: > Valentina.DEbugLevel = kLogParams I have it set to 2. Is it not correct? > > you will see error codes for methods and its description > > > * error code you can check if look into > Vcomponents/Resources/en/... 2 Xml files here I checked before posting, and can't find either of the error numbers I mentioned. Sincerely, Christer