From j.peters at valentina-db.de Mon Aug 1 07:35:28 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Aug 1 00:35:43 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded Message-ID: Hi all, i have uploaded Valentina Studio Admin (Mac) b12 to http://www.paradigmasoft.com and http://www.valentina-db.de This version is mostly identical to the b11 build for Windows. It contains the latest kernel bugfixes and a first version of integrated help. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From ktekinay at mactechnologies.com Mon Aug 1 11:22:40 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon Aug 1 10:22:52 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: Message-ID: On 8/1/05 1:35 AM, Jochen Peters at j.peters@valentina-db.de wrote: > i have uploaded Valentina Studio Admin (Mac) b12 to FYI, The web site still says b10 even though the downloaded version is correct. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From cmsheffield at gmail.com Mon Aug 1 10:35:21 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Aug 1 11:35:26 2005 Subject: methods Message-ID: <000F87AE-88BB-46B6-A51E-988471FF0F5C@gmail.com> I've never really used field methods (is that the right term?) before, but I've come to a point where I need to implement one, and I'm totally clueless as to how to do it. I guess I just need a few examples or something of how exactly to make it work. I have a table called Classes with a field called ClassName of type VarChar and another called Reading of type Boolean. What I want to do is append a small string '(HR)' to those ClassNames where the field Reading has a false value. So in my method field I want something like: Concat(ClassName, ' (HR)') WHERE/IF Reading=false Is that possible? Is my syntax way off? I just haven't found much documentation on how to put together the calculations for method fields. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From bkeeney at everestkc.net Mon Aug 1 21:57:09 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Mon Aug 1 21:57:24 2005 Subject: Bug Reporting System Down? In-Reply-To: <20050720175542.05DF035820D@edison.macserve.net> References: <20050720175542.05DF035820D@edison.macserve.net> Message-ID: <841C2859-1A35-43BC-8467-DA6211B8F6D7@everestkc.net> I've been having problem connecting to the bug tracking system. Has anyone else had problems? From sun2 at public.kherson.ua Tue Aug 2 08:24:57 2005 From: sun2 at public.kherson.ua (Serge) Date: Tue Aug 2 00:25:21 2005 Subject: Bug Reporting System Down? In-Reply-To: <841C2859-1A35-43BC-8467-DA6211B8F6D7@everestkc.net> Message-ID: Hi Bob, > I've been having problem connecting to the bug tracking system. Has > anyone else had problems? Try again, please. It works now. -- Best regards, Serge From sun2 at public.kherson.ua Tue Aug 2 09:07:12 2005 From: sun2 at public.kherson.ua (Serge) Date: Tue Aug 2 01:07:20 2005 Subject: methods In-Reply-To: <000F87AE-88BB-46B6-A51E-988471FF0F5C@gmail.com> Message-ID: Hi Chris, > I've never really used field methods (is that the right term?) > before, but I've come to a point where I need to implement one, and > I'm totally clueless as to how to do it. I guess I just need a few > examples or something of how exactly to make it work. > > I have a table called Classes with a field called ClassName of type > VarChar and another called Reading of type Boolean. What I want to > do is append a small string '(HR)' to those ClassNames where the > field Reading has a false value. So in my method field I want > something like: > > Concat(ClassName, ' (HR)') WHERE/IF Reading=false > > Is that possible? Is my syntax way off? I just haven't found much > documentation on how to put together the calculations for method fields. Yes, it is possible. You can look at our example in the folder Examples/API_way/MethodCreate. I think that you can use such a method: "if( Reading=false, concat( ClassName, ' (HR)'), ClassName)" -- Best regards, Serge From jules.jacquot at wanadoo.fr Tue Aug 2 10:39:35 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Aug 2 03:38:13 2005 Subject: (no subject) Message-ID: <15B2EBE5-02D3-49EB-ABF9-7CFF7BB8F183@wanadoo.fr> Hi, ruslan how can i write this querry in API ? dc=dab.SQLSelect("select RecID,* from dads order by Nomprenom,Payemois") thanks very much jules --------------------------------------- O? passeras-tu l'Eternit? ? From yeomans at desuetude.com Tue Aug 2 13:08:53 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Aug 2 12:09:02 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: References: Message-ID: VStudio now hangs when I attempt to connect to a server. Has anyone else tried to connect using the current version? I'll file a bug report if anyone else can reproduce it. Charles Yeomans From sunshine at public.kherson.ua Wed Aug 3 13:07:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 3 05:07:42 2005 Subject: (no subject) In-Reply-To: <15B2EBE5-02D3-49EB-ABF9-7CFF7BB8F183@wanadoo.fr> Message-ID: On 8/2/05 11:39 AM, "Jules Jacquot" wrote: Hi Jules, > Hi, ruslan > > how can i write this querry in API ? > > dc=dab.SQLSelect("select RecID,* from dads order by > Nomprenom,Payemois") Something as: setAll = tblDads.SelectAllRecords() setAllSorted = tblDeads.Sort( setAll, "Nomprenom", "Payemois" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 3 13:10:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 3 05:10:19 2005 Subject: Specification of Encryption for Valentina 2.0 In-Reply-To: <20050731165203.E37A917D204@spatula.dreamhost.com> Message-ID: On 7/31/05 7:52 PM, "Lynn Fredricks" wrote: Hi Lynn, > I have a question: Can you think of a possibility in which someone would > need to be granted limited access to part of a database, such as a single > table in a database, or a few fields? In such a case, how would this be > handled? I think you mean now feature Users/Groups which should be added to Vserver. This is not the same as encryption of disk files of database from spy eyes. > Also, we do need some level of error handling if someone doesnt have a > password -- because it certainly happens in real life ;-) Shouldnt there be > a default method and then (in the more powerful C++ SDK) a way for this to > be modified or replaced by custom code? I can see how it may be desirable, > for example, to pass back nothing (but the attempt is logged someplace). I think I have describe errors in specs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Thu Aug 4 08:57:43 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Aug 4 01:56:18 2005 Subject: (no subject) In-Reply-To: References: Message-ID: <469AC4BC-E693-49EA-85CF-2B3FC6B3321C@wanadoo.fr> Le 3 ao?t 05 ? 12:07, Ruslan Zasukhin a ?crit : > On 8/2/05 11:39 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> Hi, ruslan >> >> how can i write this querry in API ? >> >> dc=dab.SQLSelect("select RecID,* from dads order by >> Nomprenom,Payemois") >> > > Something as: > > setAll = tblDads.SelectAllRecords() > > setAllSorted = tblDeads.Sort( setAll, "Nomprenom", "Payemois" ) sorry ruslan it doesn't work i get this message about sort parameters are not compatible with this function best jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Thu Aug 4 10:11:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 02:11:46 2005 Subject: (no subject) In-Reply-To: <469AC4BC-E693-49EA-85CF-2B3FC6B3321C@wanadoo.fr> Message-ID: On 8/4/05 9:57 AM, "Jules Jacquot" wrote: >> Something as: >> >> setAll = tblDads.SelectAllRecords() >> >> setAllSorted = tblDeads.Sort( setAll, "Nomprenom", "Payemois" ) > > > sorry ruslan it doesn't work > > i get this message about sort > > parameters are not compatible with this function Jules, this is "something as". Please look into docs how correctly call the sort() function. If problems let me know -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Thu Aug 4 08:09:36 2005 From: ayu8 at cdc.gov (Sims, John) Date: Thu Aug 4 07:09:42 2005 Subject: Sorting results the API way (was:RE: (no subject)) Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Thursday, August 04, 2005 3:11 AM > To: valentina@lists.macserve.net > Subject: Re: (no subject) > > On 8/4/05 9:57 AM, "Jules Jacquot" wrote: > > >> Something as: > >> > >> setAll = tblDads.SelectAllRecords() > >> > >> setAllSorted = tblDeads.Sort( setAll, "Nomprenom", "Payemois" ) > > > > > > sorry ruslan it doesn't work > > > > i get this message about sort > > > > parameters are not compatible with this function > > Jules, this is "something as". > > Please look into docs how correctly call the sort() function. > If problems let me know > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > Jules, I think this will work. This is off the top of my head and not tested. dim siNomprenom as VSortItem dim siPayemois as VsortItem siNomprenom = new VSortItem("Nomprenom") siPayemois = new VSortItem("Payemois") setAll = tblDads.SelectAllRecords() setAllSorted = tblDads.Sort(setAll, siNomprenom , siPayemois) This should return a VArraySet so make sure setAllSorted is dimmed as a VArraySet. I hope this works for you. If not, I'll look at my code when I get home tonight and give you an example that I know works. Take care. -John From sunshine at public.kherson.ua Thu Aug 4 15:30:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 07:30:14 2005 Subject: Sorting results the API way (was:RE: (no subject)) In-Reply-To: Message-ID: On 8/4/05 3:09 PM, "Sims, John" wrote: Thank you for help, John! > Jules, > > I think this will work. This is off the top of my head and not tested. > > dim siNomprenom as VSortItem > dim siPayemois as VsortItem > > siNomprenom = new VSortItem("Nomprenom") > siPayemois = new VSortItem("Payemois") > > setAll = tblDads.SelectAllRecords() > > setAllSorted = tblDads.Sort(setAll, siNomprenom , siPayemois) This can be written as short as setAllSorted = tblDads.Sort( setAll, new VSortItem("Nomprenom"), new VSortItem("Payemois") ) > This should return a VArraySet so make sure setAllSorted is dimmed as a > VArraySet. right > I hope this works for you. If not, I'll look at my code when I get home > tonight and give you an example that I know works. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Thu Aug 4 15:38:09 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Aug 4 08:36:52 2005 Subject: (no subject) In-Reply-To: References: Message-ID: Le 4 ao?t 05 ? 09:11, Ruslan Zasukhin a ?crit : > On 8/4/05 9:57 AM, "Jules Jacquot" wrote: > > >>> Something as: >>> >>> setAll = tblDads.SelectAllRecords() >>> >>> setAllSorted = tblDeads.Sort( setAll, "Nomprenom", "Payemois" ) >>> >> >> >> sorry ruslan it doesn't work >> >> i get this message about sort >> >> parameters are not compatible with this function >> > > Jules, this is "something as". > > Please look into docs how correctly call the sort() function. > If problems let me know i understand but i haven't found nowhere the correct way for to call the sort function with two criterias in order by best jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > une longue route commence par un petit pas. proverbe chinois From jules.jacquot at wanadoo.fr Thu Aug 4 15:44:54 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Aug 4 08:43:26 2005 Subject: Sorting results the API way (was:RE: (no subject)) In-Reply-To: References: Message-ID: Le 4 ao?t 05 ? 14:30, Ruslan Zasukhin a ?crit : > On 8/4/05 3:09 PM, "Sims, John" wrote: > > Thank you for help, John! > > >> Jules, >> >> I think this will work. This is off the top of my head and not >> tested. >> >> dim siNomprenom as VSortItem >> dim siPayemois as VsortItem >> >> siNomprenom = new VSortItem("Nomprenom") >> siPayemois = new VSortItem("Payemois") >> >> setAll = tblDads.SelectAllRecords() >> >> setAllSorted = tblDads.Sort(setAll, siNomprenom , siPayemois) >> > > This can be written as short as > > setAllSorted = tblDads.Sort( > setAll, new VSortItem("Nomprenom"), new VSortItem("Payemois") ) wonderful, that's working fine many thanks Sims, ruslan jules > > > >> This should return a VArraySet so make sure setAllSorted is dimmed >> as a >> VArraySet. >> > > right > > >> I hope this works for you. If not, I'll look at my code when I >> get home >> tonight and give you an example that I know works. >> > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From bkeeney at everestkc.net Thu Aug 4 09:44:10 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Thu Aug 4 09:44:18 2005 Subject: Bug Reporting System Down? In-Reply-To: <20050804071155.4FDC03632F9@edison.macserve.net> References: <20050804071155.4FDC03632F9@edison.macserve.net> Message-ID: <3FB60D16-A977-43C0-9235-EA1A24E46956@everestkc.net> >> I've been having problem connecting to the bug tracking system. Has >> anyone else had problems? >> > > Try again, please. > It works now. I've not been able to get into Mantis for a couple days now. Rest of paradigmasoft.com is no problem. Bob From sunshine at public.kherson.ua Thu Aug 4 18:20:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 10:20:50 2005 Subject: Bug Reporting System Down? In-Reply-To: <3FB60D16-A977-43C0-9235-EA1A24E46956@everestkc.net> Message-ID: On 8/4/05 5:44 PM, "Bob Keeney" wrote: >>> I've been having problem connecting to the bug tracking system. Has >>> anyone else had problems? >>> >> >> Try again, please. >> It works now. > > I've not been able to get into Mantis for a couple days now. Rest of > paradigmasoft.com is no problem. It works okay, Bob. Try right now please -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bkeeney at everestkc.net Thu Aug 4 14:28:19 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Thu Aug 4 14:28:31 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: <20050804071155.4FDC03632F9@edison.macserve.net> References: <20050804071155.4FDC03632F9@edison.macserve.net> Message-ID: <9816A867-4383-4A9E-92B7-A169BC8B5BB0@everestkc.net> > > VStudio now hangs when I attempt to connect to a server. Has anyone > else tried to connect using the current version? I'll file a bug > report if anyone else can reproduce it. > > Charles Yeomans Yes, I have experienced the same issue. Bob K. From yeomans at desuetude.com Thu Aug 4 15:45:03 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Aug 4 14:45:08 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: <9816A867-4383-4A9E-92B7-A169BC8B5BB0@everestkc.net> References: <20050804071155.4FDC03632F9@edison.macserve.net> <9816A867-4383-4A9E-92B7-A169BC8B5BB0@everestkc.net> Message-ID: On Aug 4, 2005, at 3:28 PM, Bob Keeney wrote: >> >> VStudio now hangs when I attempt to connect to a server. Has anyone >> else tried to connect using the current version? I'll file a bug >> report if anyone else can reproduce it. >> >> Charles Yeomans > > Yes, I have experienced the same issue. > It's been reported (#979). -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Aug 5 00:23:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 16:23:33 2005 Subject: Field_Picture Project In-Reply-To: <35117163-FCA0-44EB-95BC-418931F5052D@everestkc.net> Message-ID: On 8/4/05 10:40 PM, "Bob Keeney" wrote: >> Okay, am I right that I have improve pictures not so far on YOUR >> request ? >> >> And you still see problems? Okay, we will check... > > Appreciate the time and effort in tracking these things down. Really. > For the picture example it seems better real world example to load a > graphic file rather than from REALbasic project file. BUT THIS DO new example Field_Picture_Compressed Have you try it ? This new example show how to load JPG from file in 3 different ways > Documentation is sparse on exactly what EVPictType constants do and when to > use each type. Ok agree. > For example, I tried to save a tiff file (opened as picture) > using kUnknown and received a hard crash. kUnknown this is just dummy constant. we return it for example, if we cannot determinate what type of picture was given to us. Constants of EVPictType define: how to compress picture which you have provide us. Okay, this info should be added to docs I think: * Vpicture field expect from you a BITMAP file. this is PICT on mac and DIB on Windows. * you can ask Valentina compress this bitmap (i.e. Non-compressed picture) into JPG or TIFF there is no any sense to ask store it as Unknown picture format. Frankly saying, we even did not think that somebody can try do this :-) We need add protection from this case to not crash. * when you read from database a picture, Valentina uncompress it to bitmap again. ********* In the same time you can store existed JPG or TIFF into Vpicture field. For this you need use or -- VBLOB.WriteData() method or -- VBLOB.LoadToFile() ********* Valentina cannot at least now do next: you give it already existed TIFF and ask store it as JPG. this is task for Graphic Converter :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 5 00:49:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 16:49:40 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: Message-ID: On 8/4/05 10:45 PM, "Charles Yeomans" wrote: >>> VStudio now hangs when I attempt to connect to a server. Has anyone >>> else tried to connect using the current version? I'll file a bug >>> report if anyone else can reproduce it. >>> >>> Charles Yeomans >> >> Yes, I have experienced the same issue. >> > It's been reported (#979). Hmm, I have take Vstudio b12 from site, Install Vserver 2.0.5 fc7 It works with no problems ************************************************************************ Fri Aug 5 2005 00:47:03.304893 VServer_Office (2.0.5, Protocol 2.0, Kernel 2.0.5fc7) Maximum number of connections: 5 00:47:03.344524 (2684415896): Database engine inited 00:47:03.507158 (2684415896): Server started at 15432 port 00:47:36.584956 (42010624): Connection established with 'localhost:50908' (14) 00:47:36.590986 (42018304): (14) Database: ; User: sa: OK 00:47:48.563533 (42018304): (14) Database: ; User: sa: OK 00:47:48.614202 (42017280): (14) Database 'untitled' has been successfully created -- Best regards, Ruslan Zasukhin VP Engineering 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 Aug 4 18:11:41 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Aug 4 17:11:47 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: References: Message-ID: <00318a1cc17176e9909f1a2e69abaafe@desuetude.com> On Aug 4, 2005, at 5:49 PM, Ruslan Zasukhin wrote: > On 8/4/05 10:45 PM, "Charles Yeomans" wrote: > >>>> VStudio now hangs when I attempt to connect to a server. Has anyone >>>> else tried to connect using the current version? I'll file a bug >>>> report if anyone else can reproduce it. >>>> >>>> Charles Yeomans >>> >>> Yes, I have experienced the same issue. >>> >> It's been reported (#979). > > Hmm, > > I have take Vstudio b12 from site, > > Install Vserver 2.0.5 fc7 > > It works with no problems > > *********************************************************************** > * > I'm watching it be frozen on my machine right now. -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Aug 5 02:14:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 4 18:14:27 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: <00318a1cc17176e9909f1a2e69abaafe@desuetude.com> Message-ID: On 8/5/05 1:11 AM, "Charles Yeomans" wrote: >> I have take Vstudio b12 from site, >> >> Install Vserver 2.0.5 fc7 >> >> It works with no problems >> >> *********************************************************************** >> * >> > > I'm watching it be frozen on my machine right now. You connect to vserver that have no dbs? Or it have some registered dbs ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Aug 5 16:06:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 5 08:07:23 2005 Subject: Special Characters on MAC In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CE0165507D@md-admin.ags.com> Message-ID: On 8/5/05 2:43 PM, "Wilk, Steven" wrote: Hi Wilk, > Ruslan, > the problem has been solved. Excellent! > First thanks for all your help. I created a small database on the PC and then > copied over to the Mac. Using a simple Director application I displayed the > records. All of the characters showed the same on the PC and Mac, this > eliminated the database from the cause of my issue. > > Now let me explain how we are using the data from the database. > > Our Director application is using three Xtras: Valentia, Webviewer, and > TreeView. > We use web pages to display our search screens these screens pass search > criteria to the application for use in SQL to go against the Valentia > database. > The data that comes out of the query is then used to build a web page using > FileIO. > > The web page is then displayed using WebViewer, this is where the difference > in the characters showed them self's. > The problem there for was in the higher ANSI characters for instead > ? is 154 on the Mac and 246 on the PC, but when the Mac displayed the web > page it would use character 154 from the PC which is ?. So I built a list to > replace the characters on the Mac with the PC numerical representation for > example 154 becomes ö. I see, On the other hand this is issue of encoding it seems. Each web Browser have menu VIEW -> Encodings ... And user can choose a correct one. Cyrilic mac Cyrillic win For example. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Aug 5 11:01:48 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Aug 5 10:01:56 2005 Subject: [ANN] Valentina Studio Admin b12 (Mac) uploaded In-Reply-To: References: Message-ID: On Aug 4, 2005, at 7:14 PM, Ruslan Zasukhin wrote: > On 8/5/05 1:11 AM, "Charles Yeomans" wrote: > >>> I have take Vstudio b12 from site, >>> >>> Install Vserver 2.0.5 fc7 >>> >>> It works with no problems >>> >>> ********************************************************************* >>> ** >>> * >>> >> >> I'm watching it be frozen on my machine right now. > > You connect to vserver that have no dbs? > > Or it have some registered dbs ? It has some registered dbs. I can connect using V4Rb applications. -------------- Charles Yeomans From ruslan at paradigmasoft.com Fri Aug 5 21:27:06 2005 From: ruslan at paradigmasoft.com (Ruslan Zasukhin) Date: Fri Aug 5 13:28:03 2005 Subject: Question about Valentina for RealBasic In-Reply-To: <42F3911A.4060803@intersoftsv.com> Message-ID: On 8/5/05 7:17 PM, "INTERSOFT DE EL SALVADOR" wrote: Hi Enrique, > I have a question, I have an application with only one window, but I use > the pagepanel control to put multiple pages. > Every page has editfields, comboboxes and I need to connect them to my > ValentinaDatabase. I want to know the best way to make it. Is better use > classes in this case? And each page should preserve its state, yes? 2 ways: 1) SQL way: you make one (or even more) cursors for each page. so you have selection of some records, and current position. 2) API Way: each page keep some Vset (BitSet or ArraySet) as selection. and may be Iterator to keep position. ADVICE to all: I think you can just use SQL way. API way should be used or in very simple cases or in some quite complex tasks where it is important to get max possible case. In Average case just use SQL way . > One more question, I was reading the classes way examples, there is a > method called constructor inside the class that create the table. More correct to say: create instance of table in RAM. Constructor do not create table on disk. > Is posible to create a method inside the class that reads the data from one > pagepapanel and sent the data to the valentina database? Of course. > Do you have an example like this? Well, I think many examples have a pair of methods: PopulatePanes, CollectPanes. They can work with Cursor or Vtable. Idea is the same. > Best Regards, > Enrique Campos -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 5 22:08:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 5 14:08:39 2005 Subject: Field_Picture Project In-Reply-To: Message-ID: On 8/5/05 9:40 PM, "Bob Keeney" wrote: >> Okay, then we will try extend this example adding TIFF and pict >> images in >> file... > > Am I missing something in the translation? Does the VPicture field > support picts and tiffs or not? Yes. TIFFs. Look again. you give PICT -- this is non compressed format. It is good idea to store it into db using JPG (lose quality) or TIFF (no losts) compressions. Right ? So Valentina is able store picture as JPG and TIFF and do self conversion. > If not, then I have to convert these files (via code) to jpg. > Suggestion on how to do this? TIFF must work. > If it does, then either I am doing something incorrect or there is a > bug in the VPicture. This is why I say above: we need add to EXAMPLE demonstration of TIFF > Regardless, the WriteAsPicture method failed to save the jpg. > Application for my client requires ability to save and recall any > graphic file dropped on it. And display ? Look, in worse case you always store anything just as BLOB. Vpicture field this is a BLOB which know how to compress/uncompress to JPG or TIFF formats. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 6 21:00:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 6 13:00:26 2005 Subject: Valentina 2 V4RB Win => compile to MAC. In-Reply-To: <6186128.1123350535185.JavaMail.root@elwamui-muscovy.atl.sa.earthlink.net> Message-ID: On 8/6/05 8:48 PM, "Anna Kritselis" wrote: > Realbasic 5.5 on Win XP So I have V4RB.rbx 795Kb 27.07.2005 16:46 I start RB 5.5.2 Open example Common/Init_Shutdown Open Build Settings menu. set ON for Mac OS X Aha !!! make sure that in the pres for MacOS is choosed MacOS 8-9 an X radio button I think it is Macho on your side -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 6 22:18:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 6 14:18:21 2005 Subject: VServer Class Way Success and Problems In-Reply-To: Message-ID: On 8/6/05 10:05 PM, "Bob Keeney" wrote: > > On Aug 6, 2005, at 1:59 PM, Igor Gomon wrote: > >> I need code snippet from you that reproduces the problem. >> Because I definitely know that this must work. >> May be you provided wrong cursor mode when building it? Must be >> kServerSide, kReadWrite. > > That would be it then. I was doing client side. > > Silly question. Why can't I update a client side cursor? I do this > in VB and SQL Server/Access all the time. Really? Hard to say...this was our understanding how it should work. And we do this in this way 2 years... MySQL for example absolutely cannot update cursors - recordsets. Actually they name this as result... You need always use UPDATE command for mySQL. Postgre in contrast have ServerSide cursors only. But cursors of Postgre are at SQL level, you need do SQL commands to manage their cursors. --------------- We have as client side cursors similar to mySQL, so serverSide cursors which are more comfortable imho than Postgre have. MS have probably very FAT client, which can do even more ... Well, may be future we will also add that. I have remember now... yes we have discuss MS style. But we have decide this is too complex yet for us. Cursor that you describe must collect data modifications, Then send all changes in batch to server... Somebody from our team also have mention cursors that can be off-line, I.e. Disconnected from server, then on connect send changes..Such cursors have or MS or Borland... Yep, sooner or later we also need improve 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 arthur at visiblearea.com Sat Aug 6 22:05:15 2005 From: arthur at visiblearea.com (Arthur Clemens) Date: Sat Aug 6 15:05:25 2005 Subject: Valentina Cocoa demo In-Reply-To: References: Message-ID: <24527CAD-BB70-4FB5-A76A-77420FCAA6F6@visiblearea.com> I've updated the Cocoa demo for XCode 2.1: http://visiblearea.com/ valentina/ValentinaCocoaDemo.dmg (couple of bug fixes) Ruslan, this is the demo in Examples_ThirdParty folder. cheers Arthur From sunshine at public.kherson.ua Sat Aug 6 23:26:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 6 15:26:35 2005 Subject: Valentina Cocoa demo In-Reply-To: <24527CAD-BB70-4FB5-A76A-77420FCAA6F6@visiblearea.com> Message-ID: On 8/6/05 11:05 PM, "Arthur Clemens" wrote: > I've updated the Cocoa demo for XCode 2.1: http://visiblearea.com/ > valentina/ValentinaCocoaDemo.dmg > > (couple of bug fixes) > > Ruslan, this is the demo in Examples_ThirdParty folder. Ok, thank you Arthur. ------------------------------------------------------ btw, I want inform community about our steps on xCode direction. * few last days me and Totte Alm (Valentina developer veteran, 5 years I think) working on port on Valentina kernel to xCode and GCC 4.0 Today we was able to run our tests. Results are quite good: from 20,000 tests about 50-60 FAILS only. * next week we going finish this port and also get build of Valentina for MAC INTEL with xCode 2.1 Totte already have port to this most third party libs that we use * after this, in the near time we going introduce Valentina C++ SDK for xCode 2.1 and Visual .NET We do not see sense provide version for CodeWarrior. It is dead. * In the same time we are going to start the development of V4Cocoa -- Objective-C wrapper to C++ SDK. I think that this will be main work for Serge. * and after this (or parallel), Serge (and me) will try plug Valentina into CoreData technology. ------------------------------------------------------- IMPORTANT: * with Valentina 2.0 C++ ADK we have option that you can get 3 levels of access to Valentina sources. * public sources * public sources + protected header * public sources + protected header + protected sources = 95% of all. With last option you get practically full sources of Valentina (except indexing). You will have direct access to our CVS. You will be able fix bugs or add some features that you need. If this is interesting to you please contact Lynn off list to get more details. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From giv at tlc.kherson.ua Sat Aug 6 22:22:55 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Sat Aug 6 15:30:18 2005 Subject: VServer Class Way Success and Problems References: <003f01c59ab8$edc5cb70$3b04a8c0@giv> Message-ID: > Silly question. Why can't I update a client side cursor? I do this > in VB and SQL Server/Access all the time. You mean you use ADO, ADO.NET? Because this data access technologies (especially .NET) designed to be used in connectionless mode. This means you don't have to specify any cursor modes (server, client). Your can always do the changes you want. They are collected locally on the client and then are sent to the server in single update operation. Valentina instead is working in "immediate mode" and assumes that connection is always available and all the commands from the client to the server are sent immediately. So to prevent much resources consuming we implemented different cursor modes for different situations. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sun Aug 7 12:48:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 7 04:48:32 2005 Subject: splitToWords question In-Reply-To: <000001c59b2b$0f6dcbc0$0201a8c0@JOHNHP> Message-ID: On 8/7/05 11:36 AM, "John W. Miescher" wrote: > Hi Ruslan, > I discovered the SplitToWords function in your examples, but nowhere in > the documentation. Nice feature, but what is it for? This was made on request of Jon (jda) Jon, can you describe how to use it ? > Is there any documentation available? No, because I was not sure that other developers will need it. And only V4RB have it I think. This function split a string into words according to the current settings of the specified String/VarChar/Text field. This is how Valentina split to words when use Index By Words. Jon use this to do some pre-checks in own code before send string to Valentina ... ----------------------- > Is there an easy way to assign each resulting word to a record in a > (new) table or array that can then be searched using Valentina REGEX as > opposed to RB-regex which cannot handle accents except with complex (and > CPU-cycles consuming) syntax? You can use Valentina REGEX without SplitToWords(). Just store string into Valentina filed. And do REGEX search. Easy -- Best regards, Ruslan Zasukhin VP Engineering 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 Aug 7 07:44:49 2005 From: jda at his.com (jda) Date: Sun Aug 7 06:44:52 2005 Subject: splitToWords question In-Reply-To: References: Message-ID: > > I discovered the SplitToWords function in your examples, but nowhere in >> the documentation. Nice feature, but what is it for? > >This was made on request of Jon (jda) > >Jon, can you describe how to use it ? This is a very helpful function that I use to obtain words for indexed searches. It obeys the same rules as the Valentina field it is a method of, so that word boundaries match those of the index (so it is for indexed searches). That way I don't have to know all the characters that Valantina/ICU considers word breaks. Before, I was guessing and replacing dozens of characters with spaces (periods, commas, semicolons, etc), which was inefficient and in some cases wrong. Also, there are tricky ICU exception that SplitToWords takes care of for you. For example a period is a word break character if it is followed by a space: ...and so on. Furthermore,... But, it is NOT a word break character if it is followed by a letter or number: $12.23 SplitToWords knows this and returns the correct words for indexed searching. This should be documented, of course -- I'm sure others would find it useful. Jon From peter.salomon at gmx.net Sun Aug 7 18:36:32 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 7 11:36:42 2005 Subject: [V4RB] classes way rename links of VObjectPtr Message-ID: <8C52D789-7EC2-412A-89A8-890B4935FCDB@gmx.net> Hi Ruslan, i have created a database via classes way. one ofe my tables uses a recursive objectptr to this table. -> like in example: mfParentPtr = new VObjectPtr( "fldParentPtr", self ). Valentina creates now the objptr field AND a new link. How do i rename this link and where is the best place to do? Can i rename it already in the constructor? And why is its name "Link_2" although there is no other link? regards, peter From sunshine at public.kherson.ua Sun Aug 7 19:41:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 7 11:41:40 2005 Subject: [V4RB] classes way rename links of VObjectPtr In-Reply-To: <8C52D789-7EC2-412A-89A8-890B4935FCDB@gmx.net> Message-ID: On 8/7/05 7:36 PM, "Peter Salomon" wrote: Hi Peter, > Hi Ruslan, > > i have created a database via classes way. > one ofe my tables uses a recursive objectptr to this table. > -> like in example: mfParentPtr = new VObjectPtr( "fldParentPtr", > self ). > Valentina creates now the objptr field AND a new link. > > How do i rename this link and where is the best place to do? > Can i rename it already in the constructor? Right, the best place is constructor. And we need yet add into all APIs (even into C++) parameter inLinkName for constructor of ObjectPtr. Right now you can linkName = "myname" > And why is its name "Link_2" although there is no other link? Exists some links in the system tables -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun Aug 7 19:06:51 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 7 12:06:59 2005 Subject: [V4RB] classes way rename links of VObjectPtr In-Reply-To: References: Message-ID: hi ruslan, > linkName = "myname" this is examplecode, right? i ?ve tried in the constructor of table: self.Link(1).Name = "myname" but it did not rename the link. i tried also in database constructor: mytable.link(1).name = "myname" but it does also not rename the link... peter From sunshine at public.kherson.ua Sun Aug 7 21:10:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 7 13:10:11 2005 Subject: [V4RB] classes way rename links of VObjectPtr In-Reply-To: Message-ID: On 8/7/05 8:06 PM, "Peter Salomon" wrote: Hi Peter, >> linkName = "myname" > this is examplecode, right? I'd say general idea. > i ?ve tried in the constructor of table: > self.Link(1).Name = "myname" > but it did not rename the link. > i tried also in database constructor: > mytable.link(1).name = "myname" > but it does also not rename the link... Try this: Constructor dim link as VLink2 link = self.AsLink2() // this is analog of type cast link.name = "myname" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun Aug 7 22:25:28 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 7 15:25:33 2005 Subject: [V4RB] classes way rename links of VObjectPtr In-Reply-To: References: Message-ID: Hi Ruslan. > Constructor > > dim link as VLink2 > > link = self.AsLink2() // this is analog of type cast > > link.name = "myname" are you sure about this line: link = self.AsLink2() ?? this does not work neither - i think you have misstyped something? and "self" is VTable which is owner of link? peter From sunshine at public.kherson.ua Sun Aug 7 23:31:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 7 15:32:03 2005 Subject: V4RB, what people think about switch to Macho ? Message-ID: Hi V4RB developers, I think about porting of everything to xCode ASAP from CW. But this will mean for V4RB -- support of only MACHO targets. No Carbon/PEF as now. What you think about this, guys ? Does exists developers which will get pain from this ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 8 00:17:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 7 16:17:20 2005 Subject: [V4RB] classes way rename links of VObjectPtr In-Reply-To: Message-ID: On 8/7/05 11:25 PM, "Peter Salomon" wrote: >> dim link as VLink2 >> >> link = self.AsLink2() // this is analog of type cast >> >> link.name = "myname" > > > are you sure about this line: link = self.AsLink2() ?? > this does not work neither - i think you have misstyped something? > > and "self" is VTable which is owner of link? Ah, sorry. we need ObjectPtr field link = fldObjectPtr.AsVLink2() -- Best regards, Ruslan Zasukhin VP Engineering 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 Aug 7 17:23:04 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun Aug 7 18:23:25 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: <455695B6-73A0-44D8-9966-EC33DA2830B0@goodeast.com> On Aug 7, 2005, at 2:31 PM, Ruslan Zasukhin wrote: > Hi V4RB developers, > > I think about porting of everything to xCode ASAP from CW. > > But this will mean for V4RB -- support of only MACHO targets. > No Carbon/PEF as now. > > What you think about this, guys ? This is fine with me. I was initially having problems compiling my RB2005 projects in Mach-O but REAL Software seems to have fixed those bugs for RB2005r2 and I can compile again that way. > Does exists developers which will get pain from this ? Best regards, Frank Schima From miescher at bizdata.com Mon Aug 8 05:49:43 2005 From: miescher at bizdata.com (John W. Miescher) Date: Sun Aug 7 22:50:05 2005 Subject: split to words and db in Ram In-Reply-To: <20050807232324.7E153365CB5@edison.macserve.net> Message-ID: <000001c59bcc$3fb72cd0$0201a8c0@JOHNHP> Thanks for the explanation. I find splittowords indeed very useful in conjunction with my proximiy search alias soundex routine (which is absent from Valentina) because it pre-sorts and also removes duplicates faster than RB would. In a subsequent step I build a db and fldstring as per your example except I do it in RAM: db = new VDatabase(EVStorageType.kRAM) db.CollationAttribute( EVColAttribute.kStrength ) = EVColAttributeValue.kPrimary but the CollationAttribute does not seem to have any effect here, i.e. accents are NOT ignored. Why? rgs, john m. From sunshine at public.kherson.ua Mon Aug 8 08:22:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 00:22:17 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: On 8/8/05 6:59 AM, "Claudius Sailer" wrote: >> Hi V4RB developers, >> >> I think about porting of everything to xCode ASAP from CW. >> >> But this will mean for V4RB -- support of only MACHO targets. >> No Carbon/PEF as now. >> >> What you think about this, guys ? >> >> Does exists developers which will get pain from this ? > > this would be okay. > Doesthis inculde functionality that V4RB2-stuff is would be in the > Application-package and not outside? Yes, because we have this right now for Macho. For Carbon also possible do that I believe. In few hours. So this is not main diff between them. Main difference I think is: 1) you cannot distribute app to MacOS 9 2) Jon have own shared library for his app... so Jon will need compile it as Macho also probably. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 8 08:33:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 00:33:26 2005 Subject: Valentina 2 V4RB Win => compile to MAC In-Reply-To: <000001c59baa$5db18db0$0200a8c0@Dell1> Message-ID: On 8/8/05 2:47 AM, "Anna Kritselis" wrote: Hi Anna, > I think I've figured it out. Bottom line is that I needed to be logged > in as user: Administrator during the installation process. Even though > my account is an Administrator account - that doesn't appear to matter. > Prior to this, I've never had a problem installing from my own account. This is we talk about Windows, right? Really strange... In both cases it installs into the same location right ? On my XP exists only one account "ruslan" which is also admin. No problems.... I do nObjectTable have account "Administrator" > I installed RealBasic and Valentina on a machine that had never had > either installed. After I loaded Valentina I received the following > error - This application has failed to start because > Kernel_Win32_Final_CW.dll was not found. This happens in case Windows do not see folder Vcomponents. This can happens if A) installer have not add into PATH string that point to VComponents folder B) Installer have add it but PATH your computer have so many installed software that PATH is very long. In this case you can manually copy string forward. This is old know glitch of Windows :-( > This was yet a different error and when I looked in the subdirectory > structure, the dll was there. So I uninstalled both RB and V4RB, deleted what > was remaining in the subdirectory structure, decided to login as Administrator > and then I reinstalled, ran an example project and was able to compile. I think trick is that account Administrator have small PATH variable. I think that if you return back into your account and in the PATH varaible copy our string forward it also will work. > I went back to my machine, uninstalled, reinstalled using the > Administrator account and it worked. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 8 08:35:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 00:35:08 2005 Subject: Prepare application for deployment // Valentina 2 V4RB Win => compile to MAC. In-Reply-To: <000601c59bab$5fd40310$0200a8c0@Dell1> Message-ID: On 8/8/05 2:54 AM, "Anna Kritselis" wrote: Hi Anna, > Hi Ruslan, > > I was able to download the Mac archive and install the VComponents > folder on my Mac and get Init_Shutdown to work. I have a question for > you, though: > > My goal was to have my users run my application off from a USB drive, so > they can work at home or at school - on a Mac and/or on Windows. Do the > users have to install the VComponents folder on their Mac computers? I > would like to have the application self-contained on the USB Drive. Please look into V4RB_Reference_2_en.pdf Part "Deployment" You need copy all contents of VComponents folder into your app folder. Then it will work from CD DVD ,,, -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 8 08:41:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 00:41:35 2005 Subject: split to words and db in Ram In-Reply-To: <000001c59bcc$3fb72cd0$0201a8c0@JOHNHP> Message-ID: On 8/8/05 6:49 AM, "John W. Miescher" wrote: Hi John, > Thanks for the explanation. I find splittowords indeed very useful in > conjunction with my proximiy search alias soundex routine (which is > absent from Valentina) because it pre-sorts and also removes duplicates > faster than RB would. Excellent. You mean you use some RB plugin that do soundex ? > In a subsequent step I build a db and fldstring as > per your example except I do it in RAM: > > db = new VDatabase(EVStorageType.kRAM) > db.CollationAttribute( EVColAttribute.kStrength ) = > EVColAttributeValue.kPrimary > > but the CollationAttribute does not seem to have any effect here, i.e. > accents are NOT ignored. Why? Strange... Does our example ignore 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 fvanlerberghe at freegates.be Mon Aug 8 10:33:48 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Aug 8 03:33:33 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: le 7/08/05 22:31, Ruslan Zasukhin a ?crit?: > Hi V4RB developers, > > I think about porting of everything to xCode ASAP from CW. > > But this will mean for V4RB -- support of only MACHO targets. > No Carbon/PEF as now. > > What you think about this, guys ? > > Does exists developers which will get pain from this ? > Yes. I'm still developping PEF/Carbon version. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Mon Aug 8 11:44:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 03:44:17 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: On 8/8/05 11:33 AM, "Francois Van Lerberghe" wrote: >> Hi V4RB developers, >> >> I think about porting of everything to xCode ASAP from CW. >> >> But this will mean for V4RB -- support of only MACHO targets. >> No Carbon/PEF as now. >> >> What you think about this, guys ? >> >> Does exists developers which will get pain from this ? >> > > Yes. > I'm still developping PEF/Carbon version. But what limit you switch to MACHO ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fvanlerberghe at freegates.be Mon Aug 8 12:32:38 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Aug 8 05:32:24 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: le 8/08/05 10:44, Ruslan Zasukhin a ?crit?: >> I'm still developping PEF/Carbon version. > > But what limit you switch to MACHO ? Some of my customers use MacOs 9 and for some projects I still use RB 3.5 But are V4RB 2 compatible with this old version ? What is the minimum requirement ? I've not found this information on your Web pages. Best regards. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From jules.jacquot at wanadoo.fr Mon Aug 8 13:46:06 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Aug 8 06:44:38 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: Le 7 ao?t 05 ? 22:31, Ruslan Zasukhin a ?crit : > Hi V4RB developers, > > I think about porting of everything to xCode ASAP from CW. > > But this will mean for V4RB -- support of only MACHO targets. > No Carbon/PEF as now. > > What you think about this, guys ? > > Does exists developers which will get pain from this ? for me, nothing for my users which use OS9 yes best jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From sunshine at public.kherson.ua Mon Aug 8 15:42:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 8 07:42:50 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: On 8/8/05 1:32 PM, "Francois Van Lerberghe" wrote: > le 8/08/05 10:44, Ruslan Zasukhin a ?crit?: > >>> I'm still developping PEF/Carbon version. >> >> But what limit you switch to MACHO ? > > Some of my customers use MacOs 9 and for some projects I still use RB 3.5 > But are V4RB 2 compatible with this old version ? What is the minimum > requirement ? I've not found this information on your Web pages. I think RB 3.5 no Because we use Exceptions, Modules, ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From barney at custombased.com Tue Aug 9 08:51:53 2005 From: barney at custombased.com (Barney) Date: Mon Aug 8 15:51:50 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: on 8/8/05 8:33 PM, Francois Van Lerberghe at fvanlerberghe@freegates.be wrote: > le 7/08/05 22:31, Ruslan Zasukhin a ?crit?: > >> Hi V4RB developers, >> >> I think about porting of everything to xCode ASAP from CW. >> >> But this will mean for V4RB -- support of only MACHO targets. >> No Carbon/PEF as now. >> >> What you think about this, guys ? >> >> Does exists developers which will get pain from this ? >> I seem to have difficulty compiling my projects using Macho ? Windows icons and other issues seem to get mucked up. Consequently I'm still using Carbon/PEF. Probably this has nothing to do with V4RB though. Barney > > Fran?ois Van Lerberghe > Rue Thier Monty, 15 A > 4570 Marchin > Belgique > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From jda at his.com Mon Aug 8 17:00:01 2005 From: jda at his.com (jda) Date: Mon Aug 8 16:00:08 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: >I seem to have difficulty compiling my projects using Macho ? Windows >icons and other issues seem to get mucked up. Consequently I'm still >using Carbon/PEF. Probably this has nothing to do with V4RB though. > Just for the heck of it I compiled my RB app as MACHO. It quits immediately on launch (on bounce or so) with no crash log. What else do I need to do to get it to launch? I thought PEF shared libraries work with MACHO. Must they be in the same bundle (i.e. not in CFMSupport)? Jon From yeomans at desuetude.com Mon Aug 8 17:31:28 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Aug 8 16:31:46 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: <39126ef3aa7bf06bd24d192ca55b646b@desuetude.com> On Aug 8, 2005, at 5:00 PM, jda wrote: >> I seem to have difficulty compiling my projects using Macho ? Windows >> icons and other issues seem to get mucked up. Consequently I'm still >> using Carbon/PEF. Probably this has nothing to do with V4RB though. >> > > Just for the heck of it I compiled my RB app as MACHO. It quits > immediately on launch (on bounce or so) with no crash log. What else > do I need to do to get it to launch? I thought PEF shared libraries > work with MACHO. Must they be in the same bundle (i.e. not in > CFMSupport)? > I'm using the current V4Rb plugin in a Mach-O application. You might check the console log to see if there is some information. This is the sort of thing that happens when an external function declares to a nonexistent library. -------------- Charles Yeomans From rosyna at unsanity.com Mon Aug 8 14:35:48 2005 From: rosyna at unsanity.com (Rosyna) Date: Mon Aug 8 16:36:37 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <455695B6-73A0-44D8-9966-EC33DA2830B0@goodeast.com> References: <455695B6-73A0-44D8-9966-EC33DA2830B0@goodeast.com> Message-ID: Funny thing about this, RealBasic itself is compiled via CodeWarrior. Ack, at 8/7/05, Frank Schima said: >This is fine with me. I was initially having problems compiling my >RB2005 projects in Mach-O but REAL Software seems to have fixed >those bugs for RB2005r2 and I can compile again that way. -- Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug Unsanity: Unsane Tools for Insanely Great People From jda at his.com Mon Aug 8 19:25:39 2005 From: jda at his.com (jda) Date: Mon Aug 8 18:25:43 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <39126ef3aa7bf06bd24d192ca55b646b@desuetude.com> References: <39126ef3aa7bf06bd24d192ca55b646b@desuetude.com> Message-ID: >On Aug 8, 2005, at 5:00 PM, jda wrote: > >>>I seem to have difficulty compiling my projects using Macho ? Windows >>>icons and other issues seem to get mucked up. Consequently I'm still >>>using Carbon/PEF. Probably this has nothing to do with V4RB though. >>> >> >>Just for the heck of it I compiled my RB app as MACHO. It quits >>immediately on launch (on bounce or so) with no crash log. What >>else do I need to do to get it to launch? I thought PEF shared >>libraries work with MACHO. Must they be in the same bundle (i.e. >>not in CFMSupport)? >> > >I'm using the current V4Rb plugin in a Mach-O application. You >might check the console log to see if there is some information. >This is the sort of thing that happens when an external function >declares to a nonexistent library. > Hm, I do have my own shared library. I have it in the same folder as my app -> crash (with MACHO). I then opened the bundle and placed it there -> crash. Maybe it has to go in a specific folder in the bundle? Charles, do you use any third party plug-ins? If so, where do you put them for a MACHO app? Thanks, Jon From miescher at bizdata.com Tue Aug 9 07:51:55 2005 From: miescher at bizdata.com (John W. Miescher) Date: Tue Aug 9 00:52:07 2005 Subject: split to words and db in Ram In-Reply-To: <20050808205158.672BE3666E8@edison.macserve.net> Message-ID: <002701c59ca6$7349d590$0201a8c0@JOHNHP> Dear Ruslan, >> Thanks for the explanation. I find splittowords indeed very useful in >> conjunction with my proximiy search alias soundex routine (which is >> absent from Valentina) because it pre-sorts and also removes >> duplicates faster than RB would. >Excellent. >You mean you use some RB plugin that do soundex ? No, I rolled my own using clever REGEX + Valentina's capability to handle letters with/without accents. I prefer to call it proximity search because its purpose is to help overcome orthographical deficiencies. You type 'abble' and it comes back suggesting alternatives like 'separable', 'apple' or 'Apfel' in German. In our case the searched field contains lines of text rather than just a name. It would probably be an easy thing for you to include such a feature in a near future release. rgs, john m. From kgrob at mus.ch Tue Aug 9 09:33:37 2005 From: kgrob at mus.ch (Karl Grob) Date: Tue Aug 9 02:33:50 2005 Subject: Unique seems to be notUnique Message-ID: <7B6C4B21-F9E0-4047-B7BA-F1BFD1D54137@mus.ch> In the enclosed Database my problem is located at Field UniqueKey in Table Referenztext When importing (V4RB) the fields, the Field in RecID 158 is considered as not Unique. Importing without the Unique-Flag gives me the enclosed Database. If I try to set the Unique-Flag in VStudio I get a error too. So the problem seems to be within the Database- Engine. I just cannot see the reason why RecId 158 should be notUnique, but perhaps I am blind. Does anybody see a solution? (BTW: I need these Fields for Import-Purposes.) Karl Grob From IvanSmahin at public.kherson.ua Tue Aug 9 10:56:26 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Aug 9 02:56:31 2005 Subject: Unique seems to be notUnique In-Reply-To: <7B6C4B21-F9E0-4047-B7BA-F1BFD1D54137@mus.ch> References: <7B6C4B21-F9E0-4047-B7BA-F1BFD1D54137@mus.ch> Message-ID: <999953581.20050809105626@public.kherson.ua> Hello Karl, Tuesday, August 9, 2005, 10:33:37 AM, you wrote: KG> In the enclosed Database my problem is located at KG> Field UniqueKey in Table Referenztext KG> When importing (V4RB) the fields, the Field in RecID 158 is KG> considered as not Unique. Importing without the Unique-Flag gives me KG> the enclosed Database. If I try to set the Unique-Flag in VStudio I KG> get a error too. So the problem seems to be within the Database- KG> Engine. I just cannot see the reason why RecId 158 should be KG> notUnique, but perhaps I am blind. KG> Does anybody see a solution? Strange. Are you sure the data is unique? Could you select something like: "select RecID from t1 where f1 in (select f1 from t1 where RecID=158)"... What the exception did you get? What is the field type? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From kgrob at mus.ch Tue Aug 9 10:01:32 2005 From: kgrob at mus.ch (Karl Grob) Date: Tue Aug 9 03:01:42 2005 Subject: Unique seems to be notUnique In-Reply-To: <7B6C4B21-F9E0-4047-B7BA-F1BFD1D54137@mus.ch> References: <7B6C4B21-F9E0-4047-B7BA-F1BFD1D54137@mus.ch> Message-ID: <4DA6CE23-56AF-4574-94AB-CA71403B4CE2@mus.ch> Please do not consider my Question. I just found my error. I was blind. It is not Unique. Karl Grob From yeomans at desuetude.com Tue Aug 9 10:03:23 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Aug 9 09:03:33 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: <39126ef3aa7bf06bd24d192ca55b646b@desuetude.com> Message-ID: <9cfea0ffbde64338ac3b779075cc2bd1@desuetude.com> On Aug 8, 2005, at 7:25 PM, jda wrote: >> On Aug 8, 2005, at 5:00 PM, jda wrote: >> >>>> I seem to have difficulty compiling my projects using Macho ? >>>> Windows >>>> icons and other issues seem to get mucked up. Consequently I'm still >>>> using Carbon/PEF. Probably this has nothing to do with V4RB though. >>>> >>> >>> Just for the heck of it I compiled my RB app as MACHO. It quits >>> immediately on launch (on bounce or so) with no crash log. What else >>> do I need to do to get it to launch? I thought PEF shared libraries >>> work with MACHO. Must they be in the same bundle (i.e. not in >>> CFMSupport)? >>> >> >> I'm using the current V4Rb plugin in a Mach-O application. You might >> check the console log to see if there is some information. This is >> the sort of thing that happens when an external function declares to >> a nonexistent library. >> > > Hm, I do have my own shared library. I have it in the same folder as > my app -> crash (with MACHO). I then opened the bundle and placed it > there -> crash. Maybe it has to go in a specific folder in the bundle? > Charles, do you use any third party plug-ins? If so, where do you put > them for a MACHO app? > Rb plugins compiled to PEF work with Mach-O applications. This is not so for shared libraries, unless you use Rb2005 and soft declares. And soft declares can only call into bundled libraries. -------------- Charles Yeomans From yeomans at desuetude.com Tue Aug 9 13:33:46 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Aug 9 12:33:56 2005 Subject: [V4Rb 2] error 394506 Message-ID: <6b5164318b243012f5f0c3758bf5e6a5@desuetude.com> What does it mean to get error 394506 when calling VDatabase.SQLSelect? I'm seeing this, as usual, when attempting to connect to a remote database. Afterward, VServer quits due to a bus error. -------------- Charles Yeomans From giv at tlc.kherson.ua Tue Aug 9 22:17:36 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 9 14:18:29 2005 Subject: [V4Rb 2] error 394506 References: <6b5164318b243012f5f0c3758bf5e6a5@desuetude.com> Message-ID: <000001c59d17$19fb10a0$3b04a8c0@giv> Hi Charles, > What does it mean to get error 394506 when calling VDatabase.SQLSelect? > I'm seeing this, as usual, when attempting to connect to a remote > database. Afterward, VServer quits due to a bus error. I don't understand you: did you get this error on connect or on SqlSelect? Can you give an example of code? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From yeomans at desuetude.com Tue Aug 9 15:57:52 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Aug 9 14:57:59 2005 Subject: [V4Rb 2] error 394506 In-Reply-To: <000001c59d17$19fb10a0$3b04a8c0@giv> References: <6b5164318b243012f5f0c3758bf5e6a5@desuetude.com> <000001c59d17$19fb10a0$3b04a8c0@giv> Message-ID: <9ee29a8f2598e2e529ee3a9faca46271@desuetude.com> On Aug 9, 2005, at 3:17 PM, Igor Gomon wrote: > Hi Charles, > >> What does it mean to get error 394506 when calling >> VDatabase.SQLSelect? I'm seeing this, as usual, when attempting to >> connect to a remote database. Afterward, VServer quits due to a bus >> error. > I don't understand you: did you get this error on connect or on > SqlSelect? > Can you give an example of code? I got it on SQLSelect. -------------- Charles Yeomans From peter.salomon at gmx.net Tue Aug 9 22:37:56 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Tue Aug 9 15:38:09 2005 Subject: [V4RB] table classes syntax Message-ID: Hi Ruslan and all, i have a "classes way" project in rb, what imlements that i have all valentina classes (VDatabase and VTable) in the "Project" environment. Now i want to work with my tables anf fields of course by accessing them from windowscripts. The usual way seems to be - thats the way the examples work - to get access to fields by: str = myDatabase.MyTable.Field("myfield").getString so far so good - but i would prefer to use the names (stored as properties in the table classes) from any window. like: str = mytable.myfield.getstring this sounds cosmetic - but the advantage would be that rb "helps" me remembering the fieldnames. can i use table classes directly in this way? the compiler tells me that the methods do not exist...(this error came when i tried to do: mytable.RecID = 1) regards, peter From justin at crunch-recording.com Tue Aug 9 16:50:01 2005 From: justin at crunch-recording.com (Justin Drury) Date: Tue Aug 9 15:50:11 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <20050809203809.A530D36724A@edison.macserve.net> References: <20050809203809.A530D36724A@edison.macserve.net> Message-ID: > Just for the heck of it I compiled my RB app as MACHO. It quits > immediately on launch (on bounce or so) with no crash log. What else > do I need to do to get it to launch? I thought PEF shared libraries > work with MACHO. Must they be in the same bundle (i.e. not in > CFMSupport)? > > Jon Hey Jon, if you can compile it as a CFM plugin(although at that point you may as well compile mach-o), you'll be all set, Realbasic handles the internal glue code for Macho to call CFM/PEF function pointers. There's the often quoted... http://developer.apple.com/samplecode/CFM_MachO_CFM/ CFM_MachO_CFM.html that deals with all that stuff. Its more complicated than it looks, in reality its about 10 lines of code which Apple provides... However if you don't have the source code things are a little different. You can put a PEF lib into a bundle structure, its pretty easy, I've done it myself, you just need to set some info.plist attributes. Then if your c skills are up to chop you could write a plugin(CFM/MachO) that does the proper CFBundleLoadExecutable and CFBundleGetFunctionPointerForName calls and exposes them to REALBasic...I had to do this recently myself(Although I called in from cocoa using NSBundle). Or as Charles suggested use RB2005(I wasn't aware they had added this, I imagine its doing the same things behind the scenes...) Hope that helps Justin From IvanSmahin at public.kherson.ua Tue Aug 9 23:58:31 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Aug 9 15:58:40 2005 Subject: [V4RB] table classes syntax In-Reply-To: References: Message-ID: <42F918F7.5030209@public.kherson.ua> Peter Salomon wrote: > Hi Ruslan and all, > > i have a "classes way" project in rb, what imlements that i have all > valentina classes (VDatabase and VTable) in the "Project" environment. > Now i want to work with my tables anf fields of course by accessing > them from windowscripts. > The usual way seems to be - thats the way the examples work - to get > access to fields by: > > str = myDatabase.MyTable.Field("myfield").getString > myDatabase.MyTable.Field("myfield") gets you VField object. But you've got it already using "classes way". So you should use it in such a way: str = myField.getString -- Best regards, Ivan Smahin From peter.salomon at gmx.net Wed Aug 10 10:00:48 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Wed Aug 10 03:01:03 2005 Subject: [V4RB] table classes syntax In-Reply-To: <42F918F7.5030209@public.kherson.ua> References: <42F918F7.5030209@public.kherson.ua> Message-ID: <58807077-8F20-4F97-A251-D77E2B663691@gmx.net> Hi Ivan, > So you should use it in such a way: > str = myField.getString thanks, problem solved. i were not able to use that form because of errors in DB constructo . now i can use the short way. wonderul. peter From giv at tlc.kherson.ua Wed Aug 10 11:03:15 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Aug 10 03:03:25 2005 Subject: [V4Rb 2] error 394506 References: <6b5164318b243012f5f0c3758bf5e6a5@desuetude.com><000001c59d17$19fb10a0$3b04a8c0@giv> <9ee29a8f2598e2e529ee3a9faca46271@desuetude.com> Message-ID: <000301c59d81$f66874f0$3b04a8c0@giv> > I got it on SQLSelect. So, please, give us this sql string? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From yeomans at desuetude.com Wed Aug 10 09:40:39 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Aug 10 08:40:45 2005 Subject: [V4Rb 2] error 394506 In-Reply-To: <000301c59d81$f66874f0$3b04a8c0@giv> References: <6b5164318b243012f5f0c3758bf5e6a5@desuetude.com><000001c59d17$19fb10a0$3b04a8c0@giv> <9ee29a8f2598e2e529ee3a9faca46271@desuetude.com> <000301c59d81$f66874f0$3b04a8c0@giv> Message-ID: <0d8ed833712515ab62cf8cb0db27b23e@desuetude.com> On Aug 10, 2005, at 4:03 AM, Igor Gomon wrote: >> I got it on SQLSelect. > So, please, give us this sql string? > -- > Let me see if I can reproduce the error. -------------- Charles Yeomans From arthur at visiblearea.com Wed Aug 10 23:39:18 2005 From: arthur at visiblearea.com (Arthur Clemens) Date: Wed Aug 10 16:39:28 2005 Subject: Valentina Cocoa Sort Demo In-Reply-To: <24527CAD-BB70-4FB5-A76A-77420FCAA6F6@visiblearea.com> References: <24527CAD-BB70-4FB5-A76A-77420FCAA6F6@visiblearea.com> Message-ID: <347B49A3-98FB-463E-8076-62B3EC585EC8@visiblearea.com> I've also updated my Cocoa sort demo for XCode 2.1: http:// visiblearea.com/valentina/ValentinaCocoaSortDemo.dmg It's in obj-c++ actually. This demo application shows how to sort records (main table) on a field of another table. It also illustrates searching and how to concatenate search queries. cheers Arthur On 6-aug-2005, at 22:05, Arthur Clemens wrote: > I've updated the Cocoa demo for XCode 2.1: http://visiblearea.com/ > valentina/ValentinaCocoaDemo.dmg > > (couple of bug fixes) > > Ruslan, this is the demo in Examples_ThirdParty folder. > > cheers > > Arthur > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sun2 at public.kherson.ua Thu Aug 11 08:54:07 2005 From: sun2 at public.kherson.ua (Serge) Date: Thu Aug 11 00:54:16 2005 Subject: Valentina Cocoa Sort Demo In-Reply-To: <347B49A3-98FB-463E-8076-62B3EC585EC8@visiblearea.com> Message-ID: Hi Arthur, > I've also updated my Cocoa sort demo for XCode 2.1: http:// > visiblearea.com/valentina/ValentinaCocoaSortDemo.dmg > > It's in obj-c++ actually. > > This demo application shows how to sort records (main table) on a > field of another table. > It also illustrates searching and how to concatenate search queries. Thank you for your examples. I'll look at them. -- Best regards, Serge From daisychain at iinet.net.au Thu Aug 11 16:15:09 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Aug 11 01:15:20 2005 Subject: Realbasic 5.5.5 crash when opening Valentina from IDE Message-ID: <007e01c59e3c$069a0270$ae00a8c0@DamonsPC> Hi Guys I use this code to create a simple Valentina Database, it happens with all Valentina databases however. dim d2 as VRBDataBase dim f as folderitem d2=new VRBDataBase f=getfolderItem("").child("ValentinaDB.vdb") f.delete d2.databaseFile=f if d2.createDatabaseFile then if d2.connect then d2.sqlExecute("Create Table test (f1 integer,f2 varchar, f3 date,f4 double,f5 TimeStamp)") if d2.error then msgbox "3"+d2.errorMessage end if end if beep This will create a database. Go back in to RealBasic and select the menu Edit / Add Data Source / Select Valentina Select a Valentina Database You can see it in the IDE but when you double click on it Real basic crashes. RB 5.5.5 Val 2.0.5fc5 Any ideas Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From totte at code66.se Thu Aug 11 08:27:31 2005 From: totte at code66.se (Totte Alm) Date: Thu Aug 11 01:27:51 2005 Subject: Realbasic 5.5.5 crash when opening Valentina from IDE In-Reply-To: <007e01c59e3c$069a0270$ae00a8c0@DamonsPC> References: <007e01c59e3c$069a0270$ae00a8c0@DamonsPC> Message-ID: <1593EB28-21B3-4287-8CF1-E0D73FC2A140@code66.se> Hello just an hint, have you called ValentinaInit() ? // Totte 11 aug 2005 kl. 08.15 skrev Damon Pillinger: > Hi Guys > > I use this code to create a simple Valentina Database, it happens with > all Valentina databases however. > > dim d2 as VRBDataBase > dim f as folderitem > > d2=new VRBDataBase > f=getfolderItem("").child("ValentinaDB.vdb") > f.delete > d2.databaseFile=f > if d2.createDatabaseFile then > if d2.connect then > d2.sqlExecute("Create Table test (f1 integer,f2 varchar, f3 > date,f4 double,f5 TimeStamp)") > if d2.error then msgbox "3"+d2.errorMessage > end if > end if > beep > > This will create a database. > Go back in to RealBasic and select the menu > > Edit / Add Data Source / Select Valentina > > Select a Valentina Database > > You can see it in the IDE but when you double click on it Real basic > crashes. > > RB 5.5.5 > Val 2.0.5fc5 > > Any ideas > > Best Regards > > Damon L. Pillinger > Jensen 2005 by Daisychain > www.daisychain.no-ip.biz > Phone : 03 9532 1220 > Fax : 03 9532 1280 > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------------------ ------------------------ The French don't even have a word for Entrepreneur. - George W. Bush. From daisychain at iinet.net.au Thu Aug 11 16:28:27 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Aug 11 01:28:37 2005 Subject: Realbasic 5.5.5 crash when opening Valentina from IDE In-Reply-To: <007e01c59e3c$069a0270$ae00a8c0@DamonsPC> Message-ID: <008301c59e3d$e2c71a20$ae00a8c0@DamonsPC> Don't worry. I uninstalled and reinstalled Valentina and all is A OK now. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Thursday, 11 August 2005 4:15 PM To: valentina@lists.macserve.net Subject: Realbasic 5.5.5 crash when opening Valentina from IDE Hi Guys I use this code to create a simple Valentina Database, it happens with all Valentina databases however. dim d2 as VRBDataBase dim f as folderitem d2=new VRBDataBase f=getfolderItem("").child("ValentinaDB.vdb") f.delete d2.databaseFile=f if d2.createDatabaseFile then if d2.connect then d2.sqlExecute("Create Table test (f1 integer,f2 varchar, f3 date,f4 double,f5 TimeStamp)") if d2.error then msgbox "3"+d2.errorMessage end if end if beep This will create a database. Go back in to RealBasic and select the menu Edit / Add Data Source / Select Valentina Select a Valentina Database You can see it in the IDE but when you double click on it Real basic crashes. RB 5.5.5 Val 2.0.5fc5 Any ideas Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Thu Aug 11 16:48:15 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Aug 11 01:48:29 2005 Subject: IDE Valantina database takes a looog time to open In-Reply-To: <008301c59e3d$e2c71a20$ae00a8c0@DamonsPC> Message-ID: <008c01c59e40$a6907df0$ae00a8c0@DamonsPC> Hi Guys, Ok so I got it open but now when I view the contents of the database it takes about 10 minutes to show, the database only has about 1500 records. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From fb at memedia.de Thu Aug 11 10:08:19 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 03:08:39 2005 Subject: download embedded server 2.0a67 Message-ID: <0MKwh2-1E386y2Yso-0007OT@mrelayeu.kundenserver.de> V4MD1.11 client/server Hi Ruslan! I have severe problems with addRecord() and I am trying to bring my valentine to newest level(version 1). I can not find the zipped server files- the only thing I get is a msi installation file from http://www.paradigmasoft.com/en/products/download/EMBSRV Also when I download Client version 67 it appears to be version 65. Please point me to the correct downloads. Best regards, Florian Bogeschdorfer From fb at memedia.de Thu Aug 11 16:02:46 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 09:03:21 2005 Subject: timeout problem with "large" table Message-ID: <0ML21M-1E3DeB1TL4-00055V@mrelayeu.kundenserver.de> V4MD1.11 Client/Server Hi all! I have a serious problem with my database. If I add a record to a table it takes up to 60 seconds! This leads to a TCP/IP timeout error in the end (10060). This is with 11000 records and about 80 fields. The time lag increases depending on the number of records in the table. I have two databases from two different customers with the same problem. I can change records fast as usual but adding records has actually become impossible. If I delete 10000 records, then adding records again is fast as usual. I have defragmented, compacted and reindexed the database. I have also checked the integrity with VStudio - "All right". I can not switch to 2.0 in the next days and my customers are seriously angry now. Any ideas? TIA, Florian Bogeschdorfer From jda at his.com Thu Aug 11 11:25:39 2005 From: jda at his.com (jda) Date: Thu Aug 11 10:25:49 2005 Subject: timeout problem with "large" table In-Reply-To: <0ML21M-1E3DeB1TL4-00055V@mrelayeu.kundenserver.de> References: <0ML21M-1E3DeB1TL4-00055V@mrelayeu.kundenserver.de> Message-ID: >I have defragmented, compacted and reindexed the database. I have also >checked the integrity with VStudio - "All right". > > Have you tried increasing the db cache? Jon From fb at memedia.de Thu Aug 11 17:29:56 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 10:30:10 2005 Subject: timeout problem with "large" table In-Reply-To: Message-ID: <0ML2Dk-1E3F0M3ygE-0006NZ@mrelayeu.kundenserver.de> > > > > Have you tried increasing the db cache? > > Jon > _______________________________________________ Yes, I increased it to 250MB...while I calculated that the whole table with all records would be about 40 MB. Even if it was the cache, why would I be able to change/delete records fast? Florian From jda at his.com Thu Aug 11 11:35:26 2005 From: jda at his.com (jda) Date: Thu Aug 11 10:35:37 2005 Subject: timeout problem with "large" table In-Reply-To: <0ML2Dk-1E3F0M3ygE-0006NZ@mrelayeu.kundenserver.de> References: <0ML2Dk-1E3F0M3ygE-0006NZ@mrelayeu.kundenserver.de> Message-ID: >Yes, I increased it to 250MB...while I calculated that the whole table with >all records would be about 40 MB. Even if it was the cache, why would I be >able to change/delete records fast? > >Florian I think I recall Ruslan saying that in V1.x increasing cache beyond a certain point (100 MB? I don't remember) may actually slow down operations. I'd try playing with it and see. I think Ruslan is away -- maybe Ivan or Igor has some more insight. Jon From IvanSmahin at public.kherson.ua Thu Aug 11 18:43:24 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Aug 11 10:43:30 2005 Subject: timeout problem with "large" table In-Reply-To: References: <0ML2Dk-1E3F0M3ygE-0006NZ@mrelayeu.kundenserver.de> Message-ID: <819808069.20050811184324@public.kherson.ua> Hello jda, Thursday, August 11, 2005, 6:35:26 PM, you wrote: >>Yes, I increased it to 250MB...while I calculated that the whole table with >>all records would be about 40 MB. Even if it was the cache, why would I be >>able to change/delete records fast? >> >>Florian j> I think I recall Ruslan saying that in V1.x increasing cache beyond a j> certain point (100 MB? I don't remember) may actually slow down j> operations. I'd try playing with it and see. I think Ruslan is away j> -- maybe Ivan or Igor has some more insight. Actually I'm not aware in 1.x, but I heard the same thing. So, you could try to decrease the cache size. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From fb at memedia.de Thu Aug 11 17:49:34 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 10:49:46 2005 Subject: timeout problem with "large" table In-Reply-To: <819808069.20050811184324@public.kherson.ua> Message-ID: <0ML29c-1E3FJM1w5e-0000wT@mrelayeu.kundenserver.de> > > Actually I'm not aware in 1.x, but I heard the same thing. > So, you could try to decrease the cache size. > I tried with 30 (my old value), 40 and 100 MB before... Florian From giv at tlc.kherson.ua Thu Aug 11 19:09:14 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Aug 11 11:09:36 2005 Subject: timeout problem with "large" table References: <0ML29c-1E3FJM1w5e-0000wT@mrelayeu.kundenserver.de> Message-ID: <002b01c59e8f$0aaf74f0$3b04a8c0@giv> Hi Florian, Does the problem occur with the local database or only with server database? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Thu Aug 11 18:16:02 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 11:16:15 2005 Subject: timeout problem with "large" table In-Reply-To: <002b01c59e8f$0aaf74f0$3b04a8c0@giv> Message-ID: <0MKwh2-1E3Fiy2POm-00047t@mrelayeu.kundenserver.de> > > Hi Florian, > > Does the problem occur with the local database > or only with server database? > Hi Igor! Only with the server database. When I open it locally with Vstudio, everything is fine. Best regards, Florian From giv at tlc.kherson.ua Thu Aug 11 20:01:52 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Aug 11 12:07:59 2005 Subject: timeout problem with "large" table References: <0MKwh2-1E3Fiy2POm-00047t@mrelayeu.kundenserver.de> Message-ID: <004901c59e97$378b6620$3b04a8c0@giv> > Only with the server database. When I open it locally with Vstudio, > everything is fine. Ok. How do you add the record to the table - using SqlExecute("INSERT INTO...") or using server side cursor? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Thu Aug 11 20:20:01 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 13:20:15 2005 Subject: timeout problem with "large" table In-Reply-To: <004901c59e97$378b6620$3b04a8c0@giv> Message-ID: <0MKwtQ-1E3Hex3r1q-0008Ft@mrelayeu.kundenserver.de> > > How do you add the record to the table - using > SqlExecute("INSERT INTO...") or using server side cursor? > Server side cursor Florian From giv at tlc.kherson.ua Thu Aug 11 21:29:11 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Aug 11 13:29:19 2005 Subject: timeout problem with "large" table References: <0MKwtQ-1E3Hex3r1q-0008Ft@mrelayeu.kundenserver.de> Message-ID: <000501c59ea2$91e03e10$3b04a8c0@giv> Florian, Please, send to me your db (if it is not very large). If it is then make dump of database structure (using XML), specify for which table you add records and send all to me. I then will try to reproduce the error. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Thu Aug 11 20:52:08 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 11 13:52:21 2005 Subject: timeout problem with "large" table In-Reply-To: <000501c59ea2$91e03e10$3b04a8c0@giv> Message-ID: <0MKwtQ-1E3IA347rO-00026l@mrelayeu.kundenserver.de> OK, it is on ist way (about 3MB). I also found out that the server process is working about 60 seconds with 50% processor time (3GHZ) for this action. Thank, you, FLorian > > Please, send to me your db (if it is not very large). > If it is then make dump of database structure > (using XML), specify for which table you add > records and send all to me. > I then will try to reproduce the error. > > -- > Best regards, > Igor Gomon From fb at memedia.de Fri Aug 12 09:36:10 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Aug 12 02:36:31 2005 Subject: timeout problem with "large" table In-Reply-To: <000501c59ea2$91e03e10$3b04a8c0@giv> Message-ID: <0MKwtQ-1E3U5S2Z4R-0006Py@mrelayeu.kundenserver.de> > > Florian, > > Please, send to me your db (if it is not very large). > If it is then make dump of database structure > (using XML), specify for which table you add > records and send all to me. > I then will try to reproduce the error. Good morning Igor, have you checked the DB? Best regards, Florian From sun2 at public.kherson.ua Fri Aug 12 12:45:06 2005 From: sun2 at public.kherson.ua (Serge) Date: Fri Aug 12 04:45:14 2005 Subject: IDE Valantina database takes a looog time to open Message-ID: Hi Damon, > Hi Guys, > Ok so I got it open but now when I view the contents of the database it > takes about 10 minutes to show, the database only has about 1500 > records. I don't now why do you use this way to view the contents of the database. Why don't you use ViSQl or Vstudio for this? As you know RB put all data to their listbox, it takes long time. So, to create db with 1500 records I open example "API_way/Records_AddDeleteUpdate" And in the button "Add 10" change loop count to 1500. Than I open db in constructor mode when I view the contents of the database it takes about 1 minutes and 40 sec to show. Please do the same and say me your time. I think that we will do some optimizations for RBDB next week. Than I will test this problem and say you results. -- Best regards, Serge From fb at memedia.de Fri Aug 12 12:04:13 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Aug 12 05:04:38 2005 Subject: timeout problem with "large" table SOLVED In-Reply-To: <004901c59e97$378b6620$3b04a8c0@giv> Message-ID: <0MKwpI-1E3WOl2xgD-0007Bq@mrelayeu.kundenserver.de> V4MD1.1 server/client Finally solved! Before I explain the bug? Let me tell you this: For database creation and change I use a text file description. This is read by lingo and according to the data, tables and fields are created. The advantage is that when I want to change the database, I just change the text file - easy. Everytime I open the DB I go through the text file and check for changes. Here is a part of the text file: [TABLE] DIRMAR_THEMES [FIELDS] DIRMAR_THEMES_ID kTypeUMedium indexed unique DIRMAR_THEMES_NAME kTypeString 50 indexed unique DIRMAR_THEMES_NOTES kTypeText 128 changed kTypeBoolean -- -- Table f?r Relationen zwischen Marketing und Themen [TABLE] DIRMAR_REL [FIELDS] DIRMAR_REL_DIRMAR_ID kTypeUMedium indexed DIRMAR_REL_THEMES_ID kTypeUMedium indexed This works so far but the problem are the field flags. Since a field might change e.g. from unique to not unique, I simply set all field flags for every field every time when I open the DB - either 0 or 1. For the flags unique and nullable this leads to the problem: addRecord() becomes terribly slow, the more records the slower. Setting indexed flag every time is no problem. So while it may not be nice from me to make Vserver work so much, this is some weird bug inside Vserver, I do not understand. Thanks to those helping. Florian @IGOR: maybe you would like to see the script? From giv at tlc.kherson.ua Fri Aug 12 13:22:43 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Aug 12 05:24:25 2005 Subject: timeout problem with "large" table SOLVED References: <0MKwpI-1E3WOl2xgD-0007Bq@mrelayeu.kundenserver.de> Message-ID: <002e01c59f27$f76d17f0$3b04a8c0@giv> > Finally solved! Ok. > Before I explain the bug? Let me tell you this: > For database creation and change I use a text file description. This is > read > by lingo and according to the data, tables and fields are created. The > advantage is that when I want to change the database, I just change the > text > file - easy. Everytime I open the DB I go through the text file and check > for changes. > Here is a part of the text file: > [TABLE] > DIRMAR_THEMES > [FIELDS] > DIRMAR_THEMES_ID kTypeUMedium indexed unique > DIRMAR_THEMES_NAME kTypeString 50 indexed unique > DIRMAR_THEMES_NOTES kTypeText 128 > changed kTypeBoolean > -- > -- Table f?r Relationen zwischen Marketing und Themen > [TABLE] > DIRMAR_REL > [FIELDS] > DIRMAR_REL_DIRMAR_ID kTypeUMedium indexed > DIRMAR_REL_THEMES_ID kTypeUMedium indexed > > This works so far but the problem are the field flags. Since a field might > change e.g. from unique to not unique, I simply set all field flags for > every field every time when I open the DB - either 0 or 1. For the flags > unique and nullable this leads to the problem: addRecord() becomes > terribly > slow, the more records the slower. Setting indexed flag every time is no > problem. So may be you just check for field flags before setting them? For large database open operation may be slow and significant network traffic can be generated by this. > So while it may not be nice from me to make Vserver work so much, this is > some weird bug inside Vserver, I do not understand. Ok, maybe. > @IGOR: maybe you would like to see the script? Yes, send it to me, please. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Aug 12 13:22:50 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Aug 12 06:23:23 2005 Subject: timeout problem with "large" table SOLVED In-Reply-To: <002e01c59f27$f76d17f0$3b04a8c0@giv> Message-ID: <0ML21M-1E3Xcx0eCr-0005Eu@mrelayeu.kundenserver.de> > So may be you just check for field flags before setting them? > For large database open operation may be slow and significant > network traffic can be generated by this. Yes this would be possible of course - now that I know that the other way round makes problems. > > > @IGOR: maybe you would like to see the script? > Yes, send it to me, please. Of course. I will make it ready tonight. Thank you very much and best regards, FLorian From ohmitou at wanadoo.fr Sat Aug 13 15:33:57 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Sat Aug 13 06:34:07 2005 Subject: SQL request Message-ID: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> Hello, Here is a request SQL which works "SELECT DISTINCT nom FROM individus WHERE condition ORDER BY nom" Besides, I would like to collect the number of 'nom' for every recording. "SELECT DISTINCT nom, COUNT(nom) FROM individus WHERE condition ORDER BY nom" or all my other requests don't work. Has anybody a solution? -- Thierry NAUZE Saint-Denis de la R?union From IvanSmahin at public.kherson.ua Sat Aug 13 14:45:10 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Aug 13 06:45:09 2005 Subject: SQL request In-Reply-To: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> References: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> Message-ID: <1939117177.20050813144510@public.kherson.ua> Hello Thierry, Saturday, August 13, 2005, 2:33:57 PM, you wrote: TN> Hello, TN> Besides, I would like to collect the number of 'nom' for every TN> recording. TN> "SELECT DISTINCT nom, COUNT(nom) FROM individus WHERE condition ORDER TN> BY nom" TN> or all my other requests don't work. You could try something like this: select count( distinct nom )... -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ohmitou at wanadoo.fr Sat Aug 13 16:27:23 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Sat Aug 13 07:27:36 2005 Subject: SQL request In-Reply-To: <1939117177.20050813144510@public.kherson.ua> References: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> <1939117177.20050813144510@public.kherson.ua> Message-ID: <220A639A-AB44-47ED-BCB6-90A2719DC729@wanadoo.fr> Le 13 ao?t 05 ? 15:45, Ivan Smahin a ?crit : > You could try something like this: > select count( distinct nom )... Thanks Yvan. -- Thierry NAUZE Saint-Denis de la R?union From Claudius at sailer-online.de Sun Aug 14 08:11:05 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Aug 14 01:11:16 2005 Subject: SQL request In-Reply-To: <1939117177.20050813144510@public.kherson.ua> References: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> <1939117177.20050813144510@public.kherson.ua> Message-ID: Am 13. Aug 2005 um 13:45 Uhr schrieb Ivan Smahin: > Hello Thierry, > > Saturday, August 13, 2005, 2:33:57 PM, you wrote: > > TN> Hello, > > > TN> Besides, I would like to collect the number of 'nom' for every > TN> recording. > > TN> "SELECT DISTINCT nom, COUNT(nom) FROM individus WHERE condition > ORDER > TN> BY nom" > TN> or all my other requests don't work. > > You could try something like this: > select count( distinct nom )... I would say SELECT nom, count(*) from dividus WHERE condition GROUP BY nom ORDER BY nom? or SELECT nom, count(*) from dividus WHERE condition ORDER BY nom GROUP BY nom? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From ohmitou at wanadoo.fr Sun Aug 14 18:06:59 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Sun Aug 14 09:07:13 2005 Subject: SQL request In-Reply-To: References: <90815CB4-B9B5-4F48-B6CA-2A649A0DA326@wanadoo.fr> <1939117177.20050813144510@public.kherson.ua> Message-ID: <80BC0DCC-5E57-48C7-B8B0-6783C519F786@wanadoo.fr> Le 14 ao?t 05 ? 10:11, Claudius Sailer a ?crit : > I would say > > SELECT nom, count(*) from dividus WHERE condition GROUP BY nom > ORDER BY nom? > Thanks Claudius. The first makes exactly what I want. I have not yet tried the other one. > or > > SELECT nom, count(*) from dividus WHERE condition ORDER BY nom > GROUP BY nom? > Bye, -- Thierry NAUZE Saint-Denis de la R?union From carlo.sacchetti at biblelive.it Sun Aug 14 20:05:16 2005 From: carlo.sacchetti at biblelive.it (Carlo Sacchetti) Date: Sun Aug 14 13:05:24 2005 Subject: installation of valentina for Director Message-ID: <42F8C5A600059360@ms003msg.mail.fw> (added by postmaster@fastwebnet.it) Hi Ruslan, I try to install valentina in my windows computer but when I lunch Director I have a message that a component: VShared_Win32_Release_VC.dll is not find. I have Italian system and I haven't "program files" but only "programmi". I read that I have to append to the system a variable path but how can I do it? Thanks Carlo Sacchetti From info at vallemediatime.com Mon Aug 15 01:11:23 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Aug 14 18:11:30 2005 Subject: installation of valentina for Director References: <42F8C5A600059360@ms003msg.mail.fw> (added bypostmaster@fastwebnet.it) Message-ID: <000c01c5a125$7ddbb5e0$65081e97@vmtrm4p9ipbkv2> Try this: Start Menu >Pannello di controllo >Sistema >Avanzate >Variabili d'ambiente and insert the Path of your V_components folder: e.g. in my system I have this path: C:\Programmi\Paradigma Software\VComponents_Win_VC; Ciao Paolo ----- Original Message ----- From: "Carlo Sacchetti" To: Sent: Sunday, August 14, 2005 8:05 PM Subject: installation of valentina for Director > Hi Ruslan, I try to install valentina in my windows computer but when I > lunch Director I have a message that a component: > VShared_Win32_Release_VC.dll is not find. I have Italian system and I > haven't "program files" but only "programmi". I read that I have to append > to the system a variable path but how can I do it? > > > > Thanks > > Carlo Sacchetti > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 10/08/2005 > > From carlo.sacchetti at biblelive.it Mon Aug 15 09:46:47 2005 From: carlo.sacchetti at biblelive.it (Carlo Sacchetti) Date: Mon Aug 15 02:47:03 2005 Subject: R: installation of valentina for Director In-Reply-To: <000c01c5a125$7ddbb5e0$65081e97@vmtrm4p9ipbkv2> Message-ID: <42F8A93F00067999@ms001msg.mail.fw> (added by postmaster@fastwebnet.it) Ho risolto, grazie mille Paolo Un caro saluto don Carlo -----Messaggio originale----- Da: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Per conto di info@vallemediatime.com Inviato: luned? 15 agosto 2005 1.11 A: Valentina Developers Oggetto: Re: installation of valentina for Director Try this: Start Menu >Pannello di controllo >Sistema >Avanzate >Variabili d'ambiente and insert the Path of your V_components folder: e.g. in my system I have this path: C:\Programmi\Paradigma Software\VComponents_Win_VC; Ciao Paolo ----- Original Message ----- From: "Carlo Sacchetti" To: Sent: Sunday, August 14, 2005 8:05 PM Subject: installation of valentina for Director > Hi Ruslan, I try to install valentina in my windows computer but when I > lunch Director I have a message that a component: > VShared_Win32_Release_VC.dll is not find. I have Italian system and I > haven't "program files" but only "programmi". I read that I have to append > to the system a variable path but how can I do it? > > > > Thanks > > Carlo Sacchetti > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 10/08/2005 > > _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Mon Aug 15 11:51:10 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Aug 15 03:51:22 2005 Subject: installation of valentina for Director References: <42F8C5A600059360@ms003msg.mail.fw> (added bypostmaster@fastwebnet.it) Message-ID: <003401c5a176$7c5e12c0$3b04a8c0@giv> Hi Carlo, > I read that I have to append > to the system a variable path but how can I do it? You don't need to do this by hand - install does this automatically. What is the Windows version? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Aug 15 11:52:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 03:52:31 2005 Subject: Ruslan: I am back from Sweden. Message-ID: Hi All, I have return back from Sweden where there was small Valentina developers conference :-) Totte Alm, Jochen Peters and me. I will provide more info later today, I need now check a lots of email I have in box.... The main news is: we have port Valentina engine to MAC INTEL and xCode 2.1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 15 15:54:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 07:54:48 2005 Subject: timeout problem with "large" table SOLVED In-Reply-To: <0MKwpI-1E3WOl2xgD-0007Bq@mrelayeu.kundenserver.de> Message-ID: On 8/12/05 1:04 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > This works so far but the problem are the field flags. Since a field might > change e.g. from unique to not unique, I simply set all field flags for > every field every time when I open the DB - either 0 or 1. For the flags > unique and nullable this leads to the problem: addRecord() becomes terribly > slow, the more records the slower. Setting indexed flag every time is no > problem. > > So while it may not be nice from me to make Vserver work so much, this is > some weird bug inside Vserver, I do not understand. Me too. Nullable flag just add bitmap file for that field. This is not many work. Unique just change type of index. THIS operation will do REINDEX. But only once. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 15 15:57:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 07:57:12 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: On 8/8/05 11:51 PM, "Barney" wrote: >>> Does exists developers which will get pain from this ? >>> > I seem to have difficulty compiling my projects using Macho ? Windows > icons and other issues seem to get mucked up. Consequently I'm still > using Carbon/PEF. Probably this has nothing to do with V4RB though. Hi Barney, I think we all should prepare self to switch to Macho. Sooner or later this will happens. Sooner or later and Apple and REALbasic will drop Carbon. -- Best regards, Ruslan Zasukhin VP Engineering 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 Aug 15 15:07:51 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Aug 15 08:08:16 2005 Subject: timeout problem with "large" table SOLVED In-Reply-To: Message-ID: <0MKwh2-1E4ehA0RN7-0004PQ@mrelayeu.kundenserver.de> > > > > So while it may not be nice from me to make Vserver work so much, this > is > > some weird bug inside Vserver, I do not understand. > > Me too. > > Nullable flag just add bitmap file for that field. > This is not many work. > Ruslan, I sent the DB and my scripts to Igor. It is reproduceable. Best regards, Florian From sunshine at public.kherson.ua Mon Aug 15 16:20:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 08:20:49 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <39126ef3aa7bf06bd24d192ca55b646b@desuetude.com> Message-ID: On 8/9/05 12:31 AM, "Charles Yeomans" wrote: >>> I seem to have difficulty compiling my projects using Macho ? Windows >>> icons and other issues seem to get mucked up. Consequently I'm still >>> using Carbon/PEF. Probably this has nothing to do with V4RB though. >>> >> >> Just for the heck of it I compiled my RB app as MACHO. It quits >> immediately on launch (on bounce or so) with no crash log. What else >> do I need to do to get it to launch? I thought PEF shared libraries >> work with MACHO. Must they be in the same bundle (i.e. not in >> CFMSupport)? >> > > I'm using the current V4Rb plugin in a Mach-O application. You might > check the console log to see if there is some information. This is the > sort of thing that happens when an external function declares to a > nonexistent library. Also I will recommend to study such terminal tools of unix world as otool -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 15 16:48:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 08:48:54 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: Message-ID: On 8/9/05 2:25 AM, "jda" wrote: >> >> I'm using the current V4Rb plugin in a Mach-O application. You >> might check the console log to see if there is some information. >> This is the sort of thing that happens when an external function >> declares to a nonexistent library. >> > > Hm, I do have my own shared library. I have it in the same folder as > my app -> crash (with MACHO). I then opened the bundle and placed it > there -> crash. Maybe it has to go in a specific folder in the > bundle? Charles, do you use any third party plug-ins? If so, where do > you put them for a MACHO app? Try drop it into MyApp/Contetns/MacOS Folder. This is where EXE actually lives -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 15 16:53:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 08:54:00 2005 Subject: download embedded server 2.0a67 In-Reply-To: <0MKwh2-1E386y2Yso-0007OT@mrelayeu.kundenserver.de> Message-ID: On 8/11/05 11:08 AM, "Florian Bogeschdorfer" wrote: Hi Florian, > I have severe problems with addRecord() and I am trying to bring my > valentine to newest level(version 1). > > I can not find the zipped server files- the only thing I get is a msi > installation file from > http://www.paradigmasoft.com/en/products/download/EMBSRV > Also when I download Client version 67 it appears to be version 65. > Please point me to the correct downloads. You mean you cannot find on our site the required files for 1.x server win ? .ZIP archive ? Only this one problem? Or else ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Aug 15 16:25:15 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Aug 15 09:25:35 2005 Subject: download embedded server 2.0a67 In-Reply-To: Message-ID: <0ML2Dk-1E4fu42Qq7-0001ch@mrelayeu.kundenserver.de> > > I can not find the zipped server files- the only thing I get is a msi > > installation file from > > http://www.paradigmasoft.com/en/products/download/EMBSRV > > > Also when I download Client version 67 it appears to be version 65. > > Please point me to the correct downloads. > > You mean you cannot find on our site the required files for 1.x server win > ? > > .ZIP archive ? > > Only this one problem? > Or else ? You remember the zip archive for embedded server developers? I can not find it on your website. The only zip appears to be a .msi file. Also the client xtra marked as version 67 is 65 only. Best regards, FLorian From yeomans at desuetude.com Mon Aug 15 11:34:07 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Aug 15 10:34:13 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: On Aug 15, 2005, at 8:57 AM, Ruslan Zasukhin wrote: > On 8/8/05 11:51 PM, "Barney" wrote: > >>>> Does exists developers which will get pain from this ? >>>> >> I seem to have difficulty compiling my projects using Macho ? Windows >> icons and other issues seem to get mucked up. Consequently I'm still >> using Carbon/PEF. Probably this has nothing to do with V4RB though. > > Hi Barney, > > I think we all should prepare self to switch to Macho. > > Sooner or later this will happens. > > Sooner or later and Apple and REALbasic will drop Carbon. > Perhaps you mean that Apple will drop PEF; until Microsoft rewrites Office in Cocoa, I don't think Apple will be dropping Carbon. -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Aug 15 22:43:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 15 14:43:54 2005 Subject: V4MD FC9 issue In-Reply-To: Message-ID: On 8/15/05 9:57 PM, "Francois Cournoyer" wrote: > What is the performance impact on a Database that is encrypted? In 1.x tests I have see about 2-3% overhead 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 ohmitou at wanadoo.fr Tue Aug 16 09:25:24 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Tue Aug 16 00:25:35 2005 Subject: SQL request and speed ? Message-ID: <2D553A84-C536-41DE-8F38-5D64637A6F69@wanadoo.fr> Hello, I have two versions of my program : the first with a database Valentina 2 and the other one with a database RealSQL. The base contain the same data. The SQL requests are the same and their treatment also, at some details near (res=curseur.NextRecord / curseur.NoveNext, curseur.Field (1) / curseur.idxField(1) ...). To display a list of 13300 lines extracted from the base with this request: "SELECT id,nom,prenoms FROM individus WHERE id>0 AND byteLibre=1 ORDER BY nom,prenoms" RealSQL works in about 3 seconds and ... Valentina about in 30 seconds: 10 times more !!! For information : a test on another version of the program with Valentina 1 works in about 7 seconds. Can one hope for an improvement there? Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Tue Aug 16 10:07:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 02:07:40 2005 Subject: SQL request and speed ? In-Reply-To: <2D553A84-C536-41DE-8F38-5D64637A6F69@wanadoo.fr> Message-ID: On 8/16/05 8:25 AM, "Thierry NAUZE" wrote: Hi Thierry, > I have two versions of my program : the first with a database > Valentina 2 and the other one with a database RealSQL. > The base contain the same data. > The SQL requests are the same and their treatment also, at some > details near (res=curseur.NextRecord / curseur.NoveNext, curseur.Field > (1) / curseur.idxField(1) ...). > > To display a list of 13300 lines extracted from the base with this > request: > "SELECT id,nom,prenoms FROM individus WHERE id>0 AND byteLibre=1 > ORDER BY nom,prenoms" > > RealSQL works in about 3 seconds and ... Valentina about in 30 > seconds: 10 times more !!! > > For information : a test on another version of the program with > Valentina 1 works in about 7 seconds. > > Can one hope for an improvement there? * it looks to me that you have in resulted cursor quite many fileds (columns). Am I right? How many ? * and it looks that you try to load 13000 records into listbox? am I right ? This is bad idea, which was discussed many times on all lists. You need to use e.g. DataGrid and load only the records that are displayed on screen. Then you will get reaction of system about 0.1 of second. If you want and you can make for me archive with db + some project to test. Btw, you self can test THIS query in viSQL and see how fast viSQL show result. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Aug 16 10:14:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 02:14:19 2005 Subject: download embedded server 2.0a67 In-Reply-To: <0ML2Dk-1E4fu42Qq7-0001ch@mrelayeu.kundenserver.de> Message-ID: On 8/15/05 5:25 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > You remember the zip archive for embedded server developers? I can not find > it on your website. The only zip appears to be a .msi file. Try put on end of URL the file name: VServer2_Install.zip -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Aug 16 10:38:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 02:38:16 2005 Subject: Fiberlink VDB Update Escape Character Issue In-Reply-To: Message-ID: On 8/11/05 8:53 PM, "ERawlins@fiberlink.com" wrote: Hi Eric, > Ruslan, > > I have an issue regarding escape characters, and have been unable to find any > information in the documentation. The links on the support website for > discussion groups are no longer active, so I'm turning to email support. Sorry, what links you mean? Forum? It is protected from public, because this is forum only for VDN members. > I am attempting to execute a query similar to the following: > Update SomeTable set SomeColumn = 'c:\test\' where SomeColumn = 'test' ok > In the above example the backslash in the directory name is escaping the > single quote in the set clause, so the where clause is not working. The only > information I can find on escape characters says how to escape a single quote. > If memory serves normal SQL requires using escape characters for backslash > ('\\') to avoid problems like this but valentina simply logs two backslashes. > > How can I NOT escape the single quote in the above scenario. Right, it needs escape as single quote so back slash itself. Query which you send to Valentina must looks as Update SomeTable set SomeColumn = 'c:\test\\' where SomeColumn = 'test' To escape strings you can use Valentina.EscapeString() method -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Tue Aug 16 09:39:16 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 16 02:39:22 2005 Subject: download embedded server 2.0a67 In-Reply-To: Message-ID: <0ML2Dk-1E4w2X0MVS-00029f@mrelayeu.kundenserver.de> : > > Hi Florian, > > > You remember the zip archive for embedded server developers? I can not > find > > it on your website. The only zip appears to be a .msi file. > > Try put on end of URL the file name: VServer2_Install.zip > Good morning Ruslan! You mean http://www.paradigmasoft.com/en/products/download/EMBSRV/VServer2_Install.zi p ? Not working... Florian From ohmitou at wanadoo.fr Tue Aug 16 11:47:01 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Tue Aug 16 02:47:15 2005 Subject: SQL request and speed ? In-Reply-To: References: Message-ID: <0A986792-BDCE-4AF4-AB8A-5271C4659D84@wanadoo.fr> Le 16 ao?t 05 ? 11:07, Ruslan Zasukhin a ?crit : > On 8/16/05 8:25 AM, "Thierry NAUZE" wrote: > > Hi Thierry, > > >> I have two versions of my program : the first with a database >> Valentina 2 and the other one with a database RealSQL. >> The base contain the same data. > ... > > * and it looks that you try to load 13000 records into listbox? > am I right ? > > This is bad idea, which was discussed many times on all lists. > > You need to use e.g. DataGrid and load only the records that are > displayed > on screen. Then you will get reaction of system about 0.1 of second. Thanks Ruslan, I understood the method which you gave. I am going to try to realize it. Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Tue Aug 16 10:51:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 02:52:08 2005 Subject: download embedded server 2.0a67 In-Reply-To: <0ML2Dk-1E4w2X0MVS-00029f@mrelayeu.kundenserver.de> Message-ID: On 8/16/05 10:39 AM, "Florian Bogeschdorfer" wrote: >> Try put on end of URL the file name: VServer2_Install.zip >> > > Good morning Ruslan! > > You mean > > http://www.paradigmasoft.com/en/products/download/EMBSRV/VServer2_Install.zi > p > > ? > > Not working... http://paradigmasoft.com/download/v1/VServer2_Install.zip -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Tue Aug 16 17:20:17 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Aug 16 10:20:46 2005 Subject: SQL request and speed ? In-Reply-To: References: Message-ID: Am 16. Aug 2005 um 09:07 Uhr schrieb Ruslan Zasukhin: > On 8/16/05 8:25 AM, "Thierry NAUZE" wrote: > > Hi Thierry, > > >> I have two versions of my program : the first with a database >> Valentina 2 and the other one with a database RealSQL. >> The base contain the same data. >> > > >> The SQL requests are the same and their treatment also, at some >> details near (res=curseur.NextRecord / curseur.NoveNext, >> curseur.Field >> (1) / curseur.idxField(1) ...). >> >> To display a list of 13300 lines extracted from the base with this >> request: >> "SELECT id,nom,prenoms FROM individus WHERE id>0 AND byteLibre=1 >> ORDER BY nom,prenoms" >> >> RealSQL works in about 3 seconds and ... Valentina about in 30 >> seconds: 10 times more !!! >> >> For information : a test on another version of the program with >> Valentina 1 works in about 7 seconds. >> >> Can one hope for an improvement there? >> > > * it looks to me that you have in resulted cursor quite many fileds > (columns). Am I right? How many ? > > > * and it looks that you try to load 13000 records into listbox? > am I right ? > > This is bad idea, which was discussed many times on all lists. > > You need to use e.g. DataGrid and load only the records that are > displayed > on screen. Then you will get reaction of system about 0.1 of second. > > If you want and you can make for me archive with db + some project > to test. > > Btw, you self can test THIS query in viSQL and see how fast viSQL show > result. but question still stand, why is Valentina 2 so much slower as Valentina 1. I knew from an older Version of new RealSQL, that SQL is much more simple as Valentina SQL, but this doesn't help with speed differences between V1 and V2. #641 shows differences in V1 to V2 too. With this performance I can't tell my users to move from V4RB1 to V4RB2. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From andrew at learningware.com Tue Aug 16 13:26:49 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Aug 16 13:27:11 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <2D553A84-C536-41DE-8F38-5D64637A6F69@wanadoo.fr> References: <2D553A84-C536-41DE-8F38-5D64637A6F69@wanadoo.fr> Message-ID: <43022FE9.4070500@learningware.com> I'm in the process of trying to port a project developed under Windows to OSX. The following sequence crashes Director sql = "SELECT * FROM questions" theCursor = new(xtra "VCursor", GetRef(dbConn), sql, kClient, kReadOnly, kForwardOnly) put ValentinaErrorString() -- "No Error" if GetRecordCount(theCursor) = 0 then <-- THIS IS THE COMMAND that crashes Director. I am able to open this database under the "Valentina Carbon" application. (But I have to say it's a pain in the butt that it doesn't recognize the windows extension .vbd), and I am able to view the table "questions" under the "Valentina Carbon" application. I am using V4MD_Carbon.Xtr version 1.11, which is the same version that the database was created in under Windows. Since I get "No Error", I'm not sure where to start. Please advise. Regards, Andrew From sunshine at public.kherson.ua Tue Aug 16 22:37:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 14:37:52 2005 Subject: SQL request and speed ? In-Reply-To: Message-ID: On 8/16/05 6:20 PM, "Claudius Sailer" wrote: > but question still stand, why is Valentina 2 so much slower as > Valentina 1. I think it is NOT so much slower. Can be affect of changes in behavior, which developers do not realize. * for example in v2 if you set flag fUnique or fIndexByWords, this DO NOT means that field already indexed. so such code will do non-indexed search * OR Valentina 2 do not create index on non-indexed field as did v1. instead it just do non-indexed search > I knew from an older Version of new RealSQL, that SQL is much more > simple as Valentina SQL, but this doesn't help with speed differences > between V1 and V2. > #641 shows differences in V1 to V2 too. > With this performance I can't tell my users to move from V4RB1 to V4RB2. Actually it seems Frank, have told that for him v2 do searches FASTER than v1 did ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Aug 16 22:40:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 14:40:52 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <43022FE9.4070500@learningware.com> Message-ID: On 8/16/05 9:26 PM, "Andrew Sinning" wrote: Hi Andrew, > I'm in the process of trying to port a project developed under Windows > to OSX. > > The following sequence crashes Director > > sql = "SELECT * FROM questions" > theCursor = new(xtra "VCursor", GetRef(dbConn), sql, kClient, kReadOnly, > kForwardOnly) > put ValentinaErrorString() > -- "No Error" > if GetRecordCount(theCursor) = 0 then <-- THIS IS THE COMMAND that > crashes Director. > > I am able to open this database under the "Valentina Carbon" > application. (But I have to say it's a pain in the butt that it doesn't > recognize the windows extension .vbd), and I am able to view the table > "questions" under the "Valentina Carbon" application. You can just drag and drop db file on icon of VAPP. > I am using V4MD_Carbon.Xtr version 1.11, which is the same version that > the database was created in under Windows. So v1.11 > Since I get "No Error", I'm not sure where to start. * try viSQL mac, open your db and do that query. * may be make diagnose of db -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Wed Aug 17 07:42:04 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Aug 16 16:42:18 2005 Subject: Next RB beta? Message-ID: <001401c5a2ab$57b53d50$ae00a8c0@DamonsPC> Hi Ruslan, Hope you had a great trip. Do we have an ETA of the next RB beta to Valentina 2.0.5 windows, I notice the Mac is up to fc10. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From jda at his.com Tue Aug 16 21:04:19 2005 From: jda at his.com (jda@his.com) Date: Tue Aug 16 20:04:42 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: References: Message-ID: <1124240659.43028d13cf874@webmail.his.com> > I think we all should prepare self to switch to Macho. > > Sooner or later this will happens. > > Sooner or later and Apple and REALbasic will drop Carbon. > > > I agree. But please let this happen gradually, so we have time to do what we have to to get everything running as MACH-O. Jon From Claudius at sailer-online.de Wed Aug 17 06:34:05 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Aug 16 23:34:32 2005 Subject: SQL request and speed ? In-Reply-To: References: Message-ID: <0BE3C19A-96EF-4EB9-A46B-9DD2D6D23706@sailer-online.de> Am 16. Aug 2005 um 21:37 Uhr schrieb Ruslan Zasukhin: >> but question still stand, why is Valentina 2 so much slower as >> Valentina 1. >> > > I think it is NOT so much slower. > > Can be affect of changes in behavior, which developers do not realize. > > * for example in v2 if you set flag fUnique or fIndexByWords, > this DO NOT means that field already indexed. > > so such code will do non-indexed search > > * OR Valentina 2 do not create index on non-indexed field as did v1. > instead it just do non-indexed search Okay. Are IDs already indexed? Whats happen with VObjectPtr? >> #641 shows differences in V1 to V2 too. >> With this performance I can't tell my users to move from V4RB1 to >> V4RB2. >> > > Actually it seems Frank, have told that for him v2 do searches > FASTER than > v1 did ... I know, that this is also true, but this doesn't helps me with the situation, that reading from cursor and writing into ListBox is now 2 times slower as it was before with same code in V4RB1. To Use DataGrid is not a solution, because the problem is the same. With DataGrid V1 is faster as V2 too. It would be nice, when performance could be one important stept for next releases. #641 is the most important part of my application and it is 2-3 times slower as in V4RB1. Users looks very strong on performance, and won't accept slower usage of this application part. I can't compensate this with much faster other parts. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Aug 17 07:40:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 23:41:20 2005 Subject: Next RB beta? In-Reply-To: <001401c5a2ab$57b53d50$ae00a8c0@DamonsPC> Message-ID: On 8/17/05 12:42 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > Hope you had a great trip. > Do we have an ETA of the next RB beta to Valentina 2.0.5 windows, I > notice the Mac is up to fc10. > Thanks Hi Damon, Please note, Betas should be discussed on beta list. I think today Igor will add implementation of Encryption of Structure. And we will make more spread betas. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 17 07:50:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 23:50:24 2005 Subject: SQL request and speed ? In-Reply-To: <0BE3C19A-96EF-4EB9-A46B-9DD2D6D23706@sailer-online.de> Message-ID: On 8/17/05 7:34 AM, "Claudius Sailer" wrote: >> I think it is NOT so much slower. >> >> Can be affect of changes in behavior, which developers do not realize. >> >> * for example in v2 if you set flag fUnique or fIndexByWords, >> this DO NOT means that field already indexed. >> >> so such code will do non-indexed search >> >> * OR Valentina 2 do not create index on non-indexed field as did v1. >> instead it just do non-indexed search > > Okay. Are IDs already indexed? IDs - you mean primary key? YES Or RecIDs they do not need index > Whats happen with VObjectPtr? By idea must be. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 17 07:54:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 16 23:54:44 2005 Subject: SQL request and speed ? In-Reply-To: <0BE3C19A-96EF-4EB9-A46B-9DD2D6D23706@sailer-online.de> Message-ID: On 8/17/05 7:34 AM, "Claudius Sailer" wrote: >> Actually it seems Frank, have told that for him v2 do searches >> FASTER than >> v1 did ... > > I know, that this is also true, but this doesn't helps me with the > situation, that reading from cursor and writing into ListBox is now 2 > times slower as it was before with same code in V4RB1. > To Use DataGrid is not a solution, because the problem is the same. > With DataGrid V1 is faster as V2 too. > It would be nice, when performance could be one important stept for > next releases. Aha, so your main problem is operation READ. Okay I see. Again, we have almost finish to build infrastructure of our special REALbasic made project to do benches. May be even fc11 will have it in the example folder. So we will start develop more and more benches and analyze profiles. > #641 is the most important part of my application and it is 2-3 times > slower as in V4RB1. Users looks very strong on performance, and won't > accept slower usage of this application part. I can't compensate this > with much faster other parts. Ok, and note, everybody will be able add own benches into this project, And send then it to us, so we will also copy it into CVS. Again, the main idea of this bench project is PROTECT and GUARANTEE that each new build of Valentina is NOT slower than previous one. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Wed Aug 17 13:07:38 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Aug 17 13:08:01 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <43037CEA.2010209@learningware.com> Ruslan Zasukhin wrote: > * try viSQL mac, open your db and do that query. > >* may be make diagnose of db > > The Diagnose report show everything "All right". However, when I try to dump as SQL, Valentina Carbon crashes. If I dump as XML, VC does not crash, but when I then try to Load the XML, VC crashes. I have no idea what viSQL mac is. Please elaborate. From sunshine at public.kherson.ua Wed Aug 17 21:17:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 17 13:18:08 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <43037CEA.2010209@learningware.com> Message-ID: On 8/17/05 9:07 PM, "Andrew Sinning" wrote: > Ruslan Zasukhin wrote: > >> * try viSQL mac, open your db and do that query. >> >> * may be make diagnose of db >> >> > > The Diagnose report show everything "All right". > > However, when I try to dump as SQL, Valentina Carbon crashes. > If I dump as XML, VC does not crash, but when I then try to Load the > XML, VC crashes. > > I have no idea what viSQL mac is. Please elaborate. This is utility made by Frank Schima. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Aug 17 12:44:23 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Aug 17 13:44:51 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: Hi Guys, On Aug 17, 2005, at 12:17 PM, Ruslan Zasukhin wrote: > On 8/17/05 9:07 PM, "Andrew Sinning" wrote: > >> If I dump as XML, VC does not crash, but when I then try to Load the >> XML, VC crashes. >> >> I have no idea what viSQL mac is. Please elaborate. >> > > This is utility made by Frank Schima. You can download it here: Best regards, Frank Schima From andrew at learningware.com Wed Aug 17 13:45:14 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Aug 17 13:45:39 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <430385BA.2020802@learningware.com> On 8/17/05 9:07 PM, "Andrew Sinning" wrote: > If I dump as XML, VC does not crash, but when I then try to Load the > XML, VC crashes. I did some more testing under Windows. This is very peculiar. It seems that as far as V4MD Windows, the database is just fine, but Valentina Studio for Windows cannot dump and then load the data from this database. Within Director, I can dump the data to xml, and then load this dump into a new database. No Errors. If I try to do the same thing within VStudio, when I go to load the dump (either the dump made by V4MD or a new dump made by VStudio), then VStudio crashes. I am now going to see if V4MD Macintosh can load the dump created by V4MD Windows. If so, then this will solve my problems, for now. I am really starting to regret using Valentina. I've always been really impressed with the level of support, and the speed of the product is fantastic, but these ERRORS are driving me crazy!!!! I have built into my V4MD object extensive error checking. Every single query, update, add, etc. is checked with ValentinaErrorString(), and I always get "No Error". So why now am I getting errors in Valentina Studio and Valentina Carbon? From andrew at learningware.com Wed Aug 17 14:36:09 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Aug 17 14:36:33 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <1124240659.43028d13cf874@webmail.his.com> References: <1124240659.43028d13cf874@webmail.his.com> Message-ID: <430391A9.8060508@learningware.com> Could somebody please explain what "MACH-O" is? jda@his.com wrote: >>I think we all should prepare self to switch to Macho. >> >>Sooner or later this will happens. >> >>Sooner or later and Apple and REALbasic will drop Carbon. >> >> >> >> >> > >I agree. But please let this happen gradually, so we have time to do what we have >to to get everything running as MACH-O. > >Jon >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > > > From andrew at learningware.com Wed Aug 17 14:40:51 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Aug 17 14:41:14 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <430392C3.1080706@learningware.com> Looks like the latest version of ViSQL was written with v1.10. I'm using V4MD v1.11. I guess I'll try v1.10. Thanks. Frank Schima wrote: > Hi Guys, > > > On Aug 17, 2005, at 12:17 PM, Ruslan Zasukhin wrote: > >> On 8/17/05 9:07 PM, "Andrew Sinning" wrote: >> >>> If I dump as XML, VC does not crash, but when I then try to Load the >>> XML, VC crashes. >>> >>> I have no idea what viSQL mac is. Please elaborate. >>> >> >> This is utility made by Frank Schima. > > > You can download it here: > > > > Best regards, > Frank Schima > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From yeomans at desuetude.com Wed Aug 17 15:57:16 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Aug 17 14:57:43 2005 Subject: V4RB, what people think about switch to Macho ? In-Reply-To: <430391A9.8060508@learningware.com> References: <1124240659.43028d13cf874@webmail.his.com> <430391A9.8060508@learningware.com> Message-ID: <03bc15493c5049d3abf7f5d191b883eb@desuetude.com> It's a file format for storing executables. You can probably find some information about it on the web. Charles Yeomans On Aug 17, 2005, at 3:36 PM, Andrew Sinning wrote: > Could somebody please explain what "MACH-O" is? > > jda@his.com wrote: > >>> I think we all should prepare self to switch to Macho. >>> >>> Sooner or later this will happens. >>> >>> Sooner or later and Apple and REALbasic will drop Carbon. >>> >>> >>> >>> >> >> I agree. But please let this happen gradually, so we have time to do >> what we have to to get everything running as MACH-O. >> From macsforever2000 at goodeast.com Wed Aug 17 14:38:21 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Aug 17 15:38:50 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <430392C3.1080706@learningware.com> References: <430392C3.1080706@learningware.com> Message-ID: <2C4D1416-4D94-449D-9E7B-D287851EABDE@goodeast.com> On Aug 17, 2005, at 1:40 PM, Andrew Sinning wrote: > Looks like the latest version of ViSQL was written with v1.10. I'm > using V4MD v1.11. I guess I'll try v1.10. Hmmm.... I went to the Valentina Web page and downloaded what I thought was V4RB 1.11. But the plugin appears to be 1.10 based on the Info and the internal version function. Ruslan, can you provide a link for downloading V4RB 1.11 Mac? I intend to post a version of ViSQL which uses the 1.11 engine. -Frank From andrew at learningware.com Wed Aug 17 18:44:46 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Aug 17 18:45:10 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <430392C3.1080706@learningware.com> References: <430392C3.1080706@learningware.com> Message-ID: <4303CBEE.8030207@learningware.com> I ran the same query using ViSQL (v1.10) under Mac OSX and I got No Errors. Andrew Sinning wrote: > Looks like the latest version of ViSQL was written with v1.10. I'm > using V4MD v1.11. I guess I'll try v1.10. > > Thanks. > > Frank Schima wrote: > >> Hi Guys, >> >> >> On Aug 17, 2005, at 12:17 PM, Ruslan Zasukhin wrote: >> >>> On 8/17/05 9:07 PM, "Andrew Sinning" wrote: >>> >>>> If I dump as XML, VC does not crash, but when I then try to Load the >>>> XML, VC crashes. >>>> >>>> I have no idea what viSQL mac is. Please elaborate. >>>> >>> >>> This is utility made by Frank Schima. >> >> >> >> You can download it here: >> >> >> >> Best regards, >> Frank Schima >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> >> > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Thu Aug 18 08:50:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 00:51:25 2005 Subject: REALbasic Deployment Question In-Reply-To: <945C01EF-D7F8-482C-BE49-DF541F115415@everestkc.net> Message-ID: On 8/18/05 12:15 AM, "Bob Keeney" wrote: Hi Bob, > According to the documentation, if the VComponents are placed in the > same directory as the application, Valentina libraries will load and > be happy. > > Based on our own testing, this is not true. VComponents MUST be in > the CFM Support folder. Have submitted bug report on this. I think you have move the whole VComponents folder into AppFolder AppFolder VComponents This is wrong. Docs says that you need move FILES of VComponents folder AppFolder icu.dlls vkernel.dll ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 18 08:53:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 00:53:55 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <2C4D1416-4D94-449D-9E7B-D287851EABDE@goodeast.com> Message-ID: On 8/17/05 11:38 PM, "Frank Schima" wrote: > On Aug 17, 2005, at 1:40 PM, Andrew Sinning wrote: > >> Looks like the latest version of ViSQL was written with v1.10. I'm >> using V4MD v1.11. I guess I'll try v1.10. > > Hmmm.... I went to the Valentina Web page and downloaded what I > thought was V4RB 1.11. But the plugin appears to be 1.10 based on the > Info and the internal version function. > > Ruslan, can you provide a link for downloading V4RB 1.11 Mac? It is on the V4RB download page, section Deprecated -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Aug 18 08:57:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 00:57:33 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <4303CBEE.8030207@learningware.com> Message-ID: On 8/18/05 2:44 AM, "Andrew Sinning" wrote: > I ran the same query using ViSQL (v1.10) under Mac OSX and I got No Errors. > > Andrew Sinning wrote: > >> Looks like the latest version of ViSQL was written with v1.10. I'm >> using V4MD v1.11. I guess I'll try v1.10. Hi Andrew, All this wonders me a lots. 1.11 is VERY STABLE version. Hundreds of developers have use it during 2 or even more years. Practically ZERO BUG reports. This fact did allow us concentrate on development of Valentina 2.0 during the last 2 years. Can you send me something to reproduce? Can you again describe by points your problem? * you have made db on windows using V4MD. Right ? * you move db files on mac, right ? * you can open this db in viSQL and do SQL query. It show results and no error? Right ? This steps do not have problem yet, right ? * and now problem: db not works in V4MD ? or else ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 18 09:59:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 01:59:41 2005 Subject: V4RB/V4MD - App as package DO WORK Message-ID: Hi All, Many times was question: if we can build with e.g. V4RB the package-application. Answer is yes, at least with carbon build. MyApp contents MacOS myapp vkenel.dll icu.dlls vresources vclient ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From thomas at startmovie.net Thu Aug 18 11:23:34 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Aug 18 04:24:04 2005 Subject: Error 348 In-Reply-To: References: Message-ID: <11d784b29ed6592c5c5aa36191b30290@startmovie.net> Hi all, is there a detailed explanation what "Error of inventory page of VarChar field" (Error 348 - kFBL_InvPageVarChar) means? I am struggling with this error in Director, but I don't know how to fix it. Regards, Thomas From sunshine at public.kherson.ua Thu Aug 18 12:32:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 04:33:25 2005 Subject: Error 348 In-Reply-To: <11d784b29ed6592c5c5aa36191b30290@startmovie.net> Message-ID: On 8/18/05 12:23 PM, "Thomas Biedorf" wrote: Hi Thomas, > Hi all, > > is there a detailed explanation what "Error of inventory page of > VarChar field" (Error 348 - kFBL_InvPageVarChar) means? I am struggling > with this error in Director, but I don't know how to fix it. This is corruption. You use 1.x You need rebuild database using XML dump/load -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From thomas at startmovie.net Thu Aug 18 11:35:58 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Aug 18 04:36:27 2005 Subject: Error 348 In-Reply-To: References: Message-ID: <04f65afc3032b70d027a96242a438bf2@startmovie.net> Am 18.08.2005 um 11:32 schrieb Ruslan Zasukhin: > You use 1.x Yes - never change a running system ;-) > You need rebuild database using XML dump/load Ok. There is no way to defrag and reindex? Regards, Thomas From sunshine at public.kherson.ua Thu Aug 18 12:57:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 04:59:04 2005 Subject: Error 348 In-Reply-To: <04f65afc3032b70d027a96242a438bf2@startmovie.net> Message-ID: On 8/18/05 12:35 PM, "Thomas Biedorf" wrote: >> You use 1.x > > Yes - never change a running system ;-) > >> You need rebuild database using XML dump/load > > Ok. There is no way to defrag and reindex? This will not help. Only rebuild -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From thomas at startmovie.net Thu Aug 18 12:09:07 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Thu Aug 18 05:09:33 2005 Subject: Error 348 In-Reply-To: References: Message-ID: Thanks, Ruslan. The only question that remains: How did it happen??? Thomas Am 18.08.2005 um 11:57 schrieb Ruslan Zasukhin: >>> You use 1.x >> >> Yes - never change a running system ;-) >> >>> You need rebuild database using XML dump/load >> >> Ok. There is no way to defrag and reindex? > > This will not help. Only rebuild From sunshine at public.kherson.ua Thu Aug 18 13:29:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 05:30:15 2005 Subject: Error 348 In-Reply-To: Message-ID: On 8/18/05 1:09 PM, "Thomas Biedorf" wrote: > Thanks, Ruslan. > The only question that remains: How did it happen??? You could interrupt execution of software before Flush was executed/finished -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Aug 18 09:43:00 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Aug 18 09:43:25 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <430385BA.2020802@learningware.com> References: <430385BA.2020802@learningware.com> Message-ID: <43049E74.8090907@learningware.com> I overlooked the following in the manual: "The MacOS version of Valentina does not require the file name extension .vdb, but the Windows version does. If you are going to have a cross-platform database then it is better to use an extension." What this means is that under Windows you do not need to include an extension with "OpenDatabase( gMyDataBase, the moviePath & "DataBase1.vdb" )", but under Mac you do. I know that I should have read the manual more closely, but what is the point of error reporting if you won't even report there is NO CONNECTION to the specified file in an OpenDatabase() command? How about something like "File Not Found"? Oh my God! This is what I just found: If I use ValentinaError() then I get "-43", but if I use ValentinaErrorString() then I get "No error". I guess need to start using ValentinaError() instead of ValentinaErrorString(). Andrew Sinning wrote: > I am really starting to regret using Valentina. I've always been > really impressed with the level of support, and the speed of the > product is fantastic, but these ERRORS are driving me crazy!!!! I > have built into my V4MD object extensive error checking. Every single > query, update, add, etc. is checked with ValentinaErrorString(), and I > always get "No Error". So why now am I getting errors in Valentina > Studio and Valentina Carbon? > _______________________________________ From andrew at learningware.com Thu Aug 18 09:52:45 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Aug 18 09:53:11 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <43049E74.8090907@learningware.com> References: <430385BA.2020802@learningware.com> <43049E74.8090907@learningware.com> Message-ID: <4304A0BD.3030905@learningware.com> Andrew Sinning wrote: > This is what I just found: If I use ValentinaError() then I get > "-43", but if I use ValentinaErrorString() then I get "No error". I > guess need to start using ValentinaError() instead of > ValentinaErrorString(). According to the manual, "The errors numbers of MacOS and Windows - are negative numbers". Does this mean that negative number errors are not reported by ValentinaErrorString()? Where might I find the translation of these errors? I know I should be able to find this on the web, but I'm not having any luck. Thanks. From macsforever2000 at goodeast.com Thu Aug 18 08:58:21 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Aug 18 09:58:57 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <8DCB260F-F93E-49B9-98D1-9E8CAAAACC5E@goodeast.com> On Aug 17, 2005, at 11:53 PM, Ruslan Zasukhin wrote: > On 8/17/05 11:38 PM, "Frank Schima" > wrote: > > >> On Aug 17, 2005, at 1:40 PM, Andrew Sinning wrote: >> >> >>> Looks like the latest version of ViSQL was written with v1.10. I'm >>> using V4MD v1.11. I guess I'll try v1.10. >>> >> >> Hmmm.... I went to the Valentina Web page and downloaded what I >> thought was V4RB 1.11. But the plugin appears to be 1.10 based on the >> Info and the internal version function. >> >> Ruslan, can you provide a link for downloading V4RB 1.11 Mac? >> > > It is on the V4RB download page, section Deprecated That is the one I downloaded and it is actually 1.10. Can you verify please? -Frank From sunshine at public.kherson.ua Thu Aug 18 18:34:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 10:34:27 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <43049E74.8090907@learningware.com> Message-ID: On 8/18/05 5:43 PM, "Andrew Sinning" wrote: > I overlooked the following in the manual: "The MacOS version of > Valentina does not require the file name extension .vdb, but the > Windows version does. If you are going to have a cross-platform database > then it is better to use an extension." > > What this means is that under Windows you do not need to include an > extension with "OpenDatabase( gMyDataBase, the moviePath & > "DataBase1.vdb" )", but under Mac you do. > > I know that I should have read the manual more closely, but what is the > point of error reporting if you won't even report there is NO CONNECTION > to the specified file in an OpenDatabase() command? How about something > like "File Not Found"? > > Oh my God! This is what I just found: If I use ValentinaError() then I > get "-43", but if I use ValentinaErrorString() then I get "No error". I > guess need to start using ValentinaError() instead of > ValentinaErrorString(). Aha, right. Problem here is that -43 this is error from MacOS. MacOS have tons of error codes, and Valentina do not have strings for them. Also I did NOT find any MacOS function which can return string for MacOS error code. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Aug 18 18:34:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 18 10:34:50 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <4304A0BD.3030905@learningware.com> Message-ID: On 8/18/05 5:52 PM, "Andrew Sinning" wrote: > Andrew Sinning wrote: > >> This is what I just found: If I use ValentinaError() then I get >> "-43", but if I use ValentinaErrorString() then I get "No error". I >> guess need to start using ValentinaError() instead of >> ValentinaErrorString(). > > According to the manual, "The errors numbers of MacOS and Windows - are > negative numbers". Does this mean that negative number errors are not > reported by ValentinaErrorString()? Where might I find the translation > of these errors? I know I should be able to find this on the web, but > I'm not having any luck. Thanks. See my prev letter. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Aug 18 11:02:00 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Aug 18 11:02:24 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <4304B0F8.9090009@learningware.com> Ruslan Zasukhin wrote: >MacOS have tons of error codes, and Valentina do not have strings for them. >Also I did NOT find any MacOS function which can return string for MacOS >error code. > > I would recommend then that you report this back as "System error $some_number, unable to resolve to string", and not as "No Error". To me, "No Error" implies that there have not been any errors, not that there is no string corresponding to an error which did infact occur. I'm really kind of mad about this. There's just no point in having error reporting as a function of your application if it doesn't work. From rjb at robelko.com Thu Aug 18 18:02:50 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Aug 18 11:15:48 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: > Oh my God! This is what I just found: If I use ValentinaError() then I > > get "-43", but if I use ValentinaErrorString() then I get "No error". I >> guess need to start using ValentinaError() instead of >> ValentinaErrorString(). > >Aha, right. > >Problem here is that -43 this is error from MacOS. > >MacOS have tons of error codes, and Valentina do not have strings for them. >Also I did NOT find any MacOS function which can return string for MacOS >error code. > >-- But me thinks that ValentinaErrorString() should return something like "Mac OS error -43" instead of "No error" if it can't convert number into string. Robert From yeomans at desuetude.com Thu Aug 18 12:18:25 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Aug 18 11:18:51 2005 Subject: V4MD port to OSX Trouble In-Reply-To: References: Message-ID: <7705e6b22c08542bc04901760700d2ca@desuetude.com> On Aug 18, 2005, at 12:02 PM, Robert Brenstein wrote: >> Oh my God! This is what I just found: If I use ValentinaError() >> then I >> > get "-43", but if I use ValentinaErrorString() then I get "No >> error". I >>> guess need to start using ValentinaError() instead of >>> ValentinaErrorString(). >> >> Aha, right. >> >> Problem here is that -43 this is error from MacOS. >> >> MacOS have tons of error codes, and Valentina do not have strings for >> them. >> Also I did NOT find any MacOS function which can return string for >> MacOS >> error code. >> >> -- > > But me thinks that ValentinaErrorString() should return something like > "Mac OS error -43" instead of "No error" if it can't convert number > into string. I agree; something as simple as "OS Error" would provide a clue as to the nature of the error. -------------- Charles Yeomans From andrew at learningware.com Thu Aug 18 13:32:58 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Aug 18 13:33:25 2005 Subject: V4MD file-extionsions in Mac and Windows Message-ID: <4304D45A.2080300@learningware.com> Ruslan, Can you please confirm for me that the file extension of the description file (typically .vdb) is _optional_ (i.e. it can be included OR excluded without any difference) under Windows, but required (i.e. there will be difference between including it and not including it) under Macintosh for the following functions: CreateDatabase() OpenDatabase() LoadDump() Also, are there any other functions where this is true? Thanks. Andrew From malik.djelil at alterconcept.com Fri Aug 19 02:49:35 2005 From: malik.djelil at alterconcept.com (Malik Djelil (AlterConcept SAS)) Date: Thu Aug 18 19:50:12 2005 Subject: [V4RB] Mac OS X .app bundle Message-ID: Hello, I am new in the development with Valentina and REALbasic. I have tested the R4RB 2.0.4 plug-in with REALbasic 2005 R2. My application is a Mac OS X Mach-O bundle. I would like to put the VComponents inside the bundle. I have tried many locations, but it doesn't work. For example, I have tried : MyApp.app/Content/VComponents/ MyApp.app/Content/MacOS/VComponents/ ... also, i have put the VComponents content (without the folder) in: MyApp.app/Content/MacOS/ ... Of course, I have read the documentation (deployment as described in the V4RB reference 2 PDF) and I have looked into the support mail archives. Thanks for your help, Malik Djelil AlterConcept (France) From bkeeney at everestkc.net Thu Aug 18 22:37:38 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Aug 19 01:58:02 2005 Subject: REALbasic Deployment Question In-Reply-To: <5B8EAEDE-477F-45F7-BAF9-7A556A47110F@everestkc.net> References: <20050818055122.241E036F45E@edison.macserve.net> <5B8EAEDE-477F-45F7-BAF9-7A556A47110F@everestkc.net> Message-ID: On Aug 18, 2005, at 4:13 PM, Bob Keeney wrote: > > > On 8/18/05 4:06 PM, "Sims, John" wrote: > >> Hi Bob, > >> > >> Just to clarify, are you talking about for development or for > >> deployment. For development, I believe the Vcomponents files > need to be > >> in the CFM Support folder (Ruslan, please correct me if I am > wrong). > > > > >> right > > > > > > When deploying your application, you should be able to place > the files > > > in the same folder as the application/executable. > > > > > > Right, > > > > >Bob, for example Jon (jda) ship own application in this way already 6 > >months. > > > >So check all once again. Should work > >Although may be something was broken in latest betas ... > > > >You use fc10? Mac? > > Yes, we're using fc10 for REALbasic 2005 r2 Macintosh. Could the > problem be that we are compiling as Mac OS X only and not as a Mac > OS X/Classic? > > We've tried this on our test machines (as in no VComponents in CFM > Support folder) and Valentina won't load. Based on discussions in the lists, I *WAS* able to get it to run with the VComponents in the application bundle. Guess it wasn't clear from the documentation that in bundled applications what directory they were supposed to be in. Thanks! Bob K. _______________________________________________ Valentina-beta mailing list Valentina-beta@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Fri Aug 19 10:00:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 02:01:29 2005 Subject: [V4RB] Mac OS X .app bundle In-Reply-To: Message-ID: On 8/19/05 3:49 AM, "Malik Djelil (AlterConcept SAS)" wrote: Hi Malik, > I am new in the development with Valentina and REALbasic. > I have tested the R4RB 2.0.4 plug-in with REALbasic 2005 R2. > > My application is a Mac OS X Mach-O bundle. > I would like to put the VComponents inside the bundle. > I have tried many locations, but it doesn't work. > > For example, I have tried : > MyApp.app/Content/VComponents/ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is what we use for Vstudio and VServer > MyApp.app/Content/MacOS/VComponents/ > ... > also, i have put the VComponents content (without the folder) in: > MyApp.app/Content/MacOS/ > ... > Of course, I have read the documentation (deployment as described in the > V4RB reference 2 PDF) and I have looked into the support mail archives. 1) actually I have prove self that works only PEF APP and you put contents of VComponents folder into AppFolder 2) just only Bob have send to list this letter: > Bob says: > Based on discussions in the lists, I *WAS* able to get it to run with > the VComponents in the application bundle. Guess it wasn't clear > from the documentation that in bundled applications what directory > they were supposed to be in. So I wonder, Bob: you build Macho application (which is bundle/package) ?!?! And you have got success with this ? If yes, then, Malik, I think this is because Bob uses 2.0.5 fc10 So you also can test this beta build to see if it will work for you. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Aug 19 10:04:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 02:04:43 2005 Subject: V4MD file-extionsions in Mac and Windows In-Reply-To: <4304D45A.2080300@learningware.com> Message-ID: On 8/18/05 9:32 PM, "Andrew Sinning" wrote: Hi Andrew, > Ruslan, > > Can you please confirm for me that the file extension of the description > file (typically .vdb) is _optional_ (i.e. it can be included OR excluded > without any difference) under Windows, but required (i.e. there will be > difference between including it and not including it) under Macintosh > for the following functions: > > > CreateDatabase() > OpenDatabase() > LoadDump() Actually visa versa: Windows: you must always specify extension: db.Create( "ddd.vdb" ) --> create "ddd.vdb" file db.Open( "ddd.vdb" ) --> open "ddd.vdb" file MacOS: This works: db.Create( "ddd.vdb" ) --> create "ddd.vdb" file db.Open( "ddd.vdb" ) And this works: db.Create( "ddd" ) --> create "ddd" file db.Open( "ddd" ) --> can open as "ddd" so "ddd.vdb" file. > Also, are there any other functions where this is true? I think no. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Aug 19 10:05:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 02:05:52 2005 Subject: V4MD port to OSX Trouble In-Reply-To: <4304B0F8.9090009@learningware.com> Message-ID: On 8/18/05 7:02 PM, "Andrew Sinning" wrote: > Ruslan Zasukhin wrote: > >> MacOS have tons of error codes, and Valentina do not have strings for them. >> Also I did NOT find any MacOS function which can return string for MacOS >> error code. >> >> > I would recommend then that you report this back as "System error > $some_number, unable to resolve to string", and not as "No Error". To > me, "No Error" implies that there have not been any errors, not that > there is no string corresponding to an error which did infact occur. > I'm really kind of mad about this. There's just no point in having > error reporting as a function of your application if it doesn't work. Good idea! Andrew. Thank you. We will add such feature into Valentina 2.0 Ivan, please add this to mantis -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From malik.djelil at alterconcept.com Fri Aug 19 12:35:03 2005 From: malik.djelil at alterconcept.com (Malik Djelil (AlterConcept SAS)) Date: Fri Aug 19 05:35:34 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: Hi Ruslan, Bob, I have just tried the V4RB 2.0.5fc10 build. No success. Perhaps, this feature is not yet implemented in the plug-in (?). > I *WAS* able to get it to run with > the VComponents in the application bundle. Bob, is it this location ? MyApp.app/Content/VComponents/ (doesn't work for me) For now (and for me), the Mach-O app. works with the VComponents located in the "/Library/CFMSupport/" (I do not have tested an other location like the Application Support folder). Thanks, Malik PS: The VStudio VComponents are not exactly the same ones as the V4RB VComponents. === From: Ruslan Zasukhin Reply-To: Valentina Developers Date: Fri, 19 Aug 2005 10:00:59 +0300 To: "valentina@lists.macserve.net" , "valentina-beta@lists.macserve.net" Subject: Re: [V4RB] Mac OS X .app bundle On 8/19/05 3:49 AM, "Malik Djelil (AlterConcept SAS)" wrote: Hi Malik, > I am new in the development with Valentina and REALbasic. > I have tested the R4RB 2.0.4 plug-in with REALbasic 2005 R2. > > My application is a Mac OS X Mach-O bundle. > I would like to put the VComponents inside the bundle. > I have tried many locations, but it doesn't work. > > For example, I have tried : > MyApp.app/Content/VComponents/ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is what we use for Vstudio and VServer > MyApp.app/Content/MacOS/VComponents/ > ... > also, i have put the VComponents content (without the folder) in: > MyApp.app/Content/MacOS/ > ... > Of course, I have read the documentation (deployment as described in the > V4RB reference 2 PDF) and I have looked into the support mail archives. 1) actually I have prove self that works only PEF APP and you put contents of VComponents folder into AppFolder 2) just only Bob have send to list this letter: > Bob says: > Based on discussions in the lists, I *WAS* able to get it to run with > the VComponents in the application bundle. Guess it wasn't clear > from the documentation that in bundled applications what directory > they were supposed to be in. So I wonder, Bob: you build Macho application (which is bundle/package) ?!?! And you have got success with this ? If yes, then, Malik, I think this is because Bob uses 2.0.5 fc10 So you also can test this beta build to see if it will work for you. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Aug 19 14:02:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 06:03:21 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: On 8/19/05 1:35 PM, "Malik Djelil (AlterConcept SAS)" wrote: > Hi Ruslan, Bob, > > I have just tried the V4RB 2.0.5fc10 build. > No success. > > Perhaps, this feature is not yet implemented in the plug-in (?). > >> I *WAS* able to get it to run with >> the VComponents in the application bundle. > Bob, is it this location ? > MyApp.app/Content/VComponents/ > (doesn't work for me) Let's hear Bob comments. > For now (and for me), the Mach-O app. works with the VComponents located in > the "/Library/CFMSupport/" (I do not have tested an other location like the > Application Support folder). Only CFMSupport will work for now. Later it is possible add code into Valentina kernel to search more locations. > Thanks, > Malik > > PS: The VStudio VComponents are not exactly the same ones as the V4RB > VComponents. Vstudio is true MACHO app ... What is not the same? Names of Valentina DLLs ? They have.dylib extension. Right ? This is because here Valentina is as MACHO. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Fri Aug 19 07:50:37 2005 From: ayu8 at cdc.gov (Sims, John) Date: Fri Aug 19 06:52:05 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) Message-ID: > > >> I *WAS* able to get it to run with > >> the VComponents in the application bundle. > > Bob, is it this location ? > > MyApp.app/Content/VComponents/ > > (doesn't work for me) > Hi Malik, I'm pretty sure the _files_ contained in the Vcomponents folder must be in the same location as the application/executable. At this time, they should not be in any kind of subfolder. Ruslan has mentioned adding the support to search subfolders but, to my knowledge, this has not been implemented yet. The bundle would look similar to the following... MyApp contents MacOS myapp vkenel.dll icu.dlls vresources vclient ... I have not tested this. This is just based on a few past discussions on the topic. I hope this works for you! -John From malik.djelil at alterconcept.com Fri Aug 19 14:32:32 2005 From: malik.djelil at alterconcept.com (Malik Djelil (AlterConcept SAS)) Date: Fri Aug 19 07:33:04 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: Thanks Ruslan and John for the info. I have already tested the /MyApp/Contents/MacOS/ location with the content of the Vcomponents. It doesn't work for me. About the CFMSupport: - This solution (1 /Library/CFMSupport/CVomponents/) can be a problem in this situation: On the same computer, two different applications can be compatible with two different versions of the VComponents. - As mentionned by Ruslan, I think it is a good idea to implement the following feature :) An API to set a list of preferred paths (a method like Valentina.setComponentsPaths(), I suppose) with the support for the Mach-O bundle internal paths (relative paths). For now, I have planned for my future application to make a standard Mac OS X package (.pkg) to install the Vcomponents. Malik === From: "Sims, John" Reply-To: Valentina Developers Date: Fri, 19 Aug 2005 07:50:37 -0400 To: Valentina Developers Subject: RE: [V4RB] Mac OS X .app bundle (REALbasic deployment question) > > >> I *WAS* able to get it to run with > >> the VComponents in the application bundle. > > Bob, is it this location ? > > MyApp.app/Content/VComponents/ > > (doesn't work for me) > Hi Malik, I'm pretty sure the _files_ contained in the Vcomponents folder must be in the same location as the application/executable. At this time, they should not be in any kind of subfolder. Ruslan has mentioned adding the support to search subfolders but, to my knowledge, this has not been implemented yet. The bundle would look similar to the following... MyApp contents MacOS myapp vkenel.dll icu.dlls vresources vclient ... I have not tested this. This is just based on a few past discussions on the topic. I hope this works for you! -John _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Aug 19 18:11:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 10:12:24 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: On 8/19/05 3:32 PM, "Malik Djelil (AlterConcept SAS)" wrote: > Thanks Ruslan and John for the info. > > I have already tested the /MyApp/Contents/MacOS/ location with the content > of the Vcomponents. It doesn't work for me. Strange. Right now I work with app package Carbon made by Director It works in this way. Aha, you try macho ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Fri Aug 19 10:28:27 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Aug 19 10:28:56 2005 Subject: V4MD file-extionsions in Mac and Windows In-Reply-To: References: Message-ID: <4305FA9B.7060306@learningware.com> Ruslan Zasukhin wrote: >>Ruslan, >> >>Can you please confirm for me that the file extension of the description >>file (typically .vdb) is _optional_ (i.e. it can be included OR excluded >>without any difference) under Windows, but required (i.e. there will be >>difference between including it and not including it) under Macintosh >>for the following functions: >> >> >>CreateDatabase() >>OpenDatabase() >>LoadDump() >> >> > >Actually visa versa: > >Windows: > > you must always specify extension: > > db.Create( "ddd.vdb" ) --> create "ddd.vdb" file > db.Open( "ddd.vdb" ) --> open "ddd.vdb" file > > In my testing, under windows, after having set the extension for the description file, when you use CreateDatabase, OpenDatabase, or LoadDump, the extension is _implicit_, i.e. optional. CreateDatabase("file.vdb") has exactly the same effect as CreateDatabase("file"). Under MacOS, if the file you want to open has an extension, you MUST specify it in the OpenDatabase command, otherwise you will get an error (but not an error-string, until you fix it ;-)). When you CreateDatabase, if you do not specify the extension, the description file will not have an extension, but the other files will. > > From sunshine at public.kherson.ua Fri Aug 19 19:55:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 11:55:50 2005 Subject: V4MD file-extionsions in Mac and Windows In-Reply-To: <4305FA9B.7060306@learningware.com> Message-ID: On 8/19/05 6:28 PM, "Andrew Sinning" wrote: > In my testing, under windows, after having set the extension for the > description file, when you use CreateDatabase, OpenDatabase, or > LoadDump, the extension is _implicit_, i.e. optional. > CreateDatabase("file.vdb") has exactly the same effect as > CreateDatabase("file"). > > Under MacOS, if the file you want to open has an extension, you MUST > specify it in the OpenDatabase command, otherwise you will get an error > (but not an error-string, until you fix it ;-)). When you > CreateDatabase, if you do not specify the extension, the description > file will not have an extension, but the other files will. Ok, Actually rule is next: * if you work on WIN or WIN+MAC then you must specify extensions. * if you work on MAC only then you can drop extension for .vdb file. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Aug 19 20:00:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 19 12:02:52 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: On 8/19/05 3:32 PM, "Malik Djelil (AlterConcept SAS)" wrote: > About the CFMSupport: > - This solution (1 /Library/CFMSupport/CVomponents/) can be a problem in > this situation: On the same computer, two different applications can be > compatible with two different versions of the VComponents. Right, And you MUST NOT deploy into this way! Again, for now we promise that will work for REALbasic A) CARBON/PEF application that is deployed as MyAppFolder files dlls .. B) REALBasic can build bundle for Macho but not for PEF. You still must be able build for PEF the bundle manually or using own scripts. This is not hard. then VComponents files must go into MacOs folder. > - As mentionned by Ruslan, I think it is a good idea to implement the > following feature :) An API to set a list of preferred paths (a method like > Valentina.setComponentsPaths(), I suppose) with the support for the Mach-O > bundle internal paths (relative paths). IMPORTANT. When we will get V4RB-MACHO all dylibs will be compiled with internal path to Package/Contents/Vcomponents you will not be able change this. this is how dylibs work. Do not know why :-) > For now, I have planned for my future application to make a standard Mac OS > X package (.pkg) to install the Vcomponents. Do not make SEPARATE VComponents folder... I think problem is that you try do MACHO build, why ? Try do PEF build. And again, if you very want bundle, then you can build it self using scripts. -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Aug 19 12:30:20 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Fri Aug 19 13:31:23 2005 Subject: ViSQL Carbon with Valentina 1.11 Posted Message-ID: <29593A66-DFEE-4226-BC2A-4B28A12753CD@goodeast.com> Hi everyone, Now that Ruslan has fixed the download for V4RB 1.11 (it was actually 1.10), I have posted a new version of ViSQL using the Valentina 1.11 engine. It is the Carbon (Mac) version, so let me know if you need the Windows version and I'll see if someone (Keith?) can compile it for me. Briefly, ViSQL is a free tool to run SQLs against any Valentina 1.x based database. It can export your database using a SQL Export and also is the only way to do a SQL Import. ViSQL supports multiple SQL statements separated by a semi-colon (;) and new line. Be sure to match the Valentina version used to create your database with the Valentina engine in ViSQL. And make a copy as I can take *no responsibility* for damage to your database. The versions of ViSQL posted on my site will not work with Valentina 2 databases - you should use VStudio for that. You can download ViSQL from here: Best regards, Frank Schima From malik.djelil at alterconcept.com Fri Aug 19 21:07:52 2005 From: malik.djelil at alterconcept.com (Malik Djelil (AlterConcept SAS)) Date: Fri Aug 19 14:08:23 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Fri, 19 Aug 2005 20:00:37 +0300 > To: "valentina@lists.macserve.net" > Subject: Re: [V4RB] Mac OS X .app bundle (REALbasic deployment question) > > On 8/19/05 3:32 PM, "Malik Djelil (AlterConcept SAS)" > wrote: > >> About the CFMSupport: >> - This solution (1 /Library/CFMSupport/CVomponents/) can be a problem in >> this situation: On the same computer, two different applications can be >> compatible with two different versions of the VComponents. > > Right, > > And you MUST NOT deploy into this way! > > Again, for now we promise that will work for REALbasic > > A) CARBON/PEF application that is deployed as > > MyAppFolder > files dlls .. > > > B) REALBasic can build bundle for Macho but not for PEF. > You still must be able build for PEF the bundle manually > or using own scripts. This is not hard. > > then VComponents files must go into MacOs folder. > > Ah! Ok! :) Sorry, I have just understand: bundle BUT NOT Mach-O app. The bundle must be MANUALLY builded (NOT with REALbasic). The procedure is: - Compiling a PEF app. with RB - Building myself the bundle. I have planned to use some Carbon Mach-O dylib that I have developed, but I must convert them in PEF format. It is not recommended -- and it is not possible with RB -- to use Mach-O dylib with PEF app. There is an other limitation: Some Mac OS X features (WebKit and others...) are available only in the Cocoa API. So if we want use them from RB, we must create a Mach-O app. Bundle. >> - As mentionned by Ruslan, I think it is a good idea to implement the >> following feature :) An API to set a list of preferred paths (a method like >> Valentina.setComponentsPaths(), I suppose) with the support for the Mach-O >> bundle internal paths (relative paths). > > IMPORTANT. > > When we will get V4RB-MACHO all dylibs will be compiled with internal > path to > > Package/Contents/Vcomponents > > you will not be able change this. > this is how dylibs work. Do not know why :-) > Do you have a release date for this V4RB-MACHO version ? I am a "little" interested :) >> For now, I have planned for my future application to make a standard Mac OS >> X package (.pkg) to install the Vcomponents. > > Do not make SEPARATE VComponents folder... > > I think problem is that you try do MACHO build, why ? > Try do PEF build. > > And again, if you very want bundle, then you can build it self using > scripts. > Thanks Ruslan for your 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From info at vallemediatime.com Fri Aug 19 22:19:02 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Aug 19 15:19:28 2005 Subject: V4MD xtra 1.11 and 2.x in the same xtras folder Message-ID: <001a01c5a4fb$3e161bb0$a3081e97@vmtrm4p9ipbkv2> Hi Ruslan, I'm updating a old work made with v1.11 and in next week I begin again to work on 2.0.4... Can you give us the possibility to keep both xtra version (renaming one of these) in the same Director's xtras folder? Thanks Paolo From yeomans at desuetude.com Fri Aug 19 18:27:05 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Aug 19 17:27:39 2005 Subject: client-server speed Message-ID: <5b5b738bb195c2671a2b4a72236f8c66@desuetude.com> Using VServer + client appears to run an order of magnitude more slowly even when both client and server are on the same machine. Obviously one expects a certain speed hit, but I'm wondering whether I'm doing some things to make it worse. Can anyone make some generic suggestions to solve my generic problem? -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Aug 20 10:03:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 20 02:03:58 2005 Subject: client-server speed In-Reply-To: <5b5b738bb195c2671a2b4a72236f8c66@desuetude.com> Message-ID: On 8/20/05 1:27 AM, "Charles Yeomans" wrote: > Using VServer + client appears to run an order of magnitude more > slowly even when both client and server are on the same machine. > Obviously one expects a certain speed hit, but I'm wondering whether > I'm doing some things to make it worse. Can anyone make some generic > suggestions to solve my generic problem? Hi Charles, General Rules are: * if you going to use client/server in the internet or in other way with slow network then you must to use only SQL way. Because query -> go to server only string result <- come back. * you should do query as simple as possible. touch as few records as possible. * if you know that you find MANY records, then use ServerSide cursors. ------------- Can you use API way and Classes way with Vserver? Actually most DBMS even do not have such option. We provide it for vserver for 2 cases A) you have LOCAL database in this style, so you are able fast turn it into client/server app. B) this style in ideal must be used only on fast intranet or local networks such as 100 or 1000 Mbit. Problem with API way is that objects from client send small requests to server objects and wait for answer. In this way work COM/CORBA actually... -------------- By our tests, when you run client/server on the same computer it works about 2 times slower than LOCAL version. Explanation is -- sockets. Client and Server must do extra work to write info into stream of socket and later extract it from there. Btw, Macho version of V4RB client must work faster than carbon, because It will use native OS X sockets. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 20 10:04:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 20 02:04:47 2005 Subject: V4MD xtra 1.11 and 2.x in the same xtras folder In-Reply-To: <001a01c5a4fb$3e161bb0$a3081e97@vmtrm4p9ipbkv2> Message-ID: On 8/19/05 11:19 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > I'm updating a old work made with v1.11 and in next week I begin again to work > on 2.0.4... > Can you give us the possibility to keep both xtra version (renaming one of > these) in the same Director's xtras folder? Hi Paolo, This will not work never, because they use the same names for some classes. Therefore conflict. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 20 10:06:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 20 02:07:05 2005 Subject: [V4RB] Mac OS X .app bundle (REALbasic deployment question) In-Reply-To: Message-ID: On 8/19/05 10:07 PM, "Malik Djelil (AlterConcept SAS)" wrote: > Ah! Ok! :) > Sorry, I have just understand: bundle BUT NOT Mach-O app. > The bundle must be MANUALLY builded (NOT with REALbasic). > The procedure is: > - Compiling a PEF app. with RB > - Building myself the bundle. > > I have planned to use some Carbon Mach-O dylib that I have developed, but I > must convert them in PEF format. It is not recommended -- and it is not > possible with RB -- to use Mach-O dylib with PEF app. > > There is an other limitation: > Some Mac OS X features (WebKit and others...) are available only in the > Cocoa API. So if we want use them from RB, we must create a Mach-O app. > Bundle. > >>> - As mentionned by Ruslan, I think it is a good idea to implement the >>> following feature :) An API to set a list of preferred paths (a method like >>> Valentina.setComponentsPaths(), I suppose) with the support for the Mach-O >>> bundle internal paths (relative paths). >> >> IMPORTANT. >> >> When we will get V4RB-MACHO all dylibs will be compiled with internal >> path to >> >> Package/Contents/Vcomponents >> >> you will not be able change this. >> this is how dylibs work. Do not know why :-) >> > > Do you have a release date for this V4RB-MACHO version ? > I am a "little" interested :) For now we have study interest of people and posibility. I think the best step now can be: I can try to build in REALBasic MACHO application, and fix V4RB Carbon to be able work inside of package. I will try and se if this is possible. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Sat Aug 20 17:34:09 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Aug 20 10:34:37 2005 Subject: V4MD xtra 1.11 and 2.x in the same xtras folder References: Message-ID: <000801c5a59c$9c2a5b70$ae181e97@vmtrm4p9ipbkv2> My friend have found a little useful solution: rename only the extension of xtra that you want disable Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, August 20, 2005 9:04 AM Subject: Re: V4MD xtra 1.11 and 2.x in the same xtras folder > On 8/19/05 11:19 PM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > I'm updating a old work made with v1.11 and in next week I begin again to work > > on 2.0.4... > > Can you give us the possibility to keep both xtra version (renaming one of > > these) in the same Director's xtras folder? > > Hi Paolo, > > This will not work never, because they use the same names for some classes. > Therefore conflict. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005 > > From sunshine at public.kherson.ua Sat Aug 20 19:28:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 20 11:28:38 2005 Subject: [V4RB] Mac OS X .app bundle In-Reply-To: <522DAA1F-91AF-4658-B4A8-86212255113A@everestkc.net> Message-ID: On 8/20/05 6:25 PM, "Bob Keeney" wrote: >>> Bob says: >>> Based on discussions in the lists, I *WAS* able to get it to run > with >>> the VComponents in the application bundle. Guess it wasn't clear >>> from the documentation that in bundled applications what directory >>> they were supposed to be in. >> >> >> So I wonder, Bob: >> >> you build Macho application (which is bundle/package) ?!?! >> >> And you have got success with this ? >> >> If yes, then, Malik, I think this is because Bob uses 2.0.5 fc10 >> So you also can test this beta build to see if it will work for you. > > > Yes, I am using fc10. Here is my structure: > > MyApp.app/Content/MacOS/ > > and all of the VComponents (not the folder) are in MacOS directory of > the bundle. Hi Bob, Very strange...and you use MACHO build ??? For other developers this do not work... Hmm, may be you have not remove VComponents folder from CFVSupport ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Sun Aug 21 10:54:44 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Aug 21 09:55:17 2005 Subject: {V4Rb2] Console apps Message-ID: <2635a63d1793bf7cbe1b5a84e2ab3109@desuetude.com> I have been having considerable problems getting version 1 databases converted to version 2 format. One cause appears to be that I have field names like "text" that are reserved words in V4Rb 2. And I wanted to make some other changes to the db format. So I decided to do the conversion myself by exporting the v1 database to text files and importing the data into a fresh, new v2 database. The problem was how to read the v1 data, since V4Rb 2 cannot read v1 databases except to convert to v2, thus bringing me back to the original problem. My solution was to build a console app using Rb 5.5 and V4Rb1 that dumps the database to text. I include the app in the bundle of the main app and call it from a Shell object. Since the v1 dump is running as a separate process, the UI of the main app remains responsive -- another bonus. By using an interactive shell I can write progress messages to stdout and thus communicate back to the main app. The point here is to alert those who might not have thought, as I had not, to use Valentina in a console app. Perhaps other people can find more cunning uses for this. -------------- Charles Yeomans From peter.salomon at gmx.net Sun Aug 21 17:11:15 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 21 10:11:45 2005 Subject: [V4RB] binarylink concept question Message-ID: Hi Ruslan, i?m just asking myself: if i have created a binary link between tableA and tableB, created as: LinkA_B = new VBinaryLink("LinkA_B", TblA, TblB, EVLinkType.kOne, EVLinkType.kMany) now i can link records: recs(0) = 1 recs(1) = 1 LinkA_B.linkrecords(recs) but if i need to know the linked records i have to do: resSet = LinkA_B.findallLinked(TblA, TblB) my question: why must i tell the link again its tables? Shouldn?t the link know its tables? Regards, Peter Salomon Hannover, Germany peter.salomon@gmx.net From sunshine at public.kherson.ua Sun Aug 21 18:58:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 10:59:23 2005 Subject: [V4RB] binarylink concept question In-Reply-To: Message-ID: On 8/21/05 6:11 PM, "Peter Salomon" wrote: Hi Peter, > i?m just asking myself: > > if i have created a binary link between tableA and tableB, created as: > > LinkA_B = new VBinaryLink("LinkA_B", TblA, TblB, EVLinkType.kOne, > EVLinkType.kMany) > > now i can link records: > > recs(0) = 1 > recs(1) = 1 > > LinkA_B.linkrecords(recs) > > > but if i need to know the linked records i have to do: > > resSet = LinkA_B.findallLinked(TblA, TblB) > > > my question: why must i tell the link again its tables? Shouldn?t the > link know its tables? First of all Tables show direction. resSetOnTableB = LinkA_B.findallLinked(TblA, TblB) resSetOnTableA = LinkA_B.findallLinked(TblB, TblA) And as you see resulted set of records also differ. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun Aug 21 18:22:18 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 21 11:22:44 2005 Subject: [V4RB] binarylink concept question In-Reply-To: References: Message-ID: Hi Rulan, hmm, i agree. but this could be also done by symbols (as example) resSetOnTableB = LinkA_B.findallLinked(EVDirection.kLeft / k.Right) this way i wouldn?t need to use tableobjects in every handler where i only use links... Regards, Peter Salomon Hannover, Germany peter.salomon@gmx.net Am 21.08.2005 um 17:58 schrieb Ruslan Zasukhin: > On 8/21/05 6:11 PM, "Peter Salomon" wrote: > > Hi Peter, > > >> i?m just asking myself: >> >> if i have created a binary link between tableA and tableB, created >> as: >> >> LinkA_B = new VBinaryLink("LinkA_B", TblA, TblB, EVLinkType.kOne, >> EVLinkType.kMany) >> >> now i can link records: >> >> recs(0) = 1 >> recs(1) = 1 >> >> LinkA_B.linkrecords(recs) >> >> >> but if i need to know the linked records i have to do: >> >> resSet = LinkA_B.findallLinked(TblA, TblB) >> >> >> my question: why must i tell the link again its tables? Shouldn?t the >> link know its tables? >> > > First of all Tables show direction. > > > resSetOnTableB = LinkA_B.findallLinked(TblA, TblB) > > resSetOnTableA = LinkA_B.findallLinked(TblB, TblA) > > And as you see resulted set of records also differ. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Sun Aug 21 22:50:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 14:51:18 2005 Subject: [V4RB] binarylink concept question In-Reply-To: Message-ID: On 8/21/05 7:22 PM, "Peter Salomon" wrote: Hi Peter, > Hi Rulan, > > hmm, i agree. > but this could be also done by symbols (as example) > > resSetOnTableB = LinkA_B.findallLinked(EVDirection.kLeft / k.Right) Left right? But how you can remember (know) which table is on left or right for THIS link ? This is why we ask you EXPLICITLY show tables. - Never mind which one is left right. - you solve some task. You think: I have persones, I want find phones... so: res = FindAllLinked( person, phones ) No way to make a mistake. :-) > this way i wouldn?t need to use tableobjects in every handler where i > only use links... > > > Regards, > > Peter Salomon > Hannover, Germany > > peter.salomon@gmx.net > > > Am 21.08.2005 um 17:58 schrieb Ruslan Zasukhin: > >> On 8/21/05 6:11 PM, "Peter Salomon" wrote: >> >> Hi Peter, >> >> >>> i?m just asking myself: >>> >>> if i have created a binary link between tableA and tableB, created >>> as: >>> >>> LinkA_B = new VBinaryLink("LinkA_B", TblA, TblB, EVLinkType.kOne, >>> EVLinkType.kMany) >>> >>> now i can link records: >>> >>> recs(0) = 1 >>> recs(1) = 1 >>> >>> LinkA_B.linkrecords(recs) >>> >>> >>> but if i need to know the linked records i have to do: >>> >>> resSet = LinkA_B.findallLinked(TblA, TblB) >>> >>> >>> my question: why must i tell the link again its tables? Shouldn?t the >>> link know its tables? >>> >> >> First of all Tables show direction. >> >> >> resSetOnTableB = LinkA_B.findallLinked(TblA, TblB) >> >> resSetOnTableA = LinkA_B.findallLinked(TblB, TblA) >> >> And as you see resulted set of records also differ. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 22 00:48:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 16:48:47 2005 Subject: [V4RB] Mac OS X .app bundle In-Reply-To: <0904181D-CB8C-4C07-81E9-277580110A87@everestkc.net> Message-ID: On 8/22/05 12:42 AM, "Bob Keeney" wrote: >> Hi Bob, >> >> Very strange...and you use MACHO build ??? >> >> For other developers this do not work... >> Hmm, may be you have not remove VComponents folder from CFVSupport ? > > I'm am absolutely positive that I've gotten it to work in a bundled > MachO build. My only-one-file build has been tested on multiple > machines that have never seen Valentina before. > > Makes for one huge file but it's a simpler solution than having the > components in the same folder as the app (which doesn't work in MACHO > builds anyway). Interesting! Why only you have got success Okay, in the nearest couple of days I will also try do this -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun Aug 21 23:58:59 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 21 16:59:26 2005 Subject: [V4RB] binarylink concept question In-Reply-To: References: Message-ID: <1812A6FB-DF93-46C4-95B1-A431EE80845E@gmx.net> > Left right? But how you can remember (know) which table is on left > or right > for THIS link ? > > This is why we ask you EXPLICITLY show tables. > - Never mind which one is left right. > - you solve some task. You think: > I have persones, I want find phones... > so: > > res = FindAllLinked( person, phones ) > > No way to make a mistake. :-) :-) no? ok. what if i think: "I want phones from person!" (like one is used to think from sql) You see, also with the acual way you differ between the tables by definiton which is the 'i_have_table' and which the 'i_wanna_get_table' . And the definition is: 'i_have_table' is on the left side, 'i- wanna_get_table' is on the right side. And if ? have named my links in a useful way like "LinkTblA_TblB" i know very well where my tables are and have no need to remember. So - just by defining the sides, link ca do its job. Moreover i need to remember the poistions of tables also for defining the links! LPersonPhones = new VBinaryLink("LinkPerson_Phones", TblPerson, TblPhones, EVLinkType.kOne,EVLinkType.kMany) Recs(0) = 1 <------- TblPerson Recs(1) = 1 <------- TblPhones LPersonPhones.LinkRecords(Recs) and now again: res = LPersonPhones.FindAllLinked( TblPerson, TblPhones ) i was just wondering ruslan, if LPersonPhones.FindAllLinked( ) would be enough? because it seems to me that i tell link its tables twice which is - in my opinion - one time too much. hey - links work well the way they are, its a discusson about cosmetic questions... there might also be other reasons, i did not think about other linktypes yet. best regards, peter :-) From daisychain at iinet.net.au Mon Aug 22 08:09:56 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Aug 21 17:11:34 2005 Subject: V4RB_205fc11_win In-Reply-To: <20050819033814.CEC6B36FFCA@edison.macserve.net> Message-ID: <001101c5a69d$106b2220$ae00a8c0@DamonsPC> Hi Guys, Just downloaded the latest beta of V4RB_205fc11_win.exe Went to see if opening a Valentina database in the RB IDE was any quicker and when you try to open it RealBasic 5.5.5 crashes with the Microsoft error window. Rebooted system and tried again, same result. Can someone confirm? I open it yesterday fine with version fc5 Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Mon Aug 22 01:27:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 17:27:55 2005 Subject: V4RB_205fc11_win In-Reply-To: <001101c5a69d$106b2220$ae00a8c0@DamonsPC> Message-ID: On 8/22/05 1:09 AM, "Damon Pillinger" wrote: > Hi Guys, > > Just downloaded the latest beta of V4RB_205fc11_win.exe > > Went to see if opening a Valentina database in the RB IDE was any > quicker and when you try to open it RealBasic 5.5.5 crashes with the > Microsoft error window. > Rebooted system and tried again, same result. > > Can someone confirm? > I open it yesterday fine with version fc5 So you cannot even start REALBasic ? We will check at morning -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Mon Aug 22 08:37:19 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Aug 21 17:37:43 2005 Subject: V4RB_205fc11_win In-Reply-To: Message-ID: <001b01c5a6a0$e4030af0$ae00a8c0@DamonsPC> Hi Ruslan, Come on we want details of the Valentina business trip, women, bars etc... No RB starts fine; it is when you double click on the Valentina database from the IDE. File/add data source/select Valentina and select a Valentina database. It shows in the IDE Then double click on the database in the IDE and crash Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, 22 August 2005 8:27 AM To: valentina@lists.macserve.net Subject: Re: V4RB_205fc11_win On 8/22/05 1:09 AM, "Damon Pillinger" wrote: > Hi Guys, > > Just downloaded the latest beta of V4RB_205fc11_win.exe > > Went to see if opening a Valentina database in the RB IDE was any > quicker and when you try to open it RealBasic 5.5.5 crashes with the > Microsoft error window. > Rebooted system and tried again, same result. > > Can someone confirm? > I open it yesterday fine with version fc5 So you cannot even start REALBasic ? We will check at morning -- Best regards, Ruslan Zasukhin VP 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 Aug 22 01:37:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 17:38:14 2005 Subject: V4RB_205fc11_win In-Reply-To: <001101c5a69d$106b2220$ae00a8c0@DamonsPC> Message-ID: On 8/22/05 1:09 AM, "Damon Pillinger" wrote: > Hi Guys, > > Just downloaded the latest beta of V4RB_205fc11_win.exe > > Went to see if opening a Valentina database in the RB IDE was any > quicker and when you try to open it RealBasic 5.5.5 crashes with the > Microsoft error window. > Rebooted system and tried again, same result. > > Can someone confirm? > I open it yesterday fine with version fc5 Damon, I have made clean install of V4RB WIN fc11 and it works. I do not see problems Also RB 5.5.2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 22 01:42:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 21 17:43:05 2005 Subject: V4RB_205fc11_win In-Reply-To: <001b01c5a6a0$e4030af0$ae00a8c0@DamonsPC> Message-ID: On 8/22/05 1:37 AM, "Damon Pillinger" wrote: > Hi Ruslan, > Come on we want details of the Valentina business trip, women, bars > etc... > > No RB starts fine; it is when you double click on the Valentina database > from the IDE. > > File/add data source/select Valentina and select a Valentina database. > It shows in the IDE > Then double click on the database in the IDE and crash Aha, so problem in RBDB layer. I will ask Sergey to check at morning. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Mon Aug 22 08:45:52 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Aug 21 17:46:17 2005 Subject: V4RB_205fc11_win In-Reply-To: Message-ID: <002101c5a6a2$163d5c40$ae00a8c0@DamonsPC> Thanks, and thanks to Serge for all the great work he has done, is doing and will be doing. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, 22 August 2005 8:43 AM To: valentina@lists.macserve.net; Sergey Subject: Re: V4RB_205fc11_win On 8/22/05 1:37 AM, "Damon Pillinger" wrote: > Hi Ruslan, > Come on we want details of the Valentina business trip, women, bars > etc... > > No RB starts fine; it is when you double click on the Valentina database > from the IDE. > > File/add data source/select Valentina and select a Valentina database. > It shows in the IDE > Then double click on the database in the IDE and crash Aha, so problem in RBDB layer. I will ask Sergey to check at morning. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Mon Aug 22 09:32:55 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Sun Aug 21 18:33:19 2005 Subject: Installing Valentina on clients computer In-Reply-To: Message-ID: <003901c5a6a8$a8330680$ae00a8c0@DamonsPC> Hi Ruslan, I tried to install my first Valentina program on a clients system, very excited. I asked them to copy the "Paradigma Software" folder (which is what we on my computer) to their "C:/Program Files" folder. This is obviously wrong as they get a error message. Where should it go? I don't want to put the DLL's into the main directory as then I have to explain what they are and how to hide them, also there is a greater chance of someone deleting them. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From BillMounce at Comcast.net Sun Aug 21 16:48:15 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Sun Aug 21 18:48:51 2005 Subject: VBaseObject not exist [V4RB 2.0] Message-ID: <15716560-A586-49F3-BE7A-C9A3F5AAE70B@Comcast.net> Basic question, I am moving a project from RB 5.5.5 to RB 2005 but am still using Valentina 1.11. When I go to a class named boParse, formerly it was listed as a VBaseObject. If I run the project I receive the error that boParse superclass VBaseObject does not exist. If I go to boParse in the IDE and click on the disclosure triangle for "Super," VBaseObject is not an option. Does Valentina 1.11 work with RB 2005? If so, what do I rename "VBaseObject" to? Thanks. Bill From sunshine at public.kherson.ua Mon Aug 22 08:28:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 00:29:36 2005 Subject: VBaseObject not exist [V4RB 2.0] In-Reply-To: <15716560-A586-49F3-BE7A-C9A3F5AAE70B@Comcast.net> Message-ID: On 8/22/05 2:48 AM, "Bill Mounce" wrote: Hi Bill, > Basic question, > > I am moving a project from RB 5.5.5 to RB 2005 but am still using > Valentina 1.11. > When I go to a class named boParse, formerly it was > listed as a VBaseObject. If I run the project I receive the error > that boParse superclass VBaseObject does not exist. If I go to > boParse in the IDE and click on the disclosure triangle for "Super," > VBaseObject is not an option. Does other classes of Valentina 1.x present ? If no then RB did not recognize plugin > Does Valentina 1.11 work with RB 2005? AFAIK yes > If so, what do I rename "VBaseObject" to? No need -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 22 08:37:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 00:37:45 2005 Subject: Installing Valentina on clients computer In-Reply-To: <003901c5a6a8$a8330680$ae00a8c0@DamonsPC> Message-ID: On 8/22/05 2:32 AM, "Damon Pillinger" wrote: Hi Damon, > I tried to install my first Valentina program on a clients system, very > excited. > > I asked them to copy the "Paradigma Software" folder (which is what we > on my computer) to their "C:/Program Files" folder. This is obviously > wrong as they get a error message. Where should it go? It not works? Because also it needs add into PATH variable path to that folder. Otherwise Windows do not see dll in the VComponents folder > I don't want to put the DLL's into the main directory as then I have to > explain what they are and how to hide them, also there is a greater > chance of someone deleting them. Okay, but then you should do next: use not "Paradigma Software" name but YourSoftware name ProgramFiles/MySoftware/VComponents In fact VComponents also can have other name. And again you need set PATH variable to this path. Later you can make installer which will update PATH variable. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 22 08:44:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 00:44:43 2005 Subject: [V4RB] binarylink concept question In-Reply-To: <1812A6FB-DF93-46C4-95B1-A431EE80845E@gmx.net> Message-ID: On 8/22/05 12:58 AM, "Peter Salomon" wrote: >> res = FindAllLinked( person, phones ) >> >> No way to make a mistake. :-) > > :-) no? > > ok. what if i think: > > "I want phones from person!" > (like one is used to think from sql) Peter, Note, that you talk about FindAllLinked( inTableA as VTable, inTableB as VTable, inRecursionDirection as Integer = 0 ) as VBitSet In fact this function will be used very rare. It work with NOT current record, but with all records of Table A, And give you set of all records of table B which is linked AT LEAST to one record of A. Usually if you want find ALL phones of SOME person, you need to use FindLinked( inRecID as Integer, inTableA as VTable, inTableB as VTable, inRecursionDirection as Integer = 0 ) as VArraySet -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 22 08:58:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 00:59:04 2005 Subject: [V4RB] binarylink concept question In-Reply-To: <1812A6FB-DF93-46C4-95B1-A431EE80845E@gmx.net> Message-ID: On 8/22/05 12:58 AM, "Peter Salomon" wrote: >> Left right? But how you can remember (know) which table is on left >> or right >> for THIS link ? >> >> This is why we ask you EXPLICITLY show tables. >> - Never mind which one is left right. >> - you solve some task. You think: >> I have persones, I want find phones... >> so: >> >> res = FindAllLinked( person, phones ) >> >> No way to make a mistake. :-) > > :-) no? > > ok. what if i think: > > "I want phones from person!" > (like one is used to think from sql) > > You see, also with the acual way you differ between the tables by > definiton which is the 'i_have_table' and which the > 'i_wanna_get_table' . > > And the definition is: 'i_have_table' is on the left side, 'i- > wanna_get_table' is on the right side. But you also can think in the next function: I have phone, I want find linked persons > And if ? have named my links in a useful way like "LinkTblA_TblB" i > know very well where my tables are and have no need to remember. > So - just by defining the sides, link ca do its job. Peter, but Link can work in both directions !!! > Moreover i need to remember the poistions of tables also for defining > the links! > LPersonPhones = new VBinaryLink("LinkPerson_Phones", TblPerson, > TblPhones, EVLinkType.kOne,EVLinkType.kMany) > > Recs(0) = 1 <------- TblPerson > Recs(1) = 1 <------- TblPhones > LPersonPhones.LinkRecords(Recs) > and now again: res = LPersonPhones.FindAllLinked( TblPerson, > TblPhones ) This is true. No way make this simpler. May be only to have LinkRecords() with 4 parameters. But this is bad. > i was just wondering ruslan, if LPersonPhones.FindAllLinked( ) would > be enough? > because it seems to me that i tell link its tables twice which is - > in my opinion - one time too much. Again and again. This function can work in 2 directions and return 2 different results. MAY BE it is possible to use default parameters, so if you NOT specify them, then func works left -> right in direction. > hey - links work well the way they are, its a discusson about > cosmetic questions... I understand this. > there might also be other reasons, i did not think about other > linktypes yet. Your ideas are welcome -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From totte at code66.se Mon Aug 22 09:37:22 2005 From: totte at code66.se (Totte Alm) Date: Mon Aug 22 02:38:08 2005 Subject: {V4Rb2] Console apps In-Reply-To: <2635a63d1793bf7cbe1b5a84e2ab3109@desuetude.com> References: <2635a63d1793bf7cbe1b5a84e2ab3109@desuetude.com> Message-ID: > > The point here is to alert those who might not have thought, as I > had not, to use Valentina in a console app. Perhaps other people > can find more cunning uses for this. > Hello, This is the trick I've been using for the past 4 years to be able to use valentina "multithreaded", allthough the console-apps / cmdlinetools written in C++, but right now I'm doing one using RB. // Totte From daisychain at iinet.net.au Tue Aug 23 07:39:30 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Aug 22 16:39:59 2005 Subject: Updates to RB V2.05fc12 In-Reply-To: Message-ID: <001401c5a761$faf8e8d0$ae00a8c0@DamonsPC> Serge, Once again great job, 100's times faster (opening from IDE and viewing data). Many many thanks Is there anything else new in this fc that we should know about? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Tue Aug 23 00:42:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 16:43:36 2005 Subject: Updates to RB V2.05fc12 In-Reply-To: <001401c5a761$faf8e8d0$ae00a8c0@DamonsPC> Message-ID: On 8/23/05 12:39 AM, "Damon Pillinger" wrote: > Serge, > > Once again great job, 100's times faster (opening from IDE and viewing > data). :-) wow. I believe that Sergey have not yet implement another idea, Which must cause exactly 100% speed up for RBDB .. So, please stand by ... :-) > Many many thanks > > Is there anything else new in this fc that we should know about? We are finishing adding of encryption 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 daisychain at iinet.net.au Tue Aug 23 07:51:35 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Aug 22 16:52:39 2005 Subject: Updates to RB V2.05fc12 In-Reply-To: Message-ID: <001501c5a763$aaf040c0$ae00a8c0@DamonsPC> HI Ruslan, Yes Sergey, did a great job it use to take about 3 minutes to open now it takes about 1-2 seconds. Standing by for other updates Thanks again. Using Valentina my clients are reporting that what use to take 7 minutes 45 seconds with RB database now takes 7 seconds, what use to take 85 seconds now takes 3 seconds so I assume that the raw code would take about 2.5 seconds to run with no database queries at all, so Valentina is making a huge difference. I feel the need, the need for light speed^2. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 23 August 2005 7:43 AM To: valentina@lists.macserve.net; valentina-beta@lists.macserve.net Subject: Re: Updates to RB V2.05fc12 On 8/23/05 12:39 AM, "Damon Pillinger" wrote: > Serge, > > Once again great job, 100's times faster (opening from IDE and viewing > data). :-) wow. I believe that Sergey have not yet implement another idea, Which must cause exactly 100% speed up for RBDB .. So, please stand by ... :-) > Many many thanks > > Is there anything else new in this fc that we should know about? We are finishing adding of encryption 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] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From BillMounce at Comcast.net Mon Aug 22 15:42:13 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Mon Aug 22 17:42:51 2005 Subject: VBaseObject not exist [V4RB 2.0] In-Reply-To: References: Message-ID: <6C69789F-B966-4FC7-A9F6-8CC5CB67E9EF@Comcast.net> Yes, other Valentina objects work. I renamed it to VTable and it seems to work. Was this right? BIll On Aug 21, 2005, at 10:28 PM, Ruslan Zasukhin wrote: > On 8/22/05 2:48 AM, "Bill Mounce" wrote: > > Hi Bill, > > >> Basic question, >> >> I am moving a project from RB 5.5.5 to RB 2005 but am still using >> Valentina 1.11. >> > > >> When I go to a class named boParse, formerly it was >> listed as a VBaseObject. If I run the project I receive the error >> that boParse superclass VBaseObject does not exist. If I go to >> boParse in the IDE and click on the disclosure triangle for "Super," >> VBaseObject is not an option. >> > > Does other classes of Valentina 1.x present ? > > If no then RB did not recognize plugin > > > >> Does Valentina 1.11 work with RB 2005? >> > > AFAIK yes > > >> If so, what do I rename "VBaseObject" to? >> > > No need > > -- > Best regards, > > Ruslan Zasukhin > VP 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 Tue Aug 23 01:52:48 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Aug 22 17:53:23 2005 Subject: VBaseObject not exist [V4RB 2.0] In-Reply-To: <6C69789F-B966-4FC7-A9F6-8CC5CB67E9EF@Comcast.net> References: <6C69789F-B966-4FC7-A9F6-8CC5CB67E9EF@Comcast.net> Message-ID: <430A5740.50203@public.kherson.ua> Hi, Bill Mounce wrote: > Yes, other Valentina objects work. I renamed it to VTable and it seems > to work. Was this right? > Yes. -- Best regards, Ivan Smahin From sunshine at public.kherson.ua Tue Aug 23 01:57:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 22 17:57:51 2005 Subject: VBaseObject not exist [V4RB 2.0] In-Reply-To: <430A5740.50203@public.kherson.ua> Message-ID: On 8/23/05 1:52 AM, "Ivan Smahin" wrote: > Hi, > > Bill Mounce wrote: >> Yes, other Valentina objects work. I renamed it to VTable and it seems >> to work. Was this right? >> > Yes. Bill, So you try port to Valentina 2.0 ? In your first letter you have told that you still on v1... If you port to 2.0 then look into V4RB_Reference.pdf It have few pages about HOW TO port v1 to v2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Tue Aug 23 10:10:48 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Aug 22 19:13:18 2005 Subject: question on what type of field to use In-Reply-To: Message-ID: <002a01c5a777$1d9f1980$ae00a8c0@DamonsPC> Hi guys, I am changing the user setting section now and want to know what would be the best field type for a printersettings string pagesetup=new printerSetup pagesetup.setupString=printscmstring <--- this is the string g=openprinter(pagesetup) The string contains text and any other characters i.e. chr(0) to chr(255). In the past I have had to UUENCODE the string before saving to ensure it stays in the correct format but with Valentina I might not have to do this. What is the best string field? Usually a field of type string does not do the job unless it is UUENCODED, well using RB DB anyway. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 istinfo/valentina From sunshine at public.kherson.ua Tue Aug 23 09:04:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 23 01:05:27 2005 Subject: Run Time error on Mac In-Reply-To: <29943067.1124757353471.JavaMail.root@elwamui-chisos.atl.sa.earthlink.net> Message-ID: On 8/23/05 3:35 AM, "Anna Kritselis" wrote: Hi Anna, Great! So as I have told it is important to use on both platforms the same version builds. > Hi! > > I just wanted to let you know that I built my app (using fc12) on Windows for > OS X and it ran on the Mac - yippee! Tomorrow I will try encryption... > > Anna > > -----Original Message----- > From: Ruslan Zasukhin > Sent: Aug 17, 2005 12:56 AM > To: Anna Kritselis > Subject: Re: Run Time error on Mac > > On 8/17/05 4:17 AM, "Anna Kritselis" wrote: > >> When I run Table_Create (which was built on Windows) on the Mac - it crashes. >> You asked if I was able to get Table_Create to compile/run on the Mac so I >> downloaded RB, V4RB for the Mac and it did run on the Mac. >> >> So I thought I'd try the opposite - >> >> I compiled Table_Create on the Mac, then built it as a Windows application. >> On my Windows machine, I created a subdirectory called "MyApp" and copied the >> executable(AppName.exe) and the contents of the VComponents_Win_CW folder >> into >> it. When I ran the program - it launched okay, but when I clicked "Make New >> Instance" the program crashed on my Windows machine. > > I see. > > I think I see where problem can be. > > It is VERY IMPORTANT to use on both platforms THE SAME build version. > > So please wait for our next fc11 or fc12, when we will make build of V4RB > for both platforms. Then we will try again this issue. > -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 23 09:10:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 23 01:10:57 2005 Subject: question on what type of field to use In-Reply-To: <002a01c5a777$1d9f1980$ae00a8c0@DamonsPC> Message-ID: On 8/23/05 3:10 AM, "Damon Pillinger" wrote: > Hi guys, > > I am changing the user setting section now and want to know what would > be the best field type for a printersettings string > > pagesetup=new printerSetup > pagesetup.setupString=printscmstring <--- this is the string > g=openprinter(pagesetup) > > The string contains text and any other characters i.e. chr(0) to > chr(255). Chr(0) -- Then you can choose from VarBinary and BLOB. But it seems was report that VarBinary and FixedBinary are broken. Report still in Mantis. So only choice for now you now is BLOB, I think BLOB[256] will be ok. Note, 256 -- is NOT a max limit, this is just segment size. > In the past I have had to UUENCODE the string before saving to ensure it > stays in the correct format but with Valentina I might not have to do > this. > What is the best string field? You have NOT string. You have pure binary data. > Usually a field of type string does not do the job unless it is > UUENCODED, well using RB DB anyway. Right. Because String and VarChar cannot keep strings with chr(0) inside. Because chr(0) -- is the END OF STRING. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Tue Aug 23 16:13:15 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Aug 23 01:14:38 2005 Subject: question on what type of field to use In-Reply-To: Message-ID: <00cd01c5a7a9$c05d78b0$ae00a8c0@DamonsPC> thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 23 August 2005 4:10 PM To: valentina@lists.macserve.net Subject: Re: question on what type of field to use On 8/23/05 3:10 AM, "Damon Pillinger" wrote: > Hi guys, > > I am changing the user setting section now and want to know what would > be the best field type for a printersettings string > > pagesetup=new printerSetup > pagesetup.setupString=printscmstring <--- this is the string > g=openprinter(pagesetup) > > The string contains text and any other characters i.e. chr(0) to > chr(255). Chr(0) -- Then you can choose from VarBinary and BLOB. But it seems was report that VarBinary and FixedBinary are broken. Report still in Mantis. So only choice for now you now is BLOB, I think BLOB[256] will be ok. Note, 256 -- is NOT a max limit, this is just segment size. > In the past I have had to UUENCODE the string before saving to ensure it > stays in the correct format but with Valentina I might not have to do > this. > What is the best string field? You have NOT string. You have pure binary data. > Usually a field of type string does not do the job unless it is > UUENCODED, well using RB DB anyway. Right. Because String and VarChar cannot keep strings with chr(0) inside. Because chr(0) -- is the END OF STRING. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From info at bertspin.nl Wed Aug 24 11:06:15 2005 From: info at bertspin.nl (Bert Spin) Date: Wed Aug 24 04:06:58 2005 Subject: vserver on W98 Message-ID: <6.2.3.4.0.20050824105954.01d08598@mail.chello.nl> I am trying to get vserver 2.0.4 to work across the network. The machine runs W98 SE, fresh new install, and the installer fails, reporting 4 times: 'CreateProcess failed: code 31'. No vserver.ini file was written in de SYSTEM directory. What could be wrong? Thanks, Bert From sunshine at public.kherson.ua Wed Aug 24 16:39:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 24 08:40:01 2005 Subject: vserver on W98 In-Reply-To: <6.2.3.4.0.20050824105954.01d08598@mail.chello.nl> Message-ID: On 8/24/05 12:06 PM, "Bert Spin" wrote: Hi Bert, > I am trying to get vserver 2.0.4 to work across the network. > The machine runs W98 SE, fresh new install, and the installer fails, > reporting 4 times: 'CreateProcess failed: code 31'. > > No vserver.ini file was written in de SYSTEM directory. > > What could be wrong? Not sure that Vserver can run on Win98. Igor? win2000, XP are the right choice. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From giv at tlc.kherson.ua Wed Aug 24 16:45:30 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Aug 24 08:46:13 2005 Subject: vserver on W98 References: Message-ID: <007101c5a8b2$184b24b0$3b04a8c0@giv> Hi Bert, >> I am trying to get vserver 2.0.4 to work across the network. >> The machine runs W98 SE, fresh new install, and the installer fails, >> reporting 4 times: 'CreateProcess failed: code 31'. >> >> No vserver.ini file was written in de SYSTEM directory. >> >> What could be wrong? > > Not sure that Vserver can run on Win98. > Igor? We haven't tested it on Win98. > win2000, XP are the right choice. Yes, we tested it with these platforms. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From heinrichruoff at gmail.com Wed Aug 24 17:08:01 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Aug 24 10:08:41 2005 Subject: vserver on W98 In-Reply-To: <007101c5a8b2$184b24b0$3b04a8c0@giv> References: <007101c5a8b2$184b24b0$3b04a8c0@giv> Message-ID: Hey Ruslan I'm really not the only one who is still using win 98 :-) Heinrich On 8/24/05, Igor Gomon wrote: > Hi Bert, > > >> I am trying to get vserver 2.0.4 to work across the network. > >> The machine runs W98 SE, fresh new install, and the installer fails, > >> reporting 4 times: 'CreateProcess failed: code 31'. > >> > >> No vserver.ini file was written in de SYSTEM directory. > >> > >> What could be wrong? > > > > Not sure that Vserver can run on Win98. > > Igor? > We haven't tested it on Win98. > > > win2000, XP are the right choice. > Yes, we tested it with these platforms. > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Aug 24 19:50:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 24 11:51:38 2005 Subject: vserver on W98 In-Reply-To: Message-ID: On 8/24/05 6:08 PM, "Heinrich Ruoff" wrote: > Hey Ruslan > > I'm really not the only one who is still using win 98 :-) I understand. But please take into account that win98 is quite old technically. For example it do not have services. For Vserver 1.x based on Valentina 1.x engine, btw which you still can download and use from our site as well as clients 1.x which can talk to this 1.x server. So for this server Igor have made special separate build which was inside of installer. Right now we just do not want spend efforts to support so old platform as win98. We see very low percent of its uses and requests for it. Well, now only 2 developers have talk about win98, Henry about V4MD on win98 Bert about Vserver... Also problem is that we few years use VNET... Igor on some project have see at least once that VNET build do not work on win98, while the same code built by Visual 6 C++ do work. In other words problems can come from Microsoft itself. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Wed Aug 24 11:09:09 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Aug 24 12:09:52 2005 Subject: Request for Improved Documentation In-Reply-To: References: Message-ID: <2BABE116-221A-45DB-BD2A-F9EAD7CD503A@pcisys.net> Greetings, Would it be possible to get a copy of the V4RB_Reference_2_en.pdf that has BOOKMARKS in it? The one I got from the web-site does not have any such beasties in it. THUMBNAILS of pages with print so small it is illegible. But not one single BOOKMARK. I find them useful for quickly going to someplace I want to read. Regards, Chuck From cbpelto at pcisys.net Wed Aug 24 11:18:15 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Aug 24 12:18:54 2005 Subject: Request for Improved Documentation (Addendum) In-Reply-To: <2BABE116-221A-45DB-BD2A-F9EAD7CD503A@pcisys.net> References: <2BABE116-221A-45DB-BD2A-F9EAD7CD503A@pcisys.net> Message-ID: That appeal applies to the ValentinaKernel_2_en.pdf and ValentinaSQL_2_en.pdf documentation as well. Thanks, Chuck On Aug 24, 2005, at 11:09 AM, Chuck Pelto wrote: > Greetings, > > Would it be possible to get a copy of the V4RB_Reference_2_en.pdf > that has BOOKMARKS in it? > > The one I got from the web-site does not have any such beasties in > it. THUMBNAILS of pages with print so small it is illegible. But > not one single BOOKMARK. I find them useful for quickly going to > someplace I want to read. > > Regards, > > Chuck > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From info at bertspin.nl Thu Aug 25 09:01:35 2005 From: info at bertspin.nl (Bert Spin) Date: Thu Aug 25 02:02:30 2005 Subject: vserver on W98 In-Reply-To: References: Message-ID: <6.2.3.4.0.20050825085433.01d6fa10@pop.iae.nl> Guys, At 24-08-2005 18:50, you wrote: >On 8/24/05 6:08 PM, "Heinrich Ruoff" wrote: > > > Hey Ruslan > > > > I'm really not the only one who is still using win 98 :-) > >We see very low percent of its uses and requests for it. >Well, now only 2 developers have talk about win98, > Henry about V4MD on win98 > Bert about Vserver... It's perfectly allright with me if vserver does not support w98. But the documentation says it does, so I took the time to configure a machine for testing. I would have saved time if the documentation were correct. VServer works on the next platforms: Win32 (i.e. Win98, Me / Win 2000, XP) MacOS X Linux Bye, Bert >Also problem is that we few years use VNET... >Igor on some project have see at least once that VNET build do not work on >win98, while the same code built by Visual 6 C++ do work. > >In other words problems can come from Microsoft itself. > > >-- >Best regards, > >Ruslan Zasukhin >VP Engineering and New Technology >Paradigma Software, Inc > >Valentina - Joining Worlds of Information >http://www.paradigmasoft.com > >[I feel the need: the need for speed] > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Aug 25 10:14:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 25 02:15:39 2005 Subject: Request for Improved Documentation (Addendum) In-Reply-To: Message-ID: On 8/24/05 8:18 PM, "Chuck Pelto" wrote: > That appeal applies to the ValentinaKernel_2_en.pdf and > ValentinaSQL_2_en.pdf documentation as well. > > Thanks, > > Chuck > > On Aug 24, 2005, at 11:09 AM, Chuck Pelto wrote: > >> Greetings, >> >> Would it be possible to get a copy of the V4RB_Reference_2_en.pdf >> that has BOOKMARKS in it? Problem is that it seems we have correct settings for inDesign, But it not produce bookmarks on some reason. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 25 10:22:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 25 02:23:25 2005 Subject: vserver on W98 In-Reply-To: <6.2.3.4.0.20050825085433.01d6fa10@pop.iae.nl> Message-ID: On 8/25/05 10:01 AM, "Bert Spin" wrote: >> We see very low percent of its uses and requests for it. >> Well, now only 2 developers have talk about win98, >> Henry about V4MD on win98 >> Bert about Vserver... > > It's perfectly allright with me if vserver does not support w98. > But the documentation says it does, so I took the time to > configure a machine for testing. I would have saved time if the > documentation were correct. > > VServer works on the next platforms: > Win32 (i.e. Win98, Me / Win 2000, XP) > MacOS X > Linux I see, we will fix this. It comes from Vserver 1.x yet.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Aug 25 07:58:21 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Aug 25 08:59:03 2005 Subject: Request for Improved Documentation (Addendum) In-Reply-To: References: Message-ID: <9E78ABBF-0144-4CBB-A78B-C514D1B61688@pcisys.net> On Aug 25, 2005, at 1:14 AM, Ruslan Zasukhin wrote: > Problem is that it seems we have correct settings for inDesign, > But it not produce bookmarks on some reason. Sounds like it's time to get in touch with Adobe's Tech Support people. Regards, Chuck Pelto From jules.jacquot at wanadoo.fr Thu Aug 25 17:32:04 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Aug 25 10:31:09 2005 Subject: sum() Message-ID: <1B3CE721-F354-4CBE-A66B-2C45B4D850AE@wanadoo.fr> hi, ruslan V4RB 2.0.5fc11 this request doesn't work dc=dab.SQLSelect("select sum(Valdads12) from Dads where Nomprenom='"+nomsal+"'") the command sum() breaks my app while it's was working fine with v4RB 2.0.4 best jules ------------------------------------------------------------------------ -- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From sunshine at public.kherson.ua Thu Aug 25 18:57:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 25 10:57:58 2005 Subject: sum() In-Reply-To: <1B3CE721-F354-4CBE-A66B-2C45B4D850AE@wanadoo.fr> Message-ID: On 8/25/05 6:32 PM, "Jules Jacquot" wrote: > hi, ruslan > > V4RB 2.0.5fc11 > > this request doesn't work > > dc=dab.SQLSelect("select sum(Valdads12) from Dads where > Nomprenom='"+nomsal+"'") > > the command sum() breaks my app > while it's was working fine with v4RB 2.0.4 I think this is fixed in fc12 Try 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 yeomans at desuetude.com Thu Aug 25 12:03:32 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Aug 25 11:04:14 2005 Subject: sum() In-Reply-To: References: Message-ID: <54ac434366a9c9d56f383e4bd7dc7986@desuetude.com> On Aug 25, 2005, at 11:57 AM, Ruslan Zasukhin wrote: > On 8/25/05 6:32 PM, "Jules Jacquot" wrote: > >> hi, ruslan >> >> V4RB 2.0.5fc11 >> >> this request doesn't work >> >> dc=dab.SQLSelect("select sum(Valdads12) from Dads where >> Nomprenom='"+nomsal+"'") >> >> the command sum() breaks my app > >> while it's was working fine with v4RB 2.0.4 > > I think this is fixed in fc12 Aggregate queries are working for me in fc12. -------------- Charles Yeomans From ohmitou at wanadoo.fr Thu Aug 25 21:20:54 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Thu Aug 25 12:21:45 2005 Subject: SQL request and speed ? II Message-ID: <34E23B9C-EF40-4FAF-B9A4-7BE74CAACC75@wanadoo.fr> Hello, I have two versions of my program : the first with a database Valentina 2 and the other one with a database RealSQL. The base contain the same data. The SQL requests are the same and their treatment also. Only to fill a cursor (with 1 element taken in a table of 2000 records), with this request: " SELECT * FROM noms WHERE id>0 AND nom NOT IN (SELECT DISTINCT nom FROM individus) " _ +"AND nom NOT IN(SELECT DISTINCT nom FROM alias) ORDER BY nom " Valentina 2.05fc12: 9 seconds RealSQL: 0.13 seconds ! It is an example among the others ! Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Thu Aug 25 22:02:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 25 14:03:04 2005 Subject: SQL request and speed ? II In-Reply-To: <34E23B9C-EF40-4FAF-B9A4-7BE74CAACC75@wanadoo.fr> Message-ID: On 8/25/05 8:20 PM, "Thierry Nauze" wrote: > Hello, > > I have two versions of my program : the first with a database > Valentina 2 and the other one with a database RealSQL. > The base contain the same data. The SQL requests are the same and > their treatment also. > > Only to fill a cursor (with 1 element taken in a table of 2000 > records), with this request: > > " SELECT * FROM noms WHERE id>0 AND nom NOT IN (SELECT DISTINCT nom > FROM individus) " _ > +"AND nom NOT IN(SELECT DISTINCT nom FROM alias) ORDER BY nom " > > Valentina 2.05fc12: 9 seconds > RealSQL: 0.13 seconds ! > > It is an example among the others ! Well, SqlLite all resolve in RAM. So it can be fast until your result fit RAM. Please send us your db and your query... We will test. I think we can "fix" problem just adding small analyze of result size and usage of RAM tables for small results. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Thu Aug 25 22:47:03 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Aug 25 15:47:43 2005 Subject: [V4MD] API update a single field of all records Message-ID: <000a01c5a9b6$262ef200$73241e97@vmtrm4p9ipbkv2> Hi Ruslan, in API WAY, can I update only a single field (string type) of all records in a table? How? Thanks Paolo From sunshine at public.kherson.ua Fri Aug 26 02:17:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 25 18:18:00 2005 Subject: [V4MD] API update a single field of all records In-Reply-To: <000a01c5a9b6$262ef200$73241e97@vmtrm4p9ipbkv2> Message-ID: On 8/25/05 11:47 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > in API WAY, can I update only a single field (string type) of all records in a > table? How? Hi Paolo, In Vcursor exists UpdateAllRecords() method. I not remember if such method exists in Vtable.. It seems no. You really want update all records of table ? I think it is possible to have something as Vtable.UpdateAllRecords( Vset ) .. But problem is how specify which field and which value... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ohmitou at wanadoo.fr Fri Aug 26 06:20:21 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Thu Aug 25 21:20:29 2005 Subject: SQL request and speed ? II In-Reply-To: References: Message-ID: <0AE62544-4183-4CA0-8FAA-118CB1040CD7@wanadoo.fr> Le 25 ao?t 05 ? 23:02, Ruslan Zasukhin a ?crit : > On 8/25/05 8:20 PM, "Thierry Nauze" wrote: > > >> Hello, >> >> I have two versions of my program : the first with a database >> Valentina 2 and the other one with a database RealSQL. >> The base contain the same data. The SQL requests are the same and >> their treatment also. >> >> Only to fill a cursor (with 1 element taken in a table of 2000 >> records), with this request: >> >> " SELECT * FROM noms WHERE id>0 AND nom NOT IN (SELECT DISTINCT nom >> FROM individus) " _ >> +"AND nom NOT IN(SELECT DISTINCT nom FROM alias) ORDER BY nom " >> >> Valentina 2.05fc12: 9 seconds >> RealSQL: 0.13 seconds ! >> >> It is an example among the others ! >> > > Well, SqlLite all resolve in RAM. So it can be fast until your > result fit > RAM. > > Please send us your db and your query... > We will test. > > I think we can "fix" problem just adding small analyze of result > size and > usage of RAM tables for small results. Hi Ruslan, When I shall have finished the adaptation of my program, I shall write a project with the requests which put most problem and I shall send it to you. Regards, -- Thierry NAUZE Saint-Denis de la R?union From jules.jacquot at wanadoo.fr Fri Aug 26 08:43:54 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Aug 26 01:42:25 2005 Subject: sum() In-Reply-To: References: Message-ID: <4542CAFB-DC97-4D9B-81C1-18A47061F2E9@wanadoo.fr> Le 25 ao?t 05 ? 17:57, Ruslan Zasukhin a ?crit : > On 8/25/05 6:32 PM, "Jules Jacquot" wrote: > > > >> hi, ruslan >> >> V4RB 2.0.5fc11 >> >> this request doesn't work >> >> dc=dab.SQLSelect("select sum(Valdads12) from Dads where >> Nomprenom='"+nomsal+"'") >> >> the command sum() breaks my app >> >> > > > >> while it's was working fine with v4RB 2.0.4 >> >> > > I think this is fixed in fc12 > Try it > that's right jules > > > -- Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From fb at memedia.de Fri Aug 26 08:45:49 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Aug 26 01:46:10 2005 Subject: [V4MD] API update a single field of all records In-Reply-To: Message-ID: <0ML21M-1E8XyR3OFE-0002US@mrelayeu.kundenserver.de> > > Hi Paolo, > > In Vcursor exists UpdateAllRecords() method. > > I not remember if such method exists in Vtable.. > It seems no. > > You really want update all records of table ? > > I think it is possible to have something as > > Vtable.UpdateAllRecords( Vset ) .. > > But problem is how specify which field and which value... > Why not do a "SELECT * FROM TABLE", update all records of cursor with UpdateAllRecords() and then destroy the cursor? Best regards, Florian From sunshine at public.kherson.ua Fri Aug 26 10:34:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 26 02:34:16 2005 Subject: [V4MD] API update a single field of all records In-Reply-To: <0ML21M-1E8XyR3OFE-0002US@mrelayeu.kundenserver.de> Message-ID: On 8/26/05 9:45 AM, "Florian Bogeschdorfer" wrote: >> Hi Paolo, >> >> In Vcursor exists UpdateAllRecords() method. >> >> I not remember if such method exists in Vtable.. >> It seems no. >> >> You really want update all records of table ? >> >> I think it is possible to have something as >> >> Vtable.UpdateAllRecords( Vset ) .. >> >> But problem is how specify which field and which value... >> > > Why not do a "SELECT * FROM TABLE", update all records of cursor with > UpdateAllRecords() and then destroy the cursor? :-) Actually even simpler: UPDATE ... WHERE ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Fri Aug 26 15:53:45 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Aug 26 08:53:56 2005 Subject: weird sql result with date Message-ID: <0MKxQS-1E8eeU2hgo-0005Gs@mrelayeu.kundenserver.de> V4MD1.1 client Hi! I have this script: z=valselectreturncursor("SELECT Z_DAY_KD_ID,geburtsdatum FROM Z_DAY,KUNDENTable WHERE Z_DAY_KD_ID<>0 AND Z_DAY_KD_ID=KD_ID AND geburtsdatum<=26.08.1946 AND geburtsdatum>=27.08.1965") these are the results: put valgetcurrentrecord(z) -- [#Z_DAY_KD_ID: 4509, #geburtsdatum: "17.09.1983"] put valcursorreccount(z) -- 70904 Infact I would expect 0 results. Is my sql wrong? Tia, Florian From paolo.sala at ff3d.com Fri Aug 26 17:22:17 2005 From: paolo.sala at ff3d.com (Paolo Sala) Date: Fri Aug 26 10:21:33 2005 Subject: Question about unicode in Valentina 1 Message-ID: <003401c5aa51$f2546fe0$5100000a@PaoloPortatile> Hi, i'm doing a Software that import from ms-sql to valentina DB version 1 Some character are in Czech language, but, even if i set in my Valentina Table the field property "language" in "Czech", I cannot include any unicode character. I've tried to write directly some character in the field (with Valentina Studio 2), setting the keyboard in CS mode, but also in that case I cannot see the right character. I use .NET with valentina COM object in Debug mode i see the right character until i put it into a Valentina Field...after that, the valentina field store a wrong char... Any idea? What's my mistake? Thanks Paolo From wgregoire at paris.mediagerance.com Fri Aug 26 17:44:02 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Aug 26 10:42:12 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: <003401c5aa51$f2546fe0$5100000a@PaoloPortatile> Message-ID: <001d01c5aa54$fbf35450$1d0a11ac@wgregoire1> I only was able to do that by switching my entire system to Czech (not only the keyboard) -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Paolo Sala Envoy? : vendredi 26 ao?t 2005 17:22 ? : Valentina Developers Objet : Question about unicode in Valentina 1 Hi, i'm doing a Software that import from ms-sql to valentina DB version 1 Some character are in Czech language, but, even if i set in my Valentina Table the field property "language" in "Czech", I cannot include any unicode character. I've tried to write directly some character in the field (with Valentina Studio 2), setting the keyboard in CS mode, but also in that case I cannot see the right character. I use .NET with valentina COM object in Debug mode i see the right character until i put it into a Valentina Field...after that, the valentina field store a wrong char... Any idea? What's my mistake? Thanks Paolo _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From BillMounce at Comcast.net Fri Aug 26 08:42:19 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Fri Aug 26 10:42:26 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: <003401c5aa51$f2546fe0$5100000a@PaoloPortatile> References: <003401c5aa51$f2546fe0$5100000a@PaoloPortatile> Message-ID: <32436FB7-31A2-44A2-A30F-9583A9807406@Comcast.net> I have had this issue for several years with a Greek font. The only solution I found was to upgrade to Valentina 2. Setting the language to Greek in my case never fixed the problem. Bill On Aug 26, 2005, at 8:22 AM, Paolo Sala wrote: > Hi, i'm doing a Software that import from ms-sql to valentina DB > version 1 > Some character are in Czech language, but, even if i set in my > Valentina Table the field property "language" in "Czech", I cannot > include any unicode character. > I've tried to write directly some character in the field (with > Valentina Studio 2), setting the keyboard in CS mode, but also in > that case I cannot see the right character. > > I use .NET with valentina COM object > in Debug mode i see the right character until i put it into a > Valentina Field...after that, the valentina field store a wrong > char... > > > > Any idea? What's my mistake? > Thanks > Paolo > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From paolo.sala at ff3d.com Fri Aug 26 17:50:53 2005 From: paolo.sala at ff3d.com (Paolo Sala) Date: Fri Aug 26 10:50:06 2005 Subject: Question about unicode in Valentina 1 References: <003401c5aa51$f2546fe0$5100000a@PaoloPortatile> <32436FB7-31A2-44A2-A30F-9583A9807406@Comcast.net> Message-ID: <005b01c5aa55$f0be69c0$5100000a@PaoloPortatile> Yes, I know Valentina 2 works fine, but i cannot use VALENTINA COM object (i've the version 1, and i see the version 2 now is not released...) in my .NET project... I've try to write in Valentina DB Ver2 with my VALENTINA COM Ver 1.0, but...(obviously!) ----- Original Message ----- From: "Bill Mounce" To: "Valentina Developers" Sent: Friday, August 26, 2005 5:42 PM Subject: Re: Question about unicode in Valentina 1 >I have had this issue for several years with a Greek font. The only >solution I found was to upgrade to Valentina 2. Setting the language to >Greek in my case never fixed the problem. > > Bill > > > > > On Aug 26, 2005, at 8:22 AM, Paolo Sala wrote: > >> Hi, i'm doing a Software that import from ms-sql to valentina DB version >> 1 >> Some character are in Czech language, but, even if i set in my Valentina >> Table the field property "language" in "Czech", I cannot include any >> unicode character. >> I've tried to write directly some character in the field (with Valentina >> Studio 2), setting the keyboard in CS mode, but also in that case I >> cannot see the right character. >> >> I use .NET with valentina COM object >> in Debug mode i see the right character until i put it into a Valentina >> Field...after that, the valentina field store a wrong char... >> >> >> >> Any idea? What's my mistake? >> Thanks >> Paolo >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Aug 26 20:31:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 26 12:31:37 2005 Subject: weird sql result with date In-Reply-To: <0MKxQS-1E8eeU2hgo-0005Gs@mrelayeu.kundenserver.de> Message-ID: On 8/26/05 4:53 PM, "Florian Bogeschdorfer" wrote: > V4MD1.1 client > > Hi! I have this script: > > z=valselectreturncursor("SELECT Z_DAY_KD_ID,geburtsdatum FROM > Z_DAY,KUNDENTable WHERE Z_DAY_KD_ID<>0 AND Z_DAY_KD_ID=KD_ID AND > geburtsdatum<=26.08.1946 AND geburtsdatum>=27.08.1965") > > these are the results: > > put valgetcurrentrecord(z) > > -- [#Z_DAY_KD_ID: 4509, #geburtsdatum: "17.09.1983"] > > put valcursorreccount(z) > -- 70904 > > Infact I would expect 0 results. Is my sql wrong? SELECT Z_DAY_KD_ID,geburtsdatum FROM Z_DAY, KUNDENTable WHERE Z_DAY_KD_ID <> 0 AND Z_DAY_KD_ID = KD_ID AND geburtsdatum <= 26.08.1946 AND geburtsdatum >= 27.08.1965 * add () * make sure that fields of the same table are grouped together for 1.x this was important. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Fri Aug 26 15:59:24 2005 From: fitzbew at nc.rr.com (RB User) Date: Fri Aug 26 14:59:31 2005 Subject: V4RB - Aggregate Functions, Permissions Message-ID: Using Mac OX 10.3.9, Valentina 1.10, RealBasic 2005R2 **** Hi, One of my apps requires the user to download a small Valentina db file that is used by my app to populate some arrays and dictionaries. The app does not overtly write to the db file, but Valentina may be doing some indexing or such. Under Mac OS X, if a user downloads the db file via a browser and runs the app, all is well. No problems are encountered by my application. But if another user logs in on the same OS X machine under another User ID, Valentina fails when building a recordset that uses an aggregate function: "Select Min(Date_from_YYYY) from allmyrecords" No error is reported to Valentina( error strings and error code is not populated), the recordset is just Nil. Other read-only recordsets built without aggregate functions are created with no difficulty by any user on the same machine. Permissions-wise, the db file Owner is the user that downloaded and installed the app. Other users on the same machine have only Read access to the db file. The second user (permissions-wise) has only Read access to the DB, which should be fine, no writing is necessary. I found an entry in the Valentina discussions archive that says Valentina must build a file in the user's Temp directory when an aggregate function is used. I'm confused because the second user (the non-Owner) should have write access to their own Temp directory, yet Valentina still breaks. I have worked around the issue by just extracting a full recordset, sorting it, and then pulling off the first record. Is my interpretation of the problem correct? Any other workarounds? (Aside from the one I am using now.) Should I try to manipulate the file permissions within RB? (I cannot upgrade to Valentina 2.X, until encryption is in place.) Russ From sunshine at public.kherson.ua Sat Aug 27 00:22:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 26 16:22:18 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: <005b01c5aa55$f0be69c0$5100000a@PaoloPortatile> Message-ID: On 8/26/05 6:50 PM, "Paolo Sala" wrote: > Yes, I know Valentina 2 works fine, but i cannot use VALENTINA COM object > (i've the version 1, and i see the version 2 now is not released...) > in my .NET project... > I've try to write in Valentina DB Ver2 with my VALENTINA COM Ver 1.0, > but...(obviously!) Yes Paolo, unfortunately VNET is expected only in October. Can you describe your task? Why you port from MS to Valentina? > Gregory: > I only was able to do that by switching my entire system to Czech (not only > the keyboard) This can be solution for you. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Aug 27 00:45:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 26 16:46:02 2005 Subject: V4RB - Aggregate Functions, Permissions In-Reply-To: Message-ID: On 8/26/05 10:59 PM, "RB User" wrote: > Hi, > > One of my apps requires the user to download a small Valentina db file that > is used by my app to populate some arrays and dictionaries. The app does > not overtly write to the db file, but Valentina may be doing some indexing > or such. > > Under Mac OS X, if a user downloads the db file via a browser and runs the > app, all is well. No problems are encountered by my application. > > But if another user logs in on the same OS X machine under another User ID, > Valentina fails when building a recordset that uses an aggregate function: > > "Select Min(Date_from_YYYY) from allmyrecords" > > No error is reported to Valentina( error strings and error code is not > populated), the recordset is just Nil. > > Other read-only recordsets built without aggregate functions are created > with no difficulty by any user on the same machine. So other user, not only login into own account, but ALSO start to use your application ??? And he try access THE SAME db files on HDD? Hmm, actually this will not work I think... The aggregative queries make result tables in the TMP volume, which is located in the system TMP folder. It sounds like other user do not have permission to access that files.. > Permissions-wise, the db file Owner is the user that downloaded and > installed the app. Other users on the same machine have only Read access to > the db file. Ok, Read access...but when second user try READ is db already opened by another user ? > The second user (permissions-wise) has only Read access to the DB, which > should be fine, no writing is necessary. > I found an entry in the Valentina discussions archive that says Valentina > must build a file in the user's Temp directory when an aggregate function is > used. Right. This is when we talk about Valentina 2.0 Valentina 1.x have build results in the .ind file. IF db was marked as read-only, then no access to .ind file, So Valentina 1.x also did go to TMP folder. > I'm confused because the second user (the non-Owner) should have write > access to their own Temp directory, yet Valentina still breaks. But again main question: when second user try access is DB already opened ? if yes then I think this will not work. You can have access to the same db files (shared access) only if files itself are marked as READ ONLY. But you say you want that one user can do writes ? > I have worked around the issue by just extracting a full recordset, sorting > it, and then pulling off the first record. > > Is my interpretation of the problem correct? Any other workarounds? (Aside > from the one I am using now.) Should I try to manipulate the file > permissions within RB? > (I cannot upgrade to Valentina 2.X, until encryption is in place.) Aha, so you talk about 1.x Actually encryption already in place. Bob have test 2.05 b12 and say he have not found any problems in his applications using encryptions. Today was already 2.0.5 b13 build. MAY BE you need to use Vserver for your task? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Fri Aug 26 19:05:22 2005 From: fitzbew at nc.rr.com (RB User) Date: Fri Aug 26 18:05:28 2005 Subject: V4RB - Aggregate Functions, Permissions In-Reply-To: Message-ID: On 8/26/05 5:45 PM, "Ruslan Zasukhin" wrote: > Valentina 1.x have build results in the .ind file. > IF db was marked as read-only, then no access to .ind file, > So Valentina 1.x also did go to TMP folder. > > But again main question: > > when second user try access is DB already opened ? > if yes then I think this will not work. > No, only one user at a time accesses the file, using separate Mac OS X user ids on the same machine. For example, a parent might install my software, but their son or daughter may use it from another "managed" Mac OS X id. > You can have access to the same db files (shared access) only if files > itself are marked as READ ONLY. But you say you want that one user can do > writes ? > No, the app does not write to this file, regardless of the user. All the recordsets are read-only. > > Aha, so you talk about 1.x Yes. > MAY BE you need to use Vserver for your task? No, only one user needs access to this file at a time. The thing is, I think the second user (with only read permissions to the db file) is running the app, and Valentina is not properly handling the permissions issue. I mean, it is trying to write the "results table" to the db file and the user does not have write access to it, or it is trying to build the "results table" in an invalid temp folder. This is just an educated guess, based on the fact that the problem goes away if the user has write access to the db file. Should a "managed user" on OS X have write access to the system TMP folder, that Valentina uses for the "results table"? I don't mind leaving my workaround in place, it just makes me nervous that I do not know 100% sure what is causing the cursor to choke. I have verified the same problem on one other Mac OS X machine (i.e., a managed user cannot successfully run an aggregate query cursor on a db that they only have Read access to). Russ From rbarber at yhb.att.ne.jp Sat Aug 27 08:37:04 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri Aug 26 18:37:04 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: References: Message-ID: Hi Paolo What is your source file encoded as? Unicode or non-unicode. I use Japanese (and Greek using the Graeca font) with version 1. The Japanese kanji contain many high ascii characters. I have never tried to set the language to "Japanese", it never worked for me either. But I simply use text fields and ascii setting. This allows me to search and retrieve without a problem. I will move to version 2 in my next rewrite so that the source files can be in unicode. For now, the source file is not unicode and works fine using the above method. thanks Ron On Aug 27, 2005, at 6:22 AM, Ruslan Zasukhin wrote: > On 8/26/05 6:50 PM, "Paolo Sala" wrote: > >> Yes, I know Valentina 2 works fine, but i cannot use VALENTINA COM >> object >> (i've the version 1, and i see the version 2 now is not released...) >> in my .NET project... > >> I've try to write in Valentina DB Ver2 with my VALENTINA COM Ver 1.0, >> but...(obviously!) > > Yes Paolo, unfortunately VNET is expected only in October. > > Can you describe your task? Why you port from MS to Valentina? > >> Gregory: >> I only was able to do that by switching my entire system to Czech >> (not only >> the keyboard) > > This can be solution for you. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gogaworm at tut.by Sat Aug 27 11:48:20 2005 From: gogaworm at tut.by (Lilu) Date: Sat Aug 27 03:48:26 2005 Subject: Valentina and Java Message-ID: Hello! I want to try Valentina in my Java program. But I failed to find any JDBC driver for Valentina. I tried to download Valentina Java SDK from www.paradigmasoft.com, but it seems that the link for Win32 is broken. Can you help me, please. Sincerely, Ilona Karpova. From sunshine at public.kherson.ua Sat Aug 27 12:56:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 27 04:56:17 2005 Subject: Valentina and Java In-Reply-To: Message-ID: On 8/27/05 11:48 AM, "Lilu" wrote: Hi Illona, > Hello! > I want to try Valentina in my Java program. But I failed to find any > JDBC driver for Valentina. Sorry, we have no yet JDBC driver for Valentina > I tried to download Valentina Java SDK from > www.paradigmasoft.com, but it seems that the link for Win32 is broken. I will check link, but that link to Valentina 1.11 Java SDK. We have now Valentina 2.0 engine. > Can you help me, please. > Sincerely, Ilona Karpova. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 27 13:05:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 27 05:05:12 2005 Subject: Valentina and Java In-Reply-To: Message-ID: On 8/27/05 11:48 AM, "Lilu" wrote: > Hello! > I want to try Valentina in my Java program. But I failed to find any > JDBC driver for Valentina. I tried to download Valentina Java SDK from > www.paradigmasoft.com, but it seems that the link for Win32 is broken. Link is fixed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun Aug 28 16:18:55 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun Aug 28 09:19:05 2005 Subject: [V4RB] live log? Message-ID: Hi Ruslan, is there a simple way to view the valentina log in a kind of "live mode", as with the messagewindow in director? peter From sunshine at public.kherson.ua Sun Aug 28 19:00:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 28 11:00:50 2005 Subject: [V4RB] live log? In-Reply-To: Message-ID: On 8/28/05 5:18 PM, "Peter Salomon" wrote: > Hi Ruslan, > > is there a simple way to view the valentina log in a kind of "live > mode", as with the messagewindow in director? No Peter, In director this is possible because we in fact can log in 2 targets file and msg window Well, in V4RB we can also do output into system console 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 cbpelto at pcisys.net Sun Aug 28 11:03:38 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun Aug 28 12:03:45 2005 Subject: Tutorial Suggestions & Requests Message-ID: Greetings, A couple of simple suggestions to improve the tutorial for V4RB2. [1] Please change the text in the first part from V4MB to read V4RB it's rather disconcerting. [2] Whenever you call for creating a PROPERTY, it would be nice to specify what type of property, as in, mClient as boolean. You do that in the second part for that property, but you don't specify the character of the properties throughout the tutorial, e.g., gClient. gClient as what? [3] In the first part of the tutorial you call for a method to be established titled "CreateStructure". In the second part you tell the reader to go to the method titled OpenOrCreateStructure, which has not been made. A request: Is there a tutorial for building a database in RB using the binary links feature? I see an example, but I think a tutorial would be very useful, as this is something totally new, and rather, in my opinion, exciting. Regards, Chuck Pelto From sunshine at public.kherson.ua Sun Aug 28 21:35:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 28 13:36:02 2005 Subject: Tutorial Suggestions & Requests In-Reply-To: Message-ID: On 8/28/05 8:03 PM, "Chuck Pelto" wrote: Hi Chuck, > Greetings, > > A couple of simple suggestions to improve the tutorial for V4RB2. > > [1] Please change the text in the first part from V4MB to read V4RB > it's rather disconcerting. > > [2] Whenever you call for creating a PROPERTY, it would be nice to > specify what type of property, as in, mClient as boolean. You do that > in the second part for that property, but you don't specify the > character of the properties throughout the tutorial, e.g., gClient. > gClient as what? > > [3] In the first part of the tutorial you call for a method to be > established titled "CreateStructure". In the second part you tell the > reader to go to the method titled OpenOrCreateStructure, which has > not been made. Ok! > A request: > > Is there a tutorial for building a database in RB using the binary > links feature? I see an example, but I think a tutorial would be very > useful, as this is something totally new, and rather, in my opinion, > exciting. Agree. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 29 00:12:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 28 16:13:01 2005 Subject: SOLVED: V4MD problems - Serendipity and Windows-quirkiness. In-Reply-To: <1086859944-52328763@lindbergh.macserve.net> Message-ID: On 8/28/05 11:50 PM, "marco.rossi@icacommunication.com" wrote: Dear Marco, I am very glad to gear that Valentina now works perfect in your project. I hope soon we will see release of your product! :-) > Dear Ruslan, > I sincerely apologize for the delay of my answer, but I have good news for > you (and also for us). > > Immediately before to close our activities for the holiday period (3 weeks), > I installed your applications on a new (and clean) windows-based PC and all > the described problema disappeared (our office is near to the Holy See..- > Vatican). At this point, I tried to re-install your application on one of > the others of our working-PCs..., but the problems remained absolutely the > same. > I made a last tentative: I firstly removed your old applications and also > Director MX2004 (cleaning also ?by hand? all what it was possibile), then I > installed the last version of your applications and finally the bugs were > not more present. > > A possible explanation could be rationalized taking into account that the > installation procedure (in our cases) works in localized version of Windows > XP, and this circumstance, when previous versions are installed, could be > the ?source? of problem. > > At this moment I have not more problem with your applications. Many > compliments for the improvements in comparison with the old versions. > > Best regards > > Marco > > PS I repeated the previous steps on 3 different PCs without any difference > with what above reported. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From paolo.sala at ff3d.com Mon Aug 29 09:20:40 2005 From: paolo.sala at ff3d.com (Paolo Sala) Date: Mon Aug 29 02:19:53 2005 Subject: Question about unicode in Valentina 1 References: Message-ID: <001a01c5ac6a$29759610$5100000a@PaoloPortatile> I've realized a CD with Director MX that read a valentina DV ver. 1. All the description in CD and Data are in Italian The data are in MS-SQL on one of my customer Servers and with a software in VB 6 I export data from SQL to Valentina Now my customer need the same CD in Hungarian, so i re-write my software to export data in VB.NET, that are able to use unicode string, but i cannot import in Valentina 2, and with valentina 1 the unicode string are lose. How i can export from SQL in Valentina 2? Maybe i can use real basic, but i don't have the software and i have to learn it in few days... Let me know Thanks! Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, August 26, 2005 11:22 PM Subject: Re: Question about unicode in Valentina 1 > On 8/26/05 6:50 PM, "Paolo Sala" wrote: > >> Yes, I know Valentina 2 works fine, but i cannot use VALENTINA COM object >> (i've the version 1, and i see the version 2 now is not released...) >> in my .NET project... > >> I've try to write in Valentina DB Ver2 with my VALENTINA COM Ver 1.0, >> but...(obviously!) > > Yes Paolo, unfortunately VNET is expected only in October. > > Can you describe your task? Why you port from MS to Valentina? > >> Gregory: >> I only was able to do that by switching my entire system to Czech (not >> only >> the keyboard) > > This can be solution for you. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From paolo.sala at ff3d.com Mon Aug 29 09:53:49 2005 From: paolo.sala at ff3d.com (Paolo Sala) Date: Mon Aug 29 02:52:58 2005 Subject: Question about unicode in Valentina 1 References: Message-ID: <000401c5ac6e$cadbf540$5100000a@PaoloPortatile> My source is a MS_SQL database, with some character like "N" ... so, i think my source is in unicode...(is it right?) i use VB.NET to read data from SQL and put in Valentina DB to prepare a DB for a CD (written with macromedia director MX) I try to set all the system in Czech language, but nothing is changed... all the character like "N" are lose...Valentina doesn't want to store this char... How you put japanese character in Valentina? let me know, so i'll try it! Thanks in advance Paolo ----- Original Message ----- From: "ron barber" To: "Valentina Developers" Sent: Saturday, August 27, 2005 1:37 AM Subject: Re: Question about unicode in Valentina 1 > Hi Paolo > > What is your source file encoded as? Unicode or non-unicode. > > I use Japanese (and Greek using the Graeca font) with version 1. The > Japanese kanji contain many high ascii characters. I have never tried to > set the language to "Japanese", it never worked for me either. But I > simply use text fields and ascii setting. This allows me to search and > retrieve without a problem. I will move to version 2 in my next rewrite so > that the source files can be in unicode. For now, the source file is not > unicode and works fine using the above method. > > thanks > Ron > > > On Aug 27, 2005, at 6:22 AM, Ruslan Zasukhin wrote: > >> On 8/26/05 6:50 PM, "Paolo Sala" wrote: >> >>> Yes, I know Valentina 2 works fine, but i cannot use VALENTINA COM >>> object >>> (i've the version 1, and i see the version 2 now is not released...) >>> in my .NET project... >> >>> I've try to write in Valentina DB Ver2 with my VALENTINA COM Ver 1.0, >>> but...(obviously!) >> >> Yes Paolo, unfortunately VNET is expected only in October. >> >> Can you describe your task? Why you port from MS to Valentina? >> >>> Gregory: >>> I only was able to do that by switching my entire system to Czech (not >>> only >>> the keyboard) >> >> This can be solution for you. >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Aug 29 12:50:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 04:50:30 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: <001a01c5ac6a$29759610$5100000a@PaoloPortatile> Message-ID: On 8/29/05 10:20 AM, "Paolo Sala" wrote: Hi Paolo, > I've realized a CD with Director MX that read a valentina DV ver. 1. > All the description in CD and Data are in Italian > > The data are in MS-SQL on one of my customer Servers and with a software in > VB 6 I export data from SQL to Valentina > > Now my customer need the same CD in Hungarian, so i re-write my software to > export data in VB.NET, that are able to use unicode string, but i cannot > import in Valentina 2, and with valentina 1 the unicode string are lose. > How i can export from SQL in Valentina 2? The same way. You produce text file in UTF16 encoding. And v2 I able import this using Vcursor.ImportText() > Maybe i can use real basic, but i don't have the software and i have to > learn it in few days... Director and V4MD can do this. We have example which you can use . > Let me know > Thanks! > Paolo -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 29 12:55:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 04:55:15 2005 Subject: Question about unicode in Valentina 1 In-Reply-To: <000401c5ac6e$cadbf540$5100000a@PaoloPortatile> Message-ID: On 8/29/05 10:53 AM, "Paolo Sala" wrote: > My source is a MS_SQL database, with some character like "N" ... > so, i think my source is in unicode...(is it right?) I see just english N. I think MS yes is unicode > i use VB.NET to read data from SQL and put in Valentina DB to prepare a DB > for a CD (written with macromedia director MX) > I try to set all the system in Czech language, but nothing is changed... > all the character like "N" are lose...Valentina doesn't want to store this > char... > How you put japanese character in Valentina? let me know, so i'll try it! > Thanks in advance You need to use Valentina 2, Paolo. Everything must work in simple way 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 andrew at learningware.com Mon Aug 29 09:33:06 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 09:33:11 2005 Subject: REINDEX Message-ID: <43131CA2.8040301@learningware.com> How often should I be calling REINDEX DATABASE or REINDEX TABLE? What exactly does this do? I've been having some db corruption problems, which I have finally traced to a "DELETE" query. There's no precise pattern to this corruption, but once I can identify a set of steps that result in the corruption, I can reproduce the corruption every time. Anyway, I have added a "REINDEX TABLE tblName" statement after the ofending DELETE query, and this has solved the problem. This makes me think that I should be calling REINDEX after all of my DELETE queries, and probably after any UPDATE queries, too. What do you recommend? From sunshine at public.kherson.ua Mon Aug 29 17:51:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 09:51:54 2005 Subject: REINDEX In-Reply-To: <43131CA2.8040301@learningware.com> Message-ID: On 8/29/05 5:33 PM, "Andrew Sinning" wrote: Hi Andrew, > How often should I be calling REINDEX DATABASE or REINDEX TABLE? What > exactly does this do? It just trash existing index and build new one. In ideal you should never do this. You need od this if e.g. You see wrong results of search, Or e.g diagnose in Valentina 2 with VeryHigh option, show problems. > I've been having some db corruption problems, which I have finally > traced to a "DELETE" query. There's no precise pattern to this > corruption, but once I can identify a set of steps that result in the > corruption, I can reproduce the corruption every time. > > Anyway, I have added a "REINDEX TABLE tblName" statement after the > ofending DELETE query, and this has solved the problem. This makes me > think that I should be calling REINDEX after all of my DELETE queries, > and probably after any UPDATE queries, too. What do you recommend? You use v1 or v2 ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lilu at mamt.open.by Mon Aug 29 17:26:21 2005 From: lilu at mamt.open.by (lilu) Date: Mon Aug 29 09:54:57 2005 Subject: An error in getFieldCount? Message-ID: <1027050718.20050829172621@mamt.open.by> Hello! There's something strange with VBaseObject.getFieldCount method. When I add a table with dymanic structure: VBaseObject _table = _db.makeNewBaseObject("TEST_TABLE"); _table.makeNewField("TEST_1", VJDK.TypeByte); int _count = _table.getFieldCount(); Count here equals 1. But when I inherit VBaseObject and following the example in the VJDK_Reference_1_en.pdf: public class TestTable extends VBaseObject{ VByte test_1; public TestTable () throws VException{ super("TEST_TABLE"); test_1 = new VByte("TEST_1"); } }; the count equals 0. Is it normal? Sincerely, Ilona Karpova. From sunshine at public.kherson.ua Mon Aug 29 18:43:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 10:43:30 2005 Subject: An error in getFieldCount? In-Reply-To: <1027050718.20050829172621@mamt.open.by> Message-ID: On 8/29/05 5:26 PM, "lilu" wrote: Hi Illona, > Hello! > There's something strange with VBaseObject.getFieldCount method. When > I add a table with dymanic structure: > > VBaseObject _table = _db.makeNewBaseObject("TEST_TABLE"); > _table.makeNewField("TEST_1", VJDK.TypeByte); > int _count = _table.getFieldCount(); > Count here equals 1. Must be zero I think. > But when I inherit VBaseObject and following the example in the > VJDK_Reference_1_en.pdf: > public class TestTable extends VBaseObject{ > VByte test_1; > public TestTable () throws VException{ > super("TEST_TABLE"); > test_1 = new VByte("TEST_1"); > } > }; > > the count equals 0. > Is it normal? Looks strange. Note, each Valentina table always have "RecID" field. May be that 1 -- is some glitch with this field. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Mon Aug 29 11:11:43 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 11:11:48 2005 Subject: REINDEX In-Reply-To: References: Message-ID: <431333BF.4020404@learningware.com> Ruslan Zasukhin wrote: >>How often should I be calling REINDEX DATABASE or REINDEX TABLE? What >>exactly does this do? >> >> > >It just trash existing index and build new one. > >In ideal you should never do this. >You need od this if e.g. You see wrong results of search, >Or e.g diagnose in Valentina 2 with VeryHigh option, show problems. > > Okay, I will look into building this into my error checking in instances where a query returns 0 results. > > > >>I've been having some db corruption problems, which I have finally >>traced to a "DELETE" query. There's no precise pattern to this >>corruption, but once I can identify a set of steps that result in the >>corruption, I can reproduce the corruption every time. >> >>Anyway, I have added a "REINDEX TABLE tblName" statement after the >>ofending DELETE query, and this has solved the problem. This makes me >>think that I should be calling REINDEX after all of my DELETE queries, >>and probably after any UPDATE queries, too. What do you recommend? >> >> > >You use v1 or v2 ? > > v1.11 V4MD From andrew at learningware.com Mon Aug 29 11:17:32 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 11:17:38 2005 Subject: REINDEX In-Reply-To: References: Message-ID: <4313351C.8050605@learningware.com> Ruslan Zasukhin wrote: > In ideal you should never do this. > >You need od this if e.g. You see wrong results of search, > > Yeah, but how do I know the results are wrong? Basically what this means is that anytime a query yeilds 0 results, I'm going to need to REINDEX. >Or e.g diagnose in Valentina 2 with VeryHigh option, show problems. > So, then how often should I do a diagnose? From fb at memedia.de Mon Aug 29 18:30:49 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Aug 29 11:31:07 2005 Subject: REINDEX In-Reply-To: <4313351C.8050605@learningware.com> Message-ID: <0ML21M-1E9mXE2Dww-0003Va@mrelayeu.kundenserver.de> > > > So, then how often should I do a diagnose? Hi Andrew! I have never ran into this problem while I do delete a lot, really! Some questions: Server or local? Xtra build? Server build? If server: which side is the cursor? How often do you call flush? After every delete? Best regards, FLorian From andrew at learningware.com Mon Aug 29 11:51:14 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 11:51:22 2005 Subject: REINDEX In-Reply-To: <0ML21M-1E9mXE2Dww-0003Va@mrelayeu.kundenserver.de> References: <0ML21M-1E9mXE2Dww-0003Va@mrelayeu.kundenserver.de> Message-ID: <43133D02.7020007@learningware.com> Thanks for your reply Florian! Florian Bogeschdorfer wrote: >>So, then how often should I do a diagnose? >> >> > >Hi Andrew! > >I have never ran into this problem while I do delete a lot, really! Some >questions: > >Server or local? >Xtra build? >Server build? > >If server: which side is the cursor? > >How often do you call flush? After every delete? > >Best regards, FLorian > > Local only. xtra version 1.11. In my most recent test, I did a Flush() after every delete, just to rule that out. It didn't help. The only thing that solved the problem was to do a REINDEX after every delete. Of course that many REINDEXes is not a good idea, so I am now modifying my code to REINDEX only after a SELECT results in 0 cursor records. I'm also building in some controls to prevent excessive REINDEXes. It's very likely that the reason this is happening is that there is someother corruption in the database, a corruption that has resulted from bad programming or insufficient error checking in the processes that lead up to the configuration where I can reproduce the bug. If Flush() the most important tool for preventing database corruption? How often should I Flush()? After every insert or ALTER or DELETE? Should I build into my main db parent object a process that keeps track of the number of changes and then run Flush() after a certain number of changes? How do you handle this, Florian? Thanks. From sunshine at public.kherson.ua Mon Aug 29 19:59:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 11:59:45 2005 Subject: REINDEX In-Reply-To: <43133D02.7020007@learningware.com> Message-ID: On 8/29/05 7:51 PM, "Andrew Sinning" wrote: > In my most recent test, I did a Flush() after every delete, just to rule > that out. It didn't help. > > The only thing that solved the problem was to do a REINDEX after every > delete. > > Of course that many REINDEXes is not a good idea, so I am now modifying > my code to REINDEX only after a SELECT results in 0 cursor records. I'm > also building in some controls to prevent excessive REINDEXes. Andrew, have you try XML rebuild of your db ? It sounds very strange that you get so often problem. Ah, you have told you cannot do that.. If you do not use ObjectPtr you can do EXPORT/IMPORT table(s) into text files. > It's very likely that the reason this is happening is that there is > someother corruption in the database, a corruption that has resulted > from bad programming or insufficient error checking in the processes > that lead up to the configuration where I can reproduce the bug. I also think that bug is NOT in code of Valentina 1.11 Too long it is tested and too many developers have use it. > If Flush() the most important tool for preventing database corruption? > How often should I Flush()? After every insert or ALTER or DELETE? > Should I build into my main db parent object a process that keeps track > of the number of changes and then run Flush() after a certain number of > changes? > > How do you handle this, Florian? -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Aug 29 11:04:34 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Aug 29 12:04:41 2005 Subject: Tutorial Suggestions & Requests In-Reply-To: References: Message-ID: On Aug 28, 2005, at 12:35 PM, Ruslan Zasukhin wrote: >> A request: >> >> Is there a tutorial for building a database in RB using the binary >> links feature? I see an example, but I think a tutorial would be very >> useful, as this is something totally new, and rather, in my opinion, >> exciting. >> > > Agree. I've finished the tutorial and was looking over the example RB project for binary links. It's not as helpful as I could wish. When can we expect a tutorial on you innovative binary link technology? Hopefully with examples of establishing and working with 1:1, 1:M and M:M forms? Regards, Chuck From andrew at learningware.com Mon Aug 29 13:11:18 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 13:11:26 2005 Subject: REINDEX In-Reply-To: References: Message-ID: <43134FC6.2020802@learningware.com> Ruslan Zasukhin wrote: >I also think that bug is NOT in code of Valentina 1.11 >Too long it is tested and too many developers have use it. > > Okay then Ruslan, I'm going to need your help figuring this out. Let's think this through: V4MD is the interface for creating, modifying and reading data to Valentina 1.11. If the bug is my code, then I must be mis-using V4MD. I have asked you what might cause a DELETE to break the index, and the only thing you have offered is "How often do you Flush()?" I have tried running Flush() after every DELETE and UPDATE, and I still find the index is broken. Can you offer any other suggesting regarding what might cause the index to become broken? >>If Flush() the most important tool for preventing database corruption? >>How often should I Flush()? After every insert or ALTER or DELETE? >>Should I build into my main db parent object a process that keeps track >>of the number of changes and then run Flush() after a certain number of >>changes? >> >>How do you handle this, Florian? >> >> Y From sunshine at public.kherson.ua Mon Aug 29 21:39:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 13:39:47 2005 Subject: Tutorial Suggestions & Requests In-Reply-To: Message-ID: On 8/29/05 8:04 PM, "Chuck Pelto" wrote: >>> A request: >>> >>> Is there a tutorial for building a database in RB using the binary >>> links feature? I see an example, but I think a tutorial would be very >>> useful, as this is something totally new, and rather, in my opinion, >>> exciting. >>> >> >> Agree. > > I've finished the tutorial and was looking over the example RB > project for binary links. It's not as helpful as I could wish. > When can we expect a tutorial on you innovative binary link > technology? Hopefully with examples of establishing and working with > 1:1, 1:M and M:M forms? Well, our doc-writer will return from vacation at 1 Sept. But wonder, what exactly problems you have in understanding of this? Can you give list what you want see? Why example is not good for you ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Aug 29 21:41:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 13:42:02 2005 Subject: REINDEX In-Reply-To: <43134FC6.2020802@learningware.com> Message-ID: On 8/29/05 9:11 PM, "Andrew Sinning" wrote: > Ruslan Zasukhin wrote: > >> I also think that bug is NOT in code of Valentina 1.11 >> Too long it is tested and too many developers have use it. >> >> > Okay then Ruslan, I'm going to need your help figuring this out. > > Let's think this through: V4MD is the interface for creating, modifying > and reading data to Valentina 1.11. If the bug is my code, then I must > be mis-using V4MD. I mean that most probably you have some corruption in db. > I have asked you what might cause a DELETE to break > the index, and the only thing you have offered is "How often do you > Flush()?" I have tried running Flush() after every DELETE and UPDATE, > and I still find the index is broken. This must NEVER break index. You see. Just NEVER. > Can you offer any other suggesting regarding what might cause the index > to become broken? "legal way" is only crash of app for example. But this is not what you have. Is your db very big ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Aug 29 12:53:37 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Aug 29 13:53:44 2005 Subject: Tutorial Suggestions & Requests In-Reply-To: References: Message-ID: On Aug 29, 2005, at 12:39 PM, Ruslan Zasukhin wrote: >> When can we expect a tutorial on you innovative binary link >> technology? Hopefully with examples of establishing and working with >> 1:1, 1:M and M:M forms? >> > > Well, our doc-writer will return from vacation at 1 Sept. > > But wonder, what exactly problems you have in understanding of this? > Can you give list what you want see? > Why example is not good for you ? I'll have that for you sometime during the course of this week. In the meantime, would you be willing to send me your Language Reference file in InDesign format? I'd like to take a crack at getting those Bookmarks to show up. However, I've got InDesign, v2.0.2. I'm hopeful that you have not advanced to CS, yet. I'm holding off for a while. Regards, Chuck Pelto From andrew at learningware.com Mon Aug 29 15:25:55 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 15:26:00 2005 Subject: REINDEX In-Reply-To: References: Message-ID: <43136F53.2040209@learningware.com> I wonder if my problem is related to deletion control. Can you please confirm for me the correct use of the following: CREATE TABLE answers ( qRecId ObjectPtr REFERENCES questions ON DELETE CASCADE NOT NULL INDEXED ... This means that when I delete record in the table "questions" having "recId" = 10, then all the records in table "answers" having "qRecId" = 10 will also be deleted. Correct? The "CASCADE" part means that the DELETE command will cascade down to any object that point to these records in table "answers". Correct? Is it permissible to change the type of an ObjectPtr field to an ordinary ULong? If I do a ChangeFieldType(val, fieldRef, #kTypeULong), is this going to break the database? From sunshine at public.kherson.ua Mon Aug 29 23:46:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 29 15:46:08 2005 Subject: REINDEX In-Reply-To: <43136F53.2040209@learningware.com> Message-ID: On 8/29/05 11:25 PM, "Andrew Sinning" wrote: > I wonder if my problem is related to deletion control. Can you please > confirm for me the correct use of the following: > > CREATE TABLE answers ( > qRecId ObjectPtr REFERENCES questions ON DELETE CASCADE NOT NULL INDEXED > ... Correct. > This means that when I delete record in the table "questions" having > "recId" = 10, then all the records in table "answers" having "qRecId" = > 10 will also be deleted. Correct? yes > The "CASCADE" part means that the DELETE command will cascade down to > any object that point to these records in table "answers". Correct? No. Assume you have another table TTT, which has ObjectPtr "AnswerPtr" that point to Table answers. Child records in table TTT will be deleted only if you specify for AnswerPtr fields the CASCADE also. Then you will get cascade behavior. You delete one record in top table, and this cause deletion of related records on 2 levels. > Is it permissible to change the type of an ObjectPtr field to an > ordinary ULong? Sense? For ULONG filed you can store RecID values in the same way. But you loose advantage of automatic updates ON DELETE. > If I do a ChangeFieldType(val, fieldRef, #kTypeULong), > is this going to break the database? No. this must work and preserve exists ULONG values. Just what sense ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Mon Aug 29 15:52:06 2005 From: andrew at learningware.com (Andrew Sinning) Date: Mon Aug 29 15:52:10 2005 Subject: REINDEX In-Reply-To: References: Message-ID: <43137576.2020006@learningware.com> Ruslan Zasukhin wrote: > >>If I do a ChangeFieldType(val, fieldRef, #kTypeULong), >>is this going to break the database? >> >> > >No. this must work and preserve exists ULONG values. > >Just what sense ? > > > I wanted to do a test to see if the bug that I am experiencing when I Delete a records is related to the deletion control. I tested and it doesn't seem to be related. From trash at technart.net Tue Aug 30 07:36:29 2005 From: trash at technart.net (jacques perconte) Date: Tue Aug 30 00:36:27 2005 Subject: cursors Message-ID: <20050830053620.E5AC126AF9@pm-mx6.mx.noos.fr> Hello all, I?m new in here, in the director xtra... I?m working with valentina for two weeks only, and I have some problems with cursors, maybe technical ones or conceptual ones Global curs, ccurs on Qall bank query = "SELECT * from " & bank queen query, bank end on queen query, bank kServer = 2 kReadWrite = 3 curs = 0 curs = new(xtra "VCursor", GetRef(gMb), query, kServer, kReadWrite) ccurs = GetRecordCount(curs) end if I use it once, everything is ok, but as soon I try to use it another time I get error messages. error 363 error 5 Maybe I do not have to declare more that one "new" Vcursor... I do not find how to renew/change the sql query in the cursor. If you could help me please, it's quiet urgent It's always ;) thanks ? jacques from Paris From sunshine at public.kherson.ua Tue Aug 30 10:26:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 02:27:04 2005 Subject: cursors In-Reply-To: <20050830053620.E5AC126AF9@pm-mx6.mx.noos.fr> Message-ID: On 8/30/05 8:36 AM, "jacques perconte" wrote: > Hello all, > > I?m new in here, in the director xtra... > > I?m working with valentina for two weeks only, and I have some problems with > cursors, maybe technical ones or conceptual ones? > > Global curs, ccurs > > on Qall bank > query = "SELECT * from " & bank > queen query, bank > end > > on queen query, bank > kServer = 2 > kReadWrite = 3 > > curs = 0 > curs = new(xtra "VCursor", GetRef(gMb), query, kServer, kReadWrite) > ccurs = GetRecordCount(curs) > end > > if I use it once, everything is ok, but as soon I try to use it another time > I get error messages. > > error 363 > error 5 363 - this is record lock error. This means that first cursor have lock records as ReadWrite, And second cursor try to access them If you do not care about locks, you can use kNoLocks > Maybe I do not have to declare more that one "new" Vcursor... > I do not find how to renew/change the sql query in the cursor. > If you could help me please, it's quiet urgent It's always ;) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Tue Aug 30 09:34:49 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 30 02:35:05 2005 Subject: cursors In-Reply-To: <20050830053620.E5AC126AF9@pm-mx6.mx.noos.fr> Message-ID: <0ML2ov-1EA0e53w7S-0000mB@mrelayeu.kundenserver.de> > > > on queen query, bank > > kServer = 2 > > kReadWrite = 3 > > curs = 0 > > curs = new(xtra "VCursor", GetRef(gMb), query, kServer, kReadWrite) > > ccurs = GetRecordCount(curs) > > end > > > > if I use it once, everything is ok, but as soon I try to use it another > time > I get error messages. > > > > error 363 > > error 5 > Well, error 363 is not documented, but at least you are missing the 3rd flag in your cursor (I forgot what it means). You need a new cursor for query changes everytime. I use these handlers: on VALselectReturnCursor condition, cs, rw, fd --evtl alten Cursor l?schen if voidP(cs) then cs=2 if voidP(rw) then rw=1 if voidP(fd) then fd=2 --suchen c= new(xtra "vCursor", GetRef(VAL_ID), condition,cs,rw,fd) if NOT objectP(c) then VALerror=ValentinaErrorstring() return 0 end if if ValentinaError()<>0 then VALerror=ValentinaErrorString() return 0 end if return c end on VALselectReturnRecord condition, cs, rw, fd --evtl alten Cursor l?schen if voidP(cs) then cs=2 if voidP(rw) then rw=1 if voidP(fd) then fd=2 --suchen c= new(xtra "vCursor", GetRef(VAL_ID), condition,cs,rw,fd) if NOT objectP(c) then VALerror=ValentinaErrorstring() return 0 end if if ValentinaError()<>0 then VALerror=ValentinaErrorString() return 0 end if x= VALgetCurrentRecord(c) c=0 return x end on VALcursorRecCount vCursor if NOT objectP(vCursor) then return 0 else return vCursor.getRecordCount() end if end They work pretty well Best regards, Florian From fb at memedia.de Tue Aug 30 09:36:34 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 30 02:36:49 2005 Subject: cursors In-Reply-To: Message-ID: <0ML2ov-1EA0fm0Vmh-0000um@mrelayeu.kundenserver.de> > > > > on queen query, bank > > kServer = 2 > > kReadWrite = 3 > > > > curs = 0 By the way: the upper line should delete the cursor and therefore unlock the record, but it must me a global variable (global curs), otherwise you will keep producing new cursors without closing them correctly. Florian > > curs = new(xtra "VCursor", GetRef(gMb), query, kServer, kReadWrite) > > ccurs = GetRecordCount(curs) > > end > > > > > if I use it once, everything is ok, but as soon I try to use it another > time > > I get error messages. > > > > error 363 > > error 5 > > 363 - this is record lock error. > > This means that first cursor have lock records as ReadWrite, > And second cursor try to access them From fb at memedia.de Tue Aug 30 09:46:22 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 30 02:46:38 2005 Subject: REINDEX In-Reply-To: <43133D02.7020007@learningware.com> Message-ID: <0MKwtQ-1EA0pG3JMY-000863@mrelayeu.kundenserver.de> > > If Flush() the most important tool for preventing database corruption? > How often should I Flush()? After every insert or ALTER or DELETE? > Should I build into my main db parent object a process that keeps track > of the number of changes and then run Flush() after a certain number of > changes? > > How do you handle this, Florian? > Well, first of all, I do not use the SQL way to delete records, - I use the API way. But I am not that familiar with SQL like you look to be > CREATE TABLE answers ( qRecId ObjectPtr REFERENCES questions ON DELETE CASCADE NOT NULL INDEXED ... Looks very complicated to me. Why not try the API way (build cursor, deleteAllRecords(cursor)) and see if your problem goes away...? About Flush: if I change or delete single records every now and then, I regularly do a FLUSH after each change in DB. This is built in my handlers. Why? Because this gives me the most safety and it does not take long. But if I change or delete hundreds or thousands of records in a row, I have seen problems (at least with vServer) with the DB connection, so I made a special handler for this, FLUSHing only every 1000 records and at the end of the job. This is much faster anyway if you deal with so many records. Hope that helps, Florian From sunshine at public.kherson.ua Tue Aug 30 10:52:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 02:53:01 2005 Subject: REINDEX In-Reply-To: <0MKwtQ-1EA0pG3JMY-000863@mrelayeu.kundenserver.de> Message-ID: On 8/30/05 10:46 AM, "Florian Bogeschdorfer" wrote: >> >> If Flush() the most important tool for preventing database corruption? >> How often should I Flush()? After every insert or ALTER or DELETE? >> Should I build into my main db parent object a process that keeps track >> of the number of changes and then run Flush() after a certain number of >> changes? >> >> How do you handle this, Florian? >> > > Well, first of all, I do not use the SQL way to delete records, - I use the > API way. But I am not that familiar with SQL like you look to be > >> CREATE TABLE answers ( > qRecId ObjectPtr REFERENCES questions ON DELETE CASCADE NOT NULL INDEXED > ... > > Looks very complicated to me. Why not try the API way (build cursor, > deleteAllRecords(cursor)) and see if your problem goes away...? Florian, In fact above way is better, because it put more work on kernel > About Flush: if I change or delete single records every now and then, I > regularly do a FLUSH after each change in DB. This is built in my handlers. > Why? Because this gives me the most safety and it does not take long. > > But if I change or delete hundreds or thousands of records in a row, I have > seen problems (at least with vServer) with the DB connection, so I made a > special handler for this, FLUSHing only every 1000 records and at the end of > the job. This is much faster anyway if you deal with so many records. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Tue Aug 30 09:56:04 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 30 02:56:19 2005 Subject: REINDEX In-Reply-To: Message-ID: <0ML2Dk-1EA0ye2VWe-0004yG@mrelayeu.kundenserver.de> > > Florian, > > In fact above way is better, because it put more work on kernel If you say so :-) But does it matter when you work with a local DB? I think Andrew should try it, because it is worth a try. Reindexing the database all the time will definitely be slower. Florian From trash at technart.net Tue Aug 30 09:58:21 2005 From: trash at technart.net (jacques perconte) Date: Tue Aug 30 02:58:16 2005 Subject: cursors In-Reply-To: <0ML2ov-1EA0fm0Vmh-0000um@mrelayeu.kundenserver.de> Message-ID: <20050830075812.608C626A41@pm-mx5.mx.noos.fr> > > on queen query, bank > > kServer = 2 > > kReadWrite = 3 > > > > curs = 0 By the way: the upper line should delete the cursor and therefore unlock the record, but it must me a global variable (global curs), otherwise you will keep producing new cursors without closing them correctly. I turned the thing this way curs = 0 kServer = 2 kReadWrite = 1 And it seems to weork very well. thank you both. jacques From sunshine at public.kherson.ua Tue Aug 30 11:03:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 03:03:30 2005 Subject: REINDEX In-Reply-To: <0ML2Dk-1EA0ye2VWe-0004yG@mrelayeu.kundenserver.de> Message-ID: On 8/30/05 10:56 AM, "Florian Bogeschdorfer" wrote: >> >> Florian, >> >> In fact above way is better, because it put more work on kernel > > If you say so :-) But does it matter when you work with a local DB? Yes. The main advantage of usage of ON DELETE feature, is that you have 100% guarantee that your db has referential integrity. If you do this manually, then you can forget to delete child records, And then ops. > I think Andrew should try it, because it is worth a try. Reindexing the > database all the time will definitely be slower. I think result will be the same. No big difference if delete for child records will be called from your cursor, or from kernel's. Some problem in the data itself it seems. -- Best regards, Ruslan Zasukhin VP Engineering 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 Tue Aug 30 10:06:26 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 30 03:06:42 2005 Subject: cursors In-Reply-To: <20050830075812.608C626A41@pm-mx5.mx.noos.fr> Message-ID: <0MKxQS-1EA18g2d2B-00066q@mrelayeu.kundenserver.de> > > By the way: the upper line should delete the cursor and therefore unlock > the > record, but it must me a global variable (global curs), otherwise you will > keep producing new cursors without closing them correctly. > Ruslan! What if the cursor is a local variable - will it be closed correctly without explicitly setting it to VOID? Florian From sunshine at public.kherson.ua Tue Aug 30 11:13:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 03:13:59 2005 Subject: cursors In-Reply-To: <0MKxQS-1EA18g2d2B-00066q@mrelayeu.kundenserver.de> Message-ID: On 8/30/05 11:06 AM, "Florian Bogeschdorfer" wrote: >> By the way: the upper line should delete the cursor and therefore unlock >> the >> record, but it must me a global variable (global curs), otherwise you will >> keep producing new cursors without closing them correctly. >> > > Ruslan! > > What if the cursor is a local variable - will it be closed correctly without > explicitly setting it to VOID? Yes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ohmitou at wanadoo.fr Tue Aug 30 16:35:29 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Tue Aug 30 07:35:39 2005 Subject: Is it ridiculous ... ? Message-ID: <23EC428E-19EF-44BF-B7BF-A01A7FA25F41@wanadoo.fr> Hello, Is it ridiculous to create a table in a base which is susceptible to contain more 10000 recordings, knowing that this table ( Varchar) can remain empty or can have only that some values? Will the size of the base be modified ? Will it have an influence on the speed? Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Tue Aug 30 15:47:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 07:47:50 2005 Subject: Is it ridiculous ... ? In-Reply-To: <23EC428E-19EF-44BF-B7BF-A01A7FA25F41@wanadoo.fr> Message-ID: On 8/30/05 3:35 PM, "Thierry Nauze" wrote: Hi Thierry, > Hello, > > Is it ridiculous to create a table in a base which is susceptible to > contain more 10000 recordings, 10000 records? > knowing that this table ( Varchar) can > remain empty or can have only that some values? > Will the size of the base be modified ? > Will it have an influence on the speed? Do you mean that your table can get 10000 records, Then all records will be deleted, then again added 10000 ? IF you delete all records, then yes, size will be reduced. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Tue Aug 30 07:52:42 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Aug 30 07:52:47 2005 Subject: REINDEX In-Reply-To: <0MKwtQ-1EA0pG3JMY-000863@mrelayeu.kundenserver.de> References: <0MKwtQ-1EA0pG3JMY-000863@mrelayeu.kundenserver.de> Message-ID: <4314569A.10701@learningware.com> Thanks Florian. I do about what you describe. I did try using the API deleteAllRecords command and it produced the same error as the SQL DELETE. I would be pretty disturbed if it fixed it. Florian Bogeschdorfer wrote: >>If Flush() the most important tool for preventing database corruption? >>How often should I Flush()? After every insert or ALTER or DELETE? >>Should I build into my main db parent object a process that keeps track >>of the number of changes and then run Flush() after a certain number of >>changes? >> >>How do you handle this, Florian? >> >> >> > >Well, first of all, I do not use the SQL way to delete records, - I use the >API way. But I am not that familiar with SQL like you look to be > > > >>CREATE TABLE answers ( >> >> > qRecId ObjectPtr REFERENCES questions ON DELETE CASCADE NOT NULL INDEXED > ... > >Looks very complicated to me. Why not try the API way (build cursor, >deleteAllRecords(cursor)) and see if your problem goes away...? > >About Flush: if I change or delete single records every now and then, I >regularly do a FLUSH after each change in DB. This is built in my handlers. >Why? Because this gives me the most safety and it does not take long. > >But if I change or delete hundreds or thousands of records in a row, I have >seen problems (at least with vServer) with the DB connection, so I made a >special handler for this, FLUSHing only every 1000 records and at the end of >the job. This is much faster anyway if you deal with so many records. > >Hope that helps, Florian > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > > > From ohmitou at wanadoo.fr Tue Aug 30 17:08:31 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Tue Aug 30 08:08:39 2005 Subject: Is it ridiculous ... ? In-Reply-To: References: Message-ID: Hi Ruslan I badly explained myself : I said table instead of field ! I have, for example , a data base with a table which contains 30 fields. The table contains 10 000 records. OK ? I add another field ( varchar ) : on the 10 000 records of the table, maximum ten will have a value for this field. Is the difference of size between the first base and the second important? Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Tue Aug 30 16:14:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 08:14:30 2005 Subject: Is it ridiculous ... ? In-Reply-To: Message-ID: On 8/30/05 4:08 PM, "Thierry Nauze" wrote: > Hi Ruslan > > I badly explained myself : I said table instead of field ! > > I have, for example , a data base with a table which contains 30 fields. > The table contains 10 000 records. OK ? > > I add another field ( varchar ) : on the 10 000 records of the table, > maximum ten will have a value for this field. > > Is the difference of size between the first base and the second > important? It depends on YOU. You must decide if it is important. Size will be bigger about 8 * 10,000 = 80Kb. May be little more. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ohmitou at wanadoo.fr Tue Aug 30 17:29:03 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Tue Aug 30 08:29:12 2005 Subject: Is it ridiculous ... ? In-Reply-To: References: Message-ID: Le 30 ao?t 05 ? 17:14, Ruslan Zasukhin a ?crit : > On 8/30/05 4:08 PM, "Thierry Nauze" wrote: > > >> Hi Ruslan >> >> I badly explained myself : I said table instead of field ! >> >> I have, for example , a data base with a table which contains 30 >> fields. >> The table contains 10 000 records. OK ? >> >> I add another field ( varchar ) : on the 10 000 records of the table, >> maximum ten will have a value for this field. >> >> Is the difference of size between the first base and the second >> important? >> > > It depends on YOU. > > You must decide if it is important. > > Size will be bigger about 8 * 10,000 = 80Kb. > May be little more. Thanks, Ruslan -- Thierry NAUZE Saint-Denis de la R?union From trash at technart.net Tue Aug 30 16:54:24 2005 From: trash at technart.net (jacques perconte) Date: Tue Aug 30 09:54:20 2005 Subject: lingo : position in cursor In-Reply-To: Message-ID: <20050830145415.F0393271D6@pm-mx5.mx.noos.fr> Hello I do not exactly know how to test the position of the current record in a cursor, I know the Lastrecord command, but it's not usefull here I think I would like to do something like that If lastrecord then... Thanks.. Jacques From sunshine at public.kherson.ua Tue Aug 30 18:42:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 30 10:43:00 2005 Subject: lingo : position in cursor In-Reply-To: <20050830145415.F0393271D6@pm-mx5.mx.noos.fr> Message-ID: On 8/30/05 5:54 PM, "jacques perconte" wrote: > Hello > I do not exactly know how to test the position of the current record in a > cursor, I know the Lastrecord command, but it's not usefull here I think > > I would like to do something like that > > If lastrecord then... Vcursor have something as GetPosition. And you can compare it to Vcursor.GetRecordCount() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed Aug 31 06:03:34 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue Aug 30 23:03:39 2005 Subject: [V4MD] Null value from SQL query Message-ID: <000b01c5ade0$f59e50c0$8c0a1e97@vmtrm4p9ipbkv2> Hi Ruslan. I get value from this query, (the recCount is correctly) on scadenzaSoggiorno gCursor = 0 searchString = value(member("searchString").text) query = "SELECT * from" && gTableName && "WHERE \ (sF27 > 0) AND (sF27 <= '" & searchString & "') " gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) if CheckValError() then exit recCount = gCursor.recordCount repeat with i = 1 to RecCount fields = gCursor.getRecord(i) put fields --[ , .... ] end repeat end Paolo, on XP V4MD v2.0.5fc15 From sunshine at public.kherson.ua Wed Aug 31 09:21:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 01:21:06 2005 Subject: [V4MD] Null value from SQL query In-Reply-To: <000b01c5ade0$f59e50c0$8c0a1e97@vmtrm4p9ipbkv2> Message-ID: On 8/31/05 7:03 AM, "info@vallemediatime.com" wrote: > Hi Ruslan. > I get value from this query, (the recCount is correctly) > > on scadenzaSoggiorno > gCursor = 0 > searchString = value(member("searchString").text) > query = "SELECT * from" && gTableName && "WHERE \ > (sF27 > 0) AND (sF27 <= '" & searchString & "') " > > gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) > if CheckValError() then exit > > recCount = gCursor.recordCount > repeat with i = 1 to RecCount > fields = gCursor.getRecord(i) > put fields > --[ , .... ] > end repeat > end > > Paolo, on XP V4MD v2.0.5fc15 Igor, please check this ASAP. Paolo, if you can send something to Igor 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 info at vallemediatime.com Wed Aug 31 08:40:15 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Aug 31 01:40:23 2005 Subject: [V4MD] Null value from SQL query References: Message-ID: <002501c5adf6$d9037650$2e181e97@vmtrm4p9ipbkv2> Ok, I've send now a your modify Dir example to Igor, but I will remember you that this it's the third time that I get this type of error (if not my mistake), in Valentina 1 this it was not never happened. Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, August 31, 2005 8:21 AM Subject: Re: [V4MD] Null value from SQL query > On 8/31/05 7:03 AM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan. > > I get value from this query, (the recCount is correctly) > > > > on scadenzaSoggiorno > > gCursor = 0 > > searchString = value(member("searchString").text) > > query = "SELECT * from" && gTableName && "WHERE \ > > (sF27 > 0) AND (sF27 <= '" & searchString & "') " > > > > gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) > > if CheckValError() then exit > > > > recCount = gCursor.recordCount > > repeat with i = 1 to RecCount > > fields = gCursor.getRecord(i) > > put fields > > --[ , .... ] > > end repeat > > end > > > > Paolo, on XP V4MD v2.0.5fc15 > > Igor, please check this ASAP. > > Paolo, if you can send something to Igor 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 > > From info at bertspin.nl Wed Aug 31 10:06:01 2005 From: info at bertspin.nl (Bert Spin) Date: Wed Aug 31 03:06:27 2005 Subject: [V4MD] Null value from SQL query In-Reply-To: References: <000b01c5ade0$f59e50c0$8c0a1e97@vmtrm4p9ipbkv2> Message-ID: <6.2.3.4.0.20050831095534.01d935d0@pop.iae.nl> Please check getRecords() too (2.0.4). I am working with 2.0.4 because of some other command that didn't work, I believe it was getColumn(2.0.5fc12, works ok in 2.0.4). I have not downloaded versions later than fc12. XP V4MD Bert At 31-08-2005 08:21, you wrote: >On 8/31/05 7:03 AM, "info@vallemediatime.com" >wrote: > > > Hi Ruslan. > > I get value from this query, (the recCount is correctly) > > > > on scadenzaSoggiorno > > gCursor = 0 > > searchString = value(member("searchString").text) > > query = "SELECT * from" && gTableName && "WHERE \ > > (sF27 > 0) AND (sF27 <= '" & searchString & "') " > > > > gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) > > if CheckValError() then exit > > > > recCount = gCursor.recordCount > > repeat with i = 1 to RecCount > > fields = gCursor.getRecord(i) > > put fields > > --[ , .... ] > > end repeat > > end > > > > Paolo, on XP V4MD v2.0.5fc15 > >Igor, please check this ASAP. > >Paolo, if you can send something to Igor 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 sunshine at public.kherson.ua Wed Aug 31 12:59:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 04:59:20 2005 Subject: FIXED: [V4MD] Null value from SQL query In-Reply-To: <002501c5adf6$d9037650$2e181e97@vmtrm4p9ipbkv2> Message-ID: On 8/31/05 9:40 AM, "info@vallemediatime.com" wrote: > Ok, I've send now a your modify Dir example to Igor, > but I will remember you that this it's the third time that I get this type > of error (if not my mistake), in Valentina 1 this it was not never happened. > Paolo > > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Wednesday, August 31, 2005 8:21 AM > Subject: Re: [V4MD] Null value from SQL query > > >> On 8/31/05 7:03 AM, "info@vallemediatime.com" >> wrote: >> >>> Hi Ruslan. >>> I get value from this query, (the recCount is correctly) >>> >>> on scadenzaSoggiorno >>> gCursor = 0 >>> searchString = value(member("searchString").text) >>> query = "SELECT * from" && gTableName && "WHERE \ >>> (sF27 > 0) AND (sF27 <= '" & searchString & "') " >>> >>> gCursor = gDb.sqlSelect(query, #kServer, gLockType, #kRandom) >>> if CheckValError() then exit >>> >>> recCount = gCursor.recordCount >>> repeat with i = 1 to RecCount >>> fields = gCursor.getRecord(i) >>> put fields >>> --[ , .... ] >>> end repeat >>> end >>> >>> Paolo, on XP V4MD v2.0.5fc15 >> >> Igor, please check this ASAP. >> >> Paolo, if you can send something to Igor to reproduce FIXED -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed Aug 31 13:21:16 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Aug 31 06:21:20 2005 Subject: FIXED: [V4MD] Null value from SQL query References: Message-ID: <001201c5ae1e$1acb4c30$161e1e97@vmtrm4p9ipbkv2> Hi Ruslan, > FIXED Ok But now I'm locked in both API and SQL way... in API I can't get RecID... look at Mantis #0000905 and in SQL I get value After some months I can't undestand if Director can works more fast in API or SQL for show field value in grid result. You tell me that API is more fast, but I can't see and confirm this to you. For now I always see that, for retrieving field value in result grid, SQL is always more fast. I hope that you can fix the #0000905 issue also, after I can choose the better way. Thanks Paolo From sunshine at public.kherson.ua Wed Aug 31 14:28:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 06:28:21 2005 Subject: FIXED: [V4MD] Null value from SQL query In-Reply-To: <001201c5ae1e$1acb4c30$161e1e97@vmtrm4p9ipbkv2> Message-ID: On 8/31/05 2:21 PM, "info@vallemediatime.com" wrote: >> FIXED > Ok > > But now I'm locked in both API and SQL way... > in API I can't get RecID... look at Mantis #0000905 and in SQL I get > value > After some months I can't undestand if Director can works more fast in API > or SQL for show field value in grid result. > You tell me that API is more fast, but I can't see and confirm this to you. Let me clarify: I say: some task faster in API way some I the SQL way. For example do JOIN or GROUP BY in API way is nightmare. > For now I always see that, for retrieving field value in result grid, SQL is > always more fast. Right, especially if you select in cursor few fields. This is pointed in docs. This is feature. Future we want add this behavior to API - Vtable class also > I hope that you can fix the #0000905 issue also, after I can choose the > better way. For GetRecord() recid ? I do not see nice solution. This is why we do not touch this issue. We cannot just add RecID field, because then this will break existed code of other develoeprs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 31 14:29:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 06:30:00 2005 Subject: FIXED: [V4MD] Null value from SQL query In-Reply-To: <001201c5ae1e$1acb4c30$161e1e97@vmtrm4p9ipbkv2> Message-ID: On 8/31/05 2:21 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > >> FIXED > Ok > > But now I'm locked in both API and SQL way... > in API I can't get RecID... look at Mantis #0000905 and in SQL I get > value > After some months I can't undestand if Director can works more fast in API > or SQL for show field value in grid result. > You tell me that API is more fast, but I can't see and confirm this to you. > For now I always see that, for retrieving field value in result grid, SQL is > always more fast. > I hope that you can fix the #0000905 issue also, after I can choose the > better way. Do not forget! All these GetRecord(), GetREcords() .... AsString ... Are optional. Fundamental is GetField() method, which can just read one field. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed Aug 31 14:38:31 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Aug 31 07:38:37 2005 Subject: FIXED: [V4MD] Null value from SQL query References: Message-ID: <001201c5ae28$e5f6aa80$97081e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, August 31, 2005 1:29 PM Subject: Re: FIXED: [V4MD] Null value from SQL query > On 8/31/05 2:21 PM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > > >> FIXED > > Ok > > > > But now I'm locked in both API and SQL way... > > in API I can't get RecID... look at Mantis #0000905 and in SQL I get > > value > > After some months I can't undestand if Director can works more fast in API > > or SQL for show field value in grid result. > > You tell me that API is more fast, but I can't see and confirm this to you. > > For now I always see that, for retrieving field value in result grid, SQL is > > always more fast. > > I hope that you can fix the #0000905 issue also, after I can choose the > > better way. > > Do not forget! > > All these GetRecord(), GetREcords() .... AsString ... > > Are optional. > > Fundamental is GetField() method, which can just read one field. I've read in "Field Method" in p98 of Director ref (Btw: for me you've forget a in the name of cursor in this page) and I've tried with: put gCursor.field("sF1").getString but I get property not found #getString... my mistake? Thank again Paolo > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005 > > From sunshine at public.kherson.ua Wed Aug 31 22:06:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 14:06:25 2005 Subject: Vstudio -- b15 -- info Message-ID: Hi All, I want inform you, that we all here more or less have polish * dialog New Field * now you can make Primary Keys * it works with Vserver. Tested all types * dialog New Binary * now works all types of links 1:1, 1:M, M:M * it works with Vserver * Dialog New Foreign Key. * fields of menus show only fields which CAN BE used for FK, i.e. KEYS and unique fields for Target table.. ---------------------- * Property Inspector now show all 10 Local parameters for db, tables and fields. You can change them for db. --------------------- * Preferences * Now preferences are stored as XML file. before it was as Valentina db 1.x. so we have break dependency on 1.x engine. --------------------- * Schema Browser: * in the 3d column you now can select several tables. in the 4th column you then see fields of all fields of selected tables. Now you can use Search field (top right corner) to see only some fields you want. This can be very useful if you browse db with a lots of fields, Or if this is not your db and you need find something. ------------------- * Vserver * now Register/Unregister show/remove db immediately -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, 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 Aug 31 22:17:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 31 14:17:47 2005 Subject: Vstudio -- b15 -- info In-Reply-To: Message-ID: On 8/31/05 10:06 PM, "Ruslan Zasukhin" wrote: > Hi All, > > I want inform you, that we all here more or less have polish > > * dialog New Field > > * now you can make Primary Keys > * it works with Vserver. Tested all types > > * dialog New Binary > > * now works all types of links 1:1, 1:M, M:M > * it works with Vserver > > * Dialog New Foreign Key. > > * fields of menus show only fields which CAN BE used for FK, > i.e. KEYS and unique fields for Target table.. > > ---------------------- > * Property Inspector now show all 10 Local parameters for db, tables and > fields. You can change them for db. > > > --------------------- > * Preferences > > * Now preferences are stored as XML file. > before it was as Valentina db 1.x. > so we have break dependency on 1.x engine. > > --------------------- > * Schema Browser: > > * in the 3d column you now can select several tables. > in the 4th column you then see fields of all fields > of selected tables. > > Now you can use Search field (top right corner) to > see only some fields you want. this is similar to OS X idea of search. > This can be very useful if you browse db with a lots of fields, > Or if this is not your db and you need find something. > > > ------------------- > * Vserver > > * now Register/Unregister show/remove db immediately --------------------- * Data Navigator * Now works (not completed yet) Related Browser, you will see it only if table A has linked Table(s). wow. First time for years we can see how it works for M:M link! VAPP 1.x did not used this because Binary Link was not implemented yet. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed]