From barney at custombased.com Wed Sep 1 09:10:39 2004 From: barney at custombased.com (Barney) Date: Tue Aug 31 16:13:03 2004 Subject: Know if a records locked In-Reply-To: Message-ID: Hi Ruslan, > > Hi Barney, > >> Is there any way while debugging in RB IDE using V4RB that we can tell >> if records are locked. > >> If we call records using a cursor can we somehow find out if the records >> we're calling are still locked somewhere else ? > > Just if you try SELECT at least one record which is locked in conflict mode, > Then cursor will not be created at all and you get error 363 Thanks for that... Where do I look to get that error code from. I've managed to get myself NIL cursors OK, but where or how do I get the error code. If I have a look at my database object in the IDE it has error code = 0 ? Thanks Barney From sunshine at public.kherson.ua Wed Sep 1 00:17:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 31 16:17:22 2004 Subject: Know if a records locked In-Reply-To: Message-ID: On 9/1/04 12:10 AM, "Barney" wrote: >> Hi Barney, >> >>> Is there any way while debugging in RB IDE using V4RB that we can tell >>> if records are locked. >> >>> If we call records using a cursor can we somehow find out if the records >>> we're calling are still locked somewhere else ? >> >> Just if you try SELECT at least one record which is locked in conflict mode, >> Then cursor will not be created at all and you get error 363 > > Thanks for that... > > Where do I look to get that error code from. As usually. db.ErrCode > I've managed to get myself NIL cursors OK, but where or how do I get the > error code. If I have a look at my database object in the IDE it has error > code = 0 ? Strange. Must be 363 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From barney at custombased.com Wed Sep 1 09:26:11 2004 From: barney at custombased.com (Barney) Date: Tue Aug 31 16:28:36 2004 Subject: Know if a records locked In-Reply-To: Message-ID: Hi Ruslan, No I'm not getting anything ? Here is my code : Dim I as Integer Dim a,b,c as integer Dim L as ListBox //Cur = Nil L = ListBox1 L.DeleteAllRows a = val(EditField2.text) b = val(EditField3.text) c = val(EditField4.text) Cur = App.DB.SQLSelect(EditField1.text,a,b,c) //Neither cursor works If Cur <> Nil then //Goes ahead and populates rows... Else L.AddRow "Nil Cursor" L.AddRow "Error Code is : " + str(App.DB.ErrNumber) L.Cell(1,1) = "Error String is : " + App.DB.ErrString End if I'm generating NIL cursor by calling a record, then calling it again. It is locking up as expected but I'm not getting an error code ? Thanks Barney on 1/9/04 9:17 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On 9/1/04 12:10 AM, "Barney" wrote: > >>> Hi Barney, >>> >>>> Is there any way while debugging in RB IDE using V4RB that we can tell >>>> if records are locked. >>> >>>> If we call records using a cursor can we somehow find out if the records >>>> we're calling are still locked somewhere else ? >>> >>> Just if you try SELECT at least one record which is locked in conflict mode, >>> Then cursor will not be created at all and you get error 363 >> >> Thanks for that... >> >> Where do I look to get that error code from. > > As usually. > > db.ErrCode > > >> I've managed to get myself NIL cursors OK, but where or how do I get the >> error code. If I have a look at my database object in the IDE it has error >> code = 0 ? > > Strange. > > Must be 363 > From sunshine at public.kherson.ua Wed Sep 1 00:31:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 31 16:32:05 2004 Subject: Know if a records locked In-Reply-To: Message-ID: On 9/1/04 12:26 AM, "Barney" wrote: > Hi Ruslan, > > No I'm not getting anything ? Here is my code : > > Dim I as Integer > Dim a,b,c as integer > Dim L as ListBox > > //Cur = Nil > > L = ListBox1 > L.DeleteAllRows > > a = val(EditField2.text) > b = val(EditField3.text) > c = val(EditField4.text) > > Cur = App.DB.SQLSelect(EditField1.text,a,b,c) //Neither cursor works ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ what is this ??? > If Cur <> Nil then > > //Goes ahead and populates rows... > > Else > L.AddRow "Nil Cursor" > L.AddRow "Error Code is : " + str(App.DB.ErrNumber) > L.Cell(1,1) = "Error String is : " + App.DB.ErrString > > End if > > I'm generating NIL cursor by calling a record, then calling it again. > > It is locking up as expected but I'm not getting an error code ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From barney at custombased.com Wed Sep 1 09:48:39 2004 From: barney at custombased.com (Barney) Date: Tue Aug 31 16:51:06 2004 Subject: Know if a records locked In-Reply-To: Message-ID: on 1/9/04 9:31 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On 9/1/04 12:26 AM, "Barney" wrote: > >> Hi Ruslan, >> >> No I'm not getting anything ? Here is my code : >> >> Dim I as Integer >> Dim a,b,c as integer >> Dim L as ListBox >> >> //Cur = Nil >> >> L = ListBox1 >> L.DeleteAllRows >> >> a = val(EditField2.text) >> b = val(EditField3.text) >> c = val(EditField4.text) >> >> Cur = App.DB.SQLSelect(EditField1.text,a,b,c) //Neither cursor works > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > what is this ??? > 1.) My Database object is a property of my App class. 2.) Editfield1 contains my SQL query. 3.) Editfield 2, 3, 4 contain the three parameters required by plugin. I am still playing around trying to see exactly what happens with all the different scenarios. I still am having problems with my project. I have cursors which are not locked but which still won't allow me to update records within ? I am attempting to reproduce it all in a smaller very simple project to see how it all works. for example ... 1.) Right now I call a single record using SQL and LOCK it using 'Server', 'ReadWrite', 'Random'. 2.) This record should now be locked. 3.) Call it again using 'Server', 'NoLock', 'Random'. And I have access to the record ? If I repeat the process like this ... 1.) Call a single record using SQL and LOCK it using 'Server', 'ReadWrite', 'Random'. 2.) This record should now be locked. 3.) Call it again using 'Server', 'READWRITE', 'Random'. And its locked as it should be. Why then in the first example will I have access to it ? I can send this to you ... Thanks Barney Barney From devlist at mono.info Wed Sep 1 00:06:37 2004 From: devlist at mono.info (Paul Gaspar) Date: Tue Aug 31 17:07:24 2004 Subject: Short Encryption Question Message-ID: <0784D5B8-FB9A-11D8-922D-000A95A60398@mono.info> Hi Ruslan, is it true that DB.ChangeEncryption does encrypt the stored data, but NOT the structure? If I want both encrypted, then I must use DB.ChangeEncryption and DB.ChangeStructureEncryption at the same time? Paul From barney at custombased.com Wed Sep 1 15:56:07 2004 From: barney at custombased.com (Barney) Date: Tue Aug 31 22:58:40 2004 Subject: Know if a records locked In-Reply-To: Message-ID: Is there any way we can just NIL all cursors in a project. I've been right through my project, searched everywhere and nil'ed all cursors after use. I have built a little window constantly tracking how many objects and references in RB memory there are to Vcursor objects in my project at any one time. Even when there are NO Vcursor objects or references to them, still there is something somewhere preventing me from deleting a record set, it only ever deletes the first record, I have been chasing this for literally days ! Is there any way we can just NIL or delete all cursors from memory to completely clear the slate while the program is running ? Might it have been easier to have the default cursor with No Locks so all existing code worked in the same way when making the transition from the old plugins to the new server plugins ? Thank you Barney From sunshine at public.kherson.ua Wed Sep 1 09:56:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 01:58:22 2004 Subject: Know if a records locked In-Reply-To: Message-ID: On 9/1/04 12:48 AM, "Barney" wrote: >>> Cur = App.DB.SQLSelect(EditField1.text,a,b,c) //Neither cursor works >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> what is this ??? >> > > 1.) My Database object is a property of my App class. > > 2.) Editfield1 contains my SQL query. > > 3.) Editfield 2, 3, 4 contain the three parameters required by plugin. > > I am still playing around trying to see exactly what happens with > all the different scenarios. I still am having problems with my project. > > I have cursors which are not locked but which still won't allow me to update > records within ? > > I am attempting to reproduce it all in a smaller very simple project to see > how it all works. Okay, then may be you cn send me this project and steps to reproduce problem? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 1 09:58:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 02:00:07 2004 Subject: Know if a records locked In-Reply-To: Message-ID: On 9/1/04 6:56 AM, "Barney" wrote: > Is there any way we can just NIL all cursors in a project. No, only db.close() can do this. > I've been right through my project, searched everywhere and nil'ed all > cursors after use. > > I have built a little window constantly tracking how many objects and > references in RB memory there are to Vcursor objects in my project at any > one time. > > Even when there are NO Vcursor objects or references to them, still there is > something somewhere preventing me from deleting a record set, it only ever > deletes the first record, I have been chasing this for literally days ! Argh! About week ago we have fix such bug! When you will be ready, let me know, I will send you new V4RB build for test. > Is there any way we can just NIL or delete all cursors from memory to > completely clear the slate while the program is running ? > > Might it have been easier to have the default cursor with No Locks so all > existing code worked in the same way when making the transition from > the old plugins to the new server plugins ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 1 09:59:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 02:04:06 2004 Subject: Short Encryption Question In-Reply-To: <0784D5B8-FB9A-11D8-922D-000A95A60398@mono.info> Message-ID: On 9/1/04 1:06 AM, "Paul Gaspar" wrote: Hi Paul, > is it true that DB.ChangeEncryption does encrypt the stored data, but > NOT the structure? yes > If I want both encrypted, then I must use > DB.ChangeEncryption and DB.ChangeStructureEncryption at the same time? yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 1 10:01:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 02:15:42 2004 Subject: How to create ListBox/Datagrid in Director? In-Reply-To: <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> Message-ID: On 9/1/04 1:39 AM, "Gregory Kowalski" wrote: > On Aug 31, 2004, at 5:32 PM, valentina-request@lists.macserve.net wrote: > >>> Does anybody know any good/easy/nice way to create in director control >> >> Hi Ruslan, >> >> sorry for the late response, I was out of town for a couple days. >> As some other developers noted, there is no cross-platform Xtra >> that can do this. Most developers roll their own, either using simple >> HTML tables or Imaging Lingo for the display. There is a very nice >> Table-Builder Widget that Alex da Franca built, using Imaging Lingo: >> >> http://www.farbflash.de/ILtable/index.html >> >> it can even display images. I have another widget / behavior that >> works in a similar fashion and also uses Imaging Lingo, if you're >> interested I'll dig it up and see if I can clean it up a little so it's >> easier for people to use. >> >> Martin. >> > > If you are looking to display data in a table you can use the Table > Xtra by Electronic Ink. I tested it to display query results in a > table and it works quite well. It is also cross-platform. > > http://www.printomatic.com/ Thank you Gregory! We will check. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 1 10:08:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 02:31:14 2004 Subject: How to create ListBox/Datagrid in Director? In-Reply-To: <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> Message-ID: On 9/1/04 1:39 AM, "Gregory Kowalski" wrote: > If you are looking to display data in a table you can use the Table > Xtra by Electronic Ink. I tested it to display query results in a > table and it works quite well. It is also cross-platform. Hi Gregory, But they do not have CARBON version for Director MX! Right ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Wed Sep 1 15:04:43 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Wed Sep 1 08:02:07 2004 Subject: Timestamps In-Reply-To: References: <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> Message-ID: Hi, I'm having a "blank" moment with this. With Vserver - Is it possible to timestamp a record using the time on the server and not on the client machine? Thanks Fred -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] From sunshine at public.kherson.ua Wed Sep 1 16:09:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 1 08:11:37 2004 Subject: Timestamps In-Reply-To: Message-ID: On 9/1/04 4:04 PM, "Fred.Stephenson" wrote: > Hi, > I'm having a "blank" moment with this. > With Vserver - Is it possible to timestamp a record using the time > on the server and not on the client machine? Hi Fred, In Valentina 2.0 we have new functions "CURRENT_TIME", "CURRENT_DATE". Valentina 1.x do not have them. So it seems right now no way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Sep 1 13:54:11 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Sep 1 12:53:53 2004 Subject: How to create ListBox/Datagrid in Director? In-Reply-To: <20040901130213.6F43A202681@edison.macserve.net> References: <20040901130213.6F43A202681@edison.macserve.net> Message-ID: On Sep 1, 2004, at 9:02 AM, valentina-request@lists.macserve.net wrote: >> If you are looking to display data in a table you can use the Table >> Xtra by Electronic Ink. I tested it to display query results in a >> table and it works quite well. It is also cross-platform. > > Hi Gregory, > > > But they do not have CARBON version for Director MX! > > Right ? > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] Yes they do - in beta version. I called them and they sent me the xtra. I did some basic test and it worked well. Ran into trouble though when it had to display over 1000 or so results... Greg From e.wyber at murdoch.edu.au Thu Sep 2 13:02:33 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Thu Sep 2 00:01:21 2004 Subject: How to create ListBox/Datagrid in Director? In-Reply-To: <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> References: <20040831213216.0F3B7201BE8@edison.macserve.net> <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> Message-ID: <4C7477B4-FC9D-11D8-BE3D-0003930FD04E@murdoch.edu.au> On 01/09/2004, at 6:39 AM, Gregory Kowalski wrote: > > On Aug 31, 2004, at 5:32 PM, valentina-request@lists.macserve.net > wrote: > >>> Does anybody know any good/easy/nice way to create in director >>> control >> >> it can even display images. I have another widget / behavior that >> works in a similar fashion and also uses Imaging Lingo, if you're >> interested I'll dig it up and see if I can clean it up a little so >> it's >> easier for people to use. > > If you are looking to display data in a table you can use the Table > Xtra by Electronic Ink. I tested it to display query results in a > table and it works quite well. It is also cross-platform. > > http://www.printomatic.com/ > Based on my (minimal, and some time ago) experience with the TableXtra, I would (and did) go with a lingo solution...slower (noticeably) with large data sets, but not so likely to die without warning... Elias. You only have the rights you defend in others. From brian at macserve.net Thu Sep 2 12:24:47 2004 From: brian at macserve.net (Brian Blood) Date: Thu Sep 2 12:25:04 2004 Subject: test Message-ID: please ignore. From bnumerick at gmail.com Thu Sep 2 13:38:21 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Thu Sep 2 12:38:34 2004 Subject: Auto Increment? Message-ID: Am I missing something or does Valentina not have auto increment as an option? Probably missing something. :) From sunshine at public.kherson.ua Thu Sep 2 20:50:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 2 12:50:38 2004 Subject: Auto Increment? In-Reply-To: Message-ID: On 9/2/04 8:38 PM, "Bill Numerick" wrote: Hi Bill, > Am I missing something or does Valentina not have auto increment as an > option? Probably missing something. :) There is no such option in terms of mySQL. In many cases you can use RecID field for this purpose. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Thu Sep 2 14:34:16 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Thu Sep 2 13:34:25 2004 Subject: Auto Increment? In-Reply-To: References: Message-ID: Cool thanks again for showing me what to do a search for in the docs :) On Thu, 02 Sep 2004 20:50:25 +0300, Ruslan Zasukhin wrote: > On 9/2/04 8:38 PM, "Bill Numerick" wrote: > > Hi Bill, > > > > > Am I missing something or does Valentina not have auto increment as an > > option? Probably missing something. :) > > There is no such option in terms of mySQL. > > In many cases you can use RecID field for this purpose. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From brian at macserve.net Thu Sep 2 14:45:43 2004 From: brian at macserve.net (Brian Blood) Date: Thu Sep 2 14:47:51 2004 Subject: test Message-ID: test From xyzabc1010 at yahoo.com Fri Sep 3 09:29:53 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Fri Sep 3 11:29:59 2004 Subject: V4MD: Cannot delete records....on OSX In-Reply-To: Message-ID: <20040903162953.17203.qmail@web21123.mail.yahoo.com> Hi All, I ran into a very peculiar bug. I inserted a large amount of student records (ie. ~700, not large but large for our app). When I try to delete these records, I receive an error -39 on OSX which means and unexpected eof on Macs. First I thought it was a corrupted index file so I blew away the *.ind file, but still receive the same error. Any ideas on what is going on? Thnx _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From chuck at mediamacros.com Fri Sep 3 14:07:46 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Fri Sep 3 13:04:11 2004 Subject: Importing a dump does nothing. Message-ID: <002501c491e0$eaba5b80$b900a8c0@batcomputer> Can anyone tell me what's wrong with this... on importDb ValentinaInit( 4 * 1024 * 1024, "MySerialHere", "MySerialHere" ) ValentinaDebugLevel(2) pDb = new( xtra "VDataBase" ) LoadDump( pDb, the moviePath & "cmm_cme.sql", the moviePath & "cme.vdb", 1 ) valentinashutdown() end I get this in the message window... * V4MD *: InitValentina...done * V4MD *: ValentinaSetDebugMode...done * V4MD *: Create_VDataBase...* V4MD *: DB_New...done * V4MD *: DB_LoadDump...done * V4MD *: ShutDownValetina...done * V4MD *: VDatabase_Destroy...done But the DB is never created. No errors, nothing. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer From sunshine at public.kherson.ua Fri Sep 3 21:51:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 3 14:07:41 2004 Subject: Importing a dump does nothing. In-Reply-To: <002501c491e0$eaba5b80$b900a8c0@batcomputer> Message-ID: On 9/3/04 9:07 PM, "Chuck Neal" wrote: > Can anyone tell me what's wrong with this... > > on importDb > ValentinaInit( 4 * 1024 * 1024, "MySerialHere", "MySerialHere" ) > ValentinaDebugLevel(2) > pDb = new( xtra "VDataBase" ) > LoadDump( pDb, the moviePath & "cmm_cme.sql", the moviePath & "cme.vdb", 1 > ) > valentinashutdown() > end > > > I get this in the message window... > * V4MD *: InitValentina...done > * V4MD *: ValentinaSetDebugMode...done > * V4MD *: Create_VDataBase...* V4MD *: DB_New...done > * V4MD *: DB_LoadDump...done > * V4MD *: ShutDownValetina...done > * V4MD *: VDatabase_Destroy...done > > But the DB is never created. No errors, nothing. check if you can load this dump using VAPP or Valentina Studio. Aha. Do you try SQL dump ? It not works in 1.x Only XML dump -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 3 21:52:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 3 14:17:17 2004 Subject: V4MD: Cannot delete records....on OSX In-Reply-To: <20040903162953.17203.qmail@web21123.mail.yahoo.com> Message-ID: On 9/3/04 7:29 PM, "X Y" wrote: > Hi All, > I ran into a very peculiar bug. > I inserted a large amount of student records (ie. > ~700, not large but large for our app). > When I try to delete these records, I receive an error > -39 on OSX which means and unexpected eof on Macs. > > First I thought it was a corrupted index file so I > blew away the *.ind file, but still receive the same > error. > > Any ideas on what is going on? This sounds like corruption of db 1) try diagnose 2) try xml dump then load to re-create db -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuck at mediamacros.com Fri Sep 3 15:28:18 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Fri Sep 3 14:25:26 2004 Subject: Importing a dump does nothing. In-Reply-To: Message-ID: <003001c491ec$2a609aa0$b900a8c0@batcomputer> I found a post about that just now. SO how do I get data from mySQL to my DB. I tried using the ODBC importer, I tried Studio. Nothing seems the let me read it in. Studio totally ignores all data sources (none show in the list). How can I pull a simple DB with structure and data into Valentina so its usable in Director? -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer -----Original Message----- From: valentina-bounces+chuck=mediamacros.com@lists.macserve.net [mailto:valentina-bounces+chuck=mediamacros.com@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, September 03, 2004 2:51 PM To: valentina@lists.macserve.net Subject: Re: Importing a dump does nothing. On 9/3/04 9:07 PM, "Chuck Neal" wrote: > Can anyone tell me what's wrong with this... > > on importDb > ValentinaInit( 4 * 1024 * 1024, "MySerialHere", "MySerialHere" ) > ValentinaDebugLevel(2) > pDb = new( xtra "VDataBase" ) > LoadDump( pDb, the moviePath & "cmm_cme.sql", the moviePath & "cme.vdb", 1 > ) > valentinashutdown() > end > > > I get this in the message window... > * V4MD *: InitValentina...done > * V4MD *: ValentinaSetDebugMode...done > * V4MD *: Create_VDataBase...* V4MD *: DB_New...done > * V4MD *: DB_LoadDump...done > * V4MD *: ShutDownValetina...done > * V4MD *: VDatabase_Destroy...done > > But the DB is never created. No errors, nothing. check if you can load this dump using VAPP or Valentina Studio. Aha. Do you try SQL dump ? It not works in 1.x Only XML dump -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Sep 3 22:41:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 3 14:50:13 2004 Subject: Importing a dump does nothing. In-Reply-To: <003001c491ec$2a609aa0$b900a8c0@batcomputer> Message-ID: On 9/3/04 10:28 PM, "Chuck Neal" wrote: > I found a post about that just now. SO how do I get data from mySQL to my > DB. > I tried using the ODBC importer, I tried Studio. Nothing seems the let > me read it in. Studio totally ignores all data sources (none show in the > list). The most simple way IMHO to use ASCII text export/import. MySQL as Valentina allow you specify both field delimiter and record delimiters. So use e.g. ? ? ? ? for this. All rest must be simple. > How can I pull a simple DB with structure and data into Valentina so > its usable in Director? Nothing as far as I know will not import structure. You need self make tables. Jochen promise add this into Vstudio/ Also I remember that Martin Kloss did make Director-based converter from mySQL to Valentina. I think you can find it on his site or in this list archive. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Fri Sep 3 16:17:11 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Fri Sep 3 15:17:19 2004 Subject: Importing a dump does nothing. In-Reply-To: References: Message-ID: <3D26937C-FDE6-11D8-A770-0003939246BC@mindstarprods.com> On Sep 3, 2004, at 3:41 PM, Ruslan Zasukhin wrote: > On 9/3/04 10:28 PM, "Chuck Neal" wrote: > >> How can I pull a simple DB with structure and data into Valentina so >> its usable in Director? > > Nothing as far as I know will not import structure. > You need self make tables. > Jochen promise add this into Vstudio/ ViSQL might work. Assuming the MySQL CREATE TABLE syntax matches Valentina syntax - it depends on which field types you are using I suspect. Just paste the entire MySQL SQL dump file into ViSQL and see if it works. You will have to first create a new blank database with Vapp or VStudio and open that in ViSQL. Best regards, Frank From chuck at mediamacros.com Fri Sep 3 16:41:12 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Fri Sep 3 15:37:53 2004 Subject: Importing a dump does nothing. In-Reply-To: <3D26937C-FDE6-11D8-A770-0003939246BC@mindstarprods.com> Message-ID: <005001c491f6$59b2d110$b900a8c0@batcomputer> Well this helped some. I used Martin's utility to create the DB (although now I have a totally empty DB that is for some reason about 20 MB, but I can always compact that later.) ODBC_Valentina is a total wash for me. I tried it with access and MySQL and both either don't show any tables or it tries to import but does not copy a single record. VisSQL works a little. Some records will import from copying and pasting the SQL dump from mySQL, but unfortunately many of my text ones just crash the program. Studio seems to not want to run any of my SQL statements, ignores all the ODBC sources and does little more than let me look at the data in a table. I am about to try exporting each table out as CSV individually and see if that imports. This is painfully slow for a 27 table DB, but I hope it works. Any other suggestions welcomed! :) -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Frank Schima Sent: Friday, September 03, 2004 4:17 PM To: Valentina Developers Subject: Re: Importing a dump does nothing. On Sep 3, 2004, at 3:41 PM, Ruslan Zasukhin wrote: > On 9/3/04 10:28 PM, "Chuck Neal" wrote: > >> How can I pull a simple DB with structure and data into Valentina so >> its usable in Director? > > Nothing as far as I know will not import structure. > You need self make tables. > Jochen promise add this into Vstudio/ ViSQL might work. Assuming the MySQL CREATE TABLE syntax matches Valentina syntax - it depends on which field types you are using I suspect. Just paste the entire MySQL SQL dump file into ViSQL and see if it works. You will have to first create a new blank database with Vapp or VStudio and open that in ViSQL. Best regards, Frank _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From chuck at mediamacros.com Fri Sep 3 16:59:59 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Fri Sep 3 15:56:30 2004 Subject: Importing a dump does nothing. In-Reply-To: <005001c491f6$59b2d110$b900a8c0@batcomputer> Message-ID: <005401c491f8$f9440d00$b900a8c0@batcomputer> Studio won't import correctly either since the CSV dump has comas and spaces embedded in the text areas. It does not have an escape character so there is no reliable way to get the data in via studio. :( Does anyone have any other ideas on how to convert this? I can dump to access, csv, export a sql dump, etc but my data seems completely unable to import into Valentina. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Chuck Neal Sent: Friday, September 03, 2004 4:41 PM To: 'Valentina Developers' Subject: RE: Importing a dump does nothing. Well this helped some. I used Martin's utility to create the DB (although now I have a totally empty DB that is for some reason about 20 MB, but I can always compact that later.) ODBC_Valentina is a total wash for me. I tried it with access and MySQL and both either don't show any tables or it tries to import but does not copy a single record. VisSQL works a little. Some records will import from copying and pasting the SQL dump from mySQL, but unfortunately many of my text ones just crash the program. Studio seems to not want to run any of my SQL statements, ignores all the ODBC sources and does little more than let me look at the data in a table. I am about to try exporting each table out as CSV individually and see if that imports. This is painfully slow for a 27 table DB, but I hope it works. Any other suggestions welcomed! :) -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Frank Schima Sent: Friday, September 03, 2004 4:17 PM To: Valentina Developers Subject: Re: Importing a dump does nothing. On Sep 3, 2004, at 3:41 PM, Ruslan Zasukhin wrote: > On 9/3/04 10:28 PM, "Chuck Neal" wrote: > >> How can I pull a simple DB with structure and data into Valentina so >> its usable in Director? > > Nothing as far as I know will not import structure. > You need self make tables. > Jochen promise add this into Vstudio/ ViSQL might work. Assuming the MySQL CREATE TABLE syntax matches Valentina syntax - it depends on which field types you are using I suspect. Just paste the entire MySQL SQL dump file into ViSQL and see if it works. You will have to first create a new blank database with Vapp or VStudio and open that in ViSQL. Best regards, Frank _______________________________________________ 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 Sat Sep 4 08:25:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 4 00:30:30 2004 Subject: Importing a dump does nothing. In-Reply-To: <005401c491f8$f9440d00$b900a8c0@batcomputer> Message-ID: On 9/3/04 11:59 PM, "Chuck Neal" wrote: > Studio won't import correctly either since the CSV dump has comas and spaces > embedded in the text areas. It does not have an escape character so there > is no reliable way to get the data in via studio. :( > > Does anyone have any other ideas on how to convert this? I can dump to > access, csv, export a sql dump, etc but my data seems completely unable to > import into Valentina. Chuck, First of all you can be sure that many developers have get success on this task. And I think mainly via export import. You try Coma - separate files, right? I recommend you to use export with delimiters to be SPECAIL characters! This is the best way, because in this case mySQL must not add escapes or else. It do RAW export of data. Valentina later do raw import. Just choose something very special ? ? ? ? ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From IvanSmahin at public.kherson.ua Sat Sep 4 11:27:09 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Sep 4 03:27:12 2004 Subject: Importing a dump does nothing. In-Reply-To: References: <005401c491f8$f9440d00$b900a8c0@batcomputer> Message-ID: <1462487228.20040904112709@public.kherson.ua> Hello Ruslan, Saturday, September 4, 2004, 8:25:26 AM, you wrote: RZ> Just choose something very special ? ? ? ? ? Actually, it's a common trick in Sybase, MS-SQL,... world. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Sat Sep 4 12:29:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 4 04:29:36 2004 Subject: Importing a dump does nothing. In-Reply-To: <3A401C0C-FE4E-11D8-9724-000A959F6B0C@valentina-db.de> Message-ID: On 9/4/04 11:41 AM, "Jochen Peters" wrote: > Hi Chuck, > >>> I found a post about that just now. SO how do I get data from mySQL to my >>> DB. >>> >>> I tried using the ODBC importer, I tried Studio. Nothing seems the let me >>> read it in. Studio totally ignores all data sources (none show in the >>> list). > most likely this is because of the missing vStudio manual - and some glitches > in the Alpha version - but vStudio CAN read in ODBC-datasources AND it can > generate Valentina tables from ODBC tables! Wow! so it can even create tables now ? We need docs! tutorial examples And you should make small feature list on Vstudio page. Because we should not what we can do with it now. > What list are you talking about? On what platform are you working? > > To work with ODBC databases you must first create a "ODBC datasource" - you > can do this on Mac with the "ODBC Administrator", on the Windows side you can > setup datasources using the system settings. > > Once you have created the datasource you can use vStudio to CONNECT to this > datasource - for this you must use the menu item "Connect to server..." (this > is why i have mentioned glitches) Now select "ODBC datasource" from the drop > down list and type in the NAME of the datasource in the server adress field. > Then click on "connect". > > Now you can navigate through the db structure using the navigator.... > > Now you can also Import data from the ODBC datasource using the menu item > "Import..." -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From email_lists at soccersuperstar.co.uk Mon Sep 6 13:14:25 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Mon Sep 6 07:14:43 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! Message-ID: <200409061209.i86C9EX07936@srv01.subwayspace.com> Hi, I'm creating a CD-ROM with Director that is using the Valentina Xtra. Everything runs successfully and repeatedly.... for about 10 minutes! If I don't use the application for a while in Director, restarting it produces the error: -- "Script runtime error Integer expected script" Which is complaining about the following line of code: fldRef = addField(gPostcodes, demoRef, "postcode", #kTypeString, 10) Once again, this works fine when the application is initially run. I have the following code in the stopMovie handler: Flush(gSchool) Flush(gPostcodes) CloseDataBase(gSchool) CloseDataBase(gPostcodes) ValentinaShutDown Any idea what might be causing this annoying error! cheers, bub. From martin.kloss at gmx.de Mon Sep 6 14:17:43 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Sep 6 07:18:00 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <200409061209.i86C9EX07936@srv01.subwayspace.com> References: <200409061209.i86C9EX07936@srv01.subwayspace.com> Message-ID: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> At 14:14 06.09.2004, you wrote: >I'm creating a CD-ROM with Director that is using the Valentina Xtra. >Everything runs successfully and repeatedly.... for about 10 minutes! If I >don't use the application for a while in Director, restarting it produces >the error: sounds like you haven't registered the xtra with a valid serial number in the init call. the xtra has a 10 minute timeout for unregistered users. Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From email_lists at soccersuperstar.co.uk Mon Sep 6 13:20:24 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Mon Sep 6 07:20:42 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> Message-ID: <200409061215.i86CFCX08070@srv01.subwayspace.com> Ah! That explains it! Thanks. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Martin Kloss Sent: 06 September 2004 13:18 To: Valentina Developers Subject: Re: Valentina Xtra Error - Appears After 10 Mins???!! At 14:14 06.09.2004, you wrote: >I'm creating a CD-ROM with Director that is using the Valentina Xtra. >Everything runs successfully and repeatedly.... for about 10 minutes! >If I don't use the application for a while in Director, restarting it >produces the error: sounds like you haven't registered the xtra with a valid serial number in the init call. the xtra has a 10 minute timeout for unregistered users. Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From email_lists at soccersuperstar.co.uk Mon Sep 6 15:19:35 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Mon Sep 6 09:19:51 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> Message-ID: <200409061414.i86EELX14304@srv01.subwayspace.com> > sounds like you haven't registered the xtra with a valid serial number in the init > call. the xtra has a 10 minute timeout for unregistered users. Where can I register the Xtra? I've tried following links on the website, which eventually take me to http://shop.novaint.com. However, I can't seem to find the product listed within their online store? From martin.kloss at gmx.de Mon Sep 6 16:32:42 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Sep 6 09:32:53 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <200409061414.i86EELX14304@srv01.subwayspace.com> References: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> At 16:19 06.09.2004, you wrote: >Where can I register the Xtra? I've tried following links on the website, >which eventually take me to http://shop.novaint.com. However, I can't seem >to find the product listed within their online store? Very strange, I searched for it too and couldn't find it either. The site is really confusing and the search form does not return any results. No "valentina" product found, after 10 minutes I gave up. German users can buy the product here: http://www.valentina-db.de/de/bestellen.html which is very easy and fast, but for international users it's terrible, sorry to say that. I thought that it was Kagi who handled that, but they must have changed it. Ruslan, can you say something about that? Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From rjb at rz.uni-potsdam.de Mon Sep 6 16:57:27 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Sep 6 10:08:04 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> References: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> <200409061414.i86EELX14304@srv01.subwayspace.com> <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> Message-ID: >At 16:19 06.09.2004, you wrote: >>Where can I register the Xtra? I've tried following links on the website, >>which eventually take me to http://shop.novaint.com. However, I can't seem >>to find the product listed within their online store? > >Very strange, I searched for it too and couldn't find it either. >The site is really confusing and the search form does not return >any results. No "valentina" product found, after 10 minutes I gave up. > >German users can buy the product here: > >http://www.valentina-db.de/de/bestellen.html > >which is very easy and fast, but for international users it's >terrible, sorry to say that. I thought that it was Kagi who handled >that, but they must have changed it. > >Ruslan, can you say something about that? > >Martin. The link to Kagi works fine for me: https://order.kagi.com/cgi-bin/store.cgi?storeID=R93&& Nova's site is indeed a tragedy. Robert From martin.kloss at gmx.de Mon Sep 6 17:43:28 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Sep 6 10:43:44 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> <200409061414.i86EELX14304@srv01.subwayspace.com> <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> Message-ID: <6.1.2.0.2.20040906174228.01c2bbd0@pop.gmx.de> At 16:57 06.09.2004, you wrote: >The link to Kagi works fine for me: > >https://order.kagi.com/cgi-bin/store.cgi?storeID=R93&& great, where did you find that link? clicking "purchase" on the paradigma site takes me to the Nova shop. Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From sunshine at public.kherson.ua Mon Sep 6 18:53:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 6 10:53:58 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906174228.01c2bbd0@pop.gmx.de> Message-ID: On 9/6/04 6:43 PM, "Martin Kloss" wrote: > At 16:57 06.09.2004, you wrote: >> The link to Kagi works fine for me: >> >> https://order.kagi.com/cgi-bin/store.cgi?storeID=R93&& > > great, where did you find that link? clicking "purchase" > on the paradigma site takes me to the Nova shop. > > Martin. Martin, On this page http://paradigmasoft.com/purchasing.html You can see list of distributors. At the end of list you can see Paradigma Software link, Which bring you to KAGI store. Other links bring you to German, Italy and Nova distributors. Works ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 6 18:56:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 6 10:56:12 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: On 9/6/04 5:19 PM, "Bub" wrote: >> sounds like you haven't registered the xtra with a valid serial number in the >> init call. the xtra has a 10 minute timeout for unregistered users. > > Where can I register the Xtra? I've tried following links on the website, > which eventually take me to http://shop.novaint.com. > However, I can't seem > to find the product listed within their online store? I will CC this info to Nova! Guy, Do you have links to different Valentina products ? Bub cannot find where to purchase V4MD product Valentina for Director. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Mon Sep 6 17:57:22 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Sep 6 10:57:34 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <6.1.2.0.2.20040906174228.01c2bbd0@pop.gmx.de> Message-ID: <6.1.2.0.2.20040906175429.01c32bd0@pop.gmx.de> At 17:53 06.09.2004, you wrote: >On this page > http://paradigmasoft.com/purchasing.html >You can see list of distributors. ah, I see, the problem is that you have to click the "worldwide" link to get to the right store. If you click "UK", which you would probably do if you are in the UK you will be taken to the Nova store and you'll never be able to buy the freakin thing. So the German and the worldwide links work, but the Nova store really sucks. Please try to buy your own software through Nova and you'll find out that something is very wrong there. I would think about changing the distributor, if I were you. Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From rjb at rz.uni-potsdam.de Mon Sep 6 17:59:53 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Sep 6 11:07:57 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906174228.01c2bbd0@pop.gmx.de> References: <6.1.2.0.2.20040906141635.02919ba0@pop.gmx.de> <200409061414.i86EELX14304@srv01.subwayspace.com> <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> <6.1.2.0.2.20040906174228.01c2bbd0@pop.gmx.de> Message-ID: >At 16:57 06.09.2004, you wrote: >>The link to Kagi works fine for me: >> >>https://order.kagi.com/cgi-bin/store.cgi?storeID=R93&& > >great, where did you find that link? clicking "purchase" >on the paradigma site takes me to the Nova shop. > >Martin. > http://www.paradigmasoft.com/ -> purchase info -> worldwide: Paradigma Software -> online credit card order using secure web server r From guy.jones at novaint.com Mon Sep 6 18:29:03 2004 From: guy.jones at novaint.com (Guy Jones) Date: Mon Sep 6 11:42:22 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: Rusian, We have temporarily taken down the valentina products as we are restructuring them. They will be back up on Wednesday. We are always happy to help via email or telephone during any reworking. Any customers who have been inconvenienced can email me and i will give them a 20% discount. I will be on the road on Tuesday and will not get my emails until wednesday. Guy at 5:56 PM +0200 on 9/6/04, Ruslan Zasukhin wrote: >On 9/6/04 5:19 PM, "Bub" wrote: > >>> sounds like you haven't registered the xtra with a valid serial >>>number in the >>> init call. the xtra has a 10 minute timeout for unregistered users. >> >> Where can I register the Xtra? I've tried following links on the website, >> which eventually take me to http://shop.novaint.com. > >> However, I can't seem >> to find the product listed within their online store? > >I will CC this info to Nova! > >Guy, > >Do you have links to different Valentina products ? >Bub cannot find where to purchase V4MD product > > Valentina for Director. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- -- Regards, Guy Jones _____________________________________________ The Nova Group From guy.jones at novaint.com Mon Sep 6 18:33:23 2004 From: guy.jones at novaint.com (Guy Jones) Date: Mon Sep 6 11:42:34 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: Rusian, I just realized I am not a member of the list. Can you post there and tell them I welcome all constructive comments on our shop off list and that anyone who has had trouble ordering can email me for a 20% discount. I will subscribe to the list on Wednesday. We are also preparing some special offers for next month and welcome any suggestions. guy at 5:56 PM +0200 on 9/6/04, Ruslan Zasukhin wrote: >On 9/6/04 5:19 PM, "Bub" wrote: > >>> sounds like you haven't registered the xtra with a valid serial >>>number in the >>> init call. the xtra has a 10 minute timeout for unregistered users. >> >> Where can I register the Xtra? I've tried following links on the website, >> which eventually take me to http://shop.novaint.com. > >> However, I can't seem >> to find the product listed within their online store? > >I will CC this info to Nova! > >Guy, > >Do you have links to different Valentina products ? >Bub cannot find where to purchase V4MD product > > Valentina for Director. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- -- Regards, Guy Jones _____________________________________________ The Nova Group From Claudius at sailer-online.de Mon Sep 6 18:51:06 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Sep 6 11:51:24 2004 Subject: Valentina or other database??? In-Reply-To: References: Message-ID: Hi, best possibility to get an answer is to ask on Valentina-Developer-List. Support is great and fast. I believe Ruslan will be able to give you some hints to speed up. bye Claudius Am 06. Sep 2004 um 18:00 Uhr schrieb Aldwin Pollefeyt: > > I have a table with 65000 records with each 250 values. (G4PPC 800Mhz- > 512MB SDRAM) > > The fastest way that I found now with a Valentina Database is : > > RowFromFile=l.readline > FirstRowFromFile=replaceall(RowFromFile,chr(9),chr(44)) > do > RowFromFile=l.readline '250 values > testSQL=SQLExecute("INSERT INTO "+SQLTable+" ("+FirstRowFromFile+") > VALUES > ('"+ReplaceAll(ReplaceAll(RowFromFile,chr(39),chr(92)+chr(39)),chr(9),c > hr(39)+chr(44)+chr(39))+"')") > while not eof '65000 Records > > 1 insert = 500ms => 65000 * 500ms = 32500s => 541m 40s => 9 hours > > without the insert (with readline, replaceAlls, ....) => 1 record < 1 > ms > > :( Luckely this is the biggest table but there are others also for a > few hours. > > Greetings, > > Aldwin > > Started with RB on the 7th of June 2004 > > _______________________________________________ > Unsubscribe or switch delivery mode: > > > Search the archives of this list here: > > From sunshine at public.kherson.ua Mon Sep 6 20:05:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 6 12:05:44 2004 Subject: Valentina or other database??? In-Reply-To: Message-ID: On 9/6/04 7:51 PM, "Claudius Sailer" wrote: > Hi, > > best possibility to get an answer is to ask on > Valentina-Developer-List. Support is great and fast. > I believe Ruslan will be able to give you some hints to speed up. >> Am 06. Sep 2004 um 18:00 Uhr schrieb Aldwin Pollefeyt: >> >> I have a table with 65000 records with each 250 values. (G4PPC 800Mhz- >> 512MB SDRAM) >> >> The fastest way that I found now with a Valentina Database is : >> >> RowFromFile=l.readline >> FirstRowFromFile=replaceall(RowFromFile,chr(9),chr(44)) >> do >> RowFromFile=l.readline '250 values >> testSQL=SQLExecute("INSERT INTO "+SQLTable+" ("+FirstRowFromFile+") >> VALUES >> ('"+ReplaceAll(ReplaceAll(RowFromFile,chr(39),chr(92)+chr(39)),chr(9),c >> hr(39)+chr(44)+chr(39))+"')") >> while not eof '65000 Records >> >> 1 insert = 500ms => 65000 * 500ms = 32500s => 541m 40s => 9 hours >> >> without the insert (with readline, replaceAlls, ....) => 1 record < 1 >> ms >> >> :( Luckely this is the biggest table but there are others also for a >> few hours. I do not see full description of task. * It seems you have own text file and try parse and import it, yes? * table have 250 fields ? 1) Why you not use Valentina's native cursor.ImportASCII() function. It is optimized and it can work in many times faster of your RB-made one. 2) if you want/must use own import method then you must consider -- cache must be as big as possible -- indexed fields must be set to be NOT indexed, so no spend of time on update of indexed on each add. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From guy.jones at novaint.com Mon Sep 6 18:29:03 2004 From: guy.jones at novaint.com (Guy Jones) Date: Mon Sep 6 12:14:03 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: Rusian, We have temporarily taken down the valentina products as we are restructuring them. They will be back up on Wednesday. We are always happy to help via email or telephone during any reworking. Any customers who have been inconvenienced can email me and i will give them a 20% discount. I will be on the road on Tuesday and will not get my emails until wednesday. Guy at 5:56 PM +0200 on 9/6/04, Ruslan Zasukhin wrote: >On 9/6/04 5:19 PM, "Bub" wrote: > >>> sounds like you haven't registered the xtra with a valid serial >>>number in the >>> init call. the xtra has a 10 minute timeout for unregistered users. >> >> Where can I register the Xtra? I've tried following links on the website, >> which eventually take me to http://shop.novaint.com. > >> However, I can't seem >> to find the product listed within their online store? > >I will CC this info to Nova! > >Guy, > >Do you have links to different Valentina products ? >Bub cannot find where to purchase V4MD product > > Valentina for Director. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- -- Regards, Guy Jones _____________________________________________ The Nova Group From guy.jones at novaint.com Mon Sep 6 18:33:23 2004 From: guy.jones at novaint.com (Guy Jones) Date: Mon Sep 6 12:14:14 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: Rusian, I just realized I am not a member of the list. Can you post there and tell them I welcome all constructive comments on our shop off list and that anyone who has had trouble ordering can email me for a 20% discount. I will subscribe to the list on Wednesday. We are also preparing some special offers for next month and welcome any suggestions. guy at 5:56 PM +0200 on 9/6/04, Ruslan Zasukhin wrote: >On 9/6/04 5:19 PM, "Bub" wrote: > >>> sounds like you haven't registered the xtra with a valid serial >>>number in the >>> init call. the xtra has a 10 minute timeout for unregistered users. >> >> Where can I register the Xtra? I've tried following links on the website, >> which eventually take me to http://shop.novaint.com. > >> However, I can't seem >> to find the product listed within their online store? > >I will CC this info to Nova! > >Guy, > >Do you have links to different Valentina products ? >Bub cannot find where to purchase V4MD product > > Valentina for Director. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- -- Regards, Guy Jones _____________________________________________ The Nova Group From fci at europa.com Mon Sep 6 11:06:43 2004 From: fci at europa.com (Lynn Fredricks) Date: Mon Sep 6 13:06:56 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <200409061414.i86EELX14304@srv01.subwayspace.com> Message-ID: <20040906180649.75E2D82729@smtp2.pacifier.net> > > sounds like you haven't registered the xtra with a valid > serial number > > in > the init > > call. the xtra has a 10 minute timeout for unregistered users. > > Where can I register the Xtra? I've tried following links on > the website, which eventually take me to > http://shop.novaint.com. However, I can't seem to find the > product listed within their online store? Sales for Valentina products go through Nova International for UK customers. If you cant find something, contact Guy Jones (guy.jones@novaint.com) and he will take care of you. Best regards, Lynn Fredricks President Proactive International, LLC Sell Your Products in Every Market - Because it is about who you know.(tm) - http://www.proactive-intl.com From fci at europa.com Mon Sep 6 11:07:28 2004 From: fci at europa.com (Lynn Fredricks) Date: Mon Sep 6 13:07:38 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> Message-ID: <20040906180734.1C0806AA55@smtp2.pacifier.net> > German users can buy the product here: > > http://www.valentina-db.de/de/bestellen.html > > which is very easy and fast, but for international users it's > terrible, sorry to say that. I thought that it was Kagi who > handled that, but they must have changed it. Why is it terrible? Best regards, Lynn Fredricks President Proactive International, LLC Sell Your Products in Every Market - Because it is about who you know.(tm) - http://www.proactive-intl.com From chuck at mediamacros.com Mon Sep 6 13:28:13 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Sep 6 14:02:18 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: Message-ID: <005601c49436$e312ee30$b900a8c0@batcomputer> And don't forget us resellers. ;) http://www.mediamacros.net/customer -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, September 06, 2004 11:54 AM To: valentina@lists.macserve.net Subject: Re: Valentina Xtra Error - Appears After 10 Mins???!! On 9/6/04 6:43 PM, "Martin Kloss" wrote: > At 16:57 06.09.2004, you wrote: >> The link to Kagi works fine for me: >> >> https://order.kagi.com/cgi-bin/store.cgi?storeID=R93&& > > great, where did you find that link? clicking "purchase" > on the paradigma site takes me to the Nova shop. > > Martin. Martin, On this page http://paradigmasoft.com/purchasing.html You can see list of distributors. At the end of list you can see Paradigma Software link, Which bring you to KAGI store. Other links bring you to German, Italy and Nova distributors. Works ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From desarrollo at manises.com Tue Sep 7 08:25:59 2004 From: desarrollo at manises.com (Amparo) Date: Tue Sep 7 01:22:25 2004 Subject: Darme de baja en la lista Message-ID: <413D5477.4050404@manises.com> From martin.kloss at gmx.de Tue Sep 7 08:31:00 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Tue Sep 7 01:31:12 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <20040906180734.1C0806AA55@smtp2.pacifier.net> References: <6.1.2.0.2.20040906162859.01c33270@pop.gmx.de> <20040906180734.1C0806AA55@smtp2.pacifier.net> Message-ID: <6.1.2.0.2.20040907082753.01b8c850@pop.gmx.de> At 20:07 06.09.2004, you wrote: > > which is very easy and fast, but for international users it's > > terrible, sorry to say that. I thought that it was Kagi who > > handled that, but they must have changed it. > >Why is it terrible? Because the Nova website is terrible, plain and simple. The search form makes you want to leave the site immediately and a shop that does not help me getting the product I want, but actually prevents me from doing so is not worth visiting again. Martin. Martin Kloss "Everybody is somebody else's weirdo." Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From rjb at rz.uni-potsdam.de Tue Sep 7 12:42:34 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Sep 7 05:45:33 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: <20040906180649.75E2D82729@smtp2.pacifier.net> References: <20040906180649.75E2D82729@smtp2.pacifier.net> Message-ID: > >Sales for Valentina products go through Nova International for UK customers. >If you cant find something, contact Guy Jones (guy.jones@novaint.com) and he >will take care of you. > >Best regards, > >Lynn Fredricks Curious why there is a British flag by Ireland among the newly added links for Nova? Or is it only for North Ireland? Robert From sunshine at public.kherson.ua Tue Sep 7 14:06:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 06:06:55 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: Message-ID: On 9/7/04 1:42 PM, "Robert Brenstein" wrote: >> Sales for Valentina products go through Nova International for UK customers. >> If you cant find something, contact Guy Jones (guy.jones@novaint.com) and he >> will take care of you. >> >> Best regards, >> >> Lynn Fredricks > > Curious why there is a British flag by Ireland among the newly added > links for Nova? Or is it only for North Ireland? Hi Robert, Icons of flag I did choose. If I have made mistake please tell me exactly what is wrong. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Tue Sep 7 14:11:57 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Sep 7 07:25:03 2004 Subject: Valentina Xtra Error - Appears After 10 Mins???!! In-Reply-To: References: Message-ID: >Icons of flag I did choose. > >If I have made mistake please tell me exactly what is wrong. > Just look at flags of Britain and Ireland on your site. They should not be the same. Robert From cochrane at labyrinth.net.au Tue Sep 7 23:06:46 2004 From: cochrane at labyrinth.net.au (John Cochrane) Date: Tue Sep 7 08:05:21 2004 Subject: Dates problem Message-ID: I am new to Valentina so please forgive me if I am asking a stupid question. I cannot enter data into a date field with Applescript despite trying many ways of formatting the date I simplified it to a one column table and used- make new record with data {"30/05/1971"} at end of Customers. All that is entered is "0000000000" Data will enter into other field types fine. I have the "Date" type selected for the field and I am using the same date format as my system and date separators. What am I missing? John Cochrane From sunshine at public.kherson.ua Tue Sep 7 16:37:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 08:38:23 2004 Subject: Dates problem In-Reply-To: Message-ID: On 9/7/04 4:06 PM, "John Cochrane" wrote: > I am new to Valentina so please forgive me if I am asking a stupid > question. > I cannot enter data into a date field with Applescript despite trying > many ways of formatting the date > > I simplified it to a one column table and used- > make new record with data {"30/05/1971"} at end of Customers. > All that is entered is "0000000000" > > Data will enter into other field types fine. I have the "Date" type > selected for the field and I am using the same date format as my system > and date separators. > > What am I missing? Hi John, Please check examples. I am sure at least one show work with date field. It seems must be not simply string, but prefixed with keyword 'date' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Tue Sep 7 15:54:58 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Sep 7 08:55:14 2004 Subject: V4MD - Error -39 Message-ID: <00be01c494e2$4351f1a0$3a01a8c0@sbt> Hi everyone, On a database created with V4MD 1.9.8 on windows, with director 8.51 I get an error -39 while trying to make an insert using sqlexecute. We use 4 files formated for our databases (vdb ind dat (blb)). The error happens only when some valentina code has been called from director before I make the insert. In our project we use several instances of the valentina XTRA at the same time in order not to have to recreate instances of the XTRA each time we change database files. Our project works fine for several months before the error comes up. And this using the same code. So to sum up the only way to have the bug is : * Using a database which has been used for several months (no bug on a clean database) * Execute the insert using the code below (if you erase even one line of the code the insert works fine) I tried several things which does not solve the problem including using XTRA 1.10... This is not due to some ponctual crash. Our client lost his databases on about 20 different computers (windows) during a week after 6 months of use without any problems. So it seems the problem is linked with an important amount of data in the database. The code which causes the error is the following : ===================================== ValentinaDebugLevel(1) ValentinaInit( 100 * 1024, "", myserial ) myBaseA = new(xtra"VDataBase") SetEncryption( myBaseA,"gloubiboulga" ) openDatabase(myBaseA, the moviepath & "bases\Accounts") myBaseB = new(xtra"VDataBase") SetEncryption( myBaseB,"gloubiboulga" ) openDatabase(myBaseB, the moviepath & "bases\Scoring") myBaseC = new(xtra"VDataBase") SetEncryption( myBaseC,"gloubiboulga" ) openDatabase(myBaseC, the moviepath & "bases\Data") sqlstring="INSERT INTO Accounts_profil (Cle_accounts_profil, seniorid, date_training, ind_m, ind_a, ind_l, ind_fe, ind_vs) VALUES (769,1,'02/02/2004',10,10,10,10,10 )" SqlExecute(mybaseA, sqlstring) => error -39 ================================ I have also made a diagnose on the Accounts Database (see below). The other ones (Scoring and Data) are not so important as far as we get the same bug even with clean Data and Scoring. So the problem seems to come from the Accounts Database. I searched a big part of the valentina list archive for error -39 and I have found that this is an end of file error of the vdb file on macintosh. And also saw that this happens often with old valentina versions but not anymore with the newer ones. So if someone has any ideas (error -39 , several instances of XTRA , amount of data which changes the way it works etc...) about this complicated bug this would be wonderful. I can send a test project. Or some other information. Best reagrds Roland hildebrandt DIAGNOSE of ACCOUNTS before the bug : (Table has 3 physical records but field has 256 : This errors are linked to encryption and don't cause any problems in our other projects) After the bug happens we can't even open the accounts database we allways get error -39. Problems found!************************************************************************ * BaseObject: "sysItemDescription" ************************************************************************ All right.-----> Field: "Kind' of type Long All right.-----> Field: "ParentPtr' of type ObjectPtr All right.-----> Field: "ColumnName' of type VarChar All right.-----> Field: "ColumnType' of type Byte All right.************************************************************************ * BaseObject: "sysItem" ************************************************************************ All right.-----> Field: "ItemDescrPtr' of type ObjectPtr All right.-----> Field: "Value' of type VarChar All right.-----> Field: "TextValue' of type Text All right.-----> Field: "ParentPtr' of type ObjectPtr All right.************************************************************************ * BaseObject: "Accounts" ************************************************************************ Problems found.-----> Field: "Cle_accounts' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Seniorid' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Langue' of type Byte Problems found!(!) Table has 3 physical records but field has 1024 -----> Field: "Nom' of type VarChar All right.-----> Field: "Prenom' of type VarChar All right.-----> Field: "Birthday' of type DateTime Problems found!(!) Table has 3 physical records but field has 128 -----> Field: "Adresse1' of type VarChar All right.-----> Field: "Diplome' of type Byte Problems found!(!) Table has 3 physical records but field has 1024 -----> Field: "Sexe' of type String Problems found!(!) Table has 3 physical records but field has 512 -----> Field: "Date_seance' of type DateTime Problems found!(!) Table has 3 physical records but field has 128 -----> Field: "Results' of type String Problems found!(!) Table has 3 physical records but field has 48 -----> Field: "Ind1' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids1' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind2' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids2' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind3' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids3' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind4' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids4' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind5' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids5' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind6' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids6' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind7' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids7' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind8' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids8' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind9' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids9' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind10' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids10' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind11' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids11' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind12' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids12' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind13' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids13' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind14' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids14' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind15' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids15' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind16' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids16' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind17' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids17' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind18' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids18' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind19' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids19' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind20' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids20' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind21' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids21' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind22' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids22' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind23' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids23' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind24' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids24' of type Long Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Ind25' of type Float Problems found!(!) Table has 3 physical records but field has 256 -----> Field: "Poids25' of type Long Problems found!(!) Table has 3 physical records but field has 256 ************************************************************************ * BaseObject: "Accounts_profil" ************************************************************************ All right.-----> Field: "Cle_accounts_profil' of type Long All right.-----> Field: "Seniorid' of type Long All right.-----> Field: "Date_training' of type DateTime All right.-----> Field: "Ind_M' of type Float All right.-----> Field: "Ind_A' of type Float All right.-----> Field: "Ind_L' of type Float All right.-----> Field: "Ind_FE' of type Float All right.-----> Field: "Ind_VS' of type Float All right.************************************************************************ * BaseObject: "PersonalResult0001" ************************************************************************ Problems found.-----> Field: "Cle_personalresult' of type Long Problems found!(!) Table has 765 physical records but field has 768 -----> Field: "Seniorid' of type Long Problems found!(!) Table has 765 physical records but field has 768 -----> Field: "Gameid' of type Long Problems found!(!) Table has 765 physical records but field has 768 -----> Field: "Num_PR' of type Long Problems found!(!) Table has 765 physical records but field has 768 -----> Field: "Cleconfig' of type String Problems found!(!) Table has 765 physical records but field has 796 -----> Field: "Jour_PR' of type DateTime Problems found!(!) Table has 765 physical records but field has 768 -----> Field: "Langue' of type Byte Problems found!(!) Table has 765 physical records but field has 1024 -----> Field: "Detail_PR' of type VarChar All right.-----> Field: "Indicateurs_PR' of type VarChar All right.-----> Field: "cle_accounts_single_cnx' of type Long Problems found!(!) Table has 765 physical records but field has 768 From sunshine at public.kherson.ua Tue Sep 7 16:58:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 09:03:53 2004 Subject: V4MD - Error -39 In-Reply-To: <00be01c494e2$4351f1a0$3a01a8c0@sbt> Message-ID: On 9/7/04 4:54 PM, "Roland Hildebrandt" wrote: > Hi everyone, > > On a database created with V4MD 1.9.8 on windows, with director 8.51 I get an > error -39 while trying to make an insert using sqlexecute. We use 4 files > formated for our databases (vdb ind dat (blb)). > > The error happens only when some valentina code has been called from director > before I make the insert. > > In our project we use several instances of the valentina XTRA at the same time > in order not to have to recreate instances of the XTRA each time we change > database files. > > Our project works fine for several months before the error comes up. And this > using the same code. > > So to sum up the only way to have the bug is : > * Using a database which has been used for several months (no bug on a clean > database) > * Execute the insert using the code below (if you erase even one line of the > code the insert works fine) > > I tried several things which does not solve the problem including using XTRA > 1.10... > > This is not due to some ponctual crash. Our client lost his databases on about > 20 different computers (windows) during a week after 6 months of use without > any problems. So it seems the problem is linked with an important amount of > data in the database. > > The code which causes the error is the following : > > ===================================== > ValentinaDebugLevel(1) > ValentinaInit( 100 * 1024, "", myserial ) > > myBaseA = new(xtra"VDataBase") > SetEncryption( myBaseA,"gloubiboulga" ) > openDatabase(myBaseA, the moviepath & "bases\Accounts") > > myBaseB = new(xtra"VDataBase") > SetEncryption( myBaseB,"gloubiboulga" ) > openDatabase(myBaseB, the moviepath & "bases\Scoring") > > myBaseC = new(xtra"VDataBase") > SetEncryption( myBaseC,"gloubiboulga" ) > openDatabase(myBaseC, the moviepath & "bases\Data") > > sqlstring="INSERT INTO Accounts_profil (Cle_accounts_profil, seniorid, > date_training, ind_m, ind_a, ind_l, ind_fe, ind_vs) VALUES > (769,1,'02/02/2004',10,10,10,10,10 )" > SqlExecute(mybaseA, sqlstring) > => error -39 > > ================================ > > > I have also made a diagnose on the Accounts Database (see below). The other > ones (Scoring and Data) are not so important as far as we get the same bug > even with clean Data and Scoring. So the problem seems to come from the > Accounts Database. > > I searched a big part of the valentina list archive for error -39 and I have > found that this is an end of file error of the vdb file on macintosh. And also > saw that this happens often with old valentina versions but not anymore with > the newer ones. > > So if someone has any ideas (error -39 , several instances of XTRA , amount of > data which changes the way it works etc...) about this complicated bug this > would be wonderful. I can send a test project. Or some other information. Hi Roland, It looks you have corrupted db files. Only hope to fix this -- using XML dump than XML Load into new fresh db. May happens that some info will be lost. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Tue Sep 7 16:36:05 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Sep 7 09:36:25 2004 Subject: V4MD - Error -39 References: Message-ID: <00cc01c494e8$01b2e000$3a01a8c0@sbt> ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, September 07, 2004 3:58 PM Subject: Re: V4MD - Error -39 > On 9/7/04 4:54 PM, "Roland Hildebrandt" wrote: > > > Hi everyone, > > > > On a database created with V4MD 1.9.8 on windows, with director 8.51 I get an > > error -39 while trying to make an insert using sqlexecute. We use 4 files > > formated for our databases (vdb ind dat (blb)). > > > > The error happens only when some valentina code has been called from director > > before I make the insert. > > > > In our project we use several instances of the valentina XTRA at the same time > > in order not to have to recreate instances of the XTRA each time we change > > database files. > > > > Our project works fine for several months before the error comes up. And this > > using the same code. > > > > So to sum up the only way to have the bug is : > > * Using a database which has been used for several months (no bug on a clean > > database) > > * Execute the insert using the code below (if you erase even one line of the > > code the insert works fine) > > > > I tried several things which does not solve the problem including using XTRA > > 1.10... > > > > This is not due to some ponctual crash. Our client lost his databases on about > > 20 different computers (windows) during a week after 6 months of use without > > any problems. So it seems the problem is linked with an important amount of > > data in the database. > > > > The code which causes the error is the following : > > > > ===================================== > > ValentinaDebugLevel(1) > > ValentinaInit( 100 * 1024, "", myserial ) > > > > myBaseA = new(xtra"VDataBase") > > SetEncryption( myBaseA,"gloubiboulga" ) > > openDatabase(myBaseA, the moviepath & "bases\Accounts") > > > > myBaseB = new(xtra"VDataBase") > > SetEncryption( myBaseB,"gloubiboulga" ) > > openDatabase(myBaseB, the moviepath & "bases\Scoring") > > > > myBaseC = new(xtra"VDataBase") > > SetEncryption( myBaseC,"gloubiboulga" ) > > openDatabase(myBaseC, the moviepath & "bases\Data") > > > > sqlstring="INSERT INTO Accounts_profil (Cle_accounts_profil, seniorid, > > date_training, ind_m, ind_a, ind_l, ind_fe, ind_vs) VALUES > > (769,1,'02/02/2004',10,10,10,10,10 )" > > SqlExecute(mybaseA, sqlstring) > > => error -39 > > > > ================================ > > > > > > I have also made a diagnose on the Accounts Database (see below). The other > > ones (Scoring and Data) are not so important as far as we get the same bug > > even with clean Data and Scoring. So the problem seems to come from the > > Accounts Database. > > > > I searched a big part of the valentina list archive for error -39 and I have > > found that this is an end of file error of the vdb file on macintosh. And also > > saw that this happens often with old valentina versions but not anymore with > > the newer ones. > > > > So if someone has any ideas (error -39 , several instances of XTRA , amount of > > data which changes the way it works etc...) about this complicated bug this > > would be wonderful. I can send a test project. Or some other information. > > Hi Roland, > > It looks you have corrupted db files. > > Only hope to fix this -- using XML dump than XML Load into new fresh db. > May happens that some info will be lost. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] Hi Ruslan, You mean our Database before error -39 occurs is corrupted ? Is there a way to find out corruption with a crypted database ? Thank's for the advice of XML dump but my problem is not to save some data in the files. I need to understand why we become this error on all accounts databases after 6 months of work. In fact we have to make the same kind of project for october. So I have a big problem because I know I will lose all data after six months on one of the database but I don't know why and I have no workaround. That's why it's important for me to understand why this happens. Best regards Roland Hidebrandt From sunshine at public.kherson.ua Tue Sep 7 18:00:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 10:00:47 2004 Subject: V4MD - Error -39 In-Reply-To: <00cc01c494e8$01b2e000$3a01a8c0@sbt> Message-ID: On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: > Hi Ruslan, > > You mean our Database before error -39 occurs is corrupted ? Is there a way > to find out corruption with a crypted database ? In general yes, Diagnose() Just it not correctly report about boolean fields > Thank's for the advice of XML dump but my problem is not to save some data > in the files. > I need to understand why we become this error on all accounts databases > after 6 months of work. This could be sys/app crash > In fact we have to make the same kind of project for october. So I have a > big problem because I know I will lose all data after six months on one of > the database but I don't know why and I have no workaround. > That's why it's important for me to understand why this happens. You should make sure that you have as many flushes as possible. This reduce chance of corruption. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From support at monkeybreadsoftware.de Tue Sep 7 17:06:34 2004 From: support at monkeybreadsoftware.de (Christian Schmitz) Date: Tue Sep 7 10:07:47 2004 Subject: V4RB: Change varchar field length on runtime? Message-ID: <1gjr59z.njpaeb12ulignM%support@monkeybreadsoftware.de> Hi, I've a field in a table in a database with 4 character in with. How can I change the length of this field easy? Mfg Christian -- Eight thousand functions in one REALbasic plug-in. The MBS Plugin. From sunshine at public.kherson.ua Tue Sep 7 18:35:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 10:36:03 2004 Subject: V4RB: Change varchar field length on runtime? In-Reply-To: <1gjr59z.njpaeb12ulignM%support@monkeybreadsoftware.de> Message-ID: On 9/7/04 6:06 PM, "Christian Schmitz" wrote: > Hi, > > I've a field in a table in a database with 4 character in with. > How can I change the length of this field easy? Hi Christian, For single db or you need automate this ? For single -- you can use VAPP For programming you can use Vstring.SetMaxLength() (name can be not exact) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Tue Sep 7 17:41:50 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Sep 7 10:42:02 2004 Subject: V4MD - Error -39 References: Message-ID: <00ee01c494f1$30e43d70$3a01a8c0@sbt> > On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: > > > Hi Ruslan, > > > > You mean our Database before error -39 occurs is corrupted ? Is there a way > > to find out corruption with a crypted database ? > > In general yes, Diagnose() > Just it not correctly report about boolean fields Yes I do the diagnose on the database but I get messages LIKE "Table has 3 physical records but field has 256" on most of the fields not only boolean. But I remember some messages on the list where it was said this is normal with crypted database. You can see the diagnose at the end of my last mail. > > Thank's for the advice of XML dump but my problem is not to save some data > > in the files. > > > I need to understand why we become this error on all accounts databases > > after 6 months of work. > > This could be sys/app crash > I don't think so as far as we get the same problem on 20 computers in one week. And I can redo the bug again and again using the way I explained in the last mail. So the problem seems to be linked to the state of the DB. The problem is to understand why the DB goes in this bad state after 6 months of use. > > In fact we have to make the same kind of project for october. So I have a > > big problem because I know I will lose all data after six months on one of > > the database but I don't know why and I have no workaround. > > > That's why it's important for me to understand why this happens. > > You should make sure that you have as many flushes as possible. > This reduce chance of corruption. Accounts is the only DB we change during execution. We use flush command on this DB in each script (not each function, but at the end of the script) which updates it. This raise me another question : Our other DBs are read only but i have been surprised that the files (vdb, ind, dat, blb) changes even if not updated. I have seen this using CVS : I open the DB make a read only request on it then close DB. After this the file is 'modified' in CVS. What's reason for this ? Is it linked with some indexes or optimisation for following request ? Best Regards Roland Hildebrandt From sunshine at public.kherson.ua Tue Sep 7 18:47:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 10:48:02 2004 Subject: V4MD - Error -39 In-Reply-To: <00ee01c494f1$30e43d70$3a01a8c0@sbt> Message-ID: On 9/7/04 6:41 PM, "Roland Hildebrandt" wrote: >>> You mean our Database before error -39 occurs is corrupted ? Is there a > way >>> to find out corruption with a crypted database ? >> >> In general yes, Diagnose() >> Just it not correctly report about boolean fields > > Yes I do the diagnose on the database but I get messages LIKE "Table has 3 > physical records but field has 256" on most of the fields not only boolean. > But I remember some messages on the list where it was said this is normal > with crypted database. > You can see the diagnose at the end of my last mail. If I not mistake it is normal for boolean fields only. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 7 18:52:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 7 10:52:26 2004 Subject: V4MD - Error -39 In-Reply-To: <00ee01c494f1$30e43d70$3a01a8c0@sbt> Message-ID: On 9/7/04 6:41 PM, "Roland Hildebrandt" wrote: >>> Thank's for the advice of XML dump but my problem is not to save some data >>> in the files. >>> >>> I need to understand why we become this error on all accounts databases >>> after 6 months of work. >>> >> This could be sys/app crash >> > > I don't think so as far as we get the same problem on 20 computers in one > week. And I can redo the bug again and again using the way I explained in the > last mail. You can reproduce? > So the problem seems to be linked to the state of the DB. The > problem is to understand why the DB goes in this bad state after 6 months of > use. Only on db which is old 6 months ? Roland, first of all I will recommend switch to Valentina 1.10 It have many fixed bugs. Because no big sense discuss 1.9.8, May be that bug is fixed in 1.10. >>> In fact we have to make the same kind of project for october. So I have a >>> big problem because I know I will lose all data after six months on one of >>> the database but I don't know why and I have no workaround. >>> >>> That's why it's important for me to understand why this happens. >>> >> You should make sure that you have as many flushes as possible. >> This reduce chance of corruption. > > Accounts is the only DB we change during execution. We use flush command on > this DB in each script (not each function, but at the end of the script) > which updates it. ok > This raise me another question : Our other DBs are read only but i have been > surprised that the files (vdb, ind, dat, blb) changes even if not updated. I > have seen this using CVS : I open the DB make a read only request on it then > close DB. After this the file is 'modified' in CVS. What's reason for this ? > Is it linked with some indexes or optimisation for following request ? Hmm. IF files marked as READ ONLY by OS, then any app and Valentina also cannot modify that files. So I wonder on your words. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Wed Sep 8 15:12:29 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 8 08:12:20 2004 Subject: CONVERT RDBLINK Problem Message-ID: Is there a limit on the number of records to use or the size of the VDB to use CONVERT RDBLINK? Greetings, aldwin. From sunshine at public.kherson.ua Wed Sep 8 16:57:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 8 08:57:55 2004 Subject: CONVERT RDBLINK Problem In-Reply-To: Message-ID: On 9/8/04 4:12 PM, "Aldwin Pollefeyt" wrote: Hi Aldwin, > Is there a limit on the number of records to use or the size of the VDB > to use CONVERT RDBLINK? Valentina do not have such artificial limits. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Wed Sep 8 17:21:41 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 8 10:21:33 2004 Subject: Valentina : CONVERT RDBLINK Message-ID: Is list.macserve.net the official mailinglist for Valentina??? I want to set the pointers after an importText() in an Valentina database. Contact : 688 Records Klanten: 896 Records And I have to do this also for a BaseObject with 64.000 Records Normaly: But this gives a crash ! CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr Things I tried: Wrong result: UPDATE Contact SET Klant_Ptr=(SELECT RecId FROM Klanten WHERE Klanten.Nummer=Contact.Klantnummer) UPDATE Contact SET Klant_Ptr=Klanten.RecId JOIN Klanten ON Klanten.nummer=Contact.Klantnummer Doesn't work at all(error in syntax): UPDATE Contact JOIN Klanten ON Klanten.nummer=Contact.Klantnummer SET Klant_Ptr=Klanten.RecId Err 607 : Expected '(' with VISql UPDATE Contact,Klanten SET Contact.Klant_Ptr=Klanten.RecId WHERE Contact.Klantnummer=Klanten.Nummer Err 607 : Expected '(' with VISql Greetings, aldwin From sunshine at public.kherson.ua Wed Sep 8 19:01:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 8 11:01:38 2004 Subject: Valentina : CONVERT RDBLINK In-Reply-To: Message-ID: On 9/8/04 6:21 PM, "Aldwin Pollefeyt" wrote: > Is list.macserve.net the official mailinglist for Valentina??? yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 8 19:03:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 8 11:03:26 2004 Subject: Valentina : CONVERT RDBLINK In-Reply-To: Message-ID: On 9/8/04 6:21 PM, "Aldwin Pollefeyt" wrote: > I want to set the pointers after an importText() in an Valentina > database. > Contact : 688 Records Klanten: 896 Records > And I have to do this also for a BaseObject with 64.000 Records > > Normaly: But this gives a crash ! > > CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr Klant_Ptr -- this is objectPtr, right? You have create it self AFTER import ? > Things I tried: > > Wrong result: > UPDATE Contact SET Klant_Ptr=(SELECT RecId FROM Klanten WHERE > Klanten.Nummer=Contact.Klantnummer) > UPDATE Contact SET Klant_Ptr=Klanten.RecId JOIN Klanten ON > Klanten.nummer=Contact.Klantnummer > > Doesn't work at all(error in syntax): > UPDATE Contact JOIN Klanten ON Klanten.nummer=Contact.Klantnummer SET > Klant_Ptr=Klanten.RecId > Err 607 : Expected '(' with VISql > UPDATE Contact,Klanten SET Contact.Klant_Ptr=Klanten.RecId WHERE > Contact.Klantnummer=Klanten.Nummer > Err 607 : Expected '(' with VISql I do not understand why you talk here about UPDATE ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at pedro.Net.au Thu Sep 9 15:01:49 2004 From: lists at pedro.Net.au (Pedro fp) Date: Thu Sep 9 00:02:04 2004 Subject: [V4RB] RecID & picture fields Message-ID: <5B46827A-021D-11D9-9C20-000D9366C144@pedro.Net.au> G'day Folks Back into Valentina & Rb programming after something of a layoff & having 2 problems that are killing the project. The first is that this line ... dRow( i ).itemData = data.uMediumField( "RecID" ).value in the method that loads the data causes an unexpected quit. dRow is just a container object that I'm using to hold the retrieved data in. All other setters to dRow, except the one mentioned below, work. RecID is explicitly included in the field list in my SQL query. The 2nd problem is that this line ... dRow( i ).icon = data.PictureField( "photo" ).getPicture ' Set photo icon. gives a nil object exception with no picture being retrieved. It could be that I have something wrong in the method that creates the record as after importing a folder of 30 images (1.1 MB) the blob file of my database hasn't changed in size. That method, in the baseobject that holds this data, is ... Sub newPersonFromJPEG( withFile As folderItem ) dim dataString As string, iDate As new date, i, ln As integer, gt As boGlobals dataString = left( withFile.name, len( withFile.name ) - 4 ) writeLog "dataString: " + dataString gt = winMain.mDatabase.tGlobals ln = gt.lastAdded + 1 me.setBlank me.fLine.value = ln me.fDateAdded.set( iDate.year, iDate.month, iDate.day ) for i = 0 to 1 me.fName( i ).value = titlecase( nthField( dataString, " ", i + 1 ) ) next if countFields( dataString, " " ) > 2 then me.fPayNumber.value = nthField( dataString, " ", 3 ) end if me.fPhoto.setPicture( withFile.openAsPicture, 80 ) me.fLastModified.setDate( iDate.year, iDate.month, iDate.day ) me.fLastModified.setTime( iDate.hour, iDate.minute, iDate.second ) me.addRecord me.flush gt.lastAdded = ln writeLog "Imported!" End Sub Any clues to either of these? Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy?" M K (Mahatma) Gandhi From lists at pedro.Net.au Thu Sep 9 15:15:12 2004 From: lists at pedro.Net.au (Pedro fp) Date: Thu Sep 9 00:15:27 2004 Subject: [V4RB] RecID & picture fields In-Reply-To: <5B46827A-021D-11D9-9C20-000D9366C144@pedro.Net.au> References: <5B46827A-021D-11D9-9C20-000D9366C144@pedro.Net.au> Message-ID: <3A0F1F58-021F-11D9-9C20-000D9366C144@pedro.Net.au> By way of addition in case it's useful ... The other lines accessing the same cursor ... s(0) = data.stringField( "salutation" ).getString s(1) = data.stringField( "givenName" ).getString s(2) = data.stringField( "surname" ).getString dRow( i ).name = s dRow( i ).payrollNumber = data.stringField( "payNumber" ).getString all work as expected. These lines immediately follow ... dRow( i ).itemData = data.uMediumField( "RecID" ).value dRow( i ).icon = data.PictureField( "photo" ).getPicture ' Set photo icon. in the method. Also the folderItem passed in the newPersonFromJPEG( withFile As folderItem ) method is always a JPEG & checked using ... if f.item( i ).type = "image/jpeg" then before calling newPersonFromJPEG. Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "The West won the world not by the superiority of its ideas or values or religion but rather by its superiority in applying organized violence. Westerners often forget this fact, non-Westerners never do." Samuel P. Huntington From huancaya at wanadoo.fr Thu Sep 9 10:40:28 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Thu Sep 9 01:40:48 2004 Subject: Where is the error ? In-Reply-To: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> References: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> Message-ID: <23AF703C-022B-11D9-B3E5-000A95BA5A32@wanadoo.fr> Hi I have this table : idA idB Nom autoID 1 9 NON 1 4 4 OUI 1 =C3 11 19 NON 2 291 291 OUI 2 =C3 5 23 NON 3 where autoID is this method : Boolean METHOD(idA=3DidB) With Valentina Studio, the SQL-request "select ** from table=00" give = the=20 good cursor. But "SELECT ** FROM table WHERE autoID =3D true" (or 1 or yes or on or=20= false, etc.) return un empty cursor. Why ? On the other hand, if autoID is the method : Long METHOD(idA-idB), the=20= diff=8Erent SQL-requests give then right cursor : SELECT ... WHERE =20 autoID =3D 0 (or <>0) Why the method with BOOLEAN don't work ? ViSQL give the same cursors. Regards, -- Thierry Nauze Saint-Denis de la R=8Eunion From fvanlerberghe at freegates.be Thu Sep 9 09:04:34 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Sep 9 02:03:26 2004 Subject: [V4RB] RecID & picture fields In-Reply-To: <5B46827A-021D-11D9-9C20-000D9366C144@pedro.Net.au> Message-ID: Hi Pedro, le 9/09/04 7:01, Pedro fp a ?crit?: > G'day Folks > > Back into Valentina & Rb programming after something of a layoff & > having 2 problems that are killing the project. > > The first is that this line ... > > dRow( i ).itemData = data.uMediumField( "RecID" ).value > > in the method that loads the data causes an unexpected quit. RecID is not an uMediumField. It's an ULongField. Try this : dRow( i ).itemData = data.ULongField( "RecID" ).value > dRow is just a container object that I'm using to hold the retrieved > data in. > All other setters to dRow, except the one mentioned below, work. > RecID is explicitly included in the field list in my SQL query. > > The 2nd problem is that this line ... > > dRow( i ).icon = data.PictureField( "photo" ).getPicture ' Set > photo icon. > > gives a nil object exception with no picture being retrieved. This code seems to be correct. I think you must test nil objet before. Try this : dim tempPicture As Picture dim pictureField As VPicture tempPicture = data.PictureField( "photo" ) if pictureField <> nil tempPicture = pictureField.GetPicture end if if tempPicture <> nil then dRow( i ).icon = tempPicture end if Have you set the currentPosition to the record you want to retrieve? > It could be that I have something wrong in the method that creates the > record as after importing a folder of 30 images (1.1 MB) the blob file > of my database hasn't changed in size. > That method, in the baseobject that holds this data, is ... > > Sub newPersonFromJPEG( withFile As folderItem ) > dim dataString As string, iDate As new date, i, ln As integer, gt As > boGlobals > > dataString = left( withFile.name, len( withFile.name ) - 4 ) > writeLog "dataString: " + dataString > > gt = winMain.mDatabase.tGlobals > > ln = gt.lastAdded + 1 > > me.setBlank > > me.fLine.value = ln > me.fDateAdded.set( iDate.year, iDate.month, iDate.day ) > > for i = 0 to 1 > me.fName( i ).value = titlecase( nthField( dataString, " ", i + 1 ) > ) > next > > if countFields( dataString, " " ) > 2 then > me.fPayNumber.value = nthField( dataString, " ", 3 ) > end if > > me.fPhoto.setPicture( withFile.openAsPicture, 80 ) You could test nil object with withFile.openAsPicture, just in case... Cheers Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From ernestogiannotta at tiscalinet.it Thu Sep 9 09:15:12 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Thu Sep 9 02:15:51 2004 Subject: [V4RB] RecID & picture fields In-Reply-To: Message-ID: on 9-09-2004 9:04, Francois Van Lerberghe at fvanlerberghe@freegates.be wrote: >> me.fPhoto.setPicture( withFile.openAsPicture, 80 ) > > You could test nil object with withFile.openAsPicture, just in case... > and remember that Valentina currently accepts only pict images on Mac and BMP on Win if your file has pictures in other formats then you must convert them before store into DB HTH Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From realbasic at datalinesolutions.net Thu Sep 9 09:21:43 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 9 02:21:33 2004 Subject: Valentina Digest, Vol 21, Issue 7 In-Reply-To: <20040908160330.2400D209F63@edison.macserve.net> References: <20040908160330.2400D209F63@edison.macserve.net> Message-ID: Hi Ruslan and Roland, Is there a way to get the emails separately like the Realbasic mailinglist and not in 1 email a day?? > On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: >> You mean our Database before error -39 occurs is corrupted ? Is there >> a way >> to find out corruption with a crypted database ? I am just a newbee but I had the same error with Realbasic and I changed the segmentsize from 16*1024 to 32*1024 : valbool=db.create(dbfile,1,32*1024) and away was the error > On 9/8/04 6:21 PM, "Aldwin Pollefeyt" > wrote: > >> I want to set the pointers after an importText() in an Valentina >> database. >> Contact : 688 Records Klanten: 896 Records >> And I have to do this also for a BaseObject with 64.000 Records >> >> Normaly: But this gives a crash ! >> >> CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr > > Klant_Ptr -- this is objectPtr, right? > > You have create it self AFTER import ? First I created the database, with the objectPtrs ready. Then I did the import, then (and here is the problem) I want to connect my BaseObjects with this (so called) easy function. > >> Things I tried: >> >> Wrong result: >> UPDATE Contact SET Klant_Ptr=(SELECT RecId FROM Klanten WHERE >> Klanten.Nummer=Contact.Klantnummer) >> UPDATE Contact SET Klant_Ptr=Klanten.RecId JOIN Klanten ON >> Klanten.nummer=Contact.Klantnummer >> >> Doesn't work at all(error in syntax): >> UPDATE Contact JOIN Klanten ON Klanten.nummer=Contact.Klantnummer SET >> Klant_Ptr=Klanten.RecId >> Err 607 : Expected '(' with VISql >> UPDATE Contact,Klanten SET Contact.Klant_Ptr=Klanten.RecId WHERE >> Contact.Klantnummer=Klanten.Nummer >> Err 607 : Expected '(' with VISql > > I do not understand why you talk here about UPDATE ? Like I did with other databases, the records are already inserted and then I want to update them to put the RecId of the related record into the ObjectPtr. Greetings, aldwin. From sunshine at public.kherson.ua Thu Sep 9 10:58:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 02:58:58 2004 Subject: Valentina Digest, Vol 21, Issue 7 In-Reply-To: Message-ID: On 9/9/04 10:21 AM, "Aldwin Pollefeyt" wrote: > Hi Ruslan and Roland, > > Is there a way to get the emails separately like the Realbasic > mailinglist and not in 1 email a day?? Yes of course. At this page http://lists.macserve.net/mailman/listinfo/valentina You can change options of your subscription. I have change it for you -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 11:03:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 03:03:43 2004 Subject: Valentina Digest, Vol 21, Issue 7 In-Reply-To: Message-ID: On 9/9/04 10:21 AM, "Aldwin Pollefeyt" wrote: >>> I want to set the pointers after an importText() in an Valentina >>> database. >>> Contact : 688 Records Klanten: 896 Records >>> And I have to do this also for a BaseObject with 64.000 Records >>> >>> Normaly: But this gives a crash ! >>> >>> CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr >> >> Klant_Ptr -- this is objectPtr, right? >> >> You have create it self AFTER import ? > > First I created the database, with the objectPtrs ready. Then I did the > import, then (and here is the problem) I want to connect my BaseObjects > with this (so called) easy function. Okay, So you should teach how to use it. Well, so you have AFTER import, simple db with 2 tables and ObjectPtr field, right? You can make simple project in RB which open this db and do COVERT. Send me all this I will check your code -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 11:04:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 03:04:06 2004 Subject: Valentina Digest, Vol 21, Issue 7 In-Reply-To: Message-ID: On 9/9/04 10:21 AM, "Aldwin Pollefeyt" wrote: > Hi Ruslan and Roland, > > Is there a way to get the emails separately like the Realbasic > mailinglist and not in 1 email a day?? > > >> On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: >>> You mean our Database before error -39 occurs is corrupted ? Is there >>> a way >>> to find out corruption with a crypted database ? > > I am just a newbee but I had the same error with Realbasic and I > changed the segmentsize from 16*1024 to 32*1024 : > valbool=db.create(dbfile,1,32*1024) and away was the error > > >> On 9/8/04 6:21 PM, "Aldwin Pollefeyt" >> wrote: >> >>> I want to set the pointers after an importText() in an Valentina >>> database. >>> Contact : 688 Records Klanten: 896 Records >>> And I have to do this also for a BaseObject with 64.000 Records >>> >>> Normaly: But this gives a crash ! >>> >>> CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr >> >> Klant_Ptr -- this is objectPtr, right? >> >> You have create it self AFTER import ? > > First I created the database, with the objectPtrs ready. Then I did the > import, then (and here is the problem) I want to connect my BaseObjects > with this (so called) easy function. Not remember now, please check docs is it important ORDER of fields in the CONVERT ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 11:13:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 03:14:08 2004 Subject: Where is the error ? In-Reply-To: <23AF703C-022B-11D9-B3E5-000A95BA5A32@wanadoo.fr> Message-ID: On 9/9/04 9:40 AM, "Thierry Nauze" wrote: > Hi > > I have this table : > > idA idB Nom autoID > 1 9 NON 1 > 4 4 OUI 1 ? > 11 19 NON 2 > 291 291 OUI 2 ? > 5 23 NON 3 > > where autoID is this method : Boolean METHOD(idA=idB) > > > With Valentina Studio, the SQL-request "select ** from table" give the > good cursor. > > But "SELECT ** FROM table WHERE autoID = true" (or 1 or yes or on or > false, etc.) return un empty cursor. Why ? > > > > On the other hand, if autoID is the method : Long METHOD(idA-idB), the > diff?rent SQL-requests give then right cursor : SELECT ... WHERE > autoID = 0 (or <>0) > > Why the method with BOOLEAN don't work ? Sorry, this is not documented trap. Just there is no any win if to use Boolean Method comparing to BYTE field method. So please use BYTE type instead. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Thu Sep 9 10:17:13 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 9 03:17:04 2004 Subject: Valentina Digest, Vol 21, Issue 7 In-Reply-To: References: Message-ID: On 09 Sep 2004, at 09:58, Ruslan Zasukhin wrote: > On 9/9/04 10:21 AM, "Aldwin Pollefeyt" > > wrote: >> Is there a way to get the emails separately like the Realbasic >> mailinglist and not in 1 email a day?? > > Yes of course. Thanks, you are a super guy. If you are once in Belgium, I want to be youre guide and buy you a nice cool Belgium beer. Greetings, Aldwin Started with RB on the 7th of June 2004 From r.hildebrandt at sbt.fr Thu Sep 9 11:13:59 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Thu Sep 9 04:14:07 2004 Subject: V4MD error -39 References: Message-ID: <005d01c4964d$57af9730$3a01a8c0@sbt> > On 9/9/04 10:21 AM, "Aldwin Pollefeyt" > wrote: > > > Hi Ruslan and Roland, > > > >> On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: > >>> You mean our Database before error -39 occurs is corrupted ? Is there > >>> a way > >>> to find out corruption with a crypted database ? > > > > I am just a newbee but I had the same error with Realbasic and I > > changed the segmentsize from 16*1024 to 32*1024 : > > valbool=db.create(dbfile,1,32*1024) and away was the error > > Ah interesting ! So maybe the error -39 comes up in some cases depending on the segment size chosen when creating the DB and the amount of data in it ? Is there a way to find out what is the segment size of DB once created ? We often use small segment size 2* 1024 !? are we running into problems when databases becomes big or if we use several instances of V4MD XTRA at same time ? Best regards Roland Hildebrandt From r.hildebrandt at sbt.fr Thu Sep 9 11:15:40 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Thu Sep 9 04:15:51 2004 Subject: V4MD - Error -39 References: Message-ID: <005e01c4964d$93deb1f0$3a01a8c0@sbt> > >>> I need to understand why we become this error on all accounts databases > >>> after 6 months of work. > >>> > >> This could be sys/app crash > >> > > > > I don't think so as far as we get the same problem on 20 computers in one > > week. And I can redo the bug again and again using the way I explained in the > > last mail. > > You can reproduce? Yes of course, I've got a test project with only 10 lines of code using a set of non crypted DBs which are said all rigth by diagnose but using the code I allways become -39. I can send it if you want. > > So the problem seems to be linked to the state of the DB. The > > problem is to understand why the DB goes in this bad state after 6 months of > > use. > > Only on db which is old 6 months Yes, with a clean one there is no problem. And they were no problems during 6 months. > Roland, first of all I will recommend switch to Valentina 1.10 > It have many fixed bugs. Because no big sense discuss 1.9.8, > May be that bug is fixed in 1.10. I made my tests with 1.10 / 1.9.8 there are no changes (still using the DB generated and used 6 months with 1.9.8). > >>> In fact we have to make the same kind of project for october. So I have a > >>> big problem because I know I will lose all data after six months on one of > >>> the database but I don't know why and I have no workaround. > >>> > >>> That's why it's important for me to understand why this happens. > >>> > >> You should make sure that you have as many flushes as possible. > >> This reduce chance of corruption. > > > > Accounts is the only DB we change during execution. We use flush command on > > this DB in each script (not each function, but at the end of the script) > > which updates it. > > ok > > > This raise me another question : Our other DBs are read only but i have been > > surprised that the files (vdb, ind, dat, blb) changes even if not updated. I > > have seen this using CVS : I open the DB make a read only request on it then > > close DB. After this the file is 'modified' in CVS. What's reason for this ? > > Is it linked with some indexes or optimisation for following request ? > > Hmm. > > IF files marked as READ ONLY by OS, then any app and Valentina also > cannot modify that files. > > So I wonder on your words. The files are not marked read only by OS. But we only made open, read only requests, close, on these DBs. No alter, insert, delete, update on the data or structure. Could they change this way ? Best regards Roland Hildebrandt From wgregoire at paris.mediagerance.com Thu Sep 9 11:29:29 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Sep 9 04:27:05 2004 Subject: MS Access to Valentina In-Reply-To: <005d01c4964d$57af9730$3a01a8c0@sbt> Message-ID: <000e01c4964f$826bc460$1d0a11ac@wgregoire> Hi, is there a way to convert a MS Access STRUCTURE database to Valentina ? I don't want to copy data from a mdb to a valentina, i already do that with ODBC Valentina I want to create a Valentina database from an Access database. It's big one and I want/would like to avoid the hours lost creating my db under Director, line by line in code thanks WilG From realbasic at datalinesolutions.net Thu Sep 9 11:36:40 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 9 04:36:29 2004 Subject: MS Access to Valentina In-Reply-To: <000e01c4964f$826bc460$1d0a11ac@wgregoire> References: <000e01c4964f$826bc460$1d0a11ac@wgregoire> Message-ID: On 09 Sep 2004, at 11:29, Gregoire William wrote: > is there a way to convert a MS Access STRUCTURE database to Valentina ? You can export to an CVS file and write a little program in Realbasic to import it to Valentina. I still just have a little problem putting the relations between the tables but I am sure we will resolve this problem in no time. Greetings, Aldwin Started with RB on the 7th of June 2004 From huancaya at wanadoo.fr Thu Sep 9 13:41:38 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Thu Sep 9 04:41:48 2004 Subject: Where is the error ? In-Reply-To: References: Message-ID: <72ACD19C-0244-11D9-B3E5-000A95BA5A32@wanadoo.fr> Le 9 sept. 04, ? 12:13, Ruslan Zasukhin a ?crit : >> >> Why the method with BOOLEAN don't work ? > > Sorry, this is not documented trap. > > Just there is no any win if to use Boolean Method comparing to BYTE > field > method. > > So please use BYTE type instead. Thanks : that works fine. -- Thierry Nauze Saint-Denis de la R?union From rjb at rz.uni-potsdam.de Thu Sep 9 11:27:40 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Sep 9 04:44:53 2004 Subject: Where is the error ? In-Reply-To: References: Message-ID: > > >> Why the method with BOOLEAN don't work ? > >Sorry, this is not documented trap. > >Just there is no any win if to use Boolean Method comparing to BYTE field >method. > >So please use BYTE type instead. > Wasn't that supposed to be fixed a while ago? I remember it being discussed at length. Robert From sunshine at public.kherson.ua Thu Sep 9 14:15:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:16:24 2004 Subject: V4MD error -39 In-Reply-To: <005d01c4964d$57af9730$3a01a8c0@sbt> Message-ID: On 9/9/04 12:13 PM, "Roland Hildebrandt" wrote: >> On 9/9/04 10:21 AM, "Aldwin Pollefeyt" >> wrote: >> >>> Hi Ruslan and Roland, >>> >>>> On 9/7/04 5:36 PM, "Roland Hildebrandt" wrote: >>>>> You mean our Database before error -39 occurs is corrupted ? Is there >>>>> a way >>>>> to find out corruption with a crypted database ? >>> >>> I am just a newbee but I had the same error with Realbasic and I >>> changed the segmentsize from 16*1024 to 32*1024 : >>> valbool=db.create(dbfile,1,32*1024) and away was the error >>> > > Ah interesting ! > > So maybe the error -39 comes up in some cases depending on the segment size > chosen when creating the DB and the amount of data in it ? Actually segment size should not affect -39 error In any way. > Is there a way to find out what is the segment size of DB once created ? I think Valentina Studio can show it > We often use small segment size 2* 1024 !? are we running into problems when > databases becomes big or if we use several instances of V4MD XTRA at same > time ? Aha. Yes of course. If you going to have 100MB database then DO NOT use 2KB segment! 2KB this is for very small dbs like e.g. prefs Segment size affect some maximal size of database. But for 8-32KB+ that limit is very very high so we even do not consider it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 14:16:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:17:04 2004 Subject: V4MD - Error -39 In-Reply-To: <005e01c4964d$93deb1f0$3a01a8c0@sbt> Message-ID: On 9/9/04 12:15 PM, "Roland Hildebrandt" wrote: >> You can reproduce? > > Yes of course, I've got a test project with only 10 lines of code using a > set of non crypted DBs which are said all rigth by diagnose but using the > code I allways become -39. I can send it if you want. Okay, send me them. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 14:17:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:18:09 2004 Subject: V4MD - Error -39 In-Reply-To: <005e01c4964d$93deb1f0$3a01a8c0@sbt> Message-ID: On 9/9/04 12:15 PM, "Roland Hildebrandt" wrote: >> Roland, first of all I will recommend switch to Valentina 1.10 >> It have many fixed bugs. Because no big sense discuss 1.9.8, >> May be that bug is fixed in 1.10. > > I made my tests with 1.10 / 1.9.8 there are no changes (still using the DB > generated and used 6 months with 1.9.8). Problem is that 1.9.8 may have bug which somehow corrupt db, And 1.10 already cannot resolve that. But using of 1.10 can prevent that corruption at all. You see? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 14:19:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:20:14 2004 Subject: V4MD - Error -39 In-Reply-To: <005e01c4964d$93deb1f0$3a01a8c0@sbt> Message-ID: On 9/9/04 12:15 PM, "Roland Hildebrandt" wrote: >> So I wonder on your words. > > The files are not marked read only by OS. But we only made open, read only > requests, close, on these DBs. No alter, insert, delete, update on the data > or structure. Could they change this way ? Ah, Yes, e.g. SELECT can generate TMP tables. Also some indexed can be built. Although all this should affect mainly .ind file But Valentina also modify one byte in each file Which play role of flag if file is opened now. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 14:20:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:20:29 2004 Subject: Where is the error ? In-Reply-To: Message-ID: On 9/9/04 12:27 PM, "Robert Brenstein" wrote: >>> >>> Why the method with BOOLEAN don't work ? >> >> Sorry, this is not documented trap. >> >> Just there is no any win if to use Boolean Method comparing to BYTE field >> method. >> >> So please use BYTE type instead. >> > > Wasn't that supposed to be fixed a while ago? I remember it being > discussed at length. It was not fixed because exists easy workaround -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 14:21:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 06:22:03 2004 Subject: MS Access to Valentina In-Reply-To: Message-ID: On 9/9/04 12:36 PM, "Aldwin Pollefeyt" wrote: > > On 09 Sep 2004, at 11:29, Gregoire William wrote: >> is there a way to convert a MS Access STRUCTURE database to Valentina ? There is big hope that in the nearest days Jochen will introduce new build of Valentina Studio which will be able create all tables of Access/mySQL/ODBS db in single click. > You can export to an CVS file and write a little program in Realbasic > to import it to Valentina. I still just have a little problem putting > the relations between the tables but I am sure we will resolve this > problem in no time. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 15:02:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 07:02:56 2004 Subject: Problem with CONVERT RDBLINK In-Reply-To: <07AEE4F9-0246-11D9-85D2-00039368E70A@datalinesolutions.net> Message-ID: On 9/9/04 12:52 PM, "Aldwin Pollefeyt" wrote: Hi Aldwin, > Hello, here is the little test project. > > The import happens in wImport.doImportPrintPlus. > > Thank you very much for helping me out. You have testSQL=app.PPDB.SQLExecute( "CONVERT RDBLINK Klanten.nummer=Contact.Klantnummer INTO Klant_Ptr") So as I see you have Klanten.ID = Contact.PTR But in Valentina SQL pdf is written CONVERT RDBLINK tableB.Ptr = TableA.Key INTO [tableB.]ObjectPtr ^^^^^^^^^^^^^^^^^^^^^^ > NOTES: > 1) Ptr and ObjectPtr fields MUST be in the same tables of course. > 2) Order tableB.Ptr = TableA.Key is important. > Reverse order, KEY, Ptr will not work. Note point 2. So to make it work you need change order testSQL=app.PPDB.SQLExecute( "CONVERT RDBLINK Contact.Klantnummer = Klanten.nummer INTO Klant_Ptr") -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Thu Sep 9 14:09:03 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Thu Sep 9 07:09:16 2004 Subject: V4MD - Error -39 References: Message-ID: <00ae01c49665$cc852e40$3a01a8c0@sbt> > On 9/9/04 12:15 PM, "Roland Hildebrandt" wrote: > > >> Roland, first of all I will recommend switch to Valentina 1.10 > >> It have many fixed bugs. Because no big sense discuss 1.9.8, > >> May be that bug is fixed in 1.10. > > > > I made my tests with 1.10 / 1.9.8 there are no changes (still using the DB > > generated and used 6 months with 1.9.8). > > Problem is that 1.9.8 may have bug which somehow corrupt db, > And 1.10 already cannot resolve that. > > But using of 1.10 can prevent that corruption at all. > You see? Hi Ruslan, Thanks for all interesting answers. We use 1.10 for all new projects as soon as it was downloadable. Before we use 2Kb segement size to reduce size of DB with few data and speed up installation on client computer. If this may cause any problem we will put it up to 8Kb this will be fine. The in use flag on valentina files is on every of four files (vdb, dat, ind, blb) or only part of them ? many thanks again for all this help !!! Best regards Roland Hildebrandt From sunshine at public.kherson.ua Thu Sep 9 15:17:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 07:17:39 2004 Subject: V4MD - Error -39 In-Reply-To: <00ae01c49665$cc852e40$3a01a8c0@sbt> Message-ID: On 9/9/04 3:09 PM, "Roland Hildebrandt" wrote: >>>> Roland, first of all I will recommend switch to Valentina 1.10 >>>> It have many fixed bugs. Because no big sense discuss 1.9.8, >>>> May be that bug is fixed in 1.10. >>> >>> I made my tests with 1.10 / 1.9.8 there are no changes (still using the > DB >>> generated and used 6 months with 1.9.8). >> >> Problem is that 1.9.8 may have bug which somehow corrupt db, >> And 1.10 already cannot resolve that. >> >> But using of 1.10 can prevent that corruption at all. >> You see? > > > Hi Ruslan, > > Thanks for all interesting answers. We use 1.10 for all new projects as soon > as it was downloadable. > Before we use 2Kb segement size to reduce size of DB with few data and speed > up installation on client computer. If this may cause any problem we will > put it up to 8Kb this will be fine. > > The in use flag on valentina files is on every of four files (vdb, dat, ind, > blb) or only part of them ? It seems on each file. > many thanks again for all this help !!! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Thu Sep 9 08:54:53 2004 From: jda at his.com (jda) Date: Thu Sep 9 07:55:04 2004 Subject: V4MD error -39 In-Reply-To: References: Message-ID: > >Aha. > >Yes of course. >If you going to have 100MB database then DO NOT use 2KB segment! >2KB this is for very small dbs like e.g. prefs > >Segment size affect some maximal size of database. >But for 8-32KB+ that limit is very very high so we even do not consider it. > I've been using a segment size of 2 KB for years, and the databases have ranged from a few records to 50,000 or more (not sure about db size, but probably 50-60 MB). There is no noticable problem with speed, and db corruption (which occurs occasionally) seems to be independent of db size. I use 2 KB to keep the size of the db down to a reasonable amount (it's a commercial/consumer application, and an empty db of 5 MB or more is not acceptable). I haven't seemed to have hit a limiting problem so far. What exact problems should I be worried about? Jon From email_lists at soccersuperstar.co.uk Thu Sep 9 15:59:31 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Thu Sep 9 09:59:45 2004 Subject: SQL Update in Valentina Xtra In-Reply-To: Message-ID: <200409091454.i89Es2X11787@srv01.subwayspace.com> Hi, I'm having problems using the SQL UPDATE function. I can use SELECT no problem, using the following syntax: dbcursor = new( xtra "VCursor", GetRef(gShops), "SELECT * FROM shops",1,1,2) shops = getRecords(dbcursor) setBlank(dbcursor) However, the following code fails, reporting error 600: dbcursor = new( xtra "VCursor", GetRef(gShops), "UPDATE shops SET location = 'test' WHERE id = '100'",1,1,2) shops = getRecords(dbcursor) setBlank(dbcursor) Any ideas? Regards, bub. From wgregoire at paris.mediagerance.com Thu Sep 9 17:04:55 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Sep 9 10:02:25 2004 Subject: SQL Update in Valentina Xtra In-Reply-To: <200409091454.i89Es2X11787@srv01.subwayspace.com> Message-ID: <002201c4967e$5e68d1f0$1d0a11ac@wgregoire> look at SQLExecute -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Bub Envoye : jeudi 9 septembre 2004 17:00 A : 'Valentina Developers' Objet : SQL Update in Valentina Xtra Hi, I'm having problems using the SQL UPDATE function. I can use SELECT no problem, using the following syntax: dbcursor = new( xtra "VCursor", GetRef(gShops), "SELECT * FROM shops",1,1,2) shops = getRecords(dbcursor) setBlank(dbcursor) However, the following code fails, reporting error 600: dbcursor = new( xtra "VCursor", GetRef(gShops), "UPDATE shops SET location = 'test' WHERE id = '100'",1,1,2) shops = getRecords(dbcursor) setBlank(dbcursor) Any ideas? Regards, bub. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From brian at macserve.net Thu Sep 9 10:50:41 2004 From: brian at macserve.net (Brian Blood) Date: Thu Sep 9 10:51:24 2004 Subject: another test - please ignore Message-ID: test From sunshine at public.kherson.ua Thu Sep 9 18:54:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 10:56:01 2004 Subject: [ANN] Vserver a65 and clients VCOM, V4RB, V4MD, VXCMD, VSDK a65 Message-ID: Hi All, We have made a65 build of Valentina Server And all clients for all platforms. Changes are in the clients code. I.e. a65 clients must work with Vserver a63 * NEW * now client can connect to server using its DNS name, but not just by IP * BUG * V4MD Client * GoToRecord() fixed. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 9 19:07:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 11:09:19 2004 Subject: [ANN] V4MD_WIN 2.0 beta 15 uploaded Message-ID: Hi All, We are happy introduce this b15 of V4MD 2.0 Please Please Please! Go and check this build. You will see totally new product!!!!!! :-)) Igor have made cool and great work in V4MD last 2 months. If you are active V4MD developer but still not are on beta list then please subscribe and start participate in beta program. * as we have told pictures now work in any way: .picture, .image 24, 16 bit depth and 32. But the main surprise is: V4MD now have not 2 Xtra as in 1.x version, but it have now Xtras Valentina Vdatabase Vcursor VTable Vfield VLink VSet * Yes, Igor have found way how to implement in the Director Xtra the true OO style of the work! This is so cool, guys! We can now write tblPerson = db.Table( "Person" ) here tbl -- become the instance of Xtra "VTable". so we can do the next step now, e.g. tblPerson.CreateField() fldName = tblPerson.Field( "Name" ) * So now V4MD by functionality is totally the same as V4RB, VJava, VCOM !!! * Speed and effectiveness of implementation is excellent! I have show Igor mechanism which I use in V4RB, so his original tests now 20 times faster. * Igor have found how to implement in the Director the properties of objects. So we can now write in V4md s = tblPerson.Name tblPerson.Name = "new name" instad of 1.x syntax s = tblPerson.GetName() tblPerson.SetName( "new name" ) The guys who know REALasic, Visual BASIC and other OO languages easy can see that V4MD syntax now 100% the same. :-) ** Igor have made many examples which are as close as possible to my examples in V4RB. So please study that examples to see new features. ** We will start develop V4MDReference ASAP to reflect this changes. Enjoy, guys! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Thu Sep 9 18:15:40 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Sep 9 11:13:45 2004 Subject: [ANN] V4MD_WIN 2.0 beta 15 uploaded In-Reply-To: Message-ID: <002301c49688$407ae110$1d0a11ac@wgregoire> VERY interesting!! thnaks a lot! -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : jeudi 9 septembre 2004 18:07 A : valentina@lists.macserve.net; valentina-beta@lists.macserve.net Objet : [ANN] V4MD_WIN 2.0 beta 15 uploaded Importance : Haute Hi All, We are happy introduce this b15 of V4MD 2.0 Please Please Please! Go and check this build. You will see totally new product!!!!!! :-)) Igor have made cool and great work in V4MD last 2 months. If you are active V4MD developer but still not are on beta list then please subscribe and start participate in beta program. * as we have told pictures now work in any way: .picture, .image 24, 16 bit depth and 32. But the main surprise is: V4MD now have not 2 Xtra as in 1.x version, but it have now Xtras Valentina Vdatabase Vcursor VTable Vfield VLink VSet * Yes, Igor have found way how to implement in the Director Xtra the true OO style of the work! This is so cool, guys! We can now write tblPerson = db.Table( "Person" ) here tbl -- become the instance of Xtra "VTable". so we can do the next step now, e.g. tblPerson.CreateField() fldName = tblPerson.Field( "Name" ) * So now V4MD by functionality is totally the same as V4RB, VJava, VCOM !!! * Speed and effectiveness of implementation is excellent! I have show Igor mechanism which I use in V4RB, so his original tests now 20 times faster. * Igor have found how to implement in the Director the properties of objects. So we can now write in V4md s = tblPerson.Name tblPerson.Name = "new name" instad of 1.x syntax s = tblPerson.GetName() tblPerson.SetName( "new name" ) The guys who know REALasic, Visual BASIC and other OO languages easy can see that V4MD syntax now 100% the same. :-) ** Igor have made many examples which are as close as possible to my examples in V4RB. So please study that examples to see new features. ** We will start develop V4MDReference ASAP to reflect this changes. Enjoy, guys! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Sep 9 22:59:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 9 15:00:46 2004 Subject: JDBC Question In-Reply-To: <4140B190.9050100@roundboxmedia.com> Message-ID: On 9/9/04 10:40 PM, "Mike Dalsey" wrote: Hi Mike, Why you ask about this on beta list? This list is for Valentina 2.0 discussion I have CC this to Valentina list. Please note, JDBC driver which you can find on our site is canceled. It is of type 2 (embedd engine). Do not use it please. We going in the nearest 2-3 months to get new JDBC driver of type 4, Which will be client to Valentina Server. > Hi - > > I'm trying to connect to a Valentina database using JDBC. I'm trying to > run the examples that came with the jdbc download and I'm running into a > problem. I connect to the database ok, but I get this error (running > Second_Example.java): > > Connect: guest to second_example > New SystemResultSet > java.lang.NullPointerException > at > com.paradigmasoft.valentina.vjdbc.SystemResultSet.makeSetOfTables(SystemResult > Set.java:2606) > > at > com.paradigmasoft.valentina.vjdbc.DatabaseMetaData.getTables(DatabaseMetaData. > java:907) > > at Second_Example.(Second_Example.java:20) > at Second_Example.main(Second_Example.java:52) > > > Am I doing anything wrong? I'm pretty sure my classpath is correct > (VJBC.jar is in it) and I've got vjdk.dll in my jdk bin directory. > > I downloaded this about a month ago and it worked at that point. Is > this a licensing issue? If so, what will I need to do? > > Thanks for any help. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rbarber at yhb.att.ne.jp Fri Sep 10 12:22:18 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Thu Sep 9 22:19:45 2004 Subject: [VXCMD] Windows In-Reply-To: References: Message-ID: <9ED4CAB0-02D8-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Hi Ruslan I know all the excitement is on the beta list right now, but I have a nagging question about vxcmd and windows. I am using the following script that works on Mac but fails on WIn to make a simple vdb and import the data. Going into this there is a cursorRef , dbRef and the vdb file (it has two varchar fields) has been created. ==========(partial script) answer file " import what" if it is not "" then put it into filename end if ****** at this point the filename is: "Z:/KGY.txt" replace "/" with "\" in filename ****** at this point the filename is: "Z:\KGY.txt if CursorRef is not "" then get Valentina("Cursor_ImportASCII", CursorRef, filename) get Valentina("Cursor_Remove", CursorRef ) get Valentina("Database_Flush",dbRef) end if ======== When the script is run, the vdb is created but it is empty. This means nothing is being imported and I suspect the filename is incorrect. I have tried various combinations and nothing works. So, I would appreciate some help. I am running Rev 2.5 for win on VirtualPC win xp pro on a Mac OS 10.3.5 Thanks Ron From lists at pedro.Net.au Fri Sep 10 14:33:18 2004 From: lists at pedro.Net.au (Pedro fp) Date: Thu Sep 9 23:34:37 2004 Subject: [V4RB] RecID & picture fields In-Reply-To: References: Message-ID: <89F730FD-02E2-11D9-A25E-000D9366C144@pedro.Net.au> G'day Folks Thanks for replies thus far. On 09/09/2004, at 5:04 PM, Francois Van Lerberghe wrote: > RecID is not an uMediumField. It's an ULongField. > Try this : > dRow( i ).itemData = data.ULongField( "RecID" ).value That was plain daft of me. I tried ULongField on a punt just after I sent my question & that worked :) > This code seems to be correct. I think you must test nil objet before. > Try this : > dim tempPicture As Picture > dim pictureField As VPicture > tempPicture = data.PictureField( "photo" ) > if pictureField <> nil > tempPicture = pictureField.GetPicture > end if > if tempPicture <> nil then > dRow( i ).icon = tempPicture > end if > > Have you set the currentPosition to the record you want to retrieve? Yes. The block of code accessing my cursor is ... b = data.firstRecord() for i = 1 to data.recordCount ' Loop through the cursor to populate lists. dRow( i ) = new dataRow dRow( i ).itemData = data.uLongField( "RecID" ).value dRow( i ).icon = data.PictureField( "photo" ).getPicture ' Set photo icon. s(0) = data.stringField( "salutation" ).getString s(1) = data.stringField( "givenName" ).getString s(2) = data.stringField( "surname" ).getString dRow( i ).name = s dRow( i ).payrollNumber = data.stringField( "payNumber" ).getString b = data.nextRecord() next Now that the line getting the RecID is fixed the only part not working is the line getting the picture. >> me.fPhoto.setPicture( withFile.openAsPicture, 80 ) > > You could test nil object with withFile.openAsPicture, just in case... I have tried that but it hasn't made any difference. I'm now convinced that the problem is in getting the pictures into the database. When a new database is created the blob file is 100 KB. After importing a folder containing 329 files totaling 18.5 MB the blob file is still 100 KB. The method importing the files, with the test for nil on withFile.openAsPicture & also with the test for the file being a JPEG moved into that method, again is ... Function newPersonFromJPEG( withFile As folderItem ) As integer dim dataString As string, iDate As new date, i, ln As integer, gt As boGlobals dim temp As picture if withFile.type = "image/jpeg" then ' do the stuff dataString = left( withFile.name, len( withFile.name ) - 4 ) writeLog "dataString: " + dataString gt = winMain.mDatabase.tGlobals ln = gt.lastAdded + 1 me.setBlank me.fLine.value = ln me.fDateAdded.set( iDate.year, iDate.month, iDate.day ) for i = 0 to 1 me.fName( i ).value = titlecase( nthField( dataString, " ", i + 1 ) ) next if countFields( dataString, " " ) > 2 then me.fPayNumber.value = nthField( dataString, " ", 3 ) end if temp = withFile.openAsPicture if temp <> nil then me.fPhoto.setPicture( temp, 80 ) end if me.fLastModified.setDate( iDate.year, iDate.month, iDate.day ) me.fLastModified.setTime( iDate.hour, iDate.minute, iDate.second ) me.addRecord me.flush gt.lastAdded = ln writeLog "Imported!" return 1 else return 0 end if End Function Once again, any clues? It's important that I sort this one as the images are the primary data in this project. Concerning Erne's suggestion that I need to convert to PICT first. The RB Language Reference clearly state that openAsPicture opens any image file that QuickTime can handle as a PICT so I don't believe that's the problem. Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ "The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law." origin unknown From wgregoire at paris.mediagerance.com Fri Sep 10 10:26:40 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 03:25:12 2004 Subject: Hungarian In-Reply-To: <89F730FD-02E2-11D9-A25E-000D9366C144@pedro.Net.au> Message-ID: <000f01c4970f$e6790150$1d0a11ac@wgregoire> Hello Using ODBC Valentian to transfert data from Access to Valentina, I loose some hungarian specific characters. My fields are defined as Hungarian text on Valentina side and the lost characters are correct on Access.. Any hint ? it's the only way I foud to transfert un-ascii data from Access to Valentina, perhaps you know some others ... WilG From sunshine at public.kherson.ua Fri Sep 10 11:47:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 03:49:05 2004 Subject: Hungarian In-Reply-To: <000f01c4970f$e6790150$1d0a11ac@wgregoire> Message-ID: On 9/10/04 11:26 AM, "Gregoire William" wrote: > Hello > > Using ODBC Valentian to transfert data from Access to Valentina, I loose > some hungarian specific characters. > My fields are defined as Hungarian text on Valentina side and the lost > characters are correct on Access.. > Any hint ? I afraid no. > it's the only way I foud to transfert un-ascii data from Access > to Valentina, perhaps you know some others ... 1) You can do EXPORT/IMPORT into text files 2) you can also try Valentina Studio. as I have told Jochen should soon give us build which can import Access db in single click: - create all required tables - import all records we drink coffee :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Fri Sep 10 11:00:58 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 03:59:26 2004 Subject: Hungarian In-Reply-To: Message-ID: <001001c49714$b11e2760$1d0a11ac@wgregoire> >> Using ODBC Valentian to transfert data from Access to Valentina, I loose >> some hungarian specific characters. >> My fields are defined as Hungarian text on Valentina side and the lost >> characters are correct on Access.. >> Any hint ? >I afraid no. ARG! :) >> it's the only way I foud to transfert un-ascii data from Access >> to Valentina, perhaps you know some others ... >1) You can do EXPORT/IMPORT into text files no...i loose special char....import/export use ascii text file >2) you can also try Valentina Studio. i tried.... 1/ it crashes on SQL load 2/ it crashes on XML load 3/ it crashes if i copy/paste text 4/ it doesn't crash if i edit text by text (the last solution since i have only a few lines) > as I have told Jochen should soon give us build > which can import Access db in single click: > - create all required tables > - import all records > we drink coffee :-) check with hungarian...because the "import all records" is also THE functionnality ODBC claims ...and which doesn't work for every case (like mine) (the "create all required tables" is for another project so i'll wait you're new VStudio) since i must finish today, i'm looking for others solutions.... I'm writing a quick SQL/XML dump/load, I hope to - use ODBC_Valentina to import all and so have my "corrupted" data - dump XML or SQL - edit the dumped file - load XML or SQL of course the best solution will be a "working" version of ODBC_Valentina but you aren't the one behind it, no ? thanks anyway WilG From sunshine at public.kherson.ua Fri Sep 10 11:58:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 03:59:53 2004 Subject: [VXCMD] Windows In-Reply-To: <9ED4CAB0-02D8-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Message-ID: On 9/10/04 6:22 AM, "ron barber" wrote: Hi Ron, > I know all the excitement is on the beta list right now, but I have a > nagging question about vxcmd and windows. I am using the following > script that works on Mac but fails on WIn to make a simple vdb and > import the data. Going into this there is a cursorRef , dbRef and the > vdb file (it has two varchar fields) has been created. > > ==========(partial script) > answer file " import what" > if it is not "" then > put it into filename > end if > > ****** at this point the filename is: "Z:/KGY.txt" > > replace "/" with "\" in filename > > ****** at this point the filename is: "Z:\KGY.txt > > if CursorRef is not "" then > get Valentina("Cursor_ImportASCII", CursorRef, filename) > get Valentina("Cursor_Remove", CursorRef ) > get Valentina("Database_Flush",dbRef) > end if > ======== > > When the script is run, the vdb is created but it is empty. This means > nothing is being imported and I suspect the filename is incorrect. I > have tried various combinations and nothing works. So, I would > appreciate some help. > > I am running Rev 2.5 for win on VirtualPC win xp pro on a Mac OS 10.3.5 I think problem is next: * do you try to import THE SAME file that on MAC ? * if yes then this means it have MacOS line-ending, right? * use Bbedit or CW or Visual to convert it to Windows line-endings/. I think this must resolve problem. In Valentina 2.0 to import/export we have add new parameter file format, so we can import/export on Windows file in any format Mac, Dos, Linux -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Fri Sep 10 10:55:32 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 10 04:02:56 2004 Subject: [VXCMD] Windows In-Reply-To: <9ED4CAB0-02D8-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> References: <9ED4CAB0-02D8-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Message-ID: >Hi Ruslan > >I know all the excitement is on the beta list right now, but I have >a nagging question about vxcmd and windows. I am using the following >script that works on Mac but fails on WIn to make a simple vdb and >import the data. Going into this there is a cursorRef , dbRef and >the vdb file (it has two varchar fields) has been created. > >==========(partial script) >answer file " import what" > if it is not "" then > put it into filename > end if > >****** at this point the filename is: "Z:/KGY.txt" > > replace "/" with "\" in filename > >****** at this point the filename is: "Z:\KGY.txt > > if CursorRef is not "" then > get Valentina("Cursor_ImportASCII", CursorRef, filename) > get Valentina("Cursor_Remove", CursorRef ) > get Valentina("Database_Flush",dbRef) > end if >======== > >When the script is run, the vdb is created but it is empty. This >means nothing is being imported and I suspect the filename is >incorrect. I have tried various combinations and nothing works. So, >I would appreciate some help. > >I am running Rev 2.5 for win on VirtualPC win xp pro on a Mac OS 10.3.5 > >Thanks >Ron Have you tried using 'answer file' command to pick this file and see what the exact path you get? Next step would be to fetch that file into Rev variable and see whether it is accessible. When these are okay, then Cursor_ImportASCII must be the problem. Robert From sunshine at public.kherson.ua Fri Sep 10 12:26:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 04:27:23 2004 Subject: Hungarian In-Reply-To: <001001c49714$b11e2760$1d0a11ac@wgregoire> Message-ID: On 9/10/04 12:00 PM, "Gregoire William" wrote: >> 2) you can also try Valentina Studio. > > i tried.... > 1/ it crashes on SQL load SQL not works > 2/ it crashes on XML load XML from Access. This is wrong way. Each DBMS have XML in own format -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 12:27:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 04:28:40 2004 Subject: Hungarian In-Reply-To: <001001c49714$b11e2760$1d0a11ac@wgregoire> Message-ID: On 9/10/04 12:00 PM, "Gregoire William" wrote: >> 2) you can also try Valentina Studio. > > i tried.... > 3/ it crashes if i copy/paste text Jochen, check this > 4/ it doesn't crash if i edit text by text (the last solution since i have > only a few lines) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Fri Sep 10 11:31:35 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:30:02 2004 Subject: Hungarian In-Reply-To: Message-ID: <001101c49718$f78ae220$1d0a11ac@wgregoire> >> 2/ it crashes on XML load >XML from Access. This is wrong way. >Each DBMS have XML in own format no... i dump my "corruped" Valentina DB and try to reload the corrected XML...crash so i try to reload the first XML dump (ie not corrected) ...crash too...(Kernel error 19) From sunshine at public.kherson.ua Fri Sep 10 12:29:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 04:33:11 2004 Subject: Hungarian In-Reply-To: <001001c49714$b11e2760$1d0a11ac@wgregoire> Message-ID: On 9/10/04 12:00 PM, "Gregoire William" wrote: >> as I have told Jochen should soon give us build >> which can import Access db in single click: >> - create all required tables >> - import all records >> we drink coffee :-) > > check with hungarian...because the "import all records" is also THE > functionnality ODBC claims ...and which doesn't work for every case (like > mine) I think only Unicode can resolve all such problems. Btw, how you keep hungarian strings in the Access ? It have some encoding parameters? > (the "create all required tables" is for another project so i'll wait you're > new VStudio) > since i must finish today, i'm looking for others solutions.... > I'm writing a quick SQL/XML dump/load, I hope to > - use ODBC_Valentina to import all and so have my "corrupted" data > - dump XML or SQL > - edit the dumped file > - load XML or SQL > of course the best solution will be a "working" version of ODBC_Valentina > but you aren't the one behind it, no ? Why you not try old/good ASCII import/export? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Fri Sep 10 11:35:32 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:33:59 2004 Subject: Hungarian In-Reply-To: Message-ID: <001201c49719$851f63e0$1d0a11ac@wgregoire> >> 1/ it crashes on SQL load >SQL not works i tried in Director lingo code... samething...unable to create a db from a SQL dump... SQL load dump doesn't work at all ?! From wgregoire at paris.mediagerance.com Fri Sep 10 11:37:26 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:35:50 2004 Subject: Hungarian In-Reply-To: Message-ID: <001301c49719$c8eb31d0$1d0a11ac@wgregoire> >I think only Unicode can resolve all such problems. >Btw, how you keep hungarian strings in the Access ? >It have some encoding parameters? the hungarian field doesn't have "unicode compression" if it's the question... I try with unicode compression enable... >> of course the best solution will be a "working" version of ODBC_Valentina >> but you aren't the one behind it, no ? >Why you not try old/good ASCII import/export? because my char (o) disappears in ascii, no ? WilG From wgregoire at paris.mediagerance.com Fri Sep 10 11:38:41 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:37:07 2004 Subject: Hungarian In-Reply-To: <001001c49714$b11e2760$1d0a11ac@wgregoire> Message-ID: <001401c49719$f581fd50$1d0a11ac@wgregoire> >since i must finish today, i'm looking for others solutions.... >I'm writing a quick SQL/XML dump/load, I hope to >- use ODBC_Valentina to import all and so have my "corrupted" data >- dump XML or SQL >- edit the dumped file >- load XML or SQL not a good solution... you're XML dump isn't standard and a lot of XML editor don't like it SQL is a lot easier to mod... From wgregoire at paris.mediagerance.com Fri Sep 10 11:43:46 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:42:11 2004 Subject: Hungarian In-Reply-To: <001301c49719$c8eb31d0$1d0a11ac@wgregoire> Message-ID: <001501c4971a$ab8d3b00$1d0a11ac@wgregoire> I confirm - in excel, text export result with "?" where i want "~o" - in access, text export result with "o" where i want "~o" (....like ODBC_Valentina) even Outlook replace it with o (see my mail below...i wrote "~o" not "o") -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Gregoire William Envoye : vendredi 10 septembre 2004 11:37 A : 'Valentina Developers' Objet : RE: Hungarian >I think only Unicode can resolve all such problems. >Btw, how you keep hungarian strings in the Access ? >It have some encoding parameters? the hungarian field doesn't have "unicode compression" if it's the question... I try with unicode compression enable... >> of course the best solution will be a "working" version of ODBC_Valentina >> but you aren't the one behind it, no ? >Why you not try old/good ASCII import/export? because my char (o) disappears in ascii, no ? WilG _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Sep 10 11:50:35 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Sep 10 04:51:49 2004 Subject: Hungarian In-Reply-To: <001501c4971a$ab8d3b00$1d0a11ac@wgregoire> Message-ID: > I confirm > > - in excel, text export result with "?" where i want "~o" > - in access, text export result with "o" where i want "~o" (....like > ODBC_Valentina) > > even Outlook replace it with o (see my mail below...i wrote > "~o" not "o") > Have you enabled Hungarian language support in your windows? Florian From j.peters at valentina-db.de Fri Sep 10 11:54:06 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Sep 10 04:55:14 2004 Subject: Hungarian In-Reply-To: References: <000f01c4970f$e6790150$1d0a11ac@wgregoire> Message-ID: <38670.62.154.199.179.1094810046.squirrel@webmail3.server-einstellung.de> Hi, > 2) you can also try Valentina Studio. > > as I have told Jochen should soon give us build > which can import Access db in single click: > - create all required tables > - import all records > > we drink coffee :-) Yes - and tea also, of course :-) I have just made big progress in fixing a hard bug concerning establishing ODBC connections on Windows XP with the new Unicaode build. I guess i will finish the next build in the next few days and it will definitly have a much better ODBC support then before. It will also be much easier to connect to an ODBC datasource because vStudio now self enumerates all available ODBC datasources on your system and show them in a list... -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From j.peters at valentina-db.de Fri Sep 10 11:55:27 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Sep 10 04:56:39 2004 Subject: Hungarian In-Reply-To: References: <001001c49714$b11e2760$1d0a11ac@wgregoire> Message-ID: <40648.62.154.199.179.1094810127.squirrel@webmail3.server-einstellung.de> Hi, > >>> 2) you can also try Valentina Studio. >> >> i tried.... > >> 3/ it crashes if i copy/paste text > > Jochen, check this PLEASE: be more precise! WHERE do you copy/paste text?? > >> 4/ it doesn't crash if i edit text by text (the last solution since i >> have >> only a few lines) -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From wgregoire at paris.mediagerance.com Fri Sep 10 11:59:50 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 04:58:17 2004 Subject: Hungarian In-Reply-To: <40648.62.154.199.179.1094810127.squirrel@webmail3.server-einstellung.de> Message-ID: <002701c4971c$e9ec4330$1d0a11ac@wgregoire> copy from access paste to field value in vStudio my hungarian text :) -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Jochen Peters Envoy? : vendredi 10 septembre 2004 11:55 ? : valentina-studio@lists.macserve.net Cc : valentina@lists.macserve.net; valentina-studio@lists.macserve.net Objet : Re: Hungarian Hi, > >>> 2) you can also try Valentina Studio. >> >> i tried.... > >> 3/ it crashes if i copy/paste text > > Jochen, check this PLEASE: be more precise! WHERE do you copy/paste text?? > >> 4/ it doesn't crash if i edit text by text (the last solution since i >> have >> only a few lines) -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at rz.uni-potsdam.de Fri Sep 10 11:52:18 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 10 05:02:32 2004 Subject: Hungarian In-Reply-To: <001301c49719$c8eb31d0$1d0a11ac@wgregoire> References: <001301c49719$c8eb31d0$1d0a11ac@wgregoire> Message-ID: > >I think only Unicode can resolve all such problems. >>Btw, how you keep hungarian strings in the Access ? >>It have some encoding parameters? > >the hungarian field doesn't have "unicode compression" if it's the >question... >I try with unicode compression enable... > >>> of course the best solution will be a "working" version of ODBC_Valentina >>> but you aren't the one behind it, no ? >>Why you not try old/good ASCII import/export? > >because my char (o) disappears in ascii, no ? > >WilG > If you don't use unicode, then your hungarian chars will appear bogus (incorrect) when opened in a text editor but when you apply the correct font, they should reappear correctly (the same happens in MS Word for example). So, ascii import should work per se. If the character encoding is not correct to produce the results in your end program, you may need to massage the ascii codes (I mean replace them with appropriate ones). You can do this as an intermediate step before importing into Valentina or after the import. Robert From wgregoire at paris.mediagerance.com Fri Sep 10 12:13:47 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 05:12:14 2004 Subject: Hungarian In-Reply-To: Message-ID: <000101c4971e$dd237cc0$1d0a11ac@wgregoire> >If you don't use unicode, then your hungarian chars will appear bogus >(incorrect) when opened in a text editor but when you apply the >correct font, they should reappear correctly (the same happens in MS no if i look exported text as hexa, my wrong "~o" as the same code than a standard "o" >Word for example). So, ascii import should work per se. If the >character encoding is not correct to produce the results in your end >program, you may need to massage the ascii codes (I mean replace them >with appropriate ones). You can do this as an intermediate step >before importing into Valentina or after the import. yes...it's seems it's the only way... edit text or XML before importing to Valentina.. :( no direct transfert possible... From sunshine at public.kherson.ua Fri Sep 10 13:46:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 05:48:41 2004 Subject: Hungarian In-Reply-To: <40648.62.154.199.179.1094810127.squirrel@webmail3.server-einstellung.de> Message-ID: On 9/10/04 12:55 PM, "Jochen Peters" wrote: > Hi, > >> >>>> 2) you can also try Valentina Studio. >>> >>> i tried.... >> >>> 3/ it crashes if i copy/paste text >> >> Jochen, check this > PLEASE: be more precise! WHERE do you copy/paste text?? I think he do this into edit field in edit dialog Or into cell directly -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rbarber at yhb.att.ne.jp Fri Sep 10 19:59:27 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri Sep 10 05:56:55 2004 Subject: [VXCMD] Windows In-Reply-To: References: Message-ID: <7BB98AE5-0318-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Hi Ruslan, Robert On Sep 10, 2004, at 5:58 PM, Ruslan Zasukhin wrote: >> ==========(partial script) >> answer file " import what" >> if it is not "" then >> put it into filename >> end if Robert, as you can see, I use the answerfile form here. Is this what you were refering to? I can open the file in Rev okay. >> ****** at this point the filename is: "Z:/KGY.txt" >> >> replace "/" with "\" in filename >> >> ****** at this point the filename is: "Z:\KGY.txt For Valentina on Windows, what is the correct form for the filename!? I have this correct when loading the dll file into Rev now, but I cannot get the import to work no matter what form I use. Is there someone using VXCMD on Windows who will send me this little code snippet? >> if CursorRef is not "" then >> get Valentina("Cursor_ImportASCII", CursorRef, filename) >> get Valentina("Cursor_Remove", CursorRef ) >> get Valentina("Database_Flush",dbRef) >> end if >> ======== >> >> I am running Rev 2.5 for win on VirtualPC win xp pro on a Mac OS >> 10.3.5 > > I think problem is next: > > * do you try to import THE SAME file that on MAC ? > > * if yes then this means it have MacOS line-ending, right? yes, so Val will not import a file in windows if the line ending is a cr ? It must be a lfcr? > > * use Bbedit or CW or Visual to convert it to Windows line-endings/. > I think this must resolve problem. > > In Valentina 2.0 to import/export we have add new parameter > file format, so we can import/export on Windows file in > any format Mac, Dos, Linux Ruslan I will be glad for 2.0. I may be the only one with this problem but Val over converts my files and Rev converts the line endings automatically so I'm never sure what form the file ends up as. Thanks Ron From sunshine at public.kherson.ua Fri Sep 10 14:07:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:08:16 2004 Subject: [VXCMD] Windows In-Reply-To: <7BB98AE5-0318-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Message-ID: On 9/10/04 1:59 PM, "ron barber" wrote: >> I think problem is next: >> >> * do you try to import THE SAME file that on MAC ? >> >> * if yes then this means it have MacOS line-ending, right? > > yes, so Val will not import a file in windows if the line ending is a > cr ? It must be a lfcr? yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 14:07:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:12:50 2004 Subject: Hungarian In-Reply-To: <001201c49719$851f63e0$1d0a11ac@wgregoire> Message-ID: On 9/10/04 12:35 PM, "Gregoire William" wrote: >>> 1/ it crashes on SQL load >> SQL not works > > i tried in Director lingo code... > samething...unable to create a db from a SQL dump... > SQL load dump doesn't work at all ?! Yes in Valentina 1.x SQL Load dump do not work at all. Sorry. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 14:08:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:14:09 2004 Subject: Hungarian In-Reply-To: <001301c49719$c8eb31d0$1d0a11ac@wgregoire> Message-ID: On 9/10/04 12:37 PM, "Gregoire William" wrote: >> I think only Unicode can resolve all such problems. >> Btw, how you keep hungarian strings in the Access ? >> It have some encoding parameters? > > the hungarian field doesn't have "unicode compression" if it's the > question... > I try with unicode compression enable... > >>> of course the best solution will be a "working" version of ODBC_Valentina >>> but you aren't the one behind it, no ? >> Why you not try old/good ASCII import/export? > > because my char (o) disappears in ascii, no ? You can check. Export from Access and open file in editor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 14:10:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:14:48 2004 Subject: Hungarian In-Reply-To: <000101c4971e$dd237cc0$1d0a11ac@wgregoire> Message-ID: On 9/10/04 1:13 PM, "Gregoire William" wrote: >> If you don't use unicode, then your hungarian chars will appear bogus >> (incorrect) when opened in a text editor but when you apply the >> correct font, they should reappear correctly (the same happens in MS > > no > if i look exported text as hexa, my wrong "~o" as the same code than a > standard "o" Well, then it sounds that Access produce wrong text file. Right? >> Word for example). So, ascii import should work per se. If the >> character encoding is not correct to produce the results in your end >> program, you may need to massage the ascii codes (I mean replace them >> with appropriate ones). You can do this as an intermediate step >> before importing into Valentina or after the import. > > yes...it's seems it's the only way... > edit text or XML before importing to Valentina.. :( > no direct transfert possible... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 14:12:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:15:02 2004 Subject: Hungarian In-Reply-To: <000101c4971e$dd237cc0$1d0a11ac@wgregoire> Message-ID: On 9/10/04 1:13 PM, "Gregoire William" wrote: >> Word for example). So, ascii import should work per se. If the >> character encoding is not correct to produce the results in your end >> program, you may need to massage the ascii codes (I mean replace them >> with appropriate ones). You can do this as an intermediate step >> before importing into Valentina or after the import. > > yes...it's seems it's the only way... > edit text or XML before importing to Valentina.. :( > no direct transfert possible... May be you can use some Director Xtra which can read records of Access directly (ADO ?) And then you can try write LOOP loop { Ado.readAccess record set Valentina fields Valentina add record } -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 14:29:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 06:30:40 2004 Subject: questions In-Reply-To: <20040910104327.7893.qmail@webmail6.rediffmail.com> Message-ID: On 9/10/04 1:43 PM, "Anoop Ahuja" wrote: > hi Ruslan > > I have a few quesions for you? > > 1) How can i check that a given Valentina DB file say .vdb is a valid DB file. > For eg. it not a fake file, ie say a .txt renamed to .vdb. Do we have any such > function in Valentina C SDK that can do this. I have tried opening this file > with Database_Open() it returns -39. Is that the case. We do not have such functions. And we still have no them yet in V2.0 Igor, Ivan, we need discuss this. And try to add such signature into I_Volume. > 2) How can i check whether or not a given DB file is currupt or not. Exists SQL command DIAGNOSE. Valentina SQL.pdf > 3) With refernce to your mail below, I cannot find 1.10 b15 of C SDK on the > website, could you please Guide me where can i get this from for both windows > and mac. I think now it is simply 1.10 release. > I would be greatful if you answer all the three questions > > Thanx for sparing your time. > > Regards > Anoop > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Fri Sep 10 13:29:54 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 10 06:42:25 2004 Subject: [VXCMD] Windows In-Reply-To: <7BB98AE5-0318-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> References: <7BB98AE5-0318-11D9-BA1F-000A95DAEEF0@yhb.att.ne.jp> Message-ID: >>>answer file " import what" >>> if it is not "" then >>> put it into filename >>> end if > >Robert, as you can see, I use the answerfile form here. Is this what >you were refering to? I can open the file in Rev okay. Okay, you did not have that line in your original snippet. >> get Valentina("Cursor_ImportASCII", CursorRef, filename) If you pass the path to ImportAscii, then the lineendings are as in the original file since Val reads the file directly self. Use BBEdit to make a copy of the file with different lineendings. If you don't have BBEdit, write a little handler in Rev to do it for you. Just remember to use binfile:// instead of file:// for i/o to preserve lineendings. Robert From wgregoire at paris.mediagerance.com Fri Sep 10 15:57:51 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Sep 10 08:56:20 2004 Subject: Hungarian In-Reply-To: Message-ID: <002101c4973e$2a78c1a0$1d0a11ac@wgregoire> i finally found a way put Windows in Hungarian (Region settings) export table in txt from Access, using Advanded and specify language : hungarian, charset:Central Europe (windows) my texts are now with the "o (et not the ~o as i mentioned before) and are loaded under Valentina :) WilG ------------------------------- >> If you don't use unicode, then your hungarian chars will appear bogus >> (incorrect) when opened in a text editor but when you apply the >> correct font, they should reappear correctly (the same happens in MS > no > if i look exported text as hexa, my wrong "~o" as the same code than a > standard "o" Well, then it sounds that Access produce wrong text file. Right? From sunshine at public.kherson.ua Fri Sep 10 17:19:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 09:20:54 2004 Subject: Hungarian // SOLVED In-Reply-To: <002101c4973e$2a78c1a0$1d0a11ac@wgregoire> Message-ID: On 9/10/04 4:57 PM, "Gregoire William" wrote: > i finally found a way > > put Windows in Hungarian (Region settings) > export table in txt from Access, using Advanded and specify language : > hungarian, charset:Central Europe (windows) > > my texts are now with the "o (et not the ~o as i mentioned before) and are > loaded under Valentina :) Great! and logical > WilG > > ------------------------------- >>> If you don't use unicode, then your hungarian chars will appear bogus >>> (incorrect) when opened in a text editor but when you apply the >>> correct font, they should reappear correctly (the same happens in MS >> no >> if i look exported text as hexa, my wrong "~o" as the same code than a >> standard "o" > Well, then it sounds that Access produce wrong text file. Right? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Fri Sep 10 11:28:10 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Fri Sep 10 10:29:23 2004 Subject: Query giving unexpected results. Message-ID: I am using the query below to return a set of results from a data. SELECT * WHERE model.id = '37' AND model.id = model_optional_feature.model_id AND optional_feature.id not in (16,17,18,20,21,56,99,163,203,204,242) AND model_optional_feature.optional_feature_id = optional_feature.id AND optional_feature.of_type = 'Exteriors' ORDER BY optional_feature.name ASC and it does not seem to exclude optional_feature.id not in (16,17,18,20,21,56,99,163,203,204,242) from the list. I got this query is coming from the website that uses a mySql database and it works perfect there. I've tried doing individual optional_feature.id <>16 AND ... through all of the id's but that gets the same results. Any work around? There are quite a few queries like this so i'm trying to make it so i don't have to go back and rewrite all of them, sql support was the main reason we choose to use Valentina in the first place from V-12 and if i have to rewrite everything it kind of defeats the purpose. Thanks for any help! From sunshine at public.kherson.ua Fri Sep 10 19:10:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 11:11:43 2004 Subject: Query giving unexpected results. In-Reply-To: Message-ID: On 9/10/04 6:28 PM, "Bill Numerick" wrote: Hi Bill, > I am using the query below to return a set of results from a data. > > SELECT * WHERE model.id = '37' AND model.id = > model_optional_feature.model_id AND optional_feature.id not in > (16,17,18,20,21,56,99,163,203,204,242) AND > model_optional_feature.optional_feature_id = optional_feature.id AND > optional_feature.of_type = 'Exteriors' ORDER BY optional_feature.name > ASC Try such edition: SELECT * <<<<< where is FROM clause ?????? WHERE (model.id = model_optional_feature.model_id AND model_optional_feature.optional_feature_id = optional_feature.id) AND (model.id = '37' AND optional_feature.of_type = 'Exteriors' AND NOT optional_feature.id in (16,17,18,20,21,56,99,163,203,204,242) ) ORDER BY optional_feature.name ASC > and it does not seem to exclude optional_feature.id not in > (16,17,18,20,21,56,99,163,203,204,242) from the list. > I got this query is coming from the website that uses a mySql database and it > works perfect there. > I've tried doing individual optional_feature.id > <>16 AND ... through all of the id's but that gets the same results. > Any work around? There are quite a few queries like this so i'm > trying to make it so i don't have to go back and rewrite all of them, > sql support was the main reason we choose to use Valentina in the > first place from V-12 and if i have to rewrite everything it kind of > defeats the purpose. Not worry, just Valentina 1.x is a little sensitive to order of conditions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Fri Sep 10 11:19:50 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Fri Sep 10 11:21:18 2004 Subject: Should I start with server and client betas now, or wait? Message-ID: <3D94F9E4-0345-11D9-B774-000393B29272@gatorgraphics.com> I am working on a new project that I expect will take about 12-18 months. I expect to be using this new system while developing it starting in as little as 2 months. It will definitely need to be client server at some point, but right now it can be single user. My question is basically whether or not I should start using the latest beta builds of Valentina and the server, or should I just stick with the 1.x single user stuff for now and switch later. Is anyone using the 2.0 beta with server and having reasonable success? I haven't been paying attention for a while, so I may be out of the loop on what is workable with the non-release versions of server and client. Oh, I am using REALBasic also in case that makes a difference. Thanks, Kevin From bnumerick at gmail.com Fri Sep 10 12:26:58 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Fri Sep 10 11:28:15 2004 Subject: Query giving unexpected results. In-Reply-To: References: Message-ID: Thanks for the reply Ruslan. Ok I changed the query like you suggested and its returning even more results than before. It looks like its not taking the optional_feature.of_type = 'Exteriors' . Here's the full query with the from this time ;). SELECT optional_feature.id, optional_feature.name,model_optional_feature.msrp,model_optional_feature.parent_id FROM model, optional_feature, model_optional_feature WHERE (model.id = model_optional_feature.model_id AND model_optional_feature.optional_feature_id = optional_feature.id) AND (model.id = '59' AND optional_feature.of_type = 'Exteriors' AND NOT optional_feature.id in (16,17,18,20,21,56,99,163,203,204,242) ) ORDER BY optional_feature.name ASC So are you saying 2 isn't as picky? :). On Fri, 10 Sep 2004 19:10:28 +0300, Ruslan Zasukhin wrote: > On 9/10/04 6:28 PM, "Bill Numerick" wrote: > > Hi Bill, > > > I am using the query below to return a set of results from a data. > > > > SELECT * WHERE model.id = '37' AND model.id = > > model_optional_feature.model_id AND optional_feature.id not in > > (16,17,18,20,21,56,99,163,203,204,242) AND > > model_optional_feature.optional_feature_id = optional_feature.id AND > > optional_feature.of_type = 'Exteriors' ORDER BY optional_feature.name > > ASC > > Try such edition: > > SELECT * > > <<<<< where is FROM clause ?????? > > WHERE > (model.id = model_optional_feature.model_id > AND model_optional_feature.optional_feature_id = optional_feature.id) > AND > (model.id = '37' > AND optional_feature.of_type = 'Exteriors' > AND NOT optional_feature.id in (16,17,18,20,21,56,99,163,203,204,242) ) > > ORDER BY > optional_feature.name ASC > > > and it does not seem to exclude optional_feature.id not in > > (16,17,18,20,21,56,99,163,203,204,242) from the list. > > > I got this query is coming from the website that uses a mySql database and it > > works perfect there. > > > I've tried doing individual optional_feature.id > > <>16 AND ... through all of the id's but that gets the same results. > > > Any work around? There are quite a few queries like this so i'm > > trying to make it so i don't have to go back and rewrite all of them, > > sql support was the main reason we choose to use Valentina in the > > first place from V-12 and if i have to rewrite everything it kind of > > defeats the purpose. > > Not worry, just Valentina 1.x is a little sensitive to order of conditions. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Sep 10 19:33:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 11:35:02 2004 Subject: Should I start with server and client betas now, or wait? In-Reply-To: <3D94F9E4-0345-11D9-B774-000393B29272@gatorgraphics.com> Message-ID: On 9/10/04 7:19 PM, "Kevin Windham" wrote: Hi Keven, Of course you can start now. We have developers that 10-12 months ago have ship releases of their products! > I am working on a new project that I expect will take about 12-18 > months. I expect to be using this new system while developing it > starting in as little as 2 months. It will definitely need to be client > server at some point, but right now it can be single user. So you even have great reserve in time! > My question is basically whether or not I should start using the latest > beta builds of Valentina and the server, or should I just stick with > the 1.x single user stuff for now and switch later. Is anyone using the > 2.0 beta with server and having reasonable success? Yes, see above. Note Vserver 2.0 alpha itself is based on 1.x engine. So db files the same. > I haven't been paying attention for a while, so I may be out of the > loop on what is workable with the non-release versions of server and > client. > > Oh, I am using REALBasic also in case that makes a difference. > > Thanks, > Kevin > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 10 19:35:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 11:36:15 2004 Subject: Query giving unexpected results. In-Reply-To: Message-ID: On 9/10/04 7:26 PM, "Bill Numerick" wrote: > Thanks for the reply Ruslan. > > Ok I changed the query like you suggested and its returning even more > results than before. It looks like its not taking the > optional_feature.of_type = 'Exteriors' . Here's the full query with > the from this time ;). > > SELECT optional_feature.id, > optional_feature.name,model_optional_feature.msrp,model_optional_feature.paren > t_id > FROM model, optional_feature, model_optional_feature WHERE (model.id > = model_optional_feature.model_id AND > model_optional_feature.optional_feature_id = optional_feature.id) AND > (model.id = '59' AND optional_feature.of_type = 'Exteriors' AND NOT > optional_feature.id in (16,17,18,20,21,56,99,163,203,204,242) ) ORDER > BY optional_feature.name ASC Well, I need db, and I will test in in viSQL or in VStudio. > So are you saying 2 isn't as picky? :). Yes, in 2.0 we have resolve this problem. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Fri Sep 10 12:41:03 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Fri Sep 10 11:42:11 2004 Subject: Query giving unexpected results. In-Reply-To: References: Message-ID: Should I send it to you directly? Here's a question because there are several different queries similar to this through out the app would it be worth it to use the 2 beta instead? Would you guys even allow distribution of a cd with the beta? I guess would be a good question too. :) Thanks again Ruslan On Fri, 10 Sep 2004 19:35:01 +0300, Ruslan Zasukhin wrote: > On 9/10/04 7:26 PM, "Bill Numerick" wrote: > > > Thanks for the reply Ruslan. > > > > Ok I changed the query like you suggested and its returning even more > > results than before. It looks like its not taking the > > optional_feature.of_type = 'Exteriors' . Here's the full query with > > the from this time ;). > > > > SELECT optional_feature.id, > > optional_feature.name,model_optional_feature.msrp,model_optional_feature.paren > > t_id > > FROM model, optional_feature, model_optional_feature WHERE (model.id > > = model_optional_feature.model_id AND > > model_optional_feature.optional_feature_id = optional_feature.id) AND > > (model.id = '59' AND optional_feature.of_type = 'Exteriors' AND NOT > > optional_feature.id in (16,17,18,20,21,56,99,163,203,204,242) ) ORDER > > BY optional_feature.name ASC > > Well, I need db, and I will test in in viSQL or in VStudio. > > > > So are you saying 2 isn't as picky? :). > > Yes, in 2.0 we have resolve this problem. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Sep 10 19:46:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 11:47:32 2004 Subject: Query giving unexpected results. In-Reply-To: Message-ID: On 9/10/04 7:41 PM, "Bill Numerick" wrote: > Should I send it to you directly? Yes of course Bill > Here's a question because there are several different queries similar > to this through out the app would it be worth it to use the 2 beta > instead? Would you guys even allow distribution of a cd with the > beta? I guess would be a good question too. :) 2.0 Beta is NOT yet for REALSE. It will take yet 3-4 weeks to get stable build. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Fri Sep 10 12:21:57 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Fri Sep 10 12:22:31 2004 Subject: Should I start with server and client betas now, or wait? In-Reply-To: References: Message-ID: On Sep 10, 2004, at 11:33 AM, Ruslan Zasukhin wrote: > Note Vserver 2.0 alpha itself is based on 1.x engine. > So db files the same. > Does this mean I need to use 1.x V4RB, or should I be using the 2.0a65 beta version? Thanks, Kevin From sunshine at public.kherson.ua Fri Sep 10 20:31:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 10 12:39:33 2004 Subject: Should I start with server and client betas now, or wait? In-Reply-To: Message-ID: On 9/10/04 8:21 PM, "Kevin Windham" wrote: > > On Sep 10, 2004, at 11:33 AM, Ruslan Zasukhin wrote: >> Note Vserver 2.0 alpha itself is based on 1.x engine. >> So db files the same. >> > > Does this mean I need to use 1.x V4RB, or should I be using the 2.0a65 > beta version? For LOCAL you need V4RB 1.10 For Client/server you need V4RB_Client a65 it is not beta, it is a -- alpha :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Fri Sep 10 12:55:53 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Fri Sep 10 12:56:22 2004 Subject: Should I start with server and client betas now, or wait? In-Reply-To: References: Message-ID: On Sep 10, 2004, at 12:31 PM, Ruslan Zasukhin wrote: > On 9/10/04 8:21 PM, "Kevin Windham" wrote: > >> >> On Sep 10, 2004, at 11:33 AM, Ruslan Zasukhin wrote: >>> Note Vserver 2.0 alpha itself is based on 1.x engine. >>> So db files the same. >>> >> >> Does this mean I need to use 1.x V4RB, or should I be using the 2.0a65 >> beta version? > > For LOCAL you need V4RB 1.10 > > For Client/server you need V4RB_Client a65 > > it is not beta, it is a -- alpha :-) OK, thanks. From daniel at monumental-i.com Fri Sep 10 18:00:05 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Fri Sep 10 17:00:17 2004 Subject: [Valentina General] using a method to track a recursive path In-Reply-To: References: Message-ID: Still having a blast working on my first project. One question: I currently have an infinitely recursive category table that I use to classify products. Basically it is just a table that has object_pointers to other fields in the same table. Basic relational stuff. I currently have the program 'climb' up to the parent from the child in the application - but I am wondering if I could use a method to do this for me? (return an array/properylist). I'm not sure how to approach this but something like: MYMETHOD =parent's MYMETHOD+','+myRECID Any suggestions really appreciated! - Daniel From gunnarswan at PracticeToPass.com Fri Sep 10 15:42:22 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Sep 10 17:42:06 2004 Subject: [Valentina General] using a method to track a recursive path Message-ID: <20040910224155.2A0C3210041@edison.macserve.net> Recursively call the same method or object. In the new instance, walk through everything at that level. We do this on our software Table of Contents. This allows the Table Of Contents to change, but not have to change any code. We do this as a parent script. g 9/10/04 3:00:05 PM, Daniel Crowder wrote: >Still having a blast working on my first project. One question: I >currently have an infinitely recursive category table that I use to >classify products. Basically it is just a table that has >object_pointers to other fields in the same table. Basic relational >stuff. I currently have the program 'climb' up to the parent from the >child in the application - but I am wondering if I could use a method >to do this for me? (return an array/properylist). I'm not sure how to >approach this but something like: > >MYMETHOD =parent's MYMETHOD+','+myRECID > > >Any suggestions really appreciated! > >- Daniel > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From daniel at monumental-i.com Fri Sep 10 18:50:20 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Fri Sep 10 17:50:34 2004 Subject: [Valentina General] using a method to track a recursive path In-Reply-To: <20040910224155.2A0C3210041@edison.macserve.net> References: <20040910224155.2A0C3210041@edison.macserve.net> Message-ID: If I understand you correctly, I'm already doing that in software (lingo) I want to be able to do that in a method base object in the database itself. That's what I would like to do and would like to see examples of or suggestions on how to do that. On Sep 10, 2004, at 6:42 PM, Gunnar Swan wrote: > > Recursively call the same method or object. In the new instance, walk > through everything at that level. > We do this on our software Table of Contents. > This allows the Table Of Contents to change, but not have to change > any code. > > We do this as a parent script. > > g > > 9/10/04 3:00:05 PM, Daniel Crowder wrote: > >> Still having a blast working on my first project. One question: I >> currently have an infinitely recursive category table that I use to >> classify products. Basically it is just a table that has >> object_pointers to other fields in the same table. Basic relational >> stuff. I currently have the program 'climb' up to the parent from the >> child in the application - but I am wondering if I could use a method >> to do this for me? (return an array/properylist). I'm not sure how to >> approach this but something like: >> >> MYMETHOD =parent's MYMETHOD+','+myRECID >> >> >> Any suggestions really appreciated! >> >> - Daniel >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> >> > > > Best Regards, > Gunnar Swan > Practice To Pass > 1.888.307.2050 > http://www.PracticeToPass.Com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gunnarswan at PracticeToPass.com Fri Sep 10 15:55:43 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Sep 10 17:55:27 2004 Subject: [Valentina General] using a method to track a recursive path Message-ID: <20040910225519.6D57021007F@edison.macserve.net> I mis-understood. We do it in Lingo and it's very fast. A Table of Contents draws inside the UpdateStage tree control, with artwork, in about one second. 9/10/04 3:50:20 PM, Daniel Crowder wrote: >If I understand you correctly, I'm already doing that in software >(lingo) I want to be able to do that in a method base object in the >database itself. That's what I would like to do and would like to see >examples of or suggestions on how to do that. > > >On Sep 10, 2004, at 6:42 PM, Gunnar Swan wrote: > >> >> Recursively call the same method or object. In the new instance, walk >> through everything at that level. >> We do this on our software Table of Contents. >> This allows the Table Of Contents to change, but not have to change >> any code. >> >> We do this as a parent script. >> >> g >> >> 9/10/04 3:00:05 PM, Daniel Crowder wrote: >> >>> Still having a blast working on my first project. One question: I >>> currently have an infinitely recursive category table that I use to >>> classify products. Basically it is just a table that has >>> object_pointers to other fields in the same table. Basic relational >>> stuff. I currently have the program 'climb' up to the parent from the >>> child in the application - but I am wondering if I could use a method >>> to do this for me? (return an array/properylist). I'm not sure how to >>> approach this but something like: >>> >>> MYMETHOD =parent's MYMETHOD+','+myRECID >>> >>> >>> Any suggestions really appreciated! >>> >>> - Daniel >>> >>> _______________________________________________ >>> Valentina mailing list >>> Valentina@lists.macserve.net >>> http://lists.macserve.net/mailman/listinfo/valentina >>> >>> >> >> >> Best Regards, >> Gunnar Swan >> Practice To Pass >> 1.888.307.2050 >> http://www.PracticeToPass.Com >> >> >> >> _______________________________________________ >> 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 > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From gunnarswan at PracticeToPass.com Fri Sep 10 17:10:23 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Sep 10 19:10:30 2004 Subject: [Valentina General] using a method to track a recursive path Message-ID: <20040911001013.229D7210162@edison.macserve.net> Do methods have control structures such as IF, CASE, WHILE ? If so, then you should be able to execute this. If not, Lingo is the tool. Good Luck! 9/10/04 3:50:20 PM, Daniel Crowder wrote: >If I understand you correctly, I'm already doing that in software >(lingo) I want to be able to do that in a method base object in the >database itself. That's what I would like to do and would like to see >examples of or suggestions on how to do that. > > >On Sep 10, 2004, at 6:42 PM, Gunnar Swan wrote: > >> >> Recursively call the same method or object. In the new instance, walk >> through everything at that level. >> We do this on our software Table of Contents. >> This allows the Table Of Contents to change, but not have to change >> any code. >> >> We do this as a parent script. >> >> g >> >> 9/10/04 3:00:05 PM, Daniel Crowder wrote: >> >>> Still having a blast working on my first project. One question: I >>> currently have an infinitely recursive category table that I use to >>> classify products. Basically it is just a table that has >>> object_pointers to other fields in the same table. Basic relational >>> stuff. I currently have the program 'climb' up to the parent from the >>> child in the application - but I am wondering if I could use a method >>> to do this for me? (return an array/properylist). I'm not sure how to >>> approach this but something like: >>> >>> MYMETHOD =parent's MYMETHOD+','+myRECID >>> >>> >>> Any suggestions really appreciated! >>> >>> - Daniel >>> >>> _______________________________________________ >>> Valentina mailing list >>> Valentina@lists.macserve.net >>> http://lists.macserve.net/mailman/listinfo/valentina >>> >>> >> >> >> Best Regards, >> Gunnar Swan >> Practice To Pass >> 1.888.307.2050 >> http://www.PracticeToPass.Com >> >> >> >> _______________________________________________ >> 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 > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From daniel at monumental-i.com Fri Sep 10 20:37:09 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Fri Sep 10 19:37:16 2004 Subject: [Valentina General] using a method to track a recursive path In-Reply-To: <20040911001013.229D7210162@edison.macserve.net> References: <20040911001013.229D7210162@edison.macserve.net> Message-ID: > > Do methods have control structures such as IF, CASE, WHILE ? I don't think so but even so I would not need them. Basically, you have a record, object pointer, and a method field called 'path'. The object ptr references the same table to create infinite parent/child relationships for categories. Basically 'path' is a formula that outputs a string. PATH = MY RECID + SOME DELIMITER + THE PATH VALUE OF RECORD REFERENCED BY MY OBJECT_PTR So basically, if you create a new top level record it's PATH field will be it's RECID. Let's say it's recid is 5 so '5' would appear as the path value. Now if I create a new record that points to that record (let's say it's recid is 12) then it's PATH value will be "5,12" and if I create a new record that points to recid id 12 in the same table it's path value will be "5,12, 32" since it has a RecID of 32 etc. I've got a great solution working just fine in lingo - I'm more interested in learning about how to use methods. On Sep 10, 2004, at 8:10 PM, Gunnar Swan wrote: > > > If so, then you should be able to execute this. > > If not, Lingo is the tool. > > Good Luck! > > > 9/10/04 3:50:20 PM, Daniel Crowder wrote: > >> If I understand you correctly, I'm already doing that in software >> (lingo) I want to be able to do that in a method base object in the >> database itself. That's what I would like to do and would like to see >> examples of or suggestions on how to do that. >> >> >> On Sep 10, 2004, at 6:42 PM, Gunnar Swan wrote: >> >>> >>> Recursively call the same method or object. In the new instance, walk >>> through everything at that level. >>> We do this on our software Table of Contents. >>> This allows the Table Of Contents to change, but not have to change >>> any code. >>> >>> We do this as a parent script. >>> >>> g >>> >>> 9/10/04 3:00:05 PM, Daniel Crowder wrote: >>> >>>> Still having a blast working on my first project. One question: I >>>> currently have an infinitely recursive category table that I use to >>>> classify products. Basically it is just a table that has >>>> object_pointers to other fields in the same table. Basic relational >>>> stuff. I currently have the program 'climb' up to the parent from >>>> the >>>> child in the application - but I am wondering if I could use a >>>> method >>>> to do this for me? (return an array/properylist). I'm not sure how >>>> to >>>> approach this but something like: >>>> >>>> MYMETHOD =parent's MYMETHOD+','+myRECID >>>> >>>> >>>> Any suggestions really appreciated! >>>> >>>> - Daniel >>>> >>>> _______________________________________________ >>>> Valentina mailing list >>>> Valentina@lists.macserve.net >>>> http://lists.macserve.net/mailman/listinfo/valentina >>>> >>>> >>> >>> >>> Best Regards, >>> Gunnar Swan >>> Practice To Pass >>> 1.888.307.2050 >>> http://www.PracticeToPass.Com >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> > > > Best Regards, > Gunnar Swan > Practice To Pass > 1.888.307.2050 > http://www.PracticeToPass.Com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gunnarswan at PracticeToPass.com Fri Sep 10 17:58:09 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Sep 10 19:57:52 2004 Subject: [Valentina General] using a method to track a recursive path Message-ID: <20040911005739.97330210203@edison.macserve.net> I was always led to believe that recursive programming required control structures, but, I could be wrong? 9/10/04 5:37:09 PM, Daniel Crowder wrote: >> >> Do methods have control structures such as IF, CASE, WHILE ? > >I don't think so but even so I would not need them. > >Basically, you have a record, object pointer, and a method field called >'path'. The object ptr references the same table to create infinite >parent/child relationships for categories. > >Basically 'path' is a formula that outputs a string. > >PATH = MY RECID + SOME DELIMITER + THE PATH VALUE OF RECORD REFERENCED >BY MY OBJECT_PTR > >So basically, if you create a new top level record it's PATH field will >be it's RECID. Let's say it's recid is 5 so '5' would appear as the >path value. Now if I create a new record that points to that record >(let's say it's recid is 12) then it's PATH value will be "5,12" and if >I create a new record that points to recid id 12 in the same table it's >path value will be "5,12, 32" since it has a RecID of 32 etc. > >I've got a great solution working just fine in lingo - I'm more >interested in learning about how to use methods. > > > > >On Sep 10, 2004, at 8:10 PM, Gunnar Swan wrote: >> >> >> If so, then you should be able to execute this. >> >> If not, Lingo is the tool. >> >> Good Luck! >> >> >> 9/10/04 3:50:20 PM, Daniel Crowder wrote: >> >>> If I understand you correctly, I'm already doing that in software >>> (lingo) I want to be able to do that in a method base object in the >>> database itself. That's what I would like to do and would like to see >>> examples of or suggestions on how to do that. >>> >>> >>> On Sep 10, 2004, at 6:42 PM, Gunnar Swan wrote: >>> >>>> >>>> Recursively call the same method or object. In the new instance, walk >>>> through everything at that level. >>>> We do this on our software Table of Contents. >>>> This allows the Table Of Contents to change, but not have to change >>>> any code. >>>> >>>> We do this as a parent script. >>>> >>>> g >>>> >>>> 9/10/04 3:00:05 PM, Daniel Crowder wrote: >>>> >>>>> Still having a blast working on my first project. One question: I >>>>> currently have an infinitely recursive category table that I use to >>>>> classify products. Basically it is just a table that has >>>>> object_pointers to other fields in the same table. Basic relational >>>>> stuff. I currently have the program 'climb' up to the parent from >>>>> the >>>>> child in the application - but I am wondering if I could use a >>>>> method >>>>> to do this for me? (return an array/properylist). I'm not sure how >>>>> to >>>>> approach this but something like: >>>>> >>>>> MYMETHOD =parent's MYMETHOD+','+myRECID >>>>> >>>>> >>>>> Any suggestions really appreciated! >>>>> >>>>> - Daniel >>>>> >>>>> _______________________________________________ >>>>> Valentina mailing list >>>>> Valentina@lists.macserve.net >>>>> http://lists.macserve.net/mailman/listinfo/valentina >>>>> >>>>> >>>> >>>> >>>> Best Regards, >>>> Gunnar Swan >>>> Practice To Pass >>>> 1.888.307.2050 >>>> http://www.PracticeToPass.Com >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >> >> >> Best Regards, >> Gunnar Swan >> Practice To Pass >> 1.888.307.2050 >> http://www.PracticeToPass.Com >> >> >> >> _______________________________________________ >> 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 > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From vidal_olivier at yahoo.fr Sat Sep 11 10:03:03 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 11 02:54:55 2004 Subject: set of several fields : Unique ? Message-ID: <01860954-03C9-11D9-854F-00039310B7DA@yahoo.fr> Hi Ruslan and list, Not to be able to make Unique a set of several fields is an inconvenience with Valentina I think. e.g. I have a database (fields: street, zip, city) for 3 000 000 of the streets. All these streets must be unique. But Unique in every city. ( it can have identical street names but in different cities there) Naturally, we can find solutions but "by fiddling" and by setting of the supplementary place on the HD.... It is pity. thank you Olivier From sunshine at public.kherson.ua Sat Sep 11 12:20:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 11 04:20:49 2004 Subject: set of several fields : Unique ? In-Reply-To: <01860954-03C9-11D9-854F-00039310B7DA@yahoo.fr> Message-ID: On 9/11/04 11:03 AM, "olivier" wrote: > Hi Ruslan and list, > > Not to be able to make Unique a set of several fields is an > inconvenience with Valentina I think. > > e.g. I have a database (fields: street, zip, city) for 3 000 000 of the > streets. > > All these streets must be unique. > But Unique in every city. ( it can have identical street names but in > different cities there) > > Naturally, we can find solutions but "by fiddling" and by setting of > the supplementary place on the HD.... It is pity. Hi Oliver, To set UNIQUE flag on combination of several fields you need simply to use BaseObject Method. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Sep 11 15:26:21 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 11 08:18:07 2004 Subject: VarChar Message-ID: <2B879F53-03F6-11D9-854F-00039310B7DA@yahoo.fr> Hi Ruslan and list, I know that the question was already put in the list but I saw contradictory answers. I have a string field of 100 bytes. But many recordings have only 15-40 bytes. As I have 3 000 000 of the recordings, the database is too important on the hard disk. I wanted to use a varchar on the place of the string, to reduce the size. But the documentation indicates : "MaxLenghth : When using a varchar field, there is no benefit (in terms of speed OR DISK SPACE) to using a value of less than 504 bytes because it stores characters in logical pages" It means that with a varchar, my string of 100 bytes will take really 504 bytes ?! Or it means that that I can put for example 5 fields of 95 bytes + header 4 = 5 X 99 = 495 + header 8 bytes = 504 bytes ? Random access are much slower with a varchar than with a string? I saw on the list which it has had many problems with varchar there. Now, varchar works perfectly? thank you very much olivier From vidal_olivier at yahoo.fr Sat Sep 11 15:36:25 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 11 08:28:13 2004 Subject: set of several fields : Unique ? In-Reply-To: References: Message-ID: <93F3A7C2-03F7-11D9-854F-00039310B7DA@yahoo.fr> >> e.g. I have a database (fields: street, zip, city) for 3 000 000 of >> the >> streets. >> >> All these streets must be unique. >> But Unique in every city. ( it can have identical street names but in >> different cities there) > > To set UNIQUE flag on combination of several fields > you need simply to use BaseObject Method. > yes, but I shall have a big file of index (name+zip+city X 3 000 000). thank you olivier From sunshine at public.kherson.ua Sat Sep 11 18:07:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 11 10:08:03 2004 Subject: set of several fields : Unique ? In-Reply-To: <93F3A7C2-03F7-11D9-854F-00039310B7DA@yahoo.fr> Message-ID: On 9/11/04 4:36 PM, "olivier" wrote: > >>> e.g. I have a database (fields: street, zip, city) for 3 000 000 of >>> the >>> streets. >>> >>> All these streets must be unique. >>> But Unique in every city. ( it can have identical street names but in >>> different cities there) >> >> To set UNIQUE flag on combination of several fields >> you need simply to use BaseObject Method. >> > > yes, but I shall have a big file of index (name+zip+city X 3 000 000). Then what you ask about ? Yes, you have big db, and you will have big index. There is no other way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Sep 11 18:12:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 11 10:14:02 2004 Subject: VarChar In-Reply-To: <2B879F53-03F6-11D9-854F-00039310B7DA@yahoo.fr> Message-ID: On 9/11/04 4:26 PM, "olivier" wrote: Hi Oliver, > I know that the question was already put in the list but I saw > contradictory answers. > > I have a string field of 100 bytes. > But many recordings have only 15-40 bytes. > > As I have 3 000 000 of the recordings, the database is too important on the > hard disk. I wanted to use a varchar on the place of the string, to reduce the > size. > > But the documentation indicates : > "MaxLenghth : When using a varchar field, there is no benefit (in terms > of speed OR DISK SPACE) to using a value of less than 504 bytes because > it stores characters in logical pages" > It means that with a varchar, my string of 100 bytes will take really > 504 bytes ?! NO. It says that if you will make VarChar[100] it will be the same by effectiveness as VarChar[504] And in both case the string in 15 chars will eat on disk 15 + 8 bytes. > Or it means that that I can put for example 5 fields of 95 bytes + > header 4 = 5 X 99 = 495 + header 8 bytes = 504 bytes ? Also no. > Random access are much slower with a varchar than with a string? No!!! That was surprise for mew few years ago, but VarChar fields work much faster of String. > I saw on the list which it has had many problems with varchar there. > Now, varchar works perfectly? They still can get corruptions in hard cases. String have less chances because it is of fixed size column. VarChar is much more complex structure. But in general we do not have other way, We must use VarChars. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Sat Sep 11 20:47:26 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Sat Sep 11 20:47:55 2004 Subject: Should I use vStudio or something else to manage vServer? Message-ID: I thought vStudio would do the trick, but I downloaded 1.0a62 and it doesn't even launch. Have I missed something, or do I need to code something myself? Thanks, Kevin From snw at paradise.net.nz Sun Sep 12 14:21:58 2004 From: snw at paradise.net.nz (Sean Wilson) Date: Sat Sep 11 21:22:11 2004 Subject: [ANN] V4MD_WIN 2.0 beta 15 uploaded In-Reply-To: References: <6.1.2.0.2.20040910105825.02dae510@pop3.paradise.net.nz> Message-ID: <6.1.2.0.2.20040912141833.02594d80@pop3.paradise.net.nz> > > Even better - all these xtras (and their methods) have entries under the > > Scripting Xtras menu! > >Yes, Igor have found my mistake why it did not show. >Actually we can build and upload 1.10 with this fix. Hi Ruslan, Can I take you up on your offer to build and upload a version with this fix implemented? Thanks, -Sean. From sunshine at public.kherson.ua Sun Sep 12 09:58:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 12 01:58:48 2004 Subject: Should I use vStudio or something else to manage vServer? In-Reply-To: Message-ID: On 9/12/04 4:47 AM, "Kevin Windham" wrote: > I thought vStudio would do the trick, but I downloaded 1.0a62 and it > doesn't even launch. Have I missed something, or do I need to code > something myself? What platform? Vstudio works for me on both platforms! Yes you should use it to manage Vserver. It Is more easy. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 12 14:24:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 12 06:24:37 2004 Subject: [OFF] access from OS X to linux computer. Message-ID: Hi All, I have small problem, may be somebody can help? I have in the local network OS X - Linux I can connect from OS X to ftp of Linux computer. It open me window, but in the read only mode. I have login as root of that linux. We have check that from other linux computer we can connect in r/w mode to my linux computer, so problem look to be on OS X side. Anybody know what is wrong? Anybody can from his MAC OS X connect to his linux and be in the r/w mode? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 12 15:17:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 12 07:17:21 2004 Subject: [OFF] access from OS X to linux computer. // solved In-Reply-To: Message-ID: On 9/12/04 2:24 PM, "Ruslan Zasukhin" wrote: If I use any FTP utility then it works normally. Looks to be a bug in OS X > Hi All, > > I have small problem, may be somebody can help? > > I have in the local network > > OS X - Linux > > > I can connect from OS X to ftp of Linux computer. > It open me window, but in the read only mode. > I have login as root of that linux. > > We have check that from other linux computer we can connect in r/w mode to > my linux computer, so problem look to be on OS X side. > > Anybody know what is wrong? > > Anybody can from his MAC OS X connect to his linux and be in the r/w mode? > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Sun Sep 12 14:23:50 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Sun Sep 12 07:24:13 2004 Subject: [OFF] access from OS X to linux computer. // solved In-Reply-To: Message-ID: at 12.09.2004 14:17 Uhr, Ruslan Zasukhin wrote: > If I use any FTP utility then it works normally. > > Looks to be a bug in OS X Hi Ruslan, have you tried to include your login/pw into the connect string: ftp://ruslan:mypassword@linuxmachine.ip -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com From sunshine at public.kherson.ua Sun Sep 12 15:36:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 12 07:37:25 2004 Subject: [OFF] access from OS X to linux computer. // solved In-Reply-To: Message-ID: On 9/12/04 3:23 PM, "Andy Fuchs" wrote: > at 12.09.2004 14:17 Uhr, Ruslan Zasukhin wrote: > >> If I use any FTP utility then it works normally. >> >> Looks to be a bug in OS X > > Hi Ruslan, > > have you tried to include your login/pw into the connect string: > > ftp://ruslan:mypassword@linuxmachine.ip Yes, Andy, the same result. It connect. It opens window. But in read only mode. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at pedro.Net.au Mon Sep 13 12:32:06 2004 From: lists at pedro.Net.au (Pedro fp) Date: Sun Sep 12 21:32:32 2004 Subject: [V4RB] VPicture challenges Message-ID: <1A85D5F3-052D-11D9-A783-000D9366C144@pedro.Net.au> G'day Folks Project I'm working on is an ID photo database using Valentina & I'm having trouble with the picture field. In a variety of ways, including drawing it to a canvas, I've tried testing that the picture object returned from theFile.openAsPicture is not nil, always yielding a positive result. However the picture never seems to go into my database. I have a class importItem which has properties for the picture (a RB picture object) & the person's name. As I loop through a folder selected I create an array of importItem objects from any JPEG files found in that folder. That array is then passed to a method of the Valentina base object that creates the new records. Setting a breakpoint immediately before passing the array shows that the picture property for all items is not nil. However the blob file of my database remains the same size (100 KB) both before and after the import. Then when I try to retrieve the pictures nil is always returned. The constructor for my picture field is ... fPhoto = new VPicture( "photo", 20 * 1024 ) (I have also used 1024, the default value, as the 2nd parameter) The picture is set to the new record using ... me.fPhoto.setPicture( batch( i ).photo, 80 ) (batch is the array of importItem objects) The data is retrieved using ... dRow( i ).icon = data.PictureField( "photo" ).getPicture Any clues to what I'm doing wrong? Or where I should look for the problem? Also, can anyone offer a guide to selecting an appropriate value for the segment size in the constructor of my VPicture field? Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "There's no place like 127.0.0.1." origin unknown From daniel at monumental-i.com Mon Sep 13 01:05:41 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Mon Sep 13 00:05:53 2004 Subject: [V4MD] 4 files or 1 In-Reply-To: References: Message-ID: <8F1EAF9F-0542-11D9-B31A-000D93326CD0@monumental-i.com> Just a quick question (that I'm sure has been addressed a multitude of times). I've read that having 4 files making up your database is a bit better as it reduces your chances for having the data corrupt. However, what about speed? Is a single file database any slower than one split into four files? I am creating an application that will check a server to update it's data. It simply replaces its local database with one from the web server. I'd like to have a single file but will go through the extra trouble of programming around four files if everyone thinks its worth it. _______________________________ Daniel Crowder Partner Monumental Natural Interactive Solutions 828 Ralph McGill Blvd. W-2 Atlanta, GA 30306 Phone: 404.223.0303 Fax: 404.223.0309 monumental-i.com From e.wyber at murdoch.edu.au Mon Sep 13 13:45:57 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Mon Sep 13 00:46:01 2004 Subject: [V4MD] 4 files or 1 In-Reply-To: <8F1EAF9F-0542-11D9-B31A-000D93326CD0@monumental-i.com> References: <8F1EAF9F-0542-11D9-B31A-000D93326CD0@monumental-i.com> Message-ID: <2FA52470-0548-11D9-A7D7-0003930FD04E@murdoch.edu.au> On 13/09/2004, at 1:05 PM, Daniel Crowder wrote: > I am creating an application that will check a server to update it's > data. It simply replaces its local database with one from the web > server. I'd like to have a single file but will go through the extra > trouble of programming around four files if everyone thinks its worth > it. It is worth it :-) Elias. You only have the rights you defend in others. From sunshine at public.kherson.ua Mon Sep 13 09:11:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 01:11:39 2004 Subject: [V4RB] VPicture challenges In-Reply-To: <1A85D5F3-052D-11D9-A783-000D9366C144@pedro.Net.au> Message-ID: On 9/13/04 5:32 AM, "Pedro fp" wrote: Hi Pedro, > Project I'm working on is an ID photo database using Valentina & I'm > having trouble with the picture field. > In a variety of ways, including drawing it to a canvas, I've tried > testing that the picture object returned from theFile.openAsPicture is > not nil, always yielding a positive result. However the picture never > seems to go into my database. > > I have a class importItem which has properties for the picture (a RB > picture object) & the person's name. As I loop through a folder > selected I create an array of importItem objects from any JPEG files > found in that folder. That array is then passed to a method of the > Valentina base object that creates the new records. > > Setting a breakpoint immediately before passing the array shows that > the picture property for all items is not nil. However the blob file of > my database remains the same size (100 KB) both before and after the > import. Then when I try to retrieve the pictures nil is always > returned. > > The constructor for my picture field is ... > fPhoto = new VPicture( "photo", 20 * 1024 ) > > (I have also used 1024, the default value, as the 2nd parameter) > > The picture is set to the new record using ... > me.fPhoto.setPicture( batch( i ).photo, 80 ) > > (batch is the array of importItem objects) > > The data is retrieved using ... > dRow( i ).icon = data.PictureField( "photo" ).getPicture You have very small photos? Otherwise how you can be sure that your array of photos will not eat the whole RAM? I think may be better import picture by picture? Next, array get pictures simply from file.ReadAs... ? Vpicture field expect PICT which you can get only if picture is on Canvas. You can try to use other function, It seems it is implemented in 1.x Function which save a picture AS IS. > Any clues to what I'm doing wrong? Or where I should look for the > problem? > Also, can anyone offer a guide to selecting an appropriate value for > the segment size in the constructor of my VPicture field? It should be close to AVERAGE size of your photos. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 13 10:35:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 02:36:18 2004 Subject: [ANN] V4MD 1,10 for MAC uploaded In-Reply-To: <6.1.2.0.2.20040912141833.02594d80@pop3.paradise.net.nz> Message-ID: On 9/12/04 5:21 AM, "Sean Wilson" wrote: > >>> Even better - all these xtras (and their methods) have entries under the >>> Scripting Xtras menu! >> >> Yes, Igor have found my mistake why it did not show. >> Actually we can build and upload 1.10 with this fix. > > Hi Ruslan, > > Can I take you up on your offer to build and upload a version with this fix > implemented? Hi V4MD users. I have made 1.11 build of V4MD for MAC. It is uploaded. * Now you can see Vdatabase and Vcursor Xtras in the list of popup menu of Scripting Xtras. * and this build contains 2-3 bug fixes for last 6 months. I think day after day we will make 1.11 build for all Valentina products. This is minor update. Again, kernel have 2-3 fixed bugs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ratzfatz at digitalmind.de Mon Sep 13 11:19:35 2004 From: ratzfatz at digitalmind.de (Stephan Huber) Date: Mon Sep 13 04:19:53 2004 Subject: [V4RB] VPicture challenges In-Reply-To: <1A85D5F3-052D-11D9-A783-000D9366C144@pedro.Net.au> References: <1A85D5F3-052D-11D9-A783-000D9366C144@pedro.Net.au> Message-ID: <41456627.7010209@digitalmind.de> Pedro fp wrote: > Any clues to what I'm doing wrong? Or where I should look for the > problem? There are pictures and pictures :) Try to put your loaded pic into the clipbard, and retrieve it from there again. This worked for me. This clipboard-thing makes a REAL picture out of a picture :) HTH, Stephan -- Stephan Huber +++ http://digitalmind.de +++ dieses und jenes From wonderfef at noos.fr Mon Sep 13 15:19:49 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Sep 13 08:20:08 2004 Subject: ValentinaServer as a plugin Message-ID: Hello all, I've just tried for the second time ValentinaServer and its friend V4RB_Client.rbx. Both look great, and I really like to take advantage of them right away! But... Is it planned to release ValentinaServer as a plugin for REALbasic ? I'd really need to give my server application some specific functionalites... To finish, there is something that I don't understand: what's the use of the parameter 'CursorLocation' when creating a new cursor? All I see is that ClientSide is faster, so what's the point of ServerSide? Thanks for your support Eric From fb at memedia.de Mon Sep 13 15:24:09 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Sep 13 08:24:24 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: > All I see is that ClientSide is faster, so what's the point > of ServerSide? > If you have a large cursor you might want to create it serverside, otherwise you will have to transfer all the data at once via network to the client (client-side) Florian From sunshine at public.kherson.ua Mon Sep 13 16:27:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 08:30:38 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 4:19 PM, "Eric Ferrer" wrote: Hi Eric, > Hello all, > > I've just tried for the second time ValentinaServer and its friend > V4RB_Client.rbx. > Both look great, and I really like to take advantage of them right away! > > But... > Is it planned to release ValentinaServer as a plugin for REALbasic ? This is not possible. Technically. > I'd really need to give my server application some specific > functionalites... But no problems! >From one side. From other... What exactly you want to do ? > To finish, there is something that I don't understand: what's the use of the > parameter 'CursorLocation' when creating a new cursor? I think it is described in the ValentinaKernel.pdf It specify where will be data of cursor, on server computer, or on client computer. > All I see is that ClientSide is faster, so what's the point of ServerSide? IF you will select 100,000 records from million table, Then Server-side will be faster because it will not send all found records by network to client computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at pedro.Net.au Mon Sep 13 23:33:49 2004 From: lists at pedro.Net.au (Pedro fp) Date: Mon Sep 13 08:34:17 2004 Subject: [V4RB] VPicture challenges In-Reply-To: References: Message-ID: <8B65A7F9-0589-11D9-A783-000D9366C144@pedro.Net.au> G'day Ruslan et al On 13/09/2004, at 4:11 PM, Ruslan Zasukhin wrote: > You have very small photos? > > Otherwise how you can be sure that your array of photos will not eat > the > whole RAM? > > I think may be better import picture by picture? Perhaps so & I have code for that. From the sample data I have the pictures average 56 KB & they're imported in batches of around 30 photos. > Next, array get pictures simply from file.ReadAs... ? > Vpicture field expect PICT which you can get only if picture is on > Canvas. This puzzles me as the RB Language Reference says of folderItem.openAsPicture ... "Opens the FolderItem to be read as a PICT and returns its image as a picture object. ..." I'll try something using a canvas & also Stephan's clipboard suggestion. > You can try to use other function, > It seems it is implemented in 1.x > Function which save a picture AS IS. Is this documented somewhere? I find 2 references for AS IS in the Valentina SQL Reference of Aug 25, 2004 but don't know what string I'd give for the picture. The Valentina for REALbasic Reference on the website appears to be older than Valentina 1.1. > It should be close to AVERAGE size of your photos. Great. I'll change accordingly. Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "You can have your garden and eat it too." original From sunshine at public.kherson.ua Mon Sep 13 16:43:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 08:45:35 2004 Subject: [V4RB] VPicture challenges In-Reply-To: <8B65A7F9-0589-11D9-A783-000D9366C144@pedro.Net.au> Message-ID: On 9/13/04 4:33 PM, "Pedro fp" wrote: >> You can try to use other function, >> It seems it is implemented in 1.x >> Function which save a picture AS IS. > > Is this documented somewhere? I find 2 references for AS IS in the > Valentina SQL Reference of Aug 25, 2004 but don't know what string I'd > give for the picture. The Valentina for REALbasic Reference on the > website appears to be older than Valentina 1.1. This can be only in V4RB Reference.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Mon Sep 13 16:38:11 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Sep 13 09:38:24 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: Hi Ruslan and Florian, Thanks for your fast answers. >> Is it planned to release ValentinaServer as a plugin for REALbasic ? > This is not possible. Technically. It's a pity... >> I'd really need to give my server application some specific >> functionalites... > What exactly you want to do ? This is too specific and it has nothing to do with databases. For example, the Server I'm currently developping is capable of updating the clients that connect to it, it connects itself to internet to read new "shopping baskets" and create new records from them... By the way, I'm very curious to know how you handle this: Two users (Helen and Richard) are browsing a customer list. Helen adds a new customer : how do you intercept this event to refresh the customer list for Richard ? >> All I see is that ClientSide is faster, so what's the point of ServerSide? > IF you will select 100,000 records from million table, > Then Server-side will be faster because it will not send all found records > by network to client computer. OK, I see, but when you start looping into the cursor (server-side), you generate some traffic in the network. So creating a large serverside cursor is faster, but reading it record after record is slow anyway. Am I right? Here are the results of my tests on a table contained 245'000 recs: Client side : 16'134 ticks to build the cursor 115 ticks to display the result in a ListBox ServerSide : 40 ticks to build the cursor 40'912 ticks to display the result in a ListBox Anyway, I never use such huge cursors! Thank you very much Eric From sunshine at public.kherson.ua Mon Sep 13 17:47:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 09:52:38 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 5:38 PM, "Eric Ferrer" wrote: >>> All I see is that ClientSide is faster, so what's the point of ServerSide? >> IF you will select 100,000 records from million table, >> Then Server-side will be faster because it will not send all found records >> by network to client computer. > OK, I see, but when you start looping into the cursor (server-side), you > generate some traffic in the network. So creating a large serverside cursor > is faster, but reading it record after record is slow anyway. Am I right? > Here are the results of my tests on a table contained 245'000 recs: > Client side : 16'134 ticks to build the cursor > 115 ticks to display the result in a ListBox > ServerSide : 40 ticks to build the cursor > 40'912 ticks to display the result in a ListBox > > Anyway, I never use such huge cursors! Another important difference. Client-side cursor always is read only. Server side allow you Add, Update Delete records. I think server side is very good when you are on the same computer, If you have local fast intranet. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 13 17:46:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 09:53:37 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 5:38 PM, "Eric Ferrer" wrote: >>> All I see is that ClientSide is faster, so what's the point of ServerSide? >> IF you will select 100,000 records from million table, >> Then Server-side will be faster because it will not send all found records >> by network to client computer. > OK, I see, but when you start looping into the cursor (server-side), you > generate some traffic in the network. So creating a large serverside cursor > is faster, but reading it record after record is slow anyway. Am I right? Yes. But keep in mind, most probably user will NOT read all 100,000 records. He will jump here, jump there.... Also note, exists middle-mode: Bulk Cursor. It combine features of server and client side cursors. It keep 100,00 record on server, but also it create buffer for e.g. 50 records on client and load them as bulk. > Here are the results of my tests on a table contained 245'000 recs: > Client side : 16'134 ticks to build the cursor > 115 ticks to display the result in a ListBox > ServerSide : 40 ticks to build the cursor > 40'912 ticks to display the result in a ListBox > > Anyway, I never use such huge cursors -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 13 17:56:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 09:58:01 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 5:38 PM, "Eric Ferrer" wrote: Hi Eric, > Thanks for your fast answers. > >>> Is it planned to release ValentinaServer as a plugin for REALbasic ? >> This is not possible. Technically. > It's a pity... >>> I'd really need to give my server application some specific >>> functionalites... >> What exactly you want to do ? > This is too specific and it has nothing to do with databases. > For example, the Server I'm currently developping is capable of updating the > clients that connect to it, it connects itself to internet to read new > "shopping baskets" and create new records from them... Wait a moment! * capable of updating the clients that connect to it. you mean that if one user change something then second see this ? * connection to inet can be perfectly implemented using a) V4RB client to connect top VServer b) RB app that connect to to inet. c) you read from inet and add records to Vserver. right? This task can be made via client * The same is true for ADMIN tasks. Paradigma understands that you as develop may wish provide to your clients own app with own GUI which they will start and manage Server. This is called admin utility. So again you can easy develop this simply using V4RB_Client. In the same way works Valentina Studio, for Example. In the same way works MS Entreprise Manager. This admin utility simply connect to server, provide ADMIN login and password and send to it admin commands. The cool here is that this admin will control your server even via internet from remote computer!!! You see? You do NOT need Vserver as plugin for REALbasic from our point of view. > By the way, I'm very curious to know how you handle this: > Two users (Helen and Richard) are browsing a customer list. Helen adds a new > customer : how do you intercept this event to refresh the customer list for > Richard ? Answer IS * theory of transactions says: user1 NEVER must see changes provided by other users inside of single transactions. * BIG DBMS like Oracle, MS SQL, do not show records added by Hellen until Richard press button refresh. You in your app can make refresh by time if you want. * only Postgre have mechanism of some special call-back events, when Richard get notification that something was changed. * Valentina do not have such mechanism yet. I think we also can and should make it. for some case-sensitive can be useful. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Mon Sep 13 18:37:23 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Sep 13 11:37:42 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: Dear Ruslan, > But keep in mind, most probably user will NOT read all 100,000 records. > He will jump here, jump there.... I can't see why I would build a cursor if I don't display its result. Just to display the number of found records? >> For example, the Server I'm currently developping is capable of updating the >> clients that connect to it, it connects itself to internet to read new >> "shopping baskets" and create new records from them... > > Wait a moment! > > * capable of updating the clients that connect to it. > you mean that if one user change something then second see this ? Nope, I mean that the server implements something like a "software update": your client connects to the server, the server checks if there is a newer version of your client and uploads it to you if necessary. > * connection to inet can be perfectly implemented using > a) V4RB client to connect top VServer > b) RB app that connect to to inet. > c) you read from inet and add records to Vserver. Yes, that's true. But what if there is a new "shopping basket" by night, when no client is running? Yes, there is a work around: a little programm that would do it separately. Actually, for all the specific features I'd need, I could develop a dedicated application/service that would behave just like a client to ValentinaServer and would then be able to add/edit/delete records. The fact is that my server performs many other things than just dealing with the data across the network. Finding a workaround for each of them would take me a lot of time. I thought that ValentinaServer as a RB plugin would just avoid me to find and develop all these workarounds ;-) ! > * theory of transactions says: > user1 NEVER must see changes provided by other users inside of > single transactions. In the way we work here, in my company, we do need to see other users' work, lively. Anything added/edited/removed in the database is instantly displayed on all computers. This feature works fine and is just great! Thanks for your answer (fast, as usual) Eric From sunshine at public.kherson.ua Mon Sep 13 19:45:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 11:54:17 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 7:37 PM, "Eric Ferrer" wrote: > > Dear Ruslan, > >> But keep in mind, most probably user will NOT read all 100,000 records. >> He will jump here, jump there.... > I can't see why I would build a cursor if I don't display its result. > Just to display the number of found records? But you cannot display all 100k records! User will see some first 20-25 records. Then he can scroll and see next 25 Or he can drag scroll thumb and jump to 24560-24580 records -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 13 19:53:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 11:55:08 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: On 9/13/04 7:37 PM, "Eric Ferrer" wrote: >> * connection to inet can be perfectly implemented using >> a) V4RB client to connect top VServer >> b) RB app that connect to to inet. >> c) you read from inet and add records to Vserver. > Yes, that's true. > But what if there is a new "shopping basket" by night, when no client is > running? You have not catch. You develop your SERVER-SIDE app/component using RB + V4RB Client. Your app run on the server as second server. Vserver Your server process. But your server process with help of V4RB_Client can connect to Vserver and control it. > Yes, there is a work around: a little programm that would do it separately. right And btw, this is UNIX style. Each task is executed by small program. > Actually, for all the specific features I'd need, I could develop a > dedicated application/service that would behave just like a client to > ValentinaServer and would then be able to add/edit/delete records. RIGHT!!! In this case YOUR application manage network protocol self. And Vserver self do NOT act on the network. It is hidden behind of your Server Application. This is not trick! I know that our friends in other team, use such way to wrap MS SQL. > The fact is that my server performs many other things than just dealing with > the data across the network. Finding a workaround for each of them would > take me a lot of time. I thought that ValentinaServer as a RB plugin would > just avoid me to find and develop all these workarounds ;-) ! I think you have found the right way -- you need to WRAP Vserver. Look, such configuration opens to you even more cool ways! For example your Server app runs on computer1. It is connected to 5 other computers. Each runs its own copy of Vserver. And your app is connected to all 5. And it can dispatch/distribute work between several Vservers! >> * theory of transactions says: >> user1 NEVER must see changes provided by other users inside of >> single transactions. > In the way we work here, in my company, we do need to see other users' work, > lively. > Anything added/edited/removed in the database is instantly displayed on all > computers. This feature works fine and is just great! Then you need to have A) own notification system 2) do refresh each one second or less or more. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Mon Sep 13 11:56:10 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 11:56:38 2004 Subject: Removing database from vServer Message-ID: I think I am missing something about how to remove a database from vServer. I am using the Valentina Server Utility project that came with the V4RB client download. To start I ran the test project to see if it would connect to the server. That worked and it created a database on the server called My Database1. It only would create 100 records though. I'm guessing that's a limit built into the server for testing. Anyway, I then wanted to remove the database. So I ran the Valentina Server Utility project and hit unregister. The database was still listed. I ran it in debug mode, and it doesn't seem to have any errors, although I could not find a last error property on the VServer object so I am not sure if there was an error or not. The docs don't say too much about this that I can find. From what I can tell the unregister command is what I need, but it doesn't seem to be working. Any thoughts? Thanks, Kevin From sunshine at public.kherson.ua Mon Sep 13 20:01:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 12:06:51 2004 Subject: Removing database from vServer In-Reply-To: Message-ID: On 9/13/04 7:56 PM, "Kevin Windham" wrote: > I think I am missing something about how to remove a database from > vServer. I am using the Valentina Server Utility project that came with > the V4RB client download. To start I ran the test project to see if it > would connect to the server. > > That worked and it created a database on the server called My > Database1. It only would create 100 records though. I'm guessing that's > a limit built into the server for testing. Just example simplified This is not demo limit of server > Anyway, I then wanted to remove the database. So I ran the Valentina > Server Utility project and hit unregister. The database was still > listed. You know, that project was dirty one evening development form some Valentina user. May be it have bugs. > I ran it in debug mode, and it doesn't seem to have any errors, > although I could not find a last error property on the VServer object > so I am not sure if there was an error or not. > The docs don't say too much about this that I can find. From what I can > tell the unregister command is what I need, but it doesn't seem to be > working. > > Any thoughts? You can check easy if unregister have made work. Trash the db files that you have unregister. You must be able empty trash. This means that Vserver have close that files. Also after unregister, if to look inside of Master.vdb you should NOT see the record about that database. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Mon Sep 13 12:14:48 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 12:15:16 2004 Subject: Removing database from vServer In-Reply-To: References: Message-ID: <6AE1B21B-05A8-11D9-861E-000393B29272@gatorgraphics.com> On Sep 13, 2004, at 12:01 PM, Ruslan Zasukhin wrote: > > You can check easy if unregister have made work. > Trash the db files that you have unregister. > You must be able empty trash. > This means that Vserver have close that files. > > Also after unregister, if to look inside of Master.vdb you should NOT > see > the record about that database. I deleted the DB files. And the unregister call always succeeds in RB. I don't get an error, but then I am not sure how to check for on either. After opening the master.vdb in Valentina, I can see the My Database1 is still listed. Is there no way to tell the server to unregister and delete the DB files. I think this is possible in MySQL. It is easy to create a new DB file on the server, it seems it should be similarly easy to get rid of one. Kevin From sunshine at public.kherson.ua Mon Sep 13 20:20:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 13 12:25:18 2004 Subject: Removing database from vServer In-Reply-To: <6AE1B21B-05A8-11D9-861E-000393B29272@gatorgraphics.com> Message-ID: On 9/13/04 8:14 PM, "Kevin Windham" wrote: > > On Sep 13, 2004, at 12:01 PM, Ruslan Zasukhin wrote: >> >> You can check easy if unregister have made work. >> Trash the db files that you have unregister. >> You must be able empty trash. >> This means that Vserver have close that files. >> >> Also after unregister, if to look inside of Master.vdb you should NOT >> see >> the record about that database. > > I deleted the DB files. And the unregister call always succeeds in RB. > I don't get an error, but then I am not sure how to check for on > either. > > After opening the master.vdb in Valentina, I can see the My Database1 > is still listed. Is there no way to tell the server to unregister and > delete the DB files. I think this is possible in MySQL. It is easy to > create a new DB file on the server, it seems it should be similarly > easy to get rid of one. I have not understand. We have unregister. If it not work for you then this is other question. We need check that to see where is problem. Unregister simply close db and remove record about it from master db, It NOT trash disk files. May be we need todo this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Mon Sep 13 13:44:43 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 13:45:17 2004 Subject: Removing database from vServer In-Reply-To: References: Message-ID: On Sep 13, 2004, at 12:20 PM, Ruslan Zasukhin wrote: > On 9/13/04 8:14 PM, "Kevin Windham" wrote: >> >> I deleted the DB files. And the unregister call always succeeds in RB. >> I don't get an error, but then I am not sure how to check for on >> either. >> >> After opening the master.vdb in Valentina, I can see the My Database1 >> is still listed. Is there no way to tell the server to unregister and >> delete the DB files. I think this is possible in MySQL. It is easy to >> create a new DB file on the server, it seems it should be similarly >> easy to get rid of one. > > I have not understand. > > We have unregister. > If it not work for you then this is other question. > We need check that to see where is problem. > > Unregister simply close db and remove record about it from master db, > It NOT trash disk files. May be we need todo this. Yeah, it was a separate issue, but I think it is important for the server to be able to trash the DB files. Otherwise someone has to connect to the server through some other means and delete the files by hand. That is not very convenient. Unregister doesn't work for me also, but I am going to tinker with that a little more. I need to turn up the logging I think, because the command executes but it doesn't appear in the log so I'm not sure yet if it is the server's fault, V4RB's fault, or the project itself. I'll post when I find out more. Kevin From giv at tlc.kherson.ua Mon Sep 13 21:39:42 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Sep 13 13:51:17 2004 Subject: Removing database from vServer References: Message-ID: <00a201c499c1$08938540$3b04a8c0@giv> Hi Kevin, > Anyway, I then wanted to remove the database. So I ran the Valentina > Server Utility project and hit unregister. The database was still listed. > I ran it in debug mode, and it doesn't seem to have any errors, although I > could not find a last error property on the VServer object so I am not > sure if there was an error or not. > > The docs don't say too much about this that I can find. From what I can > tell the unregister command is what I need, but it doesn't seem to be > working. > > Any thoughts? If you unregister database that has connected clients - then it will not be unregistered immediately. Warning message is also written to the log file telling you about this. It's then just marked as "waiting for deregistration". Its (database) entry will be automatically removed from the "master" database by VServer after last client disconnects it (database). Also (at least in C++) method UnregisterDatabase() returns boolean, indicating whether database is actually unregistered or not or is it just marked. If there was any error raised during unregister process then you should get it (in C++ exception is raised but in RB you should use usual way to check for last operation success - I mean Valentina.GetLastError() or something like this - I don't remember). -- 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 kevo at gatorgraphics.com Mon Sep 13 14:04:50 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 14:05:17 2004 Subject: Removing database from vServer In-Reply-To: <00a201c499c1$08938540$3b04a8c0@giv> References: <00a201c499c1$08938540$3b04a8c0@giv> Message-ID: On Sep 13, 2004, at 1:39 PM, Igor Gomon wrote: > Also (at least in C++) method UnregisterDatabase() returns boolean, > indicating whether database is actually unregistered or not or is it > just marked. > If there was any error raised during unregister process then you > should get it (in C++ exception is raised but in RB you should use > usual way to check for last operation success - I mean > Valentina.GetLastError() or something like this - I don't remember). I cannot find a way to catch an error from the unregisterDatabase method. It doesn't appear to have a return in the docs, and there doesn't appear to be an ErrNumber property or getError function on the server object. There is a property for the database object, but I don't see how that can apply in this case. Maybe I'm wrong, or this just hasn't been implemented yet. Kevin From kevo at gatorgraphics.com Mon Sep 13 14:18:47 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 14:19:18 2004 Subject: Removing database from vServer In-Reply-To: References: Message-ID: On Sep 13, 2004, at 1:44 PM, Kevin Windham wrote: > Unregister doesn't work for me also, but I am going to tinker with > that a little more. I need to turn up the logging I think, because the > command executes but it doesn't appear in the log so I'm not sure yet > if it is the server's fault, V4RB's fault, or the project itself. > > I'll post when I find out more. I turned verbose up to 3. This is what I see now when unregistering the DB. 14:13:54.059861 (42059776): (16) Database: ; User: sa: OK 14:13:56.957275 (42053120): (16) Unregistering database 'my database1': OK However, when listing the databases the database 'my database1' is still in the list. Not sure what the problem is at this point, but it appears to be in the server somewhere. - Kevin From kevo at gatorgraphics.com Mon Sep 13 15:56:40 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Mon Sep 13 15:57:07 2004 Subject: What is purpose of Users on Valentina server Message-ID: <6909521A-05C7-11D9-861E-000393B29272@gatorgraphics.com> I can't seem to find any info related to user permissions on Valentina server. I see ways to add and remove users and to change the password. Is there any purpose to user functions right now? i.e. Is there a way to restrict access to databases or server functions? Thanks, Kevin From cm_sheffield at yahoo.com Mon Sep 13 14:21:07 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Sep 13 16:21:19 2004 Subject: error 123 Message-ID: <20040913212107.61233.qmail@web52410.mail.yahoo.com> Can anyone tell me what error 123 means? I have customers who are getting this occiasionally when trying to access a database on CD-ROM. I looked it up on Google, which didn't give me a whole lot of info, but one result referred to something about the file name or volume being incorrect. But I would think if that were the case, I would get "error 510" from the Valentina kernel. Can anyone help? Using Revolution and VXCMD. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From smorse at rtpi.org Tue Sep 14 00:52:01 2004 From: smorse at rtpi.org (Solon Morse) Date: Mon Sep 13 23:52:19 2004 Subject: FIXED: UPDATE tbl SET fld = NULL In-Reply-To: <20040712000834004577.GyazMail.smorse@rtpi.org> References: <20040712000834004577.GyazMail.smorse@rtpi.org> Message-ID: <20040914005201318625.GyazMail.smorse@rtpi.org> On Mon, 12 Jul 2004 00:08:34 -0400, Solon Morse wrote: >>> Also, any news on the UPDATE...WHERE problem with V4WS? >> Hi Solon, >> I have fix this bug. >> You need V4WS as I understand. Yes? > That's right! Any chance for an update? I haven't heard any news since our last exchange... Thanks, Solon -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From sunshine at public.kherson.ua Tue Sep 14 08:22:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 00:23:08 2004 Subject: [V4RB] VPicture challenges In-Reply-To: <432DDEBE-05DB-11D9-B262-000D9366C144@pedro.Net.au> Message-ID: On 9/14/04 2:18 AM, "Pedro fp" wrote: > > On 13/09/2004, at 11:43 PM, Ruslan Zasukhin wrote: > >> This can be only in V4RB Reference.pdf > > Thanks for that Ruslan. > > I am still having difficulties. I mean "PutFormatedPict(inPictType as Integer, inPictData as String)" }, But to use this function you must read picture file into memory AS IS. Do not use OpenAsPicture() -> it will convert to PICT. PutFormatedPict() expect that you will give ready JPG. > Currently it appears [from changes in > the size of the blob file] that my photos are being imported but return > nil on retrieving them with a cursor. May I send you a mini project to > look at? Ok, send it. > I shall be re-posting the list describing the current situation in > greater detail later today. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 09:21:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 01:24:19 2004 Subject: Removing database from vServer In-Reply-To: Message-ID: On 9/13/04 9:44 PM, "Kevin Windham" wrote: > > On Sep 13, 2004, at 12:20 PM, Ruslan Zasukhin wrote: > >> On 9/13/04 8:14 PM, "Kevin Windham" wrote: >>> >>> I deleted the DB files. And the unregister call always succeeds in RB. >>> I don't get an error, but then I am not sure how to check for on >>> either. >>> >>> After opening the master.vdb in Valentina, I can see the My Database1 >>> is still listed. Is there no way to tell the server to unregister and >>> delete the DB files. I think this is possible in MySQL. It is easy to >>> create a new DB file on the server, it seems it should be similarly >>> easy to get rid of one. >> >> I have not understand. >> >> We have unregister. >> If it not work for you then this is other question. >> We need check that to see where is problem. >> >> Unregister simply close db and remove record about it from master db, >> It NOT trash disk files. May be we need todo this. > > Yeah, it was a separate issue, but I think it is important for the > server to be able to trash the DB files. Otherwise someone has to > connect to the server through some other means and delete the files by > hand. That is not very convenient. We can easy do this in Vserver when it will work on 2.0 kernel. In 2.0 we have add new function db.ThrowOut() > Unregister doesn't work for me also, but I am going to tinker with that > a little more. I need to turn up the logging I think, because the > command executes but it doesn't appear in the log so I'm not sure yet > if it is the server's fault, V4RB's fault, or the project itself. > > I'll post when I find out more. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 09:26:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 01:26:21 2004 Subject: Removing database from vServer // errors In-Reply-To: Message-ID: On 9/13/04 10:04 PM, "Kevin Windham" wrote: > > On Sep 13, 2004, at 1:39 PM, Igor Gomon wrote: >> Also (at least in C++) method UnregisterDatabase() returns boolean, >> indicating whether database is actually unregistered or not or is it >> just marked. >> If there was any error raised during unregister process then you >> should get it (in C++ exception is raised but in RB you should use >> usual way to check for last operation success - I mean >> Valentina.GetLastError() or something like this - I don't remember). > > I cannot find a way to catch an error from the unregisterDatabase > method. It doesn't appear to have a return in the docs, and there > doesn't appear to be an ErrNumber property or getError function on the > server object. There is a property for the database object, but I don't > see how that can apply in this case. > > Maybe I'm wrong, or this just hasn't been implemented yet. You need check db.errNumber. V4RB 1.x model of last error code act in fact like errCode is global. Although we give API as db.err In 2.0 we have exceptions instead so model become 100% logical. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 09:28:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 01:28:19 2004 Subject: What is purpose of Users on Valentina server In-Reply-To: <6909521A-05C7-11D9-861E-000393B29272@gatorgraphics.com> Message-ID: On 9/13/04 11:56 PM, "Kevin Windham" wrote: > I can't seem to find any info related to user permissions on Valentina > server. I see ways to add and remove users and to change the password. Also you can assign flag isAdmin > Is there any purpose to user functions right now? i.e. Is there a way > to restrict access to databases or server functions? We have not yet Groups/Users/Privilegies But if you will do own wrapper around Vserver you do not need this as I see. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Sep 14 09:44:07 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Sep 14 01:44:23 2004 Subject: Removing database from vServer References: Message-ID: <002f01c49a26$3c014f10$3b04a8c0@giv> > I turned verbose up to 3. This is what I see now when unregistering the > DB. > > 14:13:54.059861 (42059776): (16) Database: ; User: sa: OK > 14:13:56.957275 (42053120): (16) Unregistering database 'my database1': > OK > > However, when listing the databases the database 'my database1' is > still in the list. Not sure what the problem is at this point, but it > appears to be in the server somewhere. Then I will need small test project from you that reproduces the problem. Can you make it and then send it to me? Please, specify also the version of the RB client plugin and version of VServer you are using. -- 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 Tue Sep 14 09:48:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 01:54:39 2004 Subject: error 123 In-Reply-To: <20040913212107.61233.qmail@web52410.mail.yahoo.com> Message-ID: On 9/14/04 12:21 AM, "Chris Sheffield" wrote: > Can anyone tell me what error 123 means? I have > customers who are getting this occiasionally when > trying to access a database on CD-ROM. I looked it up > on Google, which didn't give me a whole lot of info, > but one result referred to something about the file > name or volume being incorrect. But I would think if > that were the case, I would get "error 510" from the > Valentina kernel. > > Can anyone help? Using Revolution and VXCMD. What platform ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 09:48:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 01:55:24 2004 Subject: FIXED: UPDATE tbl SET fld = NULL In-Reply-To: <20040914005201318625.GyazMail.smorse@rtpi.org> Message-ID: On 9/14/04 7:52 AM, "Solon Morse" wrote: > On Mon, 12 Jul 2004 00:08:34 -0400, Solon Morse wrote: > >>>> Also, any news on the UPDATE...WHERE problem with V4WS? > >>> Hi Solon, > >>> I have fix this bug. > >>> You need V4WS as I understand. Yes? > >> That's right! > > > Any chance for an update? I haven't heard any news since our last exchange... Yes, I have told that I will make 1.11 for all products in nearest days -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Tue Sep 14 10:57:09 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Sep 14 03:57:35 2004 Subject: ValentinaServer as a plugin In-Reply-To: Message-ID: Ruslan, > I think you have found the right way -- you need to WRAP Vserver. Thank you very much for your great help and support. Eric From rjb at rz.uni-potsdam.de Tue Sep 14 11:39:50 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Sep 14 05:05:31 2004 Subject: FIXED: UPDATE tbl SET fld = NULL In-Reply-To: References: Message-ID: > >Yes, I have told that I will make 1.11 for all products in nearest days > I hope you will take opportunity to fix all known issues. There were a few things identified in, for example, vxcmd (like incorrect default delimiters) which are probably not kernel issues. Robert From email_lists at soccersuperstar.co.uk Tue Sep 14 11:58:21 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Tue Sep 14 05:58:38 2004 Subject: LoadDump Query In-Reply-To: Message-ID: <200409141052.i8EAqeX04946@srv01.subwayspace.com> Hi, I can't for the life of me get LoadDump to work. I have successfully dumped the database to an XML doc using the Dump command, but attempting to load it in produces a variety of errors. The syntax in the PDF docs is as follows: LoadDump( gMyDataBase, "Customers.xml", "NewCustomers", 2 ) Is this correct? Can anyone confirm that they have this working? Cheers, bub From email_lists at soccersuperstar.co.uk Tue Sep 14 12:02:06 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Tue Sep 14 06:02:20 2004 Subject: LoadDump Query In-Reply-To: <200409141052.i8EAqeX04946@srv01.subwayspace.com> Message-ID: <200409141056.i8EAuPX05015@srv01.subwayspace.com> Sorry.... To confirm - this is happening with the Director Xtra, in MX 2004. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Bub Sent: 14 September 2004 11:58 To: 'Valentina Developers' Subject: LoadDump Query Hi, I can't for the life of me get LoadDump to work. I have successfully dumped the database to an XML doc using the Dump command, but attempting to load it in produces a variety of errors. The syntax in the PDF docs is as follows: LoadDump( gMyDataBase, "Customers.xml", "NewCustomers", 2 ) Is this correct? Can anyone confirm that they have this working? Cheers, bub _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Sep 14 14:05:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 06:08:19 2004 Subject: LoadDump Query In-Reply-To: <200409141056.i8EAuPX05015@srv01.subwayspace.com> Message-ID: On 9/14/04 2:02 PM, "Bub" wrote: Hi Bub, > Sorry.... To confirm - this is happening with the Director Xtra, in MX 2004. > > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Bub > Sent: 14 September 2004 11:58 > To: 'Valentina Developers' > Subject: LoadDump Query > > Hi, > > I can't for the life of me get LoadDump to work. I have successfully dumped > the database to an XML doc using the Dump command, but attempting to load it > in produces a variety of errors. > > The syntax in the PDF docs is as follows: > > LoadDump( gMyDataBase, "Customers.xml", "NewCustomers", 2 ) Show your code please > Is this correct? Can anyone confirm that they have this working? I sure yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From email_lists at soccersuperstar.co.uk Tue Sep 14 12:18:11 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Tue Sep 14 06:18:26 2004 Subject: LoadDump Query In-Reply-To: Message-ID: <200409141112.i8EBCVX07593@srv01.subwayspace.com> Hi, > Show your code please Certainly... Sorry for missing it out! I'm using the following syntax: ValentinaInit( 4 * 1024 * 1024,"Mac Serial","Win Serial") ValentinaDebugLevel( 2,1 ) gSchool = new(xtra"VDataBase") LoadDump( gSchool,the moviePath&"schools4.xml",the moviePath&"schools", 2 ) This gives me the following in the message window: * V4MD *: InitValentina...done * V4MD *: ValentinaSetDebugMode...done * V4MD *: Create_VDataBase...* V4MD *: DB_New...done * V4MD *: DB_LoadDump...error 4 Schools4.xml definitely exists, and was successfully created by the Dump command. bub From sunshine at public.kherson.ua Tue Sep 14 14:58:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 07:08:22 2004 Subject: LoadDump Query In-Reply-To: <200409141112.i8EBCVX07593@srv01.subwayspace.com> Message-ID: On 9/14/04 2:18 PM, "Bub" wrote: > Hi, > >> Show your code please > > Certainly... Sorry for missing it out! I'm using the following syntax: > > ValentinaInit( 4 * 1024 * 1024,"Mac Serial","Win Serial") > ValentinaDebugLevel( 2,1 ) > gSchool = new(xtra"VDataBase") > LoadDump( gSchool,the moviePath&"schools4.xml",the moviePath&"schools", 2 ) > > This gives me the following in the message window: > > * V4MD *: InitValentina...done > * V4MD *: ValentinaSetDebugMode...done > * V4MD *: Create_VDataBase...* V4MD *: DB_New...done > * V4MD *: DB_LoadDump...error 4 > > Schools4.xml definitely exists, and was successfully created by the Dump > command. Please try to load this XML file using Vstudio. If it works then problem not in xml file -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From email_lists at soccersuperstar.co.uk Tue Sep 14 13:20:10 2004 From: email_lists at soccersuperstar.co.uk (Bub) Date: Tue Sep 14 07:20:26 2004 Subject: LoadDump Query In-Reply-To: Message-ID: <200409141214.i8ECETX10565@srv01.subwayspace.com> > Please try to load this XML file using Vstudio. Do you have a link to Vstudio? I can't see it listed on the paradigmasoft website. From sunshine at public.kherson.ua Tue Sep 14 15:57:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 08:04:38 2004 Subject: LoadDump Query In-Reply-To: <200409141214.i8ECETX10565@srv01.subwayspace.com> Message-ID: On 9/14/04 3:20 PM, "Bub" wrote: > > >> Please try to load this XML file using Vstudio. > > Do you have a link to Vstudio? I can't see it listed on the paradigmasoft > website. It is on home page -- graphic AD -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Tue Sep 14 08:40:04 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Tue Sep 14 08:40:35 2004 Subject: Removing database from vServer // errors In-Reply-To: References: Message-ID: <95976EC4-0653-11D9-8529-000393B29272@gatorgraphics.com> On Sep 14, 2004, at 1:26 AM, Ruslan Zasukhin wrote: > On 9/13/04 10:04 PM, "Kevin Windham" wrote: >> >> I cannot find a way to catch an error from the unregisterDatabase >> method. It doesn't appear to have a return in the docs, and there >> doesn't appear to be an ErrNumber property or getError function on the >> server object. There is a property for the database object, but I >> don't >> see how that can apply in this case. >> >> Maybe I'm wrong, or this just hasn't been implemented yet. > > You need check db.errNumber. There is no db? I have a VServer object and call pVServer.UnregisterDatabase "My Database1". I don't have a db object to check the error code. All I have at this point is a VServer object. Maybe an error code could be added to the VServer object? > > > V4RB 1.x model of last error code act in fact like errCode is global. > Although we give API as db.err > > > In 2.0 we have exceptions instead so model become 100% logical. This sounds like the solution. How far away is an alpha/beta of the 2.0 version? Kevin From r.hildebrandt at sbt.fr Tue Sep 14 15:56:51 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Sep 14 08:57:47 2004 Subject: FIXED: UPDATE tbl SET fld = NULL References: Message-ID: <00fd01c49a62$c149faa0$3a01a8c0@sbt> > > Yes, I have told that I will make 1.11 for all products in nearest days > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] Hi, So there will be a 1.11 version for V4MD ? If there will be a new version, will the correction of the XTRA 1.10 include : - corruption of DB (wrong mIndex) after importascii of text field in crypted database. (works fine with SQL insert) - importascii fails if there is a varchar field longer than 509 chars in DB. (works fine in 1.9.8 !!!). Both points have been discussed on a thread starting 27/01/2004. This would be quite important for us as far as we often use importascii to transfer data from SQL server and those two combined problems make it difficult to import long texts in an optimal way. Best regards Roland Hildebrandt From sunshine at public.kherson.ua Tue Sep 14 17:17:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 09:32:32 2004 Subject: FIXED: UPDATE tbl SET fld = NULL In-Reply-To: <00fd01c49a62$c149faa0$3a01a8c0@sbt> Message-ID: On 9/14/04 4:56 PM, "Roland Hildebrandt" wrote: >> >> Yes, I have told that I will make 1.11 for all products in nearest days >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > Hi, > > So there will be a 1.11 version for V4MD ? It exists already for V4MD MAC -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 17:20:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 09:36:41 2004 Subject: FIXED: UPDATE tbl SET fld = NULL In-Reply-To: <00fd01c49a62$c149faa0$3a01a8c0@sbt> Message-ID: On 9/14/04 4:56 PM, "Roland Hildebrandt" wrote: >> >> Yes, I have told that I will make 1.11 for all products in nearest days >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > Hi, > > So there will be a 1.11 version for V4MD ? > If there will be a new version, will the correction of the XTRA 1.10 include > : > > - corruption of DB (wrong mIndex) after importascii of text field in crypted > database. (works fine with SQL insert) No, this is fresh news. > - importascii fails if there is a varchar field longer than 509 chars in DB. > (works fine in 1.9.8 !!!). > Both points have been discussed on a thread starting 27/01/2004. VarChar it seems fixed. > This would be quite important for us as far as we often use importascii to > transfer data from SQL server and those two combined problems make it > difficult to import long texts in an optimal way. If you use MAC then download 1.11 to check it. And Roland, in both case-sensitive need to get project that reproduce each problem. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Tue Sep 14 07:46:31 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Sep 14 09:46:44 2004 Subject: error 123 In-Reply-To: Message-ID: <20040914144631.15076.qmail@web52401.mail.yahoo.com> Sorry, platform is Windows (I think Windows XP specifically). --- Ruslan Zasukhin wrote: > On 9/14/04 12:21 AM, "Chris Sheffield" > wrote: > > > Can anyone tell me what error 123 means? I have > > customers who are getting this occiasionally when > > trying to access a database on CD-ROM. I looked > it up > > on Google, which didn't give me a whole lot of > info, > > but one result referred to something about the > file > > name or volume being incorrect. But I would think > if > > that were the case, I would get "error 510" from > the > > Valentina kernel. > > > > Can anyone help? Using Revolution and VXCMD. > > What platform ? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From giacomo at nativedreams.com Tue Sep 14 16:52:22 2004 From: giacomo at nativedreams.com (Giacomo Antonelli) Date: Tue Sep 14 09:51:42 2004 Subject: [V4MD] Problem with GetfieldREF -> MAC Message-ID: <004901c49a6a$770d2ea0$03fea8c0@Maxisoft1.locale> I'm working with Mac OS X, i'm using Valentina Xtra vers 1.11 with Director MX, i have to change a field Type using GetFieldRef, but when I try this command Director give me this error: Handler not defined field=getFieldRef(gMyDataBase,table,"quantity") #GetFieldRef My script is: From giacomo at nativedreams.com Tue Sep 14 16:54:26 2004 From: giacomo at nativedreams.com (Giacomo Antonelli) Date: Tue Sep 14 09:53:48 2004 Subject: [V4MD] Problem with GetfieldREF -> MAC Message-ID: <006f01c49a6a$c08f8aa0$03fea8c0@Maxisoft1.locale> My previous email was incomplete: I'm working with Mac OS X, i'm using Valentina Xtra vers 1.11 with Director MX, i have to change a field Type using GetFieldRef, but when I try this command Director give me this error: Handler not defined field=getFieldRef(gMyDataBase,table,"quantity") #GetFieldRef My script is: table=GetBaseObjectRef(gMyDataBase,"articles") field=getFieldRef(gMyDataBase,table,"quantity") What can i do? I create order.vdb whit lingo script Thanks Giacomo Antonelli From sunshine at public.kherson.ua Tue Sep 14 19:19:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 11:20:49 2004 Subject: Removing database from vServer // errors In-Reply-To: <95976EC4-0653-11D9-8529-000393B29272@gatorgraphics.com> Message-ID: On 9/14/04 4:40 PM, "Kevin Windham" wrote: >> >> V4RB 1.x model of last error code act in fact like errCode is global. >> Although we give API as db.err >> >> >> In 2.0 we have exceptions instead so model become 100% logical. > > This sounds like the solution. How far away is an alpha/beta of the 2.0 > version? Several weeks yet to stable -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 14 19:20:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 11:22:41 2004 Subject: Removing database from vServer // errors In-Reply-To: <95976EC4-0653-11D9-8529-000393B29272@gatorgraphics.com> Message-ID: On 9/14/04 4:40 PM, "Kevin Windham" wrote: >>> >>> I cannot find a way to catch an error from the unregisterDatabase >>> method. It doesn't appear to have a return in the docs, and there >>> doesn't appear to be an ErrNumber property or getError function on the >>> server object. There is a property for the database object, but I >>> don't >>> see how that can apply in this case. >>> >>> Maybe I'm wrong, or this just hasn't been implemented yet. >> >> You need check db.errNumber. > > There is no db? I have a VServer object and call > pVServer.UnregisterDatabase "My Database1". > I don't have a db object to check the error code. All I have at this > point is a VServer object. Maybe an error code could be added to the > VServer object? Probably. We need to think. Actually not hard. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Sep 14 19:24:04 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Sep 14 11:24:42 2004 Subject: error 123 References: <20040914144631.15076.qmail@web52401.mail.yahoo.com> Message-ID: <004301c49a77$40963cb0$3b04a8c0@giv> > Sorry, platform is Windows (I think Windows XP > specifically). These are lines from winerror.h: // MessageId: ERROR_INVALID_NAME // // MessageText: // // The filename, directory name, or volume label syntax is incorrect. // #define ERROR_INVALID_NAME 123L // dderror -- 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 Tue Sep 14 19:24:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 11:26:08 2004 Subject: [V4MD] Problem with GetfieldREF -> MAC In-Reply-To: <006f01c49a6a$c08f8aa0$03fea8c0@Maxisoft1.locale> Message-ID: On 9/14/04 5:54 PM, "Giacomo Antonelli" wrote: Hi Giacomo, > My previous email was incomplete: > > I'm working with Mac OS X, i'm using Valentina Xtra vers 1.11 with Director > MX, i have to change a field Type using GetFieldRef, but when I try this > command Director give me this error: > > Handler not defined > > field=getFieldRef(gMyDataBase,table,"quantity") > > #GetFieldRef > > My script is: > > > table=GetBaseObjectRef(gMyDataBase,"articles") > field=getFieldRef(gMyDataBase,table,"quantity") > > What can i do? > > I create order.vdb whit lingo script Strange. If you list handlers of Vdatabase xtra then you see this function ? GMyDataBase is not void ? You can send me small project. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Tue Sep 14 11:25:15 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Tue Sep 14 12:25:37 2004 Subject: [OFF] access from OS X to linux computer. // solved In-Reply-To: References: Message-ID: <0AFCB23C-0673-11D9-8D35-0003939246BC@mindstarprods.com> Hi Ruslan, Sorry for the late reply - I am in the middle of moving. On Sep 12, 2004, at 6:17 AM, Ruslan Zasukhin wrote: > If I use any FTP utility then it works normally. > > Looks to be a bug in OS X You figured it out. Use a 3rd party FTP client. The one in Finder is limited to Read Only, so it's not a bug so much as a current limitation. The Finder in Tiger will be much better in this regard. Best regards, Frank From cm_sheffield at yahoo.com Tue Sep 14 11:15:55 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Sep 14 13:16:11 2004 Subject: error 123 In-Reply-To: <004301c49a77$40963cb0$3b04a8c0@giv> Message-ID: <20040914181555.46191.qmail@web52410.mail.yahoo.com> Thanks, Igor. So can you think of a specific example where this error might occur? We're getting it sometimes when trying to access a Valentina database on CD-ROM. So far I have been unable to reproduce the problem on my own computer, but we now have two customers who have gotten the error, and we can't figure out why. I realize it's coming from the OS, but I'm not sure why. --- Igor Gomon wrote: > > Sorry, platform is Windows (I think Windows XP > > specifically). > These are lines from winerror.h: > > // MessageId: ERROR_INVALID_NAME > // > // MessageText: > // > // The filename, directory name, or volume label > syntax is incorrect. > // > #define ERROR_INVALID_NAME 123L // dderror > > -- > 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 > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From kevo at gatorgraphics.com Tue Sep 14 14:48:20 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Tue Sep 14 14:48:50 2004 Subject: Removing database from vServer In-Reply-To: <002f01c49a26$3c014f10$3b04a8c0@giv> References: <002f01c49a26$3c014f10$3b04a8c0@giv> Message-ID: <078F5A82-0687-11D9-81AE-000393B29272@gatorgraphics.com> On Sep 14, 2004, at 1:44 AM, Igor Gomon wrote: >> I turned verbose up to 3. This is what I see now when unregistering >> the DB. >> 14:13:54.059861 (42059776): (16) Database: ; User: sa: OK >> 14:13:56.957275 (42053120): (16) Unregistering database 'my >> database1': OK >> However, when listing the databases the database 'my database1' is >> still in the list. Not sure what the problem is at this point, but it >> appears to be in the server somewhere. > > Then I will need small test project from you that reproduces the > problem. Can you make it and then send it to me? > Please, specify also the version of the RB client plugin and version > of VServer you are using. I think I have some more info on this problem. It seems that the unregister method on VServer is successfully removing the database info from the VServer object, but when you call a refresh, it comes back again. So it would seem that the server isn't actually removing the database record from the master.vdb, and that refreshing pulls the record from the master.vdb and restores it in the VServer object. Kevin From sunshine at public.kherson.ua Tue Sep 14 22:55:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 14:55:43 2004 Subject: error 123 In-Reply-To: <20040914181555.46191.qmail@web52410.mail.yahoo.com> Message-ID: On 9/14/04 9:15 PM, "Chris Sheffield" wrote: > Thanks, Igor. So can you think of a specific example > where this error might occur? We're getting it > sometimes when trying to access a Valentina database > on CD-ROM. So far I have been unable to reproduce the > problem on my own computer, but we now have two > customers who have gotten the error, and we can't > figure out why. I realize it's coming from the OS, > but I'm not sure why. Tell me. It have random behavior ? After this error happens if you try again on the same CD it works? Or error is stable ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Sep 14 22:56:19 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Sep 14 14:56:29 2004 Subject: error 123 References: <20040914181555.46191.qmail@web52410.mail.yahoo.com> Message-ID: <007501c49a94$e70fb4a0$3b04a8c0@giv> > Thanks, Igor. So can you think of a specific example > where this error might occur? For example, you can get this error if you try to open on Windows file that contains any of reserved characters. For example, opening "My>File.txt" or any file that cointains < > : " / \ | characters in the name gives you this error. More detailed info you can find in MSDN documentation for ::CreateFile() API function (in you follow link ). -- 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 cm_sheffield at yahoo.com Tue Sep 14 13:09:59 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Sep 14 15:10:11 2004 Subject: error 123 In-Reply-To: Message-ID: <20040914200959.36943.qmail@web52409.mail.yahoo.com> The error is not random. It happens continuously, even after reinstalling our application. --- Ruslan Zasukhin wrote: > On 9/14/04 9:15 PM, "Chris Sheffield" > wrote: > > > Thanks, Igor. So can you think of a specific > example > > where this error might occur? We're getting it > > sometimes when trying to access a Valentina > database > > on CD-ROM. So far I have been unable to reproduce > the > > problem on my own computer, but we now have two > > customers who have gotten the error, and we can't > > figure out why. I realize it's coming from the > OS, > > but I'm not sure why. > > Tell me. > > It have random behavior ? > > After this error happens if you try again on the > same CD it works? > Or error is stable ? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From sunshine at public.kherson.ua Tue Sep 14 23:14:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 14 15:19:06 2004 Subject: error 123 In-Reply-To: <20040914200959.36943.qmail@web52409.mail.yahoo.com> Message-ID: On 9/14/04 11:09 PM, "Chris Sheffield" wrote: > The error is not random. It happens continuously, > even after reinstalling our application. Then make sure that path is the correct NATIVE path. Print it to msg box and check -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at pedro.Net.au Thu Sep 16 10:02:23 2004 From: lists at pedro.Net.au (Pedro fp) Date: Wed Sep 15 19:02:41 2004 Subject: [V4RB] VPicture challenges - solved! :) In-Reply-To: References: Message-ID: G'day Ruslan et al Thanks for all your help. Stephan's clipboard suggestion got my photos in & after many trials I'm now seeing them in my application. In the end it turned out to be because I had the compressed flag set to true. I don't know why that should have been a problem but I'm glad enough to have the problem gone. On 14/09/2004, at 3:22 PM, Ruslan Zasukhin wrote: > I mean > > "PutFormatedPict(inPictType as Integer, inPictData as String)" }, > > > But to use this function you must read picture file into memory AS IS. > Do not use OpenAsPicture() -> it will convert to PICT. > > PutFormatedPict() expect that you will give ready JPG. Judging by change in the size of my blob file I had got the pictures in passing theFile.openAsTextFile.readAll for inPictData but then had no idea how to convert the returned by getFormatedPict into a viewable picture. By then I'd also found Stephan's suggestion to work so I stuck with that. Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ "If there are four people who work five days a week, what would happen if they all decided to work four days a week? You would have a four day a week job for five people, instead of a five day a week job for four people - as simple as that!" Hugh Mackay From sunshine at public.kherson.ua Thu Sep 16 09:14:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 16 01:14:31 2004 Subject: [ANN] vStudio Admin (Win) a66 uploaded In-Reply-To: <54554.62.154.199.179.1095313202.squirrel@webmail3.server-einstellung.de> Message-ID: On 9/16/04 8:40 AM, "Jochen Peters" wrote: > Hi guys, > > i have uploaded a new vStudio build to: > http://www.valentina-db.de/en/downloads/downvstd.shtml > > This is a Win build only. Till the weekend i will have the next version > ready which will also inlude a new Mac build. > > These are the new: > > - Transition to Unicode is completed! And it works very well! I have some > small bugs left caused by the transition (for example in the ASCII Import > routines) which i am currently fixing. So - for now: PLEASE do not > use ASCII-Import!!! > - The first version of the new 2.x engine Plugin is also working. You can > now create Valentina 2.x databases with Valentina Studio! My biggest job > for the next time is to implement all new features into this Plugin so > that it can be used for every day work. Currently there is no much > to see for you in this aerea - you can only create databases and tables. > But most of the underlying work has been done so we will have more > funcionality in this aerea in the next build. I hope that Ruslan can > build a 2.x kernel with XCode also so that i can include it in the Mac > build. > - ODBC: I have done much work in the last two weeks to greatly improve > ODBC support: > Valentina Studio Admin is now able to perform the following tasks: > - Connect to any ODBC datasources. vStudio can now show all defined > datasources on your system. > - Browse data in ODBC datasources > - Execute SQL statements on ODBC datasources > Additional it can help now by moving data from existing ODBC datasources > to Valentina by the following tasks: > - vStudio self creates a new Valentina database > - vStudio now self creates ALL REQUIRED TABLES in the new database by > cloning the ODBC database structure!! This is a "One click" operation. > - vStudio now self do the required field mappings between the ODBC database > fields and the newly created Valentina fields for preparing the import. > - vStudio can now import ALL DATA FROM ALL TABLES at once. > The user is guided through these steps by the "valentina Import Wizard". > > Please guys TEST these ODBC Import feature!!! I want to make these routines > rock solid - and they are complex because i must map field types from ODBC > to Valentina - so most likly we will find bugs here when testing this! > Please also test with big databases and many records.... I have CC this to Valentina list also. I think many V4MD WIN users need this and can test this. > I am currently writing an "Valentina Studio ODBC Guide" which will help > novice users with all these ODBC stuff. I hope to get it ready with the > next build. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 16 21:21:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 16 13:22:21 2004 Subject: Clarify 2 items // disbleDNS In-Reply-To: Message-ID: On 9/16/04 6:32 PM, "Bobby" wrote: Hi Boby, > Can you clarify what disbleDNS does in the INI file. Originally I thought > it had to do with being able to access the server using a domain name, but I > know you fixed that in the client. Do we need to be concerned with this > setting and is 1 on or off in this setting. This is just cosmethic parameter. If it is FALSE then in LOG file you see IP address of connected clients. If it is TRUE then you Vserver will try to get human names for clients. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From deane.venske at eduss.com Fri Sep 17 10:56:07 2004 From: deane.venske at eduss.com (Deane Venske) Date: Thu Sep 16 19:56:26 2004 Subject: VCOM 1.10 Message-ID: Hi There, Looks like VCOM doesn't like encrypted databases. I get an "Error of inventory page of VarChar field" error when I try access data in an encrypted database. Using VB6 with VCOM 1.10, is this a known problem? Deane From sunshine at public.kherson.ua Fri Sep 17 08:07:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 00:08:14 2004 Subject: VCOM 1.10 In-Reply-To: Message-ID: On 9/17/04 3:56 AM, "Deane Venske" wrote: > Hi There, > > Looks like VCOM doesn't like encrypted databases. I get an "Error of inventory > page of VarChar field" error when I try access data in an encrypted database. > Using VB6 with VCOM 1.10, is this a known problem? Hi Deane, It seems knot known. Not remember if VCOM contains any example with encryption? Please check it. If no, can you make small project for test ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 17 15:50:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 07:57:03 2004 Subject: [ANN] V4MD Win, V4RB, V4WS 1.11 uploaded Message-ID: Hi All, You can upgrade these products to 1.11 version. This is bug fix release. Fixed 3-4 bugs found for the last half of year. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 17 16:29:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 08:35:07 2004 Subject: a66 // report 4 Message-ID: Hi Jochen, I was able the first time SELF and easy connect to ODBC database source -- Access db!!! Very easy! I see list of existed ODBC sources I was able open database browser for choosed table and see its records. Wonderful! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 17 16:54:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 08:57:21 2004 Subject: Test project error -39 In-Reply-To: <009a01c49cbb$56798b40$3a01a8c0@sbt> Message-ID: On 9/17/04 4:35 PM, "Roland Hildebrandt" wrote: Hi Rolland. >> One big mistake in your code! >> >> ValentinaDebugLevel(1) >> >> ValentinaInit( 100 * 1024, "", my serial ) >> >> >> This means that you ask only for 4KB >> Valentina self will set probably 1MB. >> >> But this is still can be very low, than more that I think you have big db. >> >> You need fix this as >> >> 10 * 1024 * 1024 >> >> This can be source of problem! >> > Hi Ruslan, > > Yes, you're rigth i have made this test on my project and it works !! IE 200 > * 1024 fails -39 and 400 * 1024 it's OK. Note, 400 * 1024 = 400K. This is still very very not many! Please set 5-10MB cache > Really strange the problem appears only : > - after 6 months of use Not strange, db become bigger. You have SO SMALL cache that this is very bad. > - when opened two other DB before > - making an INSERT query > - having a cache lower than 400 * 1024 > Many thanks !!! > We will now use 10 * 1024 * 1024 as you say. I think sometime we have put > some low value as we don't use often enough flush. But now we do ! so there > no risk using big cache. > > We will also upload and use 1.11 Good. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Fri Sep 17 08:57:12 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Sep 17 10:57:43 2004 Subject: error 363 Message-ID: <20040917155712.20760.qmail@web52408.mail.yahoo.com> Can someone tell me what this error is? It's not listed in the ValentinaKernel doc. Is it a kernel error? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From sunshine at public.kherson.ua Fri Sep 17 19:08:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 11:09:24 2004 Subject: error 363 In-Reply-To: <20040917155712.20760.qmail@web52408.mail.yahoo.com> Message-ID: On 9/17/04 6:57 PM, "Chris Sheffield" wrote: > Can someone tell me what this error is? It's not > listed in the ValentinaKernel doc. Is it a kernel > error? kFBL_CannotSetLock = 363, Cannot set record lock -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Fri Sep 17 18:07:35 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 17 11:22:54 2004 Subject: error 363 In-Reply-To: <20040917155712.20760.qmail@web52408.mail.yahoo.com> References: <20040917155712.20760.qmail@web52408.mail.yahoo.com> Message-ID: >Can someone tell me what this error is? It's not >listed in the ValentinaKernel doc. Is it a kernel >error? > >Thanks, > Cannot set record lock (added in 1.9.8 if I am not mistaken) Robert From delong at redcort.com Fri Sep 17 09:25:53 2004 From: delong at redcort.com (Keith DeLong) Date: Fri Sep 17 11:26:18 2004 Subject: [ANN] V4MD Win, V4RB, V4WS 1.11 uploaded In-Reply-To: Message-ID: Thank you for the 1.x update Ruslan. :-) The V4RB release notes don't mention anything beyond 1.10 b20. Could we get a release note of what fixes are included in 1.11? Keith DeLong > Hi All, > > You can upgrade these products to 1.11 version. > > This is bug fix release. > Fixed 3-4 bugs found for the last half of year. > From bmurf at comcast.net Fri Sep 17 11:33:20 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Fri Sep 17 11:33:44 2004 Subject: [ANN] V4MD Win, V4RB, V4WS 1.11 uploaded In-Reply-To: <20040917162309.7A18F217E22@edison.macserve.net> References: <20040917162309.7A18F217E22@edison.macserve.net> Message-ID: <496F295C-08C7-11D9-B207-0003935B6750@comcast.net> Ruslan wrote: > > Hi All, > > You can upgrade these products to 1.11 version. > > This is bug fix release. > Fixed 3-4 bugs found for the last half of year. Could you be a little more specific and state what you changed so that I may evaluate the impact to my projects. From sunshine at public.kherson.ua Fri Sep 17 19:31:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 17 11:37:07 2004 Subject: [ANN] V4MD Win, V4RB, V4WS 1.11 uploaded In-Reply-To: Message-ID: On 9/17/04 7:25 PM, "Keith DeLong" wrote: Hi Keith, > Thank you for the 1.x update Ruslan. :-) > > The V4RB release notes don't mention anything beyond 1.10 b20. > Could we get a release note of what fixes are included in 1.11? It needs to remember this ! I did not note down it during 6 montsh I remember: * SQL UPDATE WHERE fix (Solon) * Text field problem with db from other platform * record locks bug * VarChar bug (Cindy report) * V4MD now show list of handlers in the Script Xtras menu. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Fri Sep 17 09:55:45 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Sep 17 11:56:05 2004 Subject: error 613 Message-ID: <20040917165545.18057.qmail@web52409.mail.yahoo.com> Here's another one. I know this is a "wrong link" error, but what does that mean? What would cause this error, and how can I fix it? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com From cbpelto at pcisys.net Sat Sep 18 08:28:50 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Sep 18 09:29:14 2004 Subject: RB QueryController & Valentina Message-ID: <0F6D1042-097F-11D9-9415-00306549C134@pcisys.net> Out of curiosity, does anyone have a tutorial that uses the SQL Data Control interface found in RB? I've seen three tutorials on using Valentina with RB and not one of them uses that interface. Instead, they add additional buttons to go to next, previous, last, first records. Is there a reason they aren't using it? Something about Valentina that won't allow work with it? Regards, Chuck From lists at mangomultimedia.com Sat Sep 18 12:02:25 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat Sep 18 14:02:45 2004 Subject: Bad segments when updating TEXT field that isn't indexed Message-ID: <47643680-09A5-11D9-B8F7-000D9337CDC8@mangomultimedia.com> Hi, I am using the VXCMD with Revolution and have a TEXT field in a table that was continually being corrupted after making updates to it (using SQL). The field was not indexed and after turning indexing on in the field it isn't being corrupted after updating anymore. So my question is whether or not a TEXT must be indexed in order to function properly or if this is a bug in the VXCMD? -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Sat Sep 18 22:35:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 18 14:35:40 2004 Subject: Bad segments when updating TEXT field that isn't indexed In-Reply-To: <47643680-09A5-11D9-B8F7-000D9337CDC8@mangomultimedia.com> Message-ID: On 9/18/04 10:02 PM, "Trevor DeVore" wrote: > Hi, > > I am using the VXCMD with Revolution and have a TEXT field in a table > that was continually being corrupted after making updates to it (using > SQL). The field was not indexed and after turning indexing on in the > field it isn't being corrupted after updating anymore. So my question > is whether or not a TEXT must be indexed in order to function properly > or if this is a bug in the VXCMD? Of course no! It is strange what you say... May be you have made searches on that TEXT field and Valentina self build index? Although this also must not cause problems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Sep 18 22:42:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 18 14:42:25 2004 Subject: RB QueryController & Valentina In-Reply-To: <0F6D1042-097F-11D9-9415-00306549C134@pcisys.net> Message-ID: On 9/18/04 5:28 PM, "Chuck Pelto" wrote: > Out of curiosity, does anyone have a tutorial that uses the SQL Data > Control interface found in RB? > > I've seen three tutorials on using Valentina with RB and not one of > them uses that interface. Instead, they add additional buttons to go to > next, previous, last, first records. Is there a reason they aren't > using it? Something about Valentina that won't allow work with it? I think Valentina do not work with RB controls -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at mangomultimedia.com Sat Sep 18 13:09:41 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat Sep 18 15:10:03 2004 Subject: Bad segments when updating TEXT field that isn't indexed In-Reply-To: References: Message-ID: On Sep 18, 2004, at 12:35 PM, Ruslan Zasukhin wrote: > On 9/18/04 10:02 PM, "Trevor DeVore" wrote: > >> Hi, >> >> I am using the VXCMD with Revolution and have a TEXT field in a table >> that was continually being corrupted after making updates to it (using >> SQL). The field was not indexed and after turning indexing on in the >> field it isn't being corrupted after updating anymore. So my question >> is whether or not a TEXT must be indexed in order to function properly >> or if this is a bug in the VXCMD? > > Of course no! > > It is strange what you say... > > May be you have made searches on that TEXT field and Valentina self > build > index? Although this also must not cause problems. I made the updates on a fresh version of the database which had not been searched. The tables and records were created from SQL statements (custom importer from a MYSQL export). I then opened the program that modifies the data, updated some data, closed the program and the data is corrupted. If I turn on indexing in the field before opening the database in the editing program then the data is not corrupted. Perhaps it is a bug in the XCMD then? -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From cindy at kowhaiprogramming.com Sun Sep 19 13:54:34 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sat Sep 18 20:55:10 2004 Subject: V4RB Select Problem Message-ID: Hi, I've working on Selects in V4RB and have come up with a curious problem. The select query is as follows: SELECT Last_PreferredName, Age01_Years From Students WHERE Age01_Years > 11 When the records are returned, they give me all records where Age01_Years is actually greater than 12 (13,14,15,16,etc.). If I use: SELECT Last_PreferredName, Age01_Years From Students WHERE Age01_Years > 15 The select will return all records where the age is greater than 16 and miss all the sixteen year olds. Age01_years is a Method field which is calculated correctly and appears in the list correctly, but the select returns as if it is one number higher. The Method field is a Float field but it does the same thing if the field is a Short field. This would seem to be a bug in the Select Query if using a method. If using a standard Short field, the select returns the correct amount of records. It only occurs when a Method field is used. Has anybody else seen this problem? Cindy Brown From sunshine at public.kherson.ua Sun Sep 19 09:43:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 01:44:03 2004 Subject: Bad segments when updating TEXT field that isn't indexed In-Reply-To: Message-ID: On 9/18/04 11:09 PM, "Trevor DeVore" wrote: > I made the updates on a fresh version of the database which had not > been searched. The tables and records were created from SQL statements > (custom importer from a MYSQL export). I then opened the program that > modifies the data, updated some data, closed the program and the data > is corrupted. If I turn on indexing in the field before opening the > database in the editing program then the data is not corrupted. > > Perhaps it is a bug in the XCMD then? I do not think so. Kernel then -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun Sep 19 12:50:09 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Sep 19 05:50:53 2004 Subject: V4RB: problem with dates Message-ID: Hi, I have a little CodeGenerator (User can click a report together, also with restrictions) which buolds following Code SELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, t1.Betrag, t1.Kommentar FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 WHERE t1.Herk_Konto=t2.RecID AND t1.Ziel_Konto=t3.RecID AND t1.Kategorie_ID=t4.RecID AND ( t4.Kategorie_Name='Nahrungsmittel' AND t1.BDatum>='01.03.2004' AND t1.BDatum<='31.03.2004' ) ORDER BY t1.BDatum ASC Problem is, that I get alle records, but the restriction "t1.BDatum>='01.03.2004'" doesn't work correct. I get all records which have BDatum <='31.03.2004'. when I use following Code ELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, t1.Betrag, t1.Kommentar FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 WHERE t1.Herk_Konto=t2.RecID AND t1.Ziel_Konto=t3.RecID AND t1.Kategorie_ID=t4.RecID AND ( t1.BDatum>='01.03.2004' AND t1.BDatum<='31.03.2004' AND t4.Kategorie_Name='Nahrungsmittel' ) ORDER BY t1.BDatum ASC everything is fine. Is this a bug in valentina? bye Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Sep 19 14:26:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 06:26:35 2004 Subject: V4RB Select Problem In-Reply-To: Message-ID: On 9/19/04 4:54 AM, "Cindy Brown" wrote: > Hi, > > I've working on Selects in V4RB and have come up with a curious problem. The > select query is as follows: > > SELECT Last_PreferredName, Age01_Years From Students WHERE Age01_Years > 11 > > When the records are returned, they give me all records where Age01_Years is > actually greater than 12 (13,14,15,16,etc.). If I use: > > SELECT Last_PreferredName, Age01_Years From Students WHERE Age01_Years > 15 > > The select will return all records where the age is greater than 16 and miss > all the sixteen year olds. > > Age01_years is a Method field which is calculated correctly and appears in > the list correctly, but the select returns as if it is one number higher. > The Method field is a Float field but it does the same thing if the field is > a Short field. > > This would seem to be a bug in the Select Query if using a method. If using > a standard Short field, the select returns the correct amount of records. It > only occurs when a Method field is used. Has anybody else seen this problem? No Cindy. You have simple db which we can test in viSQL or Vstudio ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 19 14:30:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 06:30:35 2004 Subject: V4RB: problem with dates In-Reply-To: Message-ID: On 9/19/04 1:50 PM, "Claudius Sailer" wrote: Hi Claudius, > I have a little CodeGenerator (User can click a report together, also > with restrictions) which buolds following Code > > > SELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, > t1.Betrag, t1.Kommentar > FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 > WHERE t1.Herk_Konto=t2.RecID > AND t1.Ziel_Konto=t3.RecID > AND t1.Kategorie_ID=t4.RecID > AND ( t4.Kategorie_Name='Nahrungsmittel' > AND t1.BDatum>='01.03.2004' > AND t1.BDatum<='31.03.2004' > ) > ORDER BY t1.BDatum ASC > > Problem is, that I get alle records, but the restriction > "t1.BDatum>='01.03.2004'" doesn't work correct. I get all records which > have BDatum <='31.03.2004'. > when I use following Code > > ELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, > t1.Betrag, t1.Kommentar > FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 > WHERE t1.Herk_Konto=t2.RecID > AND t1.Ziel_Konto=t3.RecID > AND t1.Kategorie_ID=t4.RecID > AND ( t1.BDatum>='01.03.2004' > AND t1.BDatum<='31.03.2004' > AND t4.Kategorie_Name='Nahrungsmittel' > ) > ORDER BY t1.BDatum ASC > > everything is fine. > > Is this a bug in valentina? I think the first query will work if you add () around dates > SELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, > t1.Betrag, t1.Kommentar > FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 > WHERE t1.Herk_Konto=t2.RecID > AND t1.Ziel_Konto=t3.RecID > AND t1.Kategorie_ID=t4.RecID > AND ( t4.Kategorie_Name='Nahrungsmittel' > AND (t1.BDatum>='01.03.2004' > AND t1.BDatum<='31.03.2004') > ) > ORDER BY t1.BDatum ASC -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun Sep 19 14:27:25 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Sep 19 07:27:58 2004 Subject: V4RB: problem with dates In-Reply-To: References: Message-ID: <4365C8A2-0A37-11D9-BF10-00039365848C@sailer-online.de> Hi Ruslan, Am 19. Sep 2004 um 13:30 Uhr schrieb Ruslan Zasukhin: > I think the first query will work if you add () around dates > >> SELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, >> t1.Betrag, t1.Kommentar >> FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 >> WHERE t1.Herk_Konto=t2.RecID >> AND t1.Ziel_Konto=t3.RecID >> AND t1.Kategorie_ID=t4.RecID >> AND ( t4.Kategorie_Name='Nahrungsmittel' >> AND (t1.BDatum>='01.03.2004' >> AND t1.BDatum<='31.03.2004') >> ) >> ORDER BY t1.BDatum ASC thats true, but I am not the coder. The user can click the restrictions together and so I can get 3 different SQLString-Results and I would expect that the output result is also the same. I am unable to catch this possibilities by reading the restricitons and build special rules too? Will it with valentina 2.0 the same result or is there too differences in coding-sorting of restricitons? thanks for help Claudius From sunshine at public.kherson.ua Sun Sep 19 16:01:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 08:02:02 2004 Subject: V4RB: problem with dates In-Reply-To: <4365C8A2-0A37-11D9-BF10-00039365848C@sailer-online.de> Message-ID: On 9/19/04 3:27 PM, "Claudius Sailer" wrote: > Hi Ruslan, > > Am 19. Sep 2004 um 13:30 Uhr schrieb Ruslan Zasukhin: > >> I think the first query will work if you add () around dates >> >>> SELECT t1.BDatum, t2.Konto_Name, t3.Konto_Name, t4.Kategorie_Name, >>> t1.Betrag, t1.Kommentar >>> FROM Buchungen t1, Konten t2, Konten t3, Kategorien t4 >>> WHERE t1.Herk_Konto=t2.RecID >>> AND t1.Ziel_Konto=t3.RecID >>> AND t1.Kategorie_ID=t4.RecID >>> AND ( t4.Kategorie_Name='Nahrungsmittel' >>> AND (t1.BDatum>='01.03.2004' >>> AND t1.BDatum<='31.03.2004') >>> ) >>> ORDER BY t1.BDatum ASC > > thats true, but I am not the coder. The user can click the restrictions > together and so I can get 3 different SQLString-Results and I would > expect that the output result is also the same. > > I am unable to catch this possibilities by reading the restricitons and > build special rules too? > > Will it with valentina 2.0 the same result or is there too differences > in coding-sorting of restricitons? 2.0 use other algorithms here. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Sun Sep 19 19:07:11 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Sun Sep 19 12:07:42 2004 Subject: VServer beginner questions Message-ID: <58F266E4-0A5E-11D9-9995-003065514D2E@tiscalinet.it> Hello list, I've just installed the vServer & V4RBClient beta on my OSX 10.3.5 machine and I have some questions (RB 5.5): is it normal that the master.vdb is owned by the system and is read only? why can't I open it in vApp or vStudio (-61 error) (even if read only I should be able to open it to see its contents) What's the use of the FolderItem parameter in the DB.Create function if every new DB is created in the Databases folder of ValentinaServer as specified in the .init file? (a string would be appropriate instead) why can't I look into the DB object in the debugger? (demo app crashes whenever I make such attempt) thanks for listening Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Sun Sep 19 20:44:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 12:44:46 2004 Subject: VServer beginner questions In-Reply-To: <58F266E4-0A5E-11D9-9995-003065514D2E@tiscalinet.it> Message-ID: On 9/19/04 8:07 PM, "erne" wrote: Hi Erne, > Hello list, > > I've just installed the vServer & V4RBClient beta on my OSX 10.3.5 > machine > and I have some questions (RB 5.5): > > is it normal that the master.vdb is owned by the system and is read > only? > > why can't I open it in vApp or vStudio (-61 error) > (even if read only I should be able to open it to see its contents) Because I think you still have Vserver running! And it keep database. -- so you cannot open it by any other application. to be able open file directly, you need STOP server. -- but this is not required! you can use Valentina Studio, NOT for open db files directly as you are used to do But to CONNECT to Server! Find this command in Vstudio! Menu File -> connect... In this way you can connect to Server and browse in Vstudio dbs which server owns > What's the use of the FolderItem parameter in the DB.Create function if > every new DB is created in the Databases folder of ValentinaServer as > specified in the .init file? (a string would be appropriate instead) FolderItem simply contains NAME of db file, not a path. Look into example of V4RB Client > why can't I look into the DB object in the debugger? > (demo app crashes whenever I make such attempt) Mmmm, in V4RB__Client example ? Don't know. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Sun Sep 19 20:12:46 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Sun Sep 19 13:13:15 2004 Subject: VServer beginner questions In-Reply-To: References: Message-ID: <82012875-0A67-11D9-9995-003065514D2E@tiscalinet.it> Hi Ruslan, On Sep 19, 2004, at 7:44 PM, Ruslan Zasukhin wrote: >> What's the use of the FolderItem parameter in the DB.Create function >> if >> every new DB is created in the Databases folder of ValentinaServer as >> specified in the .init file? (a string would be appropriate instead) > > FolderItem simply contains NAME of db file, not a path. > > Look into example of V4RB Client > in that example I see you build a folderitem with function f = GetFolderItem("new DB") and use it to create/open as DB but that function will point to a Folderitem named "new DB" located into the folder containing the running app while actually the DB is located into the Databases folder of ValentinaServer... this is a lot confusing a string would be the appropriate parameter to pass in this case or let us define where a new db should be created passing a folderitem I see you allow a path parameter when registering a DB to the server so why must it live into the Databases folder? BTW what's the Server behaviour when client attempts to create a DB with a name that's already in use into the databases folder? can we put an alias into Databases folder and pretend it will be seen by the vServer? > >> why can't I look into the DB object in the debugger? >> (demo app crashes whenever I make such attempt) > > Mmmm, in V4RB__Client example ? > > Don't know. > yep! I select the Open menu item and put a breakpoint in the FileOpen menu handler... seems that the Database is succcessfully opened but if I try to inspect it in the debugger's props browser the app crashes Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Sun Sep 19 21:33:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 13:33:29 2004 Subject: VServer beginner questions In-Reply-To: <82012875-0A67-11D9-9995-003065514D2E@tiscalinet.it> Message-ID: On 9/19/04 9:12 PM, "erne" wrote: > Hi Ruslan, > > On Sep 19, 2004, at 7:44 PM, Ruslan Zasukhin wrote: > >>> What's the use of the FolderItem parameter in the DB.Create function >>> if >>> every new DB is created in the Databases folder of ValentinaServer as >>> specified in the .init file? (a string would be appropriate instead) >> >> FolderItem simply contains NAME of db file, not a path. >> >> Look into example of V4RB Client >> > > in that example I see you build a folderitem with function > f = GetFolderItem("new DB") > and use it to create/open as DB > > but that function will point to a Folderitem named "new DB" located > into the folder containing the running app while actually the DB is > located into the Databases folder of ValentinaServer... this is a lot > confusing But Vclient later use only name of file. Just there is no other way in REALbasic create folderItem. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 19 21:35:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 19 13:35:44 2004 Subject: VServer beginner questions In-Reply-To: <82012875-0A67-11D9-9995-003065514D2E@tiscalinet.it> Message-ID: On 9/19/04 9:12 PM, "erne" wrote: > in that example I see you build a folderitem with function > f = GetFolderItem("new DB") > and use it to create/open as DB > > but that function will point to a Folderitem named "new DB" located > into the folder containing the running app while actually the DB is > located into the Databases folder of ValentinaServer... this is a lot > confusing > > a string would be the appropriate parameter to pass in this case > or let us define where a new db should be created passing a folderitem No, because then we will have different syntax from LOCAL version. > I see you allow a path parameter when registering a DB to the server so > why must it live into the Databases folder? Consistent of API. Register() exists only in the Client. It not exists in the LOCAL. > BTW what's the Server behaviour when client attempts to create a DB > with a name that's already in use into the databases folder? I don't know. I think will be error of OS 'cannot create file' > can we put an alias into Databases folder and pretend it will be seen > by the vServer? Not sure. In ideal we must make this work. >> >>> why can't I look into the DB object in the debugger? >>> (demo app crashes whenever I make such attempt) >> >> Mmmm, in V4RB__Client example ? >> >> Don't know. >> > > yep! I select the Open menu item and put a breakpoint in the FileOpen > menu handler... seems that the Database is succcessfully opened > but if I try to inspect it in the debugger's props browser > the app crashes Ok, I will check this later -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Sun Sep 19 21:57:22 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Sep 19 16:57:24 2004 Subject: V4RB Select Problem In-Reply-To: Message-ID: > > No Cindy. > > You have simple db which we can test in viSQL or Vstudio ? > Hi Ruslan, I can put one together. Where do I send it to? Cindy From cindy at kowhaiprogramming.com Mon Sep 20 11:29:14 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Sep 19 18:30:03 2004 Subject: V4RB Select Problem In-Reply-To: Message-ID: Hi Ruslan I just reindexed the database and it seems to be fine. It seems the indexes, which I delete regularly, were out of sync. But then, this is my problem. I have to calculate student's ages based on a certain date - e.g. Their age today, their age at the beginning of the year, their age at the 1st of July. Currently I am doing this with a calculated method which I set up as I run RealBasic (change the method based on the date, and then calculate their ages). The following is an example: app.mDatabase.BaseObject("Students").Field("Age1").SetMethod("YEAR('"+workin gdate+"')-YEAR(Date_Of_Birth)") app.mDatabase.BaseObject("Students").Field("Age2").SetMethod("MONTH('"+worki ngdate+"')-MONTH(Date_Of_Birth)-IF(DAYOFMONTH('"+workingdate+"')-DAYOFMONTH( Date_Of_Birth)<0,1,0)") app.mDatabase.BaseObject("Students").Field("Age3").SetMethod("DAYOFMONTH('"+ workingdate+"')-DAYOFMONTH(Date_Of_Birth)") I need to do this several times in a particular RB Method. The problem is that this can then cause the indexes to go out of sync. Is there a better way that I can be doing this? Cindy >> >> This would seem to be a bug in the Select Query if using a method. If using >> a standard Short field, the select returns the correct amount of records. It >> only occurs when a Method field is used. Has anybody else seen this problem? > > No Cindy. > > You have simple db which we can test in viSQL or Vstudio ? > From huancaya at wanadoo.fr Mon Sep 20 06:53:33 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Sun Sep 19 21:54:07 2004 Subject: Bug in V4RB.rbx In-Reply-To: <496F295C-08C7-11D9-B207-0003935B6750@comcast.net> References: <20040917162309.7A18F217E22@edison.macserve.net> <496F295C-08C7-11D9-B207-0003935B6750@comcast.net> Message-ID: <42AFA376-0AB0-11D9-AFB3-000A95BA5A32@wanadoo.fr> Hello, With the version RB 5.5x , and V4RB 1.10 (19/12/2003) the field defined by ** name = new vVarChar ("name", 96, "French") ** is coded "French". That is important for sorting. With the version V4RB.rbx (july or september 2004), this field is coded "ASCII". And there, that becomes annoying... Is there a reason? And a remedy? In the meantime, I am obliged to return to the version 1.10. -- Thierry Nauze Saint-Denis de la R?union From cbpelto at pcisys.net Sun Sep 19 21:22:12 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun Sep 19 22:22:38 2004 Subject: RB QueryController & Valentina In-Reply-To: References: Message-ID: <43833A88-0AB4-11D9-9415-00306549C134@pcisys.net> I was sort of getting that impression. Thanks for confirming it. Regards, Chuck On Sep 18, 2004, at 1:42 PM, Ruslan Zasukhin wrote: > On 9/18/04 5:28 PM, "Chuck Pelto" wrote: > >> Out of curiosity, does anyone have a tutorial that uses the SQL Data >> Control interface found in RB? >> >> I've seen three tutorials on using Valentina with RB and not one of >> them uses that interface. Instead, they add additional buttons to go >> to >> next, previous, last, first records. Is there a reason they aren't >> using it? Something about Valentina that won't allow work with it? > > I think Valentina do not work with RB controls > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Sep 20 09:06:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 01:06:57 2004 Subject: Bug in V4RB.rbx In-Reply-To: <42AFA376-0AB0-11D9-AFB3-000A95BA5A32@wanadoo.fr> Message-ID: On 9/20/04 5:53 AM, "Thierry Nauze" wrote: > Hello, > > With the version RB 5.5x , and V4RB 1.10 (19/12/2003) the field defined > by > ** name = new vVarChar ("name", 96, "French") ** > is coded "French". > That is important for sorting. > > With the version V4RB.rbx (july or september 2004), this field is coded > "ASCII". > And there, that becomes annoying... > > Is there a reason? And a remedy? > > In the meantime, I am obliged to return to the version 1.10. You mean I should create new db using that code ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon Sep 20 12:56:00 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon Sep 20 03:56:33 2004 Subject: Bug in V4RB.rbx In-Reply-To: References: Message-ID: Le 20 sept. 04, ? 10:06, Ruslan Zasukhin a ?crit : > On 9/20/04 5:53 AM, "Thierry Nauze" wrote: > >> Hello, >> >> With the version RB 5.5x , and V4RB 1.10 (19/12/2003) the field >> defined >> by >> ** name = new vVarChar ("name", 96, "French") ** >> is coded "French". >> That is important for sorting. >> >> With the version V4RB.rbx (july or september 2004), this field is >> coded >> "ASCII". >> And there, that becomes annoying... >> >> Is there a reason? And a remedy? >> >> In the meantime, I am obliged to return to the version 1.10. > > You mean I should create new db using that code ? The database created with V4RB 1.10 (December, 2003) is correct. Language is correct: "French". With the same project but with V4RB.rbx (July or September, 2004) the database is create with the language "ASCII". What is annoying for sortings name. Regards -- Thierry Nauze Saint-Denis de la R?union From rjb at rz.uni-potsdam.de Mon Sep 20 11:15:57 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Sep 20 04:35:19 2004 Subject: Bug in V4RB.rbx In-Reply-To: References: Message-ID: > >The database created with V4RB 1.10 (December, 2003) is correct. >Language is correct: "French". > >With the same project but with V4RB.rbx (July or >September, 2004) the database is create with the >language "ASCII". > >What is annoying for sortings name. > >Regards > >-- >Thierry Nauze Saint-Denis de la R?union A similar problem has been reported for vxcmd a while ago: field's language is set to ascii instead the language specified. I forget the details but it must be somewhere in list archives (and Ruslan's list of bugs to fix). Robert From ernestogiannotta at tiscalinet.it Mon Sep 20 12:16:58 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Sep 20 05:17:32 2004 Subject: VServer beginner questions In-Reply-To: <82012875-0A67-11D9-9995-003065514D2E@tiscalinet.it> References: <82012875-0A67-11D9-9995-003065514D2E@tiscalinet.it> Message-ID: <34B57582-0AEE-11D9-9995-003065514D2E@tiscalinet.it> On Sep 19, 2004, at 8:12 PM, erne wrote: >>> why can't I look into the DB object in the debugger? >>> (demo app crashes whenever I make such attempt) >> >> Mmmm, in V4RB__Client example ? >> >> Don't know. >> > > yep! I select the Open menu item and put a breakpoint in the FileOpen > menu handler... seems that the Database is succcessfully opened > but if I try to inspect it in the debugger's props browser > the app crashes > here's log from terminal: [eBook:~] erne% /Library/ValentinaServer/ValentinaServer / ************************************************************************ *************/ Mon Sep 20 2004 10:03:31.902903 ValentinaServer (2.0a65, Protocol 1.1, Kernel 1.10) The maximum number of connections: 5 10:03:33.188724 (2684396012): Database kernel inited 10:03:33.788059 (2684396012): Server started at 15432 port 10:04:23.135273 (25187840): Connection established with 'localhost:49154' (13) 10:04:23.500849 (25201152): (13) Database: my database1; User: sa: OK Bus error [eBook:~] erne% |er| musical box |ne| a media store From ernestogiannotta at tiscalinet.it Mon Sep 20 13:22:21 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Sep 20 06:22:55 2004 Subject: VServer beginner questions In-Reply-To: References: Message-ID: <569FF728-0AF7-11D9-B1A5-003065514D2E@tiscalinet.it> On Sep 19, 2004, at 8:35 PM, Ruslan Zasukhin wrote: >> a string would be the appropriate parameter to pass in this case >> or let us define where a new db should be created passing a folderitem > > No, because then we will have different syntax from LOCAL version. > mmm... so you trade clean code for compatible code here? your choice, but I see we need new Creator for Server DB so why can't we have more appropriate Create and Open ServerDB methods? we certainly are lazy, but not to the point we can't change a couple lines of code more i think, if that's for clarity's sake 8-) > >> I see you allow a path parameter when registering a DB to the server >> so >> why must it live into the Databases folder? > > Consistent of API. > > Register() exists only in the Client. > It not exists in the LOCAL. > I don't get it here, if we don't have register in Local what API we must be consistent with? then again, what's the use of path parameter? It would have sense only if you allow register databases that live not in the default Databases folder > >> BTW what's the Server behaviour when client attempts to create a DB >> with a name that's already in use into the databases folder? > > I don't know. I think will be error of OS 'cannot create file' > DB returns error 1011 and console logs it as: 12:44:39.998067 (25201152): (13) ERROR #1011: Object already exists BTW there's a list of vserver error codes somewhere? >> can we put an alias into Databases folder and pretend it will be seen >> by the vServer? > > Not sure. > > In ideal we must make this work. Vale Studio crashes on connection attempt... it crashes also if I remove a registered database from the Databases folder BTW why "localhost" string doesn't work in V4RB client and I must pass "" to connect? one last question, what's the correct privileges settings for MasterDB and other DBs in Databases folder? Installer sets it as owned by System and read only for everybody else and I see this settings also when I create a new DB in example (which BTW I can't make to properly work since I can't see any of the DB contents, it crashes the server with Bus error on DB.RecordCount call) Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Mon Sep 20 17:15:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 09:18:02 2004 Subject: VServer beginner questions In-Reply-To: <569FF728-0AF7-11D9-B1A5-003065514D2E@tiscalinet.it> Message-ID: On 9/20/04 2:22 PM, "erne" wrote: > On Sep 19, 2004, at 8:35 PM, Ruslan Zasukhin wrote: > >>> a string would be the appropriate parameter to pass in this case >>> or let us define where a new db should be created passing a folderitem >> >> No, because then we will have different syntax from LOCAL version. >> > > mmm... so you trade clean code for compatible code here? > > your choice, but I see we need new Creator for Server DB > so why can't we have more appropriate Create and Open ServerDB methods? > > we certainly are lazy, but not to the point we can't change a couple > lines of code more i think, if that's for clarity's sake 8-) Ok, we will consider this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 20 17:15:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 09:18:53 2004 Subject: VServer beginner questions In-Reply-To: <569FF728-0AF7-11D9-B1A5-003065514D2E@tiscalinet.it> Message-ID: On 9/20/04 2:22 PM, "erne" wrote: >>> I see you allow a path parameter when registering a DB to the server >>> so >>> why must it live into the Databases folder? >> >> Consistent of API. >> >> Register() exists only in the Client. >> It not exists in the LOCAL. >> > > I don't get it here, if we don't have register in Local > what API we must be consistent with? This is why it use Path As String. > then again, what's the use of path parameter? > It would have sense only if you allow register databases that live not > in the default Databases folder -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 20 17:16:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 09:19:06 2004 Subject: VServer beginner questions In-Reply-To: <569FF728-0AF7-11D9-B1A5-003065514D2E@tiscalinet.it> Message-ID: On 9/20/04 2:22 PM, "erne" wrote: >>> BTW what's the Server behaviour when client attempts to create a DB >>> with a name that's already in use into the databases folder? >> >> I don't know. I think will be error of OS 'cannot create file' >> > > DB returns error 1011 > > and console logs it as: > 12:44:39.998067 (25201152): (13) ERROR #1011: Object already exists > > BTW there's a list of vserver error codes somewhere? Yes Check Vserver.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 20 17:19:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 09:20:22 2004 Subject: VServer beginner questions In-Reply-To: <569FF728-0AF7-11D9-B1A5-003065514D2E@tiscalinet.it> Message-ID: On 9/20/04 2:22 PM, "erne" wrote: >>> can we put an alias into Databases folder and pretend it will be seen >>> by the vServer? >> >> Not sure. >> >> In ideal we must make this work. > > Vale Studio crashes on connection attempt... > it crashes also if I remove a registered database from the Databases > folder Strange, it works for me and others. You can discuss this on Valentina Studio list > BTW why "localhost" string doesn't work in V4RB client and I must pass > "" to connect? Don't know. > one last question, > what's the correct privileges settings for MasterDB and other DBs in > Databases folder? Depend on what you want I think. If you want protect files from network then do that. > Installer sets it as owned by System and read only for everybody else > and I see this settings also when I create a new DB in example > (which BTW I can't make to properly work since I can't see any of the > DB contents, it crashes the server with Bus error on DB.RecordCount > call) Erne, I do not understand. Do this * install server * install V4RB_Client * run example of V4RB_Client. Works? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Mon Sep 20 16:54:25 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Sep 20 09:55:03 2004 Subject: VServer beginner questions In-Reply-To: Message-ID: on 20-09-2004 16:19, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >>>> can we put an alias into Databases folder and pretend it will be seen >>>> by the vServer? >>> >>> Not sure. >>> >>> In ideal we must make this work. >> >> Vale Studio crashes on connection attempt... >> it crashes also if I remove a registered database from the Databases >> folder > > Strange, it works for me and others. > > You can discuss this on Valentina Studio list > I mean vStudio crashes 1) if I put an alias into Databases folder instead of original registered DB file 2) if I remove a registered database from the Databases folder It works fine if I don't do any of the above ;-) > >> BTW why "localhost" string doesn't work in V4RB client and I must pass >> "" to connect? > > Don't know. > > >> one last question, >> what's the correct privileges settings for MasterDB and other DBs in >> Databases folder? > > Depend on what you want I think. > > If you want protect files from network then do that. > > >> Installer sets it as owned by System and read only for everybody else >> and I see this settings also when I create a new DB in example >> (which BTW I can't make to properly work since I can't see any of the >> DB contents, it crashes the server with Bus error on DB.RecordCount >> call) > > Erne, I do not understand. > Do this > > * install server > * install V4RB_Client > * run example of V4RB_Client. > > Works? > that's what I did depends on what you mean by works, I had to change manually the privileges set by installer to make it work in vStudio RB does not crash but I can't see the contents of the created demo database (Server crashes in the terminal with Bus error on populatePanes method when DB.RecordCount methos is invoked) well, I'll try a fresh new install and try to be more precise in my reports Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From cbpelto at pcisys.net Mon Sep 20 10:29:38 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Sep 20 11:30:04 2004 Subject: Updated Tutorials for RB In-Reply-To: References: Message-ID: <44459076-0B22-11D9-9415-00306549C134@pcisys.net> Greetings, When was the last time the tutorial for learning how to get Valentina to work with REALbasic was updated? I'm working exercise one and during compile, I'm coming across errors that look like RB has gone someplace that Valentina is not aware of. E.g., the Action for deleting a record as written in the tutorial is as follows: Sub Action() mDataBase.mPerson.DeleteRecord PopulatePanes End Sub However, during compile, I get an error message tells me I must use the result of the DeleteRecord call. Modifying the code to read as follows: Sub Action() result = mDataBase.mPerson.DeleteRecord PopulatePanes End Sub ...apparently corrects that problem. The implication being that something has changed in RB that Valentina is aware of, but Valentina's tutorial is not reflecting. Are there other situations like that in the tutorial I've got? Also, I think it would be a good idea to make that comment about adding the ValentinaUtilities object to the RB project folder, early on. Regards, Chuck Pelto From sunshine at public.kherson.ua Mon Sep 20 19:52:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 11:53:18 2004 Subject: Updated Tutorials for RB In-Reply-To: <44459076-0B22-11D9-9415-00306549C134@pcisys.net> Message-ID: On 9/20/04 7:29 PM, "Chuck Pelto" wrote: Hi Chuck, > When was the last time the tutorial for learning how to get Valentina > to work with REALbasic was updated? Do not use tutorial from Paradigma, old. Use other tutorials from that page. > I'm working exercise one and during compile, I'm coming across errors > that look like RB has gone someplace that Valentina is not aware of. > E.g., the Action for deleting a record as written in the tutorial is as > follows: > > Sub Action() > mDataBase.mPerson.DeleteRecord > PopulatePanes > End Sub > However, during compile, I get an error message tells me I must use the > result of the DeleteRecord call. Modifying the code to read as follows: > > Sub Action() > result = mDataBase.mPerson.DeleteRecord > PopulatePanes > End Sub > ...apparently corrects that problem. The implication being that > something has changed in RB that Valentina is aware of, but Valentina's > tutorial is not reflecting. Are there other situations like that in the > tutorial I've got? Tutorial simply is old. I am sorry, we did not pay enough attention to it. > Also, I think it would be a good idea to make that comment about adding > the ValentinaUtilities object to the RB project folder, early on. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Mon Sep 20 10:58:44 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Sep 20 11:59:10 2004 Subject: Updated Tutorials for RB [Correction] In-Reply-To: <44459076-0B22-11D9-9415-00306549C134@pcisys.net> References: <44459076-0B22-11D9-9415-00306549C134@pcisys.net> Message-ID: <54E0A6C8-0B26-11D9-9415-00306549C134@pcisys.net> In the time-honored tradition of "Fixing the problem, changes the problem", the code that DOES work is as follows: Sub Action() dim bSuccess as boolean // had to declare a variable to receive the result, which is a boolean bSuccess = mDatabase.mPerson.DeleteRecord PopulatePanes End Sub On Sep 20, 2004, at 10:29 AM, Chuck Pelto wrote: > Greetings, > > When was the last time the tutorial for learning how to get Valentina > to work with REALbasic was updated? > > I'm working exercise one and during compile, I'm coming across errors > that look like RB has gone someplace that Valentina is not aware of. > E.g., the Action for deleting a record as written in the tutorial is > as follows: > > Sub Action() > mDataBase.mPerson.DeleteRecord > PopulatePanes > End Sub > > However, during compile, I get an error message tells me I must use > the result of the DeleteRecord call. Modifying the code to read as > follows: > > Sub Action() > result = mDataBase.mPerson.DeleteRecord > PopulatePanes > End Sub > > ...apparently corrects that problem. The implication being that > something has changed in RB that Valentina is aware of, but > Valentina's tutorial is not reflecting. Are there other situations > like that in the tutorial I've got? > > Also, I think it would be a good idea to make that comment about > adding the ValentinaUtilities object to the RB project folder, early > on. > > Regards, > > Chuck Pelto > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Mon Sep 20 11:00:46 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Sep 20 12:01:09 2004 Subject: Updated Tutorials for RB In-Reply-To: References: Message-ID: <9D9B4292-0B26-11D9-9415-00306549C134@pcisys.net> Drat! I looked over the others and I kind of preferred that from the manufacturer. Okay...back to square one, albeit on a different board. Regards, Chuck On Sep 20, 2004, at 10:52 AM, Ruslan Zasukhin wrote: > Use other tutorials from that page. From sunshine at public.kherson.ua Mon Sep 20 21:10:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 13:12:12 2004 Subject: Updated Tutorials for RB In-Reply-To: <9D9B4292-0B26-11D9-9415-00306549C134@pcisys.net> Message-ID: On 9/20/04 8:00 PM, "Chuck Pelto" wrote: > Drat! > > I looked over the others and I kind of preferred that from the > manufacturer. Well, ok, I will try to fix tutorial. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Mon Sep 20 15:28:59 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Sep 20 16:29:26 2004 Subject: Updated Tutorials for RB In-Reply-To: References: Message-ID: <15CDE9CA-0B4C-11D9-9415-00306549C134@pcisys.net> That would be most excellent, sir. What can I do to help? Indeed, I was thinking of debugging the kinks as a good learning experience. Regards, Chuck Pelto On Sep 20, 2004, at 12:10 PM, Ruslan Zasukhin wrote: > On 9/20/04 8:00 PM, "Chuck Pelto" wrote: > >> Drat! >> >> I looked over the others and I kind of preferred that from the >> manufacturer. > > Well, ok, I will try to fix tutorial. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cm_sheffield at yahoo.com Mon Sep 20 15:20:53 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Sep 20 17:21:20 2004 Subject: can't start VServer on Windows 2000 Server Message-ID: <20040920222053.7389.qmail@web52408.mail.yahoo.com> OK, I'm going to try to explain this, and hopefully it'll all make sense. :-) I've got an application that uses the embedded Vserver. I've created a custom installation program that installs the necessary files to the file server, then registers and starts up the database server. Usually, this works fine under any version of Windows. But I've now had two customers that have called in with the same problem running on Windows 2000 Server. At the point that my installation program is supposed to start the server, they're getting error 10061. Basically my installer is just running the server executable with the -i option (to register as a server) and then with the -s option (to start the service). What's weird is that the registering part seems to work fine. In other words, if they open the list of services, it's there, but not running. Trying to start it manually from there results in "error 5, access is denied". So then we noticed there was an error log that had been created. Opening that shows an error that says something about an installer failing because of a missing argument (this is the error log created by Vserver). And if I have them open a command prompt and try to start the service from there, we get yet another error that says a file or directory could not be found, but it doesn't say which file or directory it's looking for. I'm trying to figure out what is going on. There's about 4 or 5 different error messages, and none of them really tell me anything. We've checked everything including permissions, directory structures, and everything seems to be setup and installed as it should be, but the service will not run. I know this probably isn't much to go on, but can anyone think of anything that might stop a service from running? I can't think of anything else to check. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ernestogiannotta at tiscalinet.it Tue Sep 21 00:45:58 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Sep 20 17:46:35 2004 Subject: V4RB - vServer Begin again Message-ID: Hello Ruslan, reinstalled vServer it creates masterDb with this privileges: -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb run the Single Table example and created new DB it has same privileges as Master: -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1 -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind opened my database1 with vStudio and added some records modified the Single Table example to use cursor (it was using baseobject methods) it works now! still, trying to inspect the DB object in debugger crashes the app ...please fix this server is still running and that's good... :-) (it crashed when trying to access BO methods) so, are BaseObject methods deprecated in vServer? (I never use them anymore, so I won't miss them... I ask just for info) Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Tue Sep 21 07:17:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 23:18:20 2004 Subject: can't start VServer on Windows 2000 Server In-Reply-To: <20040920222053.7389.qmail@web52408.mail.yahoo.com> Message-ID: On 9/21/04 1:20 AM, "Chris Sheffield" wrote: > OK, I'm going to try to explain this, and hopefully > it'll all make sense. :-) > > I've got an application that uses the embedded > Vserver. I've created a custom installation program > that installs the necessary files to the file server, > then registers and starts up the database server. > Usually, this works fine under any version of Windows. > But I've now had two customers that have called in > with the same problem running on Windows 2000 Server. > At the point that my installation program is supposed > to start the server, they're getting error 10061. > Basically my installer is just running the server > executable with the -i option (to register as a > server) and then with the -s option (to start the > service). What's weird is that the registering part > seems to work fine. In other words, if they open the > list of services, it's there, but not running. Trying > to start it manually from there results in "error 5, > access is denied". > > So then we noticed there was an error log that had > been created. Opening that shows an error that says > something about an installer failing because of a > missing argument (this is the error log created by > Vserver). And if I have them open a command prompt > and try to start the service from there, we get yet > another error that says a file or directory could not > be found, but it doesn't say which file or directory > it's looking for. I'm trying to figure out what is > going on. There's about 4 or 5 different error > messages, and none of them really tell me anything. > > We've checked everything including permissions, > directory structures, and everything seems to be setup > and installed as it should be, but the service will > not run. > > I know this probably isn't much to go on, but can > anyone think of anything that might stop a service > from running? I can't think of anything else to > check. Chris, Igor always ask: what Log file says ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 21 07:22:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 20 23:24:17 2004 Subject: V4RB - vServer Begin again In-Reply-To: Message-ID: On 9/21/04 1:45 AM, "erne" wrote: Hi Erne, > reinstalled vServer > it creates masterDb with this privileges: > > -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb > > run the Single Table example and created new DB > it has same privileges as Master: > > -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1 > -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb > -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat > -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind But what privileges should be on your opinion ? > opened my database1 with vStudio and added some records > > modified the Single Table example to use cursor > (it was using baseobject methods) > it works now! Great! In fact I believe if you click button Query, You will get window which uses cursor. > still, trying to inspect the DB object in debugger crashes the app > ...please fix this I will try > server is still running and that's good... :-) > (it crashed when trying to access BO methods) BO methods to modify records are not implemented in this version. At first we did think NOT to implement them at all, And use only Cursor API for remote server. Now we have opinion that for fast Ethernet, BaseObject functions and new 2.0 API should work in client also. So Igor add to protocol this functionality also. > so, are BaseObject methods deprecated in vServer? > (I never use them anymore, so I won't miss them... I ask just for info) Let's clarify, you talk about VBaseObject.AddRecord ? Or you talk about BaseObject Methods -- virtual fields? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Tue Sep 21 08:10:33 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue Sep 21 01:02:27 2004 Subject: Import text MacRoman, WindowsLatin1 and Unicode Message-ID: RB 5.5.3 / Valentina 1.90 Hi Ruslan and list, I need to make a module of import of text file for my program. In this module the customer has to clarify if the text file is of origin PC or Mac. What allows me to settle the encoding (windowsLatin1 or MacRoman). Classic. But how do you make if the file to be imported is of origin Unicode Mac or Pc ? utf8 or utf16 ? It is necessary to ask to the customer if its file is of origin PC, Mac or Unicode (utf8 or utf16 ?) ? There is not a simpler solution ? thank you olivier From ernestogiannotta at tiscalinet.it Tue Sep 21 09:46:14 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Sep 21 02:46:59 2004 Subject: V4RB - vServer Begin again In-Reply-To: Message-ID: Hi Ruslan, on 21-09-2004 6:22, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> reinstalled vServer >> it creates masterDb with this privileges: >> >> -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb >> >> run the Single Table example and created new DB >> it has same privileges as Master: >> >> -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1 >> -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb >> -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat >> -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind > > But what privileges should be on your opinion ? > I have no opinion here... just asking but now that you ask, yes I think these are correct since the vServer is running as root process all files it creates are owned by root (system) of course this means that if you want to start server from terminal you must be logged as root or use sudo keyword > >> opened my database1 with vStudio and added some records >> >> modified the Single Table example to use cursor >> (it was using baseobject methods) >> it works now! > > Great! > > In fact I believe if you click button Query, > You will get window which uses cursor. > well... I had tried it but it crashed on a nil cursor... but now I'm starting to see things clearer so I'll check that again BTW I'm wondering how to figure out when connection attemps fail i.e. after coding db = new vDatabase(host, user, password) or vs = new vServer(host, user, password) how can I know if something gone wrong and connection failed? in the vServer Utility RB project I leave parameters as default "localhost, sa, sa" it seems to connect but it really doesn't I must change "localhost" with "" to get a real connection > >> still, trying to inspect the DB object in debugger crashes the app >> ...please fix this > > I will try > >> server is still running and that's good... :-) >> (it crashed when trying to access BO methods) > > BO methods to modify records are not implemented in this version. > > At first we did think NOT to implement them at all, > And use only Cursor API for remote server. > > Now we have opinion that for fast Ethernet, BaseObject functions and new 2.0 > API should work in client also. So Igor add to protocol this functionality > also. > >> so, are BaseObject methods deprecated in vServer? >> (I never use them anymore, so I won't miss them... I ask just for info) > > Let's clarify, you talk about VBaseObject.AddRecord ? > yes, I talk about these ones the most offending I found so far is BO.RecordCount that crashes server with bus error (but I didn't check them deep, just those in the single table example) Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From ernestogiannotta at tiscalinet.it Tue Sep 21 09:51:25 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Sep 21 02:52:04 2004 Subject: Import text MacRoman, WindowsLatin1 and Unicode In-Reply-To: Message-ID: Hi Olivier, on 21-09-2004 8:10, olivier at vidal_olivier@yahoo.fr wrote: > I need to make a module of import of text file for my program. > In this module the customer has to clarify if the text file is of > origin PC or Mac. > What allows me to settle the encoding (windowsLatin1 or MacRoman). > Classic. > > But how do you make if the file to be imported is of origin Unicode Mac > or Pc ? utf8 or utf16 ? > It is necessary to ask to the customer if its file is of origin PC, Mac > or Unicode (utf8 or utf16 ?) ? > There is not a simpler solution ? > some UTF files have a BOM header that identifies the type of unicode they're in, but unfortunately not all have this signature and you must either guess (e.g. if a file contains chr(0)'s it's likely to be an UTF16) or ask Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From sunshine at public.kherson.ua Tue Sep 21 11:40:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 21 03:41:26 2004 Subject: V4RB - vServer Begin again In-Reply-To: Message-ID: On 9/21/04 10:46 AM, "erne" wrote: > Hi Ruslan, > > on 21-09-2004 6:22, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >>> reinstalled vServer >>> it creates masterDb with this privileges: >>> >>> -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb >>> >>> run the Single Table example and created new DB >>> it has same privileges as Master: >>> >>> -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1 >>> -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb >>> -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat >>> -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind >> >> But what privileges should be on your opinion ? >> > > I have no opinion here... just asking > but now that you ask, yes I think these are correct > since the vServer is running as root process > all files it creates are owned by root (system) > > of course this means that if you want to start server from terminal > you must be logged as root or use sudo keyword I think I am able run Vserver from terminal without switching to root. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Sep 21 11:42:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 21 03:42:59 2004 Subject: V4RB - vServer Begin again In-Reply-To: Message-ID: On 9/21/04 10:46 AM, "erne" wrote: >> Great! >> >> In fact I believe if you click button Query, >> You will get window which uses cursor. >> > > well... I had tried it > but it crashed on a nil cursor... > > but now I'm starting to see things clearer so I'll check that again > > BTW I'm wondering how to figure out when connection attemps fail > > i.e. > after coding > db = new vDatabase(host, user, password) > or > vs = new vServer(host, user, password) > > how can I know if something gone wrong and connection failed? You need check db.errcode > in the vServer Utility RB project I leave parameters as default "localhost, > sa, sa" it seems to connect but it really doesn't > I must change "localhost" with "" to get a real connection ok -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Sep 21 11:53:07 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Sep 21 03:54:42 2004 Subject: can't start VServer on Windows 2000 Server References: <20040920222053.7389.qmail@web52408.mail.yahoo.com> Message-ID: <002b01c49fb8$6b0f4c20$3b04a8c0@giv> Hi Chris, > So then we noticed there was an error log that had > been created. Do you mean 'error.log' ? Send it to me, please. > Opening that shows an error that says > something about an installer failing because of a > missing argument (this is the error log created by > Vserver). And if I have them open a command prompt > and try to start the service from there, we get yet > another error that says a file or directory could not > be found, but it doesn't say which file or directory > it's looking for. I'm trying to figure out what is > going on. There's about 4 or 5 different error > messages, and none of them really tell me anything. Also send to me all these error messages. -- 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 ernestogiannotta at tiscalinet.it Tue Sep 21 11:17:01 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Sep 21 04:17:43 2004 Subject: V4RB - vServer Begin again In-Reply-To: Message-ID: on 21-09-2004 10:40, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> Hi Ruslan, >> >> on 21-09-2004 6:22, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> >>>> reinstalled vServer >>>> it creates masterDb with this privileges: >>>> >>>> -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb >>>> >>>> run the Single Table example and created new DB >>>> it has same privileges as Master: >>>> >>>> -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1 >>>> -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb >>>> -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat >>>> -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind >>> >>> But what privileges should be on your opinion ? >>> >> >> I have no opinion here... just asking >> but now that you ask, yes I think these are correct >> since the vServer is running as root process >> all files it creates are owned by root (system) >> >> of course this means that if you want to start server from terminal >> you must be logged as root or use sudo keyword > > I think I am able run Vserver from terminal without switching to root. > you can do that only if masterdb and other registered dbs are owned by user or you assign them r/w privileges for all users/groups i think but as I see, vServer is quite greedy on assigning privileges right now i.e. files it creates will be owned by owner of the process it is running in and read only to any other Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From vidal_olivier at yahoo.fr Tue Sep 21 18:02:49 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue Sep 21 10:54:39 2004 Subject: Import text MacRoman, WindowsLatin1 and Unicode In-Reply-To: References: Message-ID: ok thank you Erne. olivier Le 21 sept. 04, ? 09:51, erne a ?crit : > Hi Olivier, > > on 21-09-2004 8:10, olivier at vidal_olivier@yahoo.fr wrote: > >> I need to make a module of import of text file for my program. >> In this module the customer has to clarify if the text file is of >> origin PC or Mac. >> What allows me to settle the encoding (windowsLatin1 or MacRoman). >> Classic. >> >> But how do you make if the file to be imported is of origin Unicode >> Mac >> or Pc ? utf8 or utf16 ? >> It is necessary to ask to the customer if its file is of origin PC, >> Mac >> or Unicode (utf8 or utf16 ?) ? >> There is not a simpler solution ? >> > > some UTF files have a BOM header that identifies the type of unicode > they're > in, but unfortunately not all have this signature and you must either > guess > (e.g. if a file contains chr(0)'s it's likely to be an UTF16) or ask > > > Cool Runnings, > Erne. > > -- > | e r | Ernesto Giannotta > | n e | Musical Box - a media store > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gregkowalski at earthlink.net Tue Sep 21 21:30:33 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Sep 21 20:30:29 2004 Subject: Basic SQL question In-Reply-To: <20040921041837.9FBBE21B996@edison.macserve.net> References: <20040921041837.9FBBE21B996@edison.macserve.net> Message-ID: Hello, I'm relatively new at SQL and I am hoping someone can help me with what looks like a simple problem. I have a database where some records contain strings in capital letters, and for some reason when I want the query result to appear in ascending order, the results in capital letters are out of order. For example if I have a db with three names: Paul, PHILIP and Ziggy the result to the query: SELECT * FROM table ORDER by name is PHILIP Paul Ziggy instead of Paul PHILIP Ziggy (ascending order) How can I obtain a query result in truly ascending order when there are caps? Thanks Greg PS: the name field is VARCHAR From realbasic at datalinesolutions.net Wed Sep 22 15:18:51 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 22 08:18:34 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac Message-ID: Hi, Are there known problems with the importText function of VCursor on Windows? My program works perfectly on a Mac. I am remote debugging from a mac OSX.3.5 to an XP. There are no errors, there just isn't data in the Valentina DB after the import. I already tried to change the cache of Valentina from 15MB-31MB-63MB and segment sizes of 8KB-16KB-32KB-64KB-128KB. Greetings, aldwin. From realbasic at datalinesolutions.net Wed Sep 22 15:28:56 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 22 08:28:33 2004 Subject: Basic SQL question In-Reply-To: References: <20040921041837.9FBBE21B996@edison.macserve.net> Message-ID: <5AD03E30-0C9B-11D9-9985-00039368E70A@datalinesolutions.net> On Sep 22, 2004, at 03:30, Gregory Kowalski wrote: > > SELECT * FROM table ORDER by name > > is > > PHILIP > Paul > Ziggy > > instead of > > Paul > PHILIP > Ziggy > > (ascending order) Because in the ASCII table, the capitals come before non-capitals asc(72)=H; asc(97)=a Not sure but try: SELECT * FROM table ORDER by UPPER(name) ???? Greetings, Aldwin Started with RB on the 7th of June 2004 From huancaya at wanadoo.fr Wed Sep 22 17:33:35 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Wed Sep 22 08:33:58 2004 Subject: Basic SQL question In-Reply-To: References: <20040921041837.9FBBE21B996@edison.macserve.net> Message-ID: <0110DAD5-0C9C-11D9-96CA-000A95BA5A32@wanadoo.fr> Le 22 sept. 04, ? 05:30, Gregory Kowalski a ?crit : > Hello, > > I'm relatively new at SQL and I am hoping someone can help me with > what looks like a simple problem. > > I have a database where some records contain strings in capital > letters, and for some reason when I want the query result to appear in > ascending order, the results in capital letters are out of order. > > For example if I have a db with three names: > > Paul, PHILIP and Ziggy > > the result to the query: > > SELECT * FROM table ORDER by name > > is > > PHILIP > Paul > Ziggy > > instead of > > Paul > PHILIP > Ziggy > > (ascending order) > > How can I obtain a query result in truly ascending order when there > are caps? > > Thanks > > Greg > > PS: the name field is VARCHAR Because your VarChar are defined as language 'ASCII' (where H < a) relation = new vVarChar ("relation", 128, "ASCII") or relation = new vVarChar ("relation", 128) Change the language in the definition of your VarChar Relation = new vVarChar ("relation", 128, "English") And it should give the result for which you wait... Except when 'Valentina' makes you a "farce" ! In my case, if I use the last version of the plug-in with RealBasic, the created database records the VarChar in the language ASCII... What would return you to your point of departure ! Cordially -- Thierry Nauze Saint-Denis de la R?union From jda at his.com Wed Sep 22 09:37:53 2004 From: jda at his.com (jda) Date: Wed Sep 22 08:38:03 2004 Subject: Basic SQL question In-Reply-To: <5AD03E30-0C9B-11D9-9985-00039368E70A@datalinesolutions.net> References: <20040921041837.9FBBE21B996@edison.macserve.net> <5AD03E30-0C9B-11D9-9985-00039368E70A@datalinesolutions.net> Message-ID: > >Because in the ASCII table, the capitals come before non-capitals >asc(72)=H; asc(97)=a > >Not sure but try: > >SELECT * FROM table ORDER by UPPER(name) ???? > I don't think that will work (but try). I use a method that does the same thing (VText field, you should change this to VString or VVarChar, or whatever you use): nameSortMethod = new VText("nameSortMethod", 128, "English", kV_Indexed) nameSortMethod ("Upper(names)") In the SQL query I SELECT * FROM table ORDER BY nameSortMethod Jon From sunshine at public.kherson.ua Wed Sep 22 16:38:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 22 08:42:36 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac In-Reply-To: Message-ID: On 9/22/04 4:18 PM, "Aldwin Pollefeyt" wrote: > Hi, > > Are there known problems with the importText function of VCursor on > Windows? no > My program works perfectly on a Mac. ok > I am remote debugging from a mac OSX.3.5 to an XP. There are no errors, > there just isn't data in the Valentina DB after the import. > I already tried to change the cache of Valentina from 15MB-31MB-63MB > and segment sizes of 8KB-16KB-32KB-64KB-128KB. This will not affect. Use cache 10-20 MB. Check in your Windows the file which you try to import. It must have MACOS line endings. This is one of glitches of Valentina 1.x which we have fix in 2.0 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Wed Sep 22 15:57:42 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 22 08:57:22 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac In-Reply-To: References: Message-ID: <5FAB817E-0C9F-11D9-9985-00039368E70A@datalinesolutions.net> On Sep 22, 2004, at 15:38, Ruslan Zasukhin wrote: > It must have MACOS line endings. So it is obligated to have MacOs EndOfLines? Thus first I have to convert the textfile, and then import it. > This is one of glitches of Valentina 1.x which we have fix in 2.0 Indeed, this should be fixed. Thanks, Aldwin Started with RB on the 7th of June 2004 From cm_sheffield at yahoo.com Wed Sep 22 08:11:53 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Sep 22 10:34:33 2004 Subject: Vserver really slow Message-ID: <20040922151153.64207.qmail@web52406.mail.yahoo.com> Has anyone ever had a problem with VServer responding very slowly? I've got two cases now where customers are saying that this is happening. We're using VXCMD client with Revolution. In one case, a user has a mixed network environment (Mac and PC workstations) running off a Windows 2000 server. They say they're PC's are performing great, but the Mac workstations are extremely slow when logging into my program. When they enter their password to login, it sometimes takes as much as 10 or 15 seconds before the password is verified and they're able to continue. In another case, it's a strictly PC network (Win XP workstatsion and Win 2003 server), but they're having similar problems. I've had them both try restarting their servers, but that hasn't made a difference. Is there something else that can be checked to see if VServer is running optimally? Why would PCs work fine, but Macs (OS 9 and X) on the same network be really slow? Doesn't make sense to me. If any one has any ideas, I'd be grateful. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From kevo at gatorgraphics.com Wed Sep 22 10:44:52 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Wed Sep 22 10:45:20 2004 Subject: Vserver really slow In-Reply-To: <20040922151153.64207.qmail@web52406.mail.yahoo.com> References: <20040922151153.64207.qmail@web52406.mail.yahoo.com> Message-ID: <583B34C6-0CAE-11D9-9B07-000393B29272@gatorgraphics.com> On Sep 22, 2004, at 10:11 AM, Chris Sheffield wrote: > In one case, a user has a mixed network environment > (Mac and PC workstations) running off a Windows 2000 > server. They say they're PC's are performing great, > but the Mac workstations are extremely slow when > logging into my program. When they enter their > password to login, it sometimes takes as much as 10 or > 15 seconds before the password is verified and they're > able to continue. In another case, it's a strictly PC > network (Win XP workstatsion and Win 2003 server), but > they're having similar problems. > > I've had them both try restarting their servers, but > that hasn't made a difference. Is there something > else that can be checked to see if VServer is running > optimally? Why would PCs work fine, but Macs (OS 9 > and X) on the same network be really slow? Doesn't > make sense to me. If any one has any ideas, I'd be > grateful. Chris, This really sounds like a network problem not a VServer issue. Without more information, I would guess that they are using a switch and not a hub. If this is the case, I bet that it has something to do with the Macs ethernet nic and the switch renegotiating the speed and duplex on the link. If it is a managed switch, have them lock both ends at that same speed and duplex. If it is an unmanaged switch, have them set the Macs to auto, or try both full and half and see if one works better than the other. Also, it could be cabling. Anyway, without any more information it is hard to say for sure, but I would suggest checking the network layer first. I have seen similar behavior in environments like you describe, and it never had anything to do with the applications. HTH, Kevin From sunshine at public.kherson.ua Wed Sep 22 18:48:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 22 10:48:59 2004 Subject: Vserver really slow In-Reply-To: <20040922151153.64207.qmail@web52406.mail.yahoo.com> Message-ID: On 9/22/04 6:11 PM, "Chris Sheffield" wrote: Hi Chris, Check this point -- usual mistake with Vserver. *** WHEN you ship to clients, then you must set VerboseLevel of log file to ZERO or low value and what is the most important, LogToConsole must be FALSE. > Has anyone ever had a problem with VServer responding > very slowly? I've got two cases now where customers > are saying that this is happening. We're using VXCMD > client with Revolution. > > In one case, a user has a mixed network environment > (Mac and PC workstations) running off a Windows 2000 > server. They say they're PC's are performing great, > but the Mac workstations are extremely slow when > logging into my program. When they enter their > password to login, it sometimes takes as much as 10 or > 15 seconds before the password is verified and they're > able to continue. In another case, it's a strictly PC > network (Win XP workstatsion and Win 2003 server), but > they're having similar problems. Strange. Can you self work on side of that clients? I wonder, if run Vserver from terminal and watch for live output on console, then what operation it do slowly ? May be you will find that Vserver try do some operation 3 times ? May be they have some bad hardware? Or not correctly configured? Do you have other MAC users which say that VServer is fast for them? > I've had them both try restarting their servers, but > that hasn't made a difference. Is there something > else that can be checked to see if VServer is running > optimally? Why would PCs work fine, but Macs (OS 9 > and X) on the same network be really slow? Doesn't > make sense to me. If any one has any ideas, I'd be > grateful. Actually MacOS 9 is expected to be slower than others. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Wed Sep 22 17:57:49 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Sep 22 10:57:29 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac In-Reply-To: <5FAB817E-0C9F-11D9-9985-00039368E70A@datalinesolutions.net> References: <5FAB817E-0C9F-11D9-9985-00039368E70A@datalinesolutions.net> Message-ID: <276CEDF1-0CB0-11D9-AAF6-00039368E70A@datalinesolutions.net> Ok, What do I do wrong??? ---------------------------- 'amount of files to import j=ubound(importFiles) 'importfiles(-1) as string 'converting each file seperatly for i=0 to j 'clean the table 'SQLTables(-1) as string / PPDB as VDatabase testSQL=app.PPDB.SQlExecute("DELETE FROM "+SQLTables(i)) 'copy the file changing the EndOfLines myFolderItem=targetFolder.child(importFiles(i)) my2ndFolderItem=targetFolder.child(importFiles(i)+".bak") if my2ndFolderItem<>nil then my2ndFolderItem.Delete end if myTextInput = myFolderItem.OpenAsTextFile myTextInput.Encoding=Encodings.WindowsLatin1 myTextOutput=my2ndFolderItem.CreateTextFile myTextOutput.write replaceAll(myTextInput.ReadAll,EndOfLine.Windows,EndOfLine.Macintosh) myTextOutput.Close myTextInput.Close 'Get the first line of the file to know the tablenames myTextInput=my2ndFolderItem.OpenAsTextFile myTextInput.Encoding=Encodings.MacRomanLatin1 firstFromFile=myTextInput.readline firstFromFile=replaceall(firstFromFile,chr(9),chr(44)) 'Setting the cursor myCursor=nil myCursor=app.PPDB.SQlSelect("SELECT "+firstFromFile+" FROM "+SQLTables(i),kv_Server,kv_readWrite,kv_Random) 'Informing the user of the program stImportText.Text="Converting :"+SQLTables(i) me.refresh 'import the changed file myCursor.importText(my2ndFolderItem) 'Delete the first line because the tablenames are putted in there testSQL=app.PPDB.SQLExecute("DELETE FROM "+SQLTables(i)+" WHERE RecId='1'") app.PPDB.Flush next ' CVS file 'indexing the files stImportText.Text="Database Indexeren" me.refresh testSQL=app.PPDB.SQLExecute("REINDEX DATABASE") ---------------------------- Greetings, Aldwin Started with RB on the 7th of June 2004 From sunshine at public.kherson.ua Wed Sep 22 19:18:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 22 11:18:21 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac In-Reply-To: <276CEDF1-0CB0-11D9-AAF6-00039368E70A@datalinesolutions.net> Message-ID: On 9/22/04 6:57 PM, "Aldwin Pollefeyt" wrote: > Ok, > > What do I do wrong??? Problem the same ? No data ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 22 19:26:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 22 11:27:23 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac In-Reply-To: <276CEDF1-0CB0-11D9-AAF6-00039368E70A@datalinesolutions.net> Message-ID: On 9/22/04 6:57 PM, "Aldwin Pollefeyt" wrote: > 'amount of files to import > j=ubound(importFiles) 'importfiles(-1) as string > > 'converting each file seperatly > for i=0 to j > > 'clean the table 'SQLTables(-1) as string / PPDB as VDatabase > testSQL=app.PPDB.SQlExecute("DELETE FROM "+SQLTables(i)) > > 'copy the file changing the EndOfLines > myFolderItem=targetFolder.child(importFiles(i)) > my2ndFolderItem=targetFolder.child(importFiles(i)+".bak") > if my2ndFolderItem<>nil then > my2ndFolderItem.Delete > end if > myTextInput = myFolderItem.OpenAsTextFile > myTextInput.Encoding=Encodings.WindowsLatin1 > myTextOutput=my2ndFolderItem.CreateTextFile > myTextOutput.write > replaceAll(myTextInput.ReadAll,EndOfLine.Windows,EndOfLine.Macintosh) > myTextOutput.Close > myTextInput.Close > > 'Get the first line of the file to know the tablenames > myTextInput=my2ndFolderItem.OpenAsTextFile > myTextInput.Encoding=Encodings.MacRomanLatin1 > firstFromFile=myTextInput.readline > firstFromFile=replaceall(firstFromFile,chr(9),chr(44)) Do you give to Valentina the file with first line -- names? Valentina then will add it as first record. You need remove this line for Valentina. > 'Setting the cursor > myCursor=nil > myCursor=app.PPDB.SQlSelect("SELECT "+firstFromFile+" FROM > "+SQLTables(i),kv_Server,kv_readWrite,kv_Random) Correct. Have you check error here? Cursor is okay? > 'import the changed file > myCursor.importText(my2ndFolderItem) Try to import you CONVERTED file sing Valentina Studio for Window Link on home page. If it can do this, then file is ok. Otherwise problem is in file. > 'Delete the first line because the tablenames are putted in there > testSQL=app.PPDB.SQLExecute("DELETE FROM "+SQLTables(i)+" WHERE > RecId='1'") > app.PPDB.Flush Aha, here you remove it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Sep 22 12:59:31 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Sep 22 11:59:26 2004 Subject: Basic SQL question In-Reply-To: <20040922161835.B5FFC21E538@edison.macserve.net> References: <20040922161835.B5FFC21E538@edison.macserve.net> Message-ID: On Sep 22, 2004, at 12:18 PM, valentina-request@lists.macserve.net wrote: > >> Hello, >> >> I'm relatively new at SQL and I am hoping someone can help me with >> what looks like a simple problem. >> >> I have a database where some records contain strings in capital >> letters, and for some reason when I want the query result to appear in >> ascending order, the results in capital letters are out of order. >> >> For example if I have a db with three names: >> >> Paul, PHILIP and Ziggy >> >> the result to the query: >> >> SELECT * FROM table ORDER by name >> >> is >> >> PHILIP >> Paul >> Ziggy >> >> instead of >> >> Paul >> PHILIP >> Ziggy >> >> (ascending order) >> >> How can I obtain a query result in truly ascending order when there >> are caps? >> >> Thanks >> >> Greg >> >> PS: the name field is VARCHAR > > Because your VarChar are defined as language 'ASCII' (where H < a) > relation = new vVarChar ("relation", 128, "ASCII") > or > relation = new vVarChar ("relation", 128) > > Change the language in the definition of your VarChar > Relation = new vVarChar ("relation", 128, "English") > And it should give the result for which you wait... > > Except when 'Valentina' makes you a "farce" ! > In my case, if I use the last version of the plug-in with RealBasic, > the created database records the VarChar in the language ASCII... > What would return you to your point of departure ! > > Cordially > > -- > Thierry Nauze This worked beautifully! Merci beaucoup... Greg From cbpelto at pcisys.net Wed Sep 22 15:11:40 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Sep 22 16:11:56 2004 Subject: The Second Tutorial.... Message-ID: ...I chose to work on seems to have a problem or two also. Using the Collector from John, which appears to be over two years old, I'm getting an error that says VInit does not exist as a method or property. According to the documentation that came with THIS tutorial, VInit is supposed to initialize Valentina for an RB application. [Note: Yes. ValentinaUtilities is in the project.] Looking at the Valentina reference documents, I find no mention of VInit. Looks like old code. Or am I mistaken? Finally, is there ANY tutorial at ALL for Valentina working with RB that actually works? With RB 5? Thanks, Chuck From sunshine at public.kherson.ua Thu Sep 23 07:13:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 22 23:13:56 2004 Subject: The Second Tutorial.... In-Reply-To: Message-ID: On 9/23/04 12:11 AM, "Chuck Pelto" wrote: > ...I chose to work on seems to have a problem or two also. > > Using the Collector from John, which appears to be over two years old, > I'm getting an error that says VInit does not exist as a method or > property. According to the documentation that came with THIS tutorial, > VInit is supposed to initialize Valentina for an RB application. [Note: > Yes. ValentinaUtilities is in the project.] > > Looking at the Valentina reference documents, I find no mention of > VInit. Looks like old code. Or am I mistaken? I think they mean ValentinaInit() We did not have Vinit never. > Finally, is there ANY tutorial at ALL for Valentina working with RB > that actually works? With RB 5? Chuck, I believe that all V4RB developers simply study examples that are in V4RB archive. They are up to date, and they show many functionality. What can be better?! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Thu Sep 23 11:45:59 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 23 04:45:34 2004 Subject: Valentina : VCursor.importText problem on Win/ works on mac [SOLUTION] In-Reply-To: <276CEDF1-0CB0-11D9-AAF6-00039368E70A@datalinesolutions.net> References: <5FAB817E-0C9F-11D9-9985-00039368E70A@datalinesolutions.net> <276CEDF1-0CB0-11D9-AAF6-00039368E70A@datalinesolutions.net> Message-ID: <5F81C84A-0D45-11D9-AAF6-00039368E70A@datalinesolutions.net> Ruslan, Thanks for the help, but it was in an other place. After checking every byte,eol, every character, I discovered accidentally the problem. Solution : close the textinput in windows, this isn't necessary on Mac This now works on Windows and mac. (our cvs-files always have Windows-EndOfLines) > 'amount of files to import > j=ubound(importFiles) 'importfiles(-1) as string > > 'converting each file seperatly > for i=0 to j > > 'clean the table 'SQLTables(-1) as string / PPDB as VDatabase > testSQL=app.PPDB.SQlExecute("DELETE FROM "+SQLTables(i)) > > 'copy the file changing the EndOfLines > myFolderItem=targetFolder.child(importFiles(i)) > myTextInput = myFolderItem.OpenAsTextFile > myTextInput.Encoding=Encodings.WindowsLatin1 > firstFromFile=myTextInput.readline > firstFromFile=replaceall(firstFromFile,chr(9),chr(44)) ''''''''''''''''''THIS LINE IS NECESSARY ON WINDOWS myTextInput.Close > 'Setting the cursor > myCursor=nil > myCursor=app.PPDB.SQlSelect("SELECT "+firstFromFile+" FROM > "+SQLTables(i),kv_Server,kv_readWrite,kv_Random) > > 'Informing the user of the program > stImportText.Text="Converting :"+SQLTables(i) > me.refresh > > 'import the changed file > myCursor.importText(myFolderItem) > > 'Delete the first line because the tablenames are putted in there > testSQL=app.PPDB.SQLExecute("DELETE FROM "+SQLTables(i)+" WHERE > RecId='1'") > app.PPDB.Flush > > next ' CVS file > > 'indexing the files > stImportText.Text="Database Indexeren" > me.refresh > testSQL=app.PPDB.SQLExecute("REINDEX DATABASE") From realbasic at datalinesolutions.net Thu Sep 23 14:26:33 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 23 07:26:11 2004 Subject: RB VCursor.importText Message-ID: Is this known? Vcursor.importtext of a 50MB CVS-file 800Mhz PowerPC G4 512MB SDRAM : 3 minutes Compaq PIII 800Mhz 128MB : I quited the program after 2 hours (it was still working) Greetings, aldwin From sunshine at public.kherson.ua Thu Sep 23 15:32:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 07:33:24 2004 Subject: RB VCursor.importText In-Reply-To: Message-ID: On 9/23/04 3:26 PM, "Aldwin Pollefeyt" wrote: > Is this known? > > Vcursor.importtext of a 50MB CVS-file > > 800Mhz PowerPC G4 512MB SDRAM : 3 minutes > Compaq PIII 800Mhz 128MB : I quited the program after 2 hours (it was > still working) May be in the second case you have small cache ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Thu Sep 23 15:18:07 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Thu Sep 23 08:17:42 2004 Subject: RB VCursor.importText In-Reply-To: References: Message-ID: <0211C032-0D63-11D9-AAF6-00039368E70A@datalinesolutions.net> On Sep 23, 2004, at 14:32, Ruslan Zasukhin wrote: > On 9/23/04 3:26 PM, "Aldwin Pollefeyt" > > wrote: > >> Is this known? >> >> Vcursor.importtext of a 50MB CVS-file >> >> 800Mhz PowerPC G4 512MB SDRAM : 3 minutes >> Compaq PIII 800Mhz 128MB : I quited the program after 2 hours (it was >> still working) > > May be in the second case you have small cache ? > It is the same RB program, same cache: 63Mb Is this too much for win??? 63MB for the mac => Speeds it up a lot on the mac 8min -> 3min Greetings, Aldwin Started with RB on the 7th of June 2004 From sunshine at public.kherson.ua Thu Sep 23 16:58:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 09:04:41 2004 Subject: RB VCursor.importText In-Reply-To: <0211C032-0D63-11D9-AAF6-00039368E70A@datalinesolutions.net> Message-ID: On 9/23/04 4:18 PM, "Aldwin Pollefeyt" wrote: >>> 800Mhz PowerPC G4 512MB SDRAM : 3 minutes >>> Compaq PIII 800Mhz 128MB : I quited the program after 2 hours (it was >>> still working) >> >> May be in the second case you have small cache ? >> > It is the same RB program, same cache: > 63Mb Is this too much for win??? 63MB for the mac => Speeds it up a > lot on the mac 8min -> 3min Yes, 60MB enough! Then strange. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Sep 23 09:04:38 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Sep 23 11:54:24 2004 Subject: error 613 In-Reply-To: <20040917165545.18057.qmail@web52409.mail.yahoo.com> Message-ID: <20040923160438.36072.qmail@web52402.mail.yahoo.com> Does anyone else have any additional information about this error? I did get a response from Robert (thanks, Robert), but the customer is still getting the error and I can't think of what to do? Does this always indicate that there is something wrong with the SQL query? Or is there something else that might cause it? The customer is running on Mac OS 9. We're using VXCMD with Revolution. All our tests under OS 9 were successful during development, but this customer is having this problem and we're trying to figure out why. I don't know how my query could be messed up because it works on other OS 9 machines. Any ideas? Thanks again, --- Chris Sheffield wrote: > Here's another one. I know this is a "wrong link" > error, but what does that mean? What would cause > this > error, and how can I fix it? > > Thanks, > > > ===== > Chris Sheffield > Read Naturally > www.readnaturally.com > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com From cbpelto at pcisys.net Thu Sep 23 11:05:29 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 23 12:05:37 2004 Subject: The Second Tutorial.... In-Reply-To: References: Message-ID: Hi Ruslan, I understand that it is good to study examples. I study examples quite frequently. Once I'm familiar with an environment. However, for getting into SQL for the first time, and at the price required to get into Valentina, one would hope that a valid tutorial was about. Something to help the first timer avoid having to reverse engineer their way into the SQL environment. [Note: I've worked in databases for the last 12 years. However, I felt a need to move into SQL and based on reports and seeing several tutorials I thought might be useful in overcoming the learning curve, decided to go with this product.] By the way, if I sound a bit 'testie', it's because I (1) found the problem with VInit; something I'd missed in the documentation and (2) when running, it crashes. Doesn't even get to open the window. I'm working with a G4 running 10.3.5, RB 5.5.3 and Valentina plug-in build from Friday, September 17, 2004 3:43 PM. I highly recommend bringing the official tutorials up to speed. Regards, Chuck Pelto On Sep 22, 2004, at 10:13 PM, Ruslan Zasukhin wrote: > On 9/23/04 12:11 AM, "Chuck Pelto" wrote: > >> ...I chose to work on seems to have a problem or two also. >> >> Using the Collector from John, which appears to be over two years old, >> I'm getting an error that says VInit does not exist as a method or >> property. According to the documentation that came with THIS tutorial, >> VInit is supposed to initialize Valentina for an RB application. >> [Note: >> Yes. ValentinaUtilities is in the project.] >> >> Looking at the Valentina reference documents, I find no mention of >> VInit. Looks like old code. Or am I mistaken? > > I think they mean > > ValentinaInit() > > > We did not have Vinit never. > > >> Finally, is there ANY tutorial at ALL for Valentina working with RB >> that actually works? With RB 5? > > Chuck, > > I believe that all V4RB developers simply study examples that are in > V4RB > archive. They are up to date, and they show many functionality. What > can be > better?! > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Sep 23 20:32:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 12:33:03 2004 Subject: The Second Tutorial.... In-Reply-To: Message-ID: On 9/23/04 8:05 PM, "Chuck Pelto" wrote: > Hi Ruslan, > > I understand that it is good to study examples. I study examples quite > frequently. Once I'm familiar with an environment. > > However, for getting into SQL for the first time, and at the price > required to get into Valentina, one would hope that a valid tutorial > was about. Something to help the first timer avoid having to reverse > engineer their way into the SQL environment. [Note: I've worked in > databases for the last 12 years. However, I felt a need to move into > SQL and based on reports and seeing several tutorials I thought might > be useful in overcoming the learning curve, decided to go with this > product.] > > By the way, if I sound a bit 'testie', it's because I (1) found the > problem with VInit; something I'd missed in the documentation and (2) > when running, it crashes. Doesn't even get to open the window. I'm > working with a G4 running 10.3.5, RB 5.5.3 and Valentina plug-in build > from Friday, September 17, 2004 3:43 PM. > > I highly recommend bringing the official tutorials up to speed. Chuck, Please note that we will not teach to SQL! For this exists a lots of good books and other resources. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Thu Sep 23 11:37:29 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 23 12:37:37 2004 Subject: The Second Tutorial.... In-Reply-To: References: Message-ID: <3DF7C40A-0D87-11D9-A447-00306549C134@pcisys.net> Greetings, Does anyone know a valid e-mail address for John Collet. Tried to communicate with him, via the link at Paradigma, about the line of code where the Collector tutorial was crashing, but got an undeliverable notice back. Regards, Chuck Pelto On Sep 23, 2004, at 11:05 AM, Chuck Pelto wrote: > Hi Ruslan, > > I understand that it is good to study examples. I study examples quite > frequently. Once I'm familiar with an environment. > > However, for getting into SQL for the first time, and at the price > required to get into Valentina, one would hope that a valid tutorial > was about. Something to help the first timer avoid having to reverse > engineer their way into the SQL environment. [Note: I've worked in > databases for the last 12 years. However, I felt a need to move into > SQL and based on reports and seeing several tutorials I thought might > be useful in overcoming the learning curve, decided to go with this > product.] > > By the way, if I sound a bit 'testie', it's because I (1) found the > problem with VInit; something I'd missed in the documentation and (2) > when running, it crashes. Doesn't even get to open the window. I'm > working with a G4 running 10.3.5, RB 5.5.3 and Valentina plug-in build > from Friday, September 17, 2004 3:43 PM. > > I highly recommend bringing the official tutorials up to speed. > > Regards, > > Chuck Pelto > > On Sep 22, 2004, at 10:13 PM, Ruslan Zasukhin wrote: > >> On 9/23/04 12:11 AM, "Chuck Pelto" wrote: >> >>> ...I chose to work on seems to have a problem or two also. >>> >>> Using the Collector from John, which appears to be over two years >>> old, >>> I'm getting an error that says VInit does not exist as a method or >>> property. According to the documentation that came with THIS >>> tutorial, >>> VInit is supposed to initialize Valentina for an RB application. >>> [Note: >>> Yes. ValentinaUtilities is in the project.] >>> >>> Looking at the Valentina reference documents, I find no mention of >>> VInit. Looks like old code. Or am I mistaken? >> >> I think they mean >> >> ValentinaInit() >> >> >> We did not have Vinit never. >> >> >>> Finally, is there ANY tutorial at ALL for Valentina working with RB >>> that actually works? With RB 5? >> >> Chuck, >> >> I believe that all V4RB developers simply study examples that are in >> V4RB >> archive. They are up to date, and they show many functionality. What >> can be >> better?! >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: ruslan@paradigmasoft.com >> web: http://www.paradigmasoft.com >> >> To subscribe to the Valentina mail list go to: >> http://lists.macserve.net/mailman/listinfo/valentina >> ------------------------------------------------------------- >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > From cbpelto at pcisys.net Thu Sep 23 11:39:52 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 23 12:39:58 2004 Subject: The Second Tutorial.... In-Reply-To: References: Message-ID: <9302A57C-0D87-11D9-A447-00306549C134@pcisys.net> Hi Ruslan, Got books. Reading them diligently, too. Would still like to see a fully functional tutorial for the product. Looking at tutorial number 3 now. Who knows....maybe repetition does develop skill. Regards, Chuck Pelto On Sep 23, 2004, at 11:32 AM, Ruslan Zasukhin wrote: > On 9/23/04 8:05 PM, "Chuck Pelto" wrote: > >> Hi Ruslan, >> >> I understand that it is good to study examples. I study examples quite >> frequently. Once I'm familiar with an environment. >> >> However, for getting into SQL for the first time, and at the price >> required to get into Valentina, one would hope that a valid tutorial >> was about. Something to help the first timer avoid having to reverse >> engineer their way into the SQL environment. [Note: I've worked in >> databases for the last 12 years. However, I felt a need to move into >> SQL and based on reports and seeing several tutorials I thought might >> be useful in overcoming the learning curve, decided to go with this >> product.] >> >> By the way, if I sound a bit 'testie', it's because I (1) found the >> problem with VInit; something I'd missed in the documentation and (2) >> when running, it crashes. Doesn't even get to open the window. I'm >> working with a G4 running 10.3.5, RB 5.5.3 and Valentina plug-in build >> from Friday, September 17, 2004 3:43 PM. >> >> I highly recommend bringing the official tutorials up to speed. > > Chuck, Please note that we will not teach to SQL! > > For this exists a lots of good books and other resources. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Sep 23 20:43:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 12:43:58 2004 Subject: The Second Tutorial.... In-Reply-To: <9302A57C-0D87-11D9-A447-00306549C134@pcisys.net> Message-ID: On 9/23/04 8:39 PM, "Chuck Pelto" wrote: > Hi Ruslan, > > Got books. Reading them diligently, too. > > Would still like to see a fully functional tutorial for the product. Will be ready in few hours > Looking at tutorial number 3 now. Who knows....maybe repetition does > develop skill. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 23 20:42:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 12:44:16 2004 Subject: error 613 In-Reply-To: <20040923160438.36072.qmail@web52402.mail.yahoo.com> Message-ID: On 9/23/04 7:04 PM, "Chris Sheffield" wrote: Hi Chris, > Does anyone else have any additional information about > this error? I did get a response from Robert (thanks, > Robert), but the customer is still getting the error > and I can't think of what to do? Does this always > indicate that there is something wrong with the SQL > query? YES! > Or is there something else that might cause it? No. Actually or ALL or nobody must get this error. This is error in your SQL query. You need explicitly specify link conditions. > The customer is running on Mac OS 9. We're using > VXCMD with Revolution. All our tests under OS 9 were > successful during development, but this customer is > having this problem and we're trying to figure out > why. I don't know how my query could be messed up > because it works on other OS 9 machines. Any ideas? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Sep 23 10:56:35 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Sep 23 13:55:26 2004 Subject: error 613 In-Reply-To: Message-ID: <20040923175635.84878.qmail@web52402.mail.yahoo.com> > Actually or ALL or nobody must get this error. > Well, that's not the case here. The same exact code works fine on other OS 9 machines. So something is different on this one customer's machine. > This is error in your SQL query. > > You need explicitly specify link conditions. > Maybe you can explain to me what you mean by "link" and "link conditions". I don't understand what that means, and maybe that's my problem. If I knew, I could probably debug this a little easier. Can you explain? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sunshine at public.kherson.ua Thu Sep 23 22:18:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 14:22:01 2004 Subject: error 613 In-Reply-To: <20040923175635.84878.qmail@web52402.mail.yahoo.com> Message-ID: On 9/23/04 8:56 PM, "Chris Sheffield" wrote: >> Actually or ALL or nobody must get this error. >> > > Well, that's not the case here. The same exact code > works fine on other OS 9 machines. So something is > different on this one customer's machine. May be you have branch of code which is executed only on this computer ? I know sounds strange, but... Do you know at least WHICH SQL query cause problem? Is it reproducible? If yes then send to that user viSQL.exe and let he open his and And execute that query. What results? >> This is error in your SQL query. >> >> You need explicitly specify link conditions. >> > > Maybe you can explain to me what you mean by "link" > and "link conditions". I don't understand what that > means, and maybe that's my problem. If I knew, I > could probably debug this a little easier. Can you > explain? When you create JOIN between 2 tables you specify link condition WHERE T1.RecID = T2.Ptr // this is link condition and T1.f1 = 5 // this is search condition and T2.b4 > 16 // this is search condition -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 24 00:49:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 16:49:31 2004 Subject: UPLOADED: The Second Tutorial.... In-Reply-To: Message-ID: Hi Chuck, I have correct pages about first examples. Let me know if you will find some more errors. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Thu Sep 23 17:14:16 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Thu Sep 23 17:14:37 2004 Subject: Where are the Method docs? Message-ID: I can't find where the docs are for what language and operators are supported in methods. Where is it? Is it limited to what SQL supports? Thanks, Kevin From kevo at gatorgraphics.com Thu Sep 23 17:31:03 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Thu Sep 23 17:31:29 2004 Subject: How do I use the setMethod function in V4RB Message-ID: <40672F3A-0DB0-11D9-9C08-000393B29272@gatorgraphics.com> Here is what I've tried. There is no error returned in the error number for the BO. vF is a VField, bo is the baseObject. The type is Long, and the method text is "6/3" vf = bo.CreateField(fFieldName.text,pFieldType.RowTag(pFieldType.ListIndex)) if cbIsMethod.value then vf.SetMethod(fMethodText.Text) i = bo.DataBase.ErrNumber I'm clueless as to why it's not working, and why there is no error returned if the method is invalid. TIA, Kevin From sunshine at public.kherson.ua Fri Sep 24 07:15:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 23:15:16 2004 Subject: Where are the Method docs? In-Reply-To: Message-ID: On 9/24/04 1:14 AM, "Kevin Windham" wrote: Hi Kevin, > I can't find where the docs are for what language and operators are > supported in methods. Where is it? Is it limited to what SQL supports? As feature it is described in the ValentinaKernel.pdf Functions itself are described in the ValentinaSql.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 24 07:21:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 23 23:21:23 2004 Subject: How do I use the setMethod function in V4RB In-Reply-To: <40672F3A-0DB0-11D9-9C08-000393B29272@gatorgraphics.com> Message-ID: On 9/24/04 1:31 AM, "Kevin Windham" wrote: Hi Kevin, > Here is what I've tried. There is no error returned in the error number > for the BO. vF is a VField, bo is the baseObject. The type is Long, and > the method text is "6/3" > > vf = > bo.CreateField(fFieldName.text,pFieldType.RowTag(pFieldType.ListIndex)) > if cbIsMethod.value then vf.SetMethod(fMethodText.Text) > i = bo.DataBase.ErrNumber > > I'm clueless as to why it's not working, and why there is no error > returned if the method is invalid. Please look on page 26 of V4RBReference.pdf When you create field you need send text of method as ONE MORE parameter. Must be CreateField( fFieldName.text,pFieldType.RowTag(pFieldType.ListIndex), 0, 0, fMethodText.Text ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Fri Sep 24 00:41:40 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Fri Sep 24 00:42:05 2004 Subject: How do I use the setMethod function in V4RB In-Reply-To: References: Message-ID: <68DEB164-0DEC-11D9-8518-000393B29272@gatorgraphics.com> On Sep 23, 2004, at 11:21 PM, Ruslan Zasukhin wrote: > Please look on page 26 of V4RBReference.pdf > > When you create field you need send text of method as ONE MORE > parameter. > > Must be > > CreateField( > fFieldName.text,pFieldType.RowTag(pFieldType.ListIndex), > 0, 0, fMethodText.Text ) > On page 35 of V4RB reference it says: mFullName = new VVarChar( ?FullName?, 504 ) mFullName.SetMethod( ?CONCAT(FirstName, ? ?, LastName)? ) Oh, I think I get it now. I am confusing the class style methods with the new stuff. I am using server and creating tables on the fly. So what are the restrictions on modifying a field after it's created. Can I change the method, or do I have to delete the field and create a new one? I am finding myself searching through the docs over and over to find what I can do after I have a database to modify it. What I want to do is build a system for dynamically generating tables to store class objects. I also want these objects to be able to automatically add new data fields if they are changed and there isn't a field available to store a particular property. It is getting tedious trying to sort all this out. I've noticed that there is a function changeType, but very little is said about what can actually be changed. For instance it does not mention whether a number field can be changed to a string. Should I assume that if it is not mentioned specifically that it can't be done and I would need to code that myself? Thanks, Kevin From rjb at rz.uni-potsdam.de Fri Sep 24 15:54:10 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 24 08:59:11 2004 Subject: varchar corruption Message-ID: I seem to have a peculiar problem with a varchar field in one specific baseobject getting regularly corrupted. I have varchars in most of my baseobjects (51 of them) but only this one seems to be corrupted and seemingly the same way. After I detect corruption I do xml dump and load each time. I suspect that it is something I do or the field content but have no clue what to look for. Diagnose reports from two separate incidents a month apart follow. Any ideas anyone? Robert From today's diagnose: ************************************************************************ * BaseObject: "data_scheinerwerb" ************************************************************************ Problems found. -----> Field: "scheinerwerb_kurs_ref' of type Short All right. -----> Field: "scheinerwerb_list_ref' of type Short All right. -----> Field: "scheinerwerb_text2' of type VarChar Problems found! ...........Page 1 (!) Offset of record 7 is wrong. It is = 29230 but can be maximum = 690 (!) Offset of record 8 is wrong. It is = 29557 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 8 (!) Offset of record 9 is wrong. It is = 24949 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 9 (!) Offset of record 10 is wrong. It is = 19308 but can be maximum = 690 (!) Offset of record 11 is wrong. It is = 29216 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 11 (!) Offset of record 12 is wrong. It is = 25189 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 12 (!) Offset of record 13 is wrong. It is = 8351 but can be maximum = 690 (!) Offset of record 14 is wrong. It is = 29282 but can be maximum = 690 (!) Offset of record 15 is wrong. It is = 30565 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 15 (!) Offset of record 16 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 17 is wrong. It is = 26990 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 17 (!) Offset of record 18 is wrong. It is = 26725 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 18 (!) Offset of record 19 is wrong. It is = 21347 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 19 (!) Offset of record 20 is wrong. It is = 12082 but can be maximum = 690 (!) Offset of record 21 is wrong. It is = 18761 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 21 (!) Offset of record 22 is wrong. It is = 8265 but can be maximum = 690 (!) Offset of record 23 is wrong. It is = 21076 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 23 (!) Offset of record 24 is wrong. It is = 17221 but can be maximum = 690 (!) Offset of record 25 is wrong. It is = 20041 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 25 (!) Offset of record 26 is wrong. It is = 8277 but can be maximum = 690 (!) Offset of record 27 is wrong. It is = 30510 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 27 (!) Offset of record 28 is wrong. It is = 25210 but can be maximum = 690 (!) Offset of record 29 is wrong. It is = 28192 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 29 (!) Offset of record 30 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 30 (!) Offset of record 31 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 32 is wrong. It is = 28243 but can be maximum = 690 (!) Offset of record 33 is wrong. It is = 29541 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 33 (!) Offset of record 34 is wrong. It is = 26995 but can be maximum = 690 (!) Offset of record 35 is wrong. It is = 29559 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 35 (!) Offset of record 36 is wrong. It is = 28263 but can be maximum = 690 (!) Offset of record 37 is wrong. It is = 29301 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 37 (!) Offset of record 38 is wrong. It is = 26981 but can be maximum = 690 (!) Offset of record 39 is wrong. It is = 28276 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 39 (!) Offset of record 40 is wrong. It is = 26981 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 40 (!) Offset of record 41 is wrong. It is = 20338 but can be maximum = 690 (!) Offset of record 42 is wrong. It is = 29472 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 42 (!) Offset of record 43 is wrong. It is = 26725 but can be maximum = 690 (!) Offset of record 44 is wrong. It is = 29539 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 44 (!) Offset of record 45 is wrong. It is = 26473 but can be maximum = 690 (!) Offset of record 46 is wrong. It is = 26479 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 46 (!) Offset of record 47 is wrong. It is = 25697 but can be maximum = 690 (!) Offset of record 48 is wrong. It is = 28810 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 48 (!) Offset of record 49 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 50 is wrong. It is = 28260 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 50 (!) Offset of record 51 is wrong. It is = 21359 but can be maximum = 690 (!) Offset of record 52 is wrong. It is = 30066 but can be maximum = 690 (!) Offset of record 53 is wrong. It is = 30067 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 53 (!) Offset of record 54 is wrong. It is = 27745 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 54 (!) Offset of record 55 is wrong. It is = 8267 but can be maximum = 690 (!) Offset of record 56 is wrong. It is = 25701 but can be maximum = 690 (!) Offset of record 57 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 58 is wrong. It is = 26023 but can be maximum = 690 (!) Offset of record 59 is wrong. It is = 27753 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 59 (!) Offset of record 60 is wrong. It is = 25448 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 60 (!) Offset of record 61 is wrong. It is = 25203 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 61 (!) Offset of record 62 is wrong. It is = 8289 but can be maximum = 690 (!) Offset of record 63 is wrong. It is = 28260 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 63 (!) Offset of record 64 is wrong. It is = 8309 but can be maximum = 690 (!) Offset of record 65 is wrong. It is = 24948 but can be maximum = 690 (!) Offset of record 66 is wrong. It is = 25970 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 66 (!) Offset of record 67 is wrong. It is = 25958 but can be maximum = 690 (!) Offset of record 68 is wrong. It is = 28242 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 68 (!) Offset of record 69 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 69 (!) Offset of record 70 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 71 is wrong. It is = 25971 but can be maximum = 690 (!) Offset of record 72 is wrong. It is = 26733 but can be maximum = 690 (!) Offset of record 73 is wrong. It is = 28257 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 73 (!) Offset of record 74 is wrong. It is = 26988 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 74 (!) Offset of record 75 is wrong. It is = 21605 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 75 (!) Offset of record 76 is wrong. It is = 8265 but can be maximum = 690 (!) Offset of record 77 is wrong. It is = 26987 but can be maximum = 690 (!) Offset of record 78 is wrong. It is = 29556 but can be maximum = 690 (!) Offset of record 79 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 79 (!) Offset of record 80 is wrong. It is = 29793 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 80 (!) Offset of record 81 is wrong. It is = 8275 but can be maximum = 690 (!) Offset of record 82 is wrong. It is = 12115 but can be maximum = 690 (!) Offset of record 83 is wrong. It is = 22092 but can be maximum = 690 (!) Offset of record 84 is wrong. It is = 28192 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 84 (!) Offset of record 85 is wrong. It is = 8297 but can be maximum = 690 (!) Offset of record 86 is wrong. It is = 29282 but can be maximum = 690 (!) Offset of record 87 is wrong. It is = 30565 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 87 (!) Offset of record 88 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 89 is wrong. It is = 26990 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 89 (!) Offset of record 90 is wrong. It is = 26725 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 90 (!) Offset of record 91 is wrong. It is = 21347 but can be maximum = 690 (!) Offset of record 92 is wrong. It is = 28005 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 92 (!) Offset of record 93 is wrong. It is = 24936 but can be maximum = 690 (!) Offset of record 94 is wrong. It is = 27758 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 94 (!) Offset of record 95 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 95 (!) Offset of record 96 is wrong. It is = 8276 but can be maximum = 690 (!) Offset of record 97 is wrong. It is = 30309 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 97 (!) Offset of record 98 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 98 (!) Offset of record 99 is wrong. It is = 24939 but can be maximum = 690 (!) Offset of record 100 is wrong. It is = 26656 but can be maximum = 690 (!) Offset of record 101 is wrong. It is = 29283 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 101 (!) Offset of record 102 is wrong. It is = 25717 but can be maximum = 690 (!) Offset of record 103 is wrong. It is = 30066 but can be maximum = 690 (!) Offset of record 104 is wrong. It is = 30067 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 104 (!) Offset of record 105 is wrong. It is = 27745 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 105 (!) Offset of record 106 is wrong. It is = 8267 but can be maximum = 690 (!) Offset of record 107 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 108 is wrong. It is = 30066 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 108 (!) Offset of record 109 is wrong. It is = 29284 but can be maximum = 690 (!) Offset of record 110 is wrong. It is = 29557 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 110 (!) Offset of record 111 is wrong. It is = 24949 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 111 (!) Offset of record 112 is wrong. It is = 19308 but can be maximum = 690 (!) Offset of record 113 is wrong. It is = 26656 but can be maximum = 690 (!) Offset of record 114 is wrong. It is = 29283 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 114 (!) Offset of record 115 is wrong. It is = 25717 but can be maximum = 690 (!) Offset of record 116 is wrong. It is = 26228 but can be maximum = 690 (!) Offset of record 117 is wrong. It is = 26721 but can be maximum = 690 (!) Offset of record 118 is wrong. It is = 29539 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 118 (!) Offset of record 119 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 120 is wrong. It is = 29555 but can be maximum = 690 (!) Offset of record 121 is wrong. It is = 30569 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 121 (!) Offset of record 122 is wrong. It is = 28275 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 122 (!) Offset of record 123 is wrong. It is = 26991 but can be maximum = 690 (!) Offset of record 124 is wrong. It is = 26996 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 124 (!) Offset of record 125 is wrong. It is = 26478 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 125 (!) Offset of record 126 is wrong. It is = 19311 but can be maximum = 690 (!) Offset of record 127 is wrong. It is = 26656 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 127 (!) Offset of record 128 is wrong. It is = 24931 but can be maximum = 690 (!) Offset of record 129 is wrong. It is = 28262 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 129 (!) Offset of record 130 is wrong. It is = 25189 but can be maximum = 690 (!) Offset of record 131 is wrong. It is = 28261 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 131 (!) Offset of record 132 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 133 is wrong. It is = 29556 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 133 (!) Offset of record 134 is wrong. It is = 26473 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 134 (!) Offset of record 135 is wrong. It is = 19809 but can be maximum = 690 (!) Offset of record 136 is wrong. It is = 27936 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 136 (!) Offset of record 137 is wrong. It is = 8297 but can be maximum = 690 (!) Offset of record 138 is wrong. It is = 30066 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 138 (!) Offset of record 139 is wrong. It is = 28270 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 139 (!) Offset of record 140 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 140 (!) Offset of record 141 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 142 is wrong. It is = 25971 but can be maximum = 690 (!) Offset of record 143 is wrong. It is = 26733 but can be maximum = 690 (!) Offset of record 144 is wrong. It is = 28257 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 144 (!) Offset of record 145 is wrong. It is = 26988 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 145 (!) Offset of record 146 is wrong. It is = 21605 but can be maximum = 690 (!) Offset of record 147 is wrong. It is = 28206 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 147 (!) Offset of record 148 is wrong. It is = 26469 but can be maximum = 690 (!) Offset of record 149 is wrong. It is = 30062 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 149 (!) Offset of record 150 is wrong. It is = 27764 but can be maximum = 690 (!) Offset of record 151 is wrong. It is = 29793 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 151 (!) Offset of record 152 is wrong. It is = 28275 but can be maximum = 690 (!) Offset of record 153 is wrong. It is = 29281 but can be maximum = 690 (!) Offset of record 154 is wrong. It is = 30309 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 154 (!) Offset of record 155 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 156 is wrong. It is = 28516 but can be maximum = 690 (!) Offset of record 157 is wrong. It is = 29800 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 157 (!) Offset of record 158 is wrong. It is = 19813 but can be maximum = 690 (!) Offset of record 159 is wrong. It is = 27439 but can be maximum = 690 (!) Offset of record 160 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 160 (!) Offset of record 161 is wrong. It is = 26995 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 161 (!) Offset of record 162 is wrong. It is = 24948 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 162 (!) Offset of record 163 is wrong. It is = 21364 but can be maximum = 690 (!) Offset of record 164 is wrong. It is = 25888 but can be maximum = 690 (!) Offset of record 165 is wrong. It is = 35442 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 165 From diagnose about a month ago: ************************************************************************ * BaseObject: "data_scheinerwerb" ************************************************************************ Problems found. -----> Field: "scheinerwerb_kurs_ref' of type Short All right. -----> Field: "scheinerwerb_list_ref' of type Short All right. -----> Field: "scheinerwerb_text2' of type VarChar Problems found! ...........Page 1 (!) Offset of record 7 is wrong. It is = 29230 but can be maximum = 690 (!) Offset of record 8 is wrong. It is = 29557 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 8 (!) Offset of record 9 is wrong. It is = 24949 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 9 (!) Offset of record 10 is wrong. It is = 19308 but can be maximum = 690 (!) Offset of record 11 is wrong. It is = 29216 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 11 (!) Offset of record 12 is wrong. It is = 25189 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 12 (!) Offset of record 13 is wrong. It is = 8351 but can be maximum = 690 (!) Offset of record 14 is wrong. It is = 29282 but can be maximum = 690 (!) Offset of record 15 is wrong. It is = 30565 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 15 (!) Offset of record 16 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 17 is wrong. It is = 26990 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 17 (!) Offset of record 18 is wrong. It is = 26725 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 18 (!) Offset of record 19 is wrong. It is = 21347 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 19 (!) Offset of record 20 is wrong. It is = 12082 but can be maximum = 690 (!) Offset of record 21 is wrong. It is = 18761 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 21 (!) Offset of record 22 is wrong. It is = 8265 but can be maximum = 690 (!) Offset of record 23 is wrong. It is = 21076 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 23 (!) Offset of record 24 is wrong. It is = 17221 but can be maximum = 690 (!) Offset of record 25 is wrong. It is = 20041 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 25 (!) Offset of record 26 is wrong. It is = 8277 but can be maximum = 690 (!) Offset of record 27 is wrong. It is = 30510 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 27 (!) Offset of record 28 is wrong. It is = 25210 but can be maximum = 690 (!) Offset of record 29 is wrong. It is = 28192 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 29 (!) Offset of record 30 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 30 (!) Offset of record 31 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 32 is wrong. It is = 28243 but can be maximum = 690 (!) Offset of record 33 is wrong. It is = 29541 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 33 (!) Offset of record 34 is wrong. It is = 26995 but can be maximum = 690 (!) Offset of record 35 is wrong. It is = 29559 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 35 (!) Offset of record 36 is wrong. It is = 28263 but can be maximum = 690 (!) Offset of record 37 is wrong. It is = 29301 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 37 (!) Offset of record 38 is wrong. It is = 26981 but can be maximum = 690 (!) Offset of record 39 is wrong. It is = 28276 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 39 (!) Offset of record 40 is wrong. It is = 26981 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 40 (!) Offset of record 41 is wrong. It is = 20338 but can be maximum = 690 (!) Offset of record 42 is wrong. It is = 29472 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 42 (!) Offset of record 43 is wrong. It is = 26725 but can be maximum = 690 (!) Offset of record 44 is wrong. It is = 29539 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 44 (!) Offset of record 45 is wrong. It is = 26473 but can be maximum = 690 (!) Offset of record 46 is wrong. It is = 26479 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 46 (!) Offset of record 47 is wrong. It is = 25697 but can be maximum = 690 (!) Offset of record 48 is wrong. It is = 28810 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 48 (!) Offset of record 49 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 50 is wrong. It is = 28260 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 50 (!) Offset of record 51 is wrong. It is = 21359 but can be maximum = 690 (!) Offset of record 52 is wrong. It is = 30066 but can be maximum = 690 (!) Offset of record 53 is wrong. It is = 30067 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 53 (!) Offset of record 54 is wrong. It is = 27745 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 54 (!) Offset of record 55 is wrong. It is = 8267 but can be maximum = 690 (!) Offset of record 56 is wrong. It is = 25701 but can be maximum = 690 (!) Offset of record 57 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 58 is wrong. It is = 26023 but can be maximum = 690 (!) Offset of record 59 is wrong. It is = 27753 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 59 (!) Offset of record 60 is wrong. It is = 25448 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 60 (!) Offset of record 61 is wrong. It is = 25203 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 61 (!) Offset of record 62 is wrong. It is = 8289 but can be maximum = 690 (!) Offset of record 63 is wrong. It is = 28260 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 63 (!) Offset of record 64 is wrong. It is = 8309 but can be maximum = 690 (!) Offset of record 65 is wrong. It is = 24948 but can be maximum = 690 (!) Offset of record 66 is wrong. It is = 25970 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 66 (!) Offset of record 67 is wrong. It is = 25958 but can be maximum = 690 (!) Offset of record 68 is wrong. It is = 28242 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 68 (!) Offset of record 69 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 69 (!) Offset of record 70 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 71 is wrong. It is = 25971 but can be maximum = 690 (!) Offset of record 72 is wrong. It is = 26733 but can be maximum = 690 (!) Offset of record 73 is wrong. It is = 28257 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 73 (!) Offset of record 74 is wrong. It is = 26988 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 74 (!) Offset of record 75 is wrong. It is = 21605 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 75 (!) Offset of record 76 is wrong. It is = 8265 but can be maximum = 690 (!) Offset of record 77 is wrong. It is = 26987 but can be maximum = 690 (!) Offset of record 78 is wrong. It is = 29556 but can be maximum = 690 (!) Offset of record 79 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 79 (!) Offset of record 80 is wrong. It is = 29793 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 80 (!) Offset of record 81 is wrong. It is = 8275 but can be maximum = 690 (!) Offset of record 82 is wrong. It is = 12115 but can be maximum = 690 (!) Offset of record 83 is wrong. It is = 22092 but can be maximum = 690 (!) Offset of record 84 is wrong. It is = 28192 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 84 (!) Offset of record 85 is wrong. It is = 8297 but can be maximum = 690 (!) Offset of record 86 is wrong. It is = 29282 but can be maximum = 690 (!) Offset of record 87 is wrong. It is = 30565 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 87 (!) Offset of record 88 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 89 is wrong. It is = 26990 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 89 (!) Offset of record 90 is wrong. It is = 26725 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 90 (!) Offset of record 91 is wrong. It is = 21347 but can be maximum = 690 (!) Offset of record 92 is wrong. It is = 28005 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 92 (!) Offset of record 93 is wrong. It is = 24936 but can be maximum = 690 (!) Offset of record 94 is wrong. It is = 27758 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 94 (!) Offset of record 95 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 95 (!) Offset of record 96 is wrong. It is = 8276 but can be maximum = 690 (!) Offset of record 97 is wrong. It is = 30309 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 97 (!) Offset of record 98 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 98 (!) Offset of record 99 is wrong. It is = 24939 but can be maximum = 690 (!) Offset of record 100 is wrong. It is = 26656 but can be maximum = 690 (!) Offset of record 101 is wrong. It is = 29283 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 101 (!) Offset of record 102 is wrong. It is = 25717 but can be maximum = 690 (!) Offset of record 103 is wrong. It is = 30066 but can be maximum = 690 (!) Offset of record 104 is wrong. It is = 30067 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 104 (!) Offset of record 105 is wrong. It is = 27745 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 105 (!) Offset of record 106 is wrong. It is = 8267 but can be maximum = 690 (!) Offset of record 107 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 108 is wrong. It is = 30066 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 108 (!) Offset of record 109 is wrong. It is = 29284 but can be maximum = 690 (!) Offset of record 110 is wrong. It is = 29557 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 110 (!) Offset of record 111 is wrong. It is = 24949 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 111 (!) Offset of record 112 is wrong. It is = 19308 but can be maximum = 690 (!) Offset of record 113 is wrong. It is = 26656 but can be maximum = 690 (!) Offset of record 114 is wrong. It is = 29283 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 114 (!) Offset of record 115 is wrong. It is = 25717 but can be maximum = 690 (!) Offset of record 116 is wrong. It is = 26228 but can be maximum = 690 (!) Offset of record 117 is wrong. It is = 26721 but can be maximum = 690 (!) Offset of record 118 is wrong. It is = 29539 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 118 (!) Offset of record 119 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 120 is wrong. It is = 29555 but can be maximum = 690 (!) Offset of record 121 is wrong. It is = 30569 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 121 (!) Offset of record 122 is wrong. It is = 28275 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 122 (!) Offset of record 123 is wrong. It is = 26991 but can be maximum = 690 (!) Offset of record 124 is wrong. It is = 26996 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 124 (!) Offset of record 125 is wrong. It is = 26478 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 125 (!) Offset of record 126 is wrong. It is = 19311 but can be maximum = 690 (!) Offset of record 127 is wrong. It is = 26656 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 127 (!) Offset of record 128 is wrong. It is = 24931 but can be maximum = 690 (!) Offset of record 129 is wrong. It is = 28262 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 129 (!) Offset of record 130 is wrong. It is = 25189 but can be maximum = 690 (!) Offset of record 131 is wrong. It is = 28261 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 131 (!) Offset of record 132 is wrong. It is = 25970 but can be maximum = 690 (!) Offset of record 133 is wrong. It is = 29556 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 133 (!) Offset of record 134 is wrong. It is = 26473 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 134 (!) Offset of record 135 is wrong. It is = 19809 but can be maximum = 690 (!) Offset of record 136 is wrong. It is = 27936 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 136 (!) Offset of record 137 is wrong. It is = 8297 but can be maximum = 690 (!) Offset of record 138 is wrong. It is = 30066 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 138 (!) Offset of record 139 is wrong. It is = 28270 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 139 (!) Offset of record 140 is wrong. It is = 25961 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 140 (!) Offset of record 141 is wrong. It is = 25448 but can be maximum = 690 (!) Offset of record 142 is wrong. It is = 25971 but can be maximum = 690 (!) Offset of record 143 is wrong. It is = 26733 but can be maximum = 690 (!) Offset of record 144 is wrong. It is = 28257 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 144 (!) Offset of record 145 is wrong. It is = 26988 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 145 (!) Offset of record 146 is wrong. It is = 21605 but can be maximum = 690 (!) Offset of record 147 is wrong. It is = 28206 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 147 (!) Offset of record 148 is wrong. It is = 26469 but can be maximum = 690 (!) Offset of record 149 is wrong. It is = 30062 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 149 (!) Offset of record 150 is wrong. It is = 27764 but can be maximum = 690 (!) Offset of record 151 is wrong. It is = 29793 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 151 (!) Offset of record 152 is wrong. It is = 28275 but can be maximum = 690 (!) Offset of record 153 is wrong. It is = 29281 but can be maximum = 690 (!) Offset of record 154 is wrong. It is = 30309 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 154 (!) Offset of record 155 is wrong. It is = 25966 but can be maximum = 690 (!) Offset of record 156 is wrong. It is = 28516 but can be maximum = 690 (!) Offset of record 157 is wrong. It is = 29800 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 157 (!) Offset of record 158 is wrong. It is = 19813 but can be maximum = 690 (!) Offset of record 159 is wrong. It is = 27439 but can be maximum = 690 (!) Offset of record 160 is wrong. It is = 29801 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 160 (!) Offset of record 161 is wrong. It is = 26995 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 161 (!) Offset of record 162 is wrong. It is = 24948 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 162 (!) Offset of record 163 is wrong. It is = 21364 but can be maximum = 690 (!) Offset of record 164 is wrong. It is = 25888 but can be maximum = 690 (!) Offset of record 165 is wrong. It is = 35442 but can be maximum = 690 Next offset must be >=, but it is less. For RecID = 165 From cbpelto at pcisys.net Fri Sep 24 09:56:49 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Sep 24 10:57:02 2004 Subject: UPLOADED: The Second Tutorial.... In-Reply-To: References: Message-ID: <580BA3D8-0E42-11D9-A447-00306549C134@pcisys.net> SUPER! I'll get on it this weekend. I honestly think, based on reading the documents of all three, that yours was the best and most diverse. Right now, I'm working the third tutorial and developing a set of personal 'Cliff Notes' on the patterns I'm seeing in the steps each tutorial has presented. I'll give you feedback sometime next week. Regards, Chuck Pelto On Sep 23, 2004, at 3:49 PM, Ruslan Zasukhin wrote: > Hi Chuck, > > I have correct pages about first examples. > > Let me know if you will find some more errors. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From dougb at finitemonkey.com Fri Sep 24 15:26:38 2004 From: dougb at finitemonkey.com (Doug Brown) Date: Fri Sep 24 14:26:46 2004 Subject: V4MD SQL statement trouble Message-ID: <05FCA4BEC72CA242A932675F4FAFEA03359A@spider-monkey.finitemonkey.local> Can anyone spot what is wrong with this SQL statement? I keed getting a VCursor object with a VOID record count, although this same SQL statement works fine in Access. ----------------------- SELECT Users.User_ID, Questions.Question_Track, Questions.Question_Type, Responses.Question_ID, Responses.Response FROM Questions INNER JOIN (Users INNER JOIN Responses ON Users.User_ID=Responses.User_ID) ON Questions.Question_ID=Responses.Question_ID WHERE Users.User_ID=1 ORDER BY Questions.Question_Track, Responses.Question_ID ----------------------- Thanks, Doug Brown dougb@finitemonkey.com From sunshine at public.kherson.ua Fri Sep 24 22:33:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 24 14:33:37 2004 Subject: V4MD SQL statement trouble In-Reply-To: <05FCA4BEC72CA242A932675F4FAFEA03359A@spider-monkey.finitemonkey.local> Message-ID: On 9/24/04 10:26 PM, "Doug Brown" wrote: Hi Doug, > Can anyone spot what is wrong with this SQL statement? I keed getting a > VCursor object with a VOID record count, although this same SQL > statement works fine in Access. > > ----------------------- > SELECT Users.User_ID, Questions.Question_Track, Questions.Question_Type, > Responses.Question_ID, Responses.Response > FROM Questions INNER JOIN (Users INNER JOIN Responses ON > Users.User_ID=Responses.User_ID) ON > Questions.Question_ID=Responses.Question_ID > WHERE Users.User_ID=1 > ORDER BY Questions.Question_Track, Responses.Question_ID > ----------------------- You use SQL92 syantx todo joing. Valentina 1.x expect to see MS SQL syntax SELECT Users.User_ID, Questions.Question_Track, Questions.Question_Type, Responses.Question_ID, Responses.Response FROM Questions ,Users, Responses HERE (Users.User_ID=Responses.User_ID and Questions.Question_ID=Responses.Question_ID) AND Users.User_ID=1 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Sep 24 22:34:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 24 14:34:34 2004 Subject: varchar corruption In-Reply-To: Message-ID: On 9/24/04 4:54 PM, "Robert Brenstein" wrote: Hi Robert, > I seem to have a peculiar problem with a varchar field in one > specific baseobject getting regularly corrupted. I have varchars in > most of my baseobjects (51 of them) but only this one seems to be > corrupted and seemingly the same way. After I detect corruption I do > xml dump and load each time. > > I suspect that it is something I do or the field content but have no > clue what to look for. Diagnose reports from two separate incidents a > month apart follow. Any ideas anyone? I think you will need try 1.11 on this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Sep 25 10:21:54 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 03:13:16 2004 Subject: joins are slow ? Message-ID: valentina 1.90 RB 5.5.3 Hi Ruslan and list, Join them between two tables are sometimes very slow. It is normal? I give you an example with a db of 378 000 records without join, and another db with the same data but consisted of two connected tables. The requests on both connected tables are fast if clauses (where...) are precise. But if it is not the case, the requests are very slow. What is not the case with the same db but without join. It is normal? Or it is a defect of Valentina? Naturally, in a lot of case, we cannot take place of joins and the requests are very often precise. But it can be very boring in certain cases, I think. Especially that my example was a join with two very simple tables, but with one join complexes? DATABASE 1 (one table without join) TABLE - Field "Adress" : varchar, 100, indexed - Field "Zip" : string,5, indexed - Field "City" : varchar,60, indexed 378 500 records. - SELECT adress,zip,city FROM table : last (0.68 secondes) : OK - SELECT adress,zip,city FROM table WHERE zip=20100 very last (358 records) : OK - SELECT adress,zip,city FROM table WHERE zip>10000 last (228 000 records) 1.5 sec : OK - SELECT adress,zip,city FROM table WHERE zip>20000 very last (17 000 records) : OK ----------------------------------------------- DATABASE 2 (two tables with join) TABLE A - Field "Zip" : string,5,indexed - Field "City" : varchar,60,indexed 42 500 records. TABLE B - Field "Adress" : varchar,100,indexed - Field "ZipCityPtr",indexed 378 500 records. - SELECT adress,zip,city FROM tableA, tableB : VERY SLOW (20 sec) - SELECT adress,zip,city FROM tableA, tableB WHERE zip=20100 : last (358 records : 0.5 sec) : ok - SELECT adress,zip,city FROM tableA,tableB WHERE zip>10000 : VERY SLOW (228 000 records : 19 sec) - SELECT adress,zip,city FROM tableA,tableB WHERE zip>20000 : VERY SLOW (17 000 records : 15 sec) - SELECT adress,zip,city FROM tableA,tableB WHERE zip>10000 and zip<21000 : hmm 228 000 records : 3.3 sec - SELECT adress,zip,city FROM tableA,tableB WHERE zip=10000 and left(adress,6)=STREET : very last : 1 record. thank you olivier From sunshine at public.kherson.ua Sat Sep 25 11:59:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 25 03:59:50 2004 Subject: joins are slow ? In-Reply-To: Message-ID: On 9/25/04 11:21 AM, "olivier" wrote: Hi Oliver > valentina 1.90 > RB 5.5.3 > > Hi Ruslan and list, > > Join them between two tables are sometimes very slow. It is normal? I think problem can be here: Assume T1 have 10 records, but T2 million. It is always good idea put smaller table on left in the join condition. Valentina try do this self. But I remember still some cases fails to do this. So if you self as developer know info about size of database then try put it on left side of join condition. > I give you an example with a db of 378 000 records without join, and > another db with the same data but consisted of two connected tables. > The requests on both connected tables are fast if clauses (where...) > are precise. > But if it is not the case, the requests are very slow. What is not the > case with the same db but without join. > > It is normal? Or it is a defect of Valentina? In fact developers say that joins in Valentina are very fast. So you need to search for problem. > Naturally, in a lot of case, we cannot take place of joins and the > requests are very often precise. But it can be very boring in certain > cases, I think. Especially that my example was a join with two very > simple tables, but with one join complexes? Next. What size of cache you use? Make sure it is 10-20 MB. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Sep 25 14:05:46 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 06:57:06 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: <3BA098F3-0EEB-11D9-923B-00039310B7DA@yahoo.fr> Hi Ruslan and list, > It is always good idea put smaller table on left in the join condition. OK but that does not improve the speed a lot in that case. I tried all the possible combinations, the speed varies little but not of big improvement. > > In fact developers say that joins in Valentina are very fast. > So you need to search for problem. It is two very simple tables with the join. only one I do not see where I can correct the problem. I tried with the other data, with the visql, with the valentina studio. I have reindexed the db, made a diagnosis. Nothing. > Next. What size of cache you use? > Make sure it is 10-20 MB. I tried 5,10,20,100 Mb of cache. No change. I tried with the db of example DELIVERED WITH VALENTINA (tables Person, Task). With approximately the same number of data and a not very precise clause (SELECT * FROM person,task WHERE byte_fld <10), it is very slow... Requests with a unique and not precise clause (>, <) are very slow. How to correct it ? thank you olivier From vidal_olivier at yahoo.fr Sat Sep 25 14:17:53 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 07:09:11 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: example database of valentina : - 2 tables Person,task: -200 000 records. -cache 20 Mo -byte_fld indexed request : "SELECT * FROM person,task WHERE byte-fld <10" result : 19 SECONDS !! with a BYTE FIELD INDEXED. (RB 5.5.3 - Valentina 1.90 - Powerbook 400Mhz X 10.3.3 HD 4200 trs/mn 384 Mo RAM) it is normal ? Or there is a problem with Valentina? Or it is my computer? (But I tried with a PC / WINDOWS XP: same problem) From sunshine at public.kherson.ua Sat Sep 25 15:35:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 25 07:35:12 2004 Subject: joins are slow ? In-Reply-To: <3BA098F3-0EEB-11D9-923B-00039310B7DA@yahoo.fr> Message-ID: On 9/25/04 3:05 PM, "olivier" wrote: >> Next. What size of cache you use? >> Make sure it is 10-20 MB. > > I tried 5,10,20,100 Mb of cache. No change. > > I tried with the db of example DELIVERED WITH VALENTINA (tables Person, > Task). > With approximately the same number of data and a not very precise > clause (SELECT * FROM person,task WHERE byte_fld <10), > it is very slow... Hmm. Please tell by STEPS this. I want to repeat. VERY DETAILED! what example, how you create db, what tool you use for query. Which query you do. > Requests with a unique and not precise clause (>, <) are very slow. > > How to correct it ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Sep 25 15:23:58 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 08:15:15 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: <2896FDBC-0EF6-11D9-923B-00039310B7DA@yahoo.fr> > > Please tell by STEPS this. > I want to repeat. ok. I opened the small program " two tables " which was in the folder Valentina_RB \ examples \ (3) two tables \ . The program did not run because there were methods " #pragma arrayBoundsChecking " which do not exist any more in RB 5.5. I got rid of to them. I set cache to 20 Mo (in TestApplication Class, open event : "Err = ValentinaInit(20 * 1024 *1024, "", "" )" I verified that person_ptr and byte_fld were indexed. The program run. I went to the "test" menu and I clicked twice on "add 100K+400K records". 200 000 recordings were thus create in the db. Then I have clicked on "scroll_w". The window-query appears. Query "SELECT * FROM person,task WHERE byte_fld < 10 ". I clicked on " do it! ". The results appear in the window after 24 seconds on my old powerbook (400Mhz, 384 Mo Ram, HD 4200 trs/mn). (18 seconds if I entered the same request in viSQL) DATABASE : TWO TABLES Person : name = "Person" BoolFld = new VBoolean( "bool_fld" ) ByteFld = new VByte( "byte_fld", kV_Nullable ) ShortFld = new VShort( "short_fld" ) UShortFld = new VUShort( "ushort_fld" ) LongFld = new VLong( "long_fld" ) ULongFld = new VULong( "ulong_fld" ) FloatFld = new VFloat( "float_fld" ) DoubleFld = new VDouble( "double_fld" ) StringFld = new VString( "string_fld", 30 ) DateFld = new VDate( "date_fld" ) TimeFld = new VTime( "time_fld" ) byteFld.indexed=true //ADD Task : name = "task" mPersonPtr = new VObjectPtr( "person_ptr", inDataBase.mPerson, kV_SetNull ) mName = new VString( "name", 20 ) mStartTime = new VTime( "start_time" ) mFinishTime = new VTime( "finish_time" ) mStatus = new VByte( "status" ) thank you olivier From sunshine at public.kherson.ua Sat Sep 25 16:18:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 25 08:18:45 2004 Subject: joins are slow ? In-Reply-To: <2896FDBC-0EF6-11D9-923B-00039310B7DA@yahoo.fr> Message-ID: On 9/25/04 4:23 PM, "olivier" wrote: > The program run. > I went to the "test" menu and I clicked twice on "add 100K+400K > records". 200 000 recordings were thus create in the db. Actually first table have now 200K and second 800K records -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Sep 25 16:19:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 25 08:19:42 2004 Subject: joins are slow ? In-Reply-To: <2896FDBC-0EF6-11D9-923B-00039310B7DA@yahoo.fr> Message-ID: On 9/25/04 4:23 PM, "olivier" wrote: > Then I have clicked on "scroll_w". > The window-query appears. > Query "SELECT * FROM person,task WHERE byte_fld < 10 ". > I clicked on " do it! ". > The results appear in the window after 24 seconds on my old powerbook > (400Mhz, 384 Mo Ram, HD 4200 trs/mn). > (18 seconds if I entered the same request in viSQL) Well, have you try SECOND time the same query, just after the first ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Sep 25 15:32:36 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 08:23:52 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: <5D35E8AC-0EF7-11D9-923B-00039310B7DA@yahoo.fr> > > Actually first table have now 200K and second 800K records > ok ! But the request is very long all the same? --24 seconds-- thank you olivier From vidal_olivier at yahoo.fr Sat Sep 25 15:45:22 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 08:36:39 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: <25EA1C3C-0EF9-11D9-923B-00039310B7DA@yahoo.fr> >> > > Well, have you try SECOND time the same query, just after the first ? > Yes, in app and visql. in app, We win 4 seconds, it is always long. In ViSQL, no change. From vidal_olivier at yahoo.fr Sat Sep 25 15:53:50 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Sep 25 08:45:06 2004 Subject: joins are slow ? In-Reply-To: <25EA1C3C-0EF9-11D9-923B-00039310B7DA@yahoo.fr> References: <25EA1C3C-0EF9-11D9-923B-00039310B7DA@yahoo.fr> Message-ID: <5497411E-0EFA-11D9-923B-00039310B7DA@yahoo.fr> >> > Yes, in app and visql. > in app, We win 4 seconds, it is always long. In ViSQL, no change. > In my app with 1 table with 378 000 records (database : 125 Mo (data 50 Mo, index 75 Mo)) , The same operation puts 1.66 sec in viSQL from the first attempt. 0.51 sec from the second! Ten - fifteen times as quickly without join. (19 sec with join) From mbierly at earthlink.net Sat Sep 25 18:27:08 2004 From: mbierly at earthlink.net (Michael Bierly) Date: Sat Sep 25 17:28:49 2004 Subject: Problem with cursor In-Reply-To: References: Message-ID: <09481639-0F42-11D9-887F-000D93434258@earthlink.net> I'm having a problem here that I hope someone has an answer for what I'm doing wrong. If you look at the REALbasic code snippet below; my problem is that when the SqlSelect executes to populate the curData cursor, the cursor remains Nil. I've verified that the statement being generated is correct. Is it not possible to have nested cursors? Any help with this would be greatly appreciated. Regards, Mike Bierly ' Declare the local variables Dim Sucessful As Boolean Dim curAsp As VCursor Dim curData As VCursor Dim LibrarySize As Double Dim intCount As Integer Dim intMultiplier As Integer Dim intRank As Integer dim az As String ' Reset the library status bar prgbarObjects.Value = 0 prgbarObjects.Refresh lblLibraryStatus.Caption = "Step " + strStep + " of " + NumberOfSteps + " : Ranking libraries by ASP" lblLibraryStatus.Refresh ' Perform all of the setups and initializations intMultiplier = intLibraryCount / 100 intCount = 0 curAsp = mDb.SqlSelect("Select Distinct Asp From LibrariesBuild") Sucessful = curAsp.FirstRecord Do intRank = 0 curData = mDb.SqlSelect("Select LibraryName, LibrarySize, RankInAsp From LibrariesBuild Where Asp = " + Trim(curAsp.Field(1).GetString) + " Order By LibrarySize Desc" , kV_Client,kV_ReadWrite, kV_Indexed) From valentina-list at vermontsoftworks.com Sat Sep 25 19:08:37 2004 From: valentina-list at vermontsoftworks.com (Erik Mueller-Harder) Date: Sat Sep 25 18:08:43 2004 Subject: Problem with cursor In-Reply-To: <09481639-0F42-11D9-887F-000D93434258@earthlink.net> References: <09481639-0F42-11D9-887F-000D93434258@earthlink.net> Message-ID: Hi, Michael -- On Sep 25, 2004, at 18:27, Michael Bierly wrote: > curData = mDb.SqlSelect("Select LibraryName, LibrarySize, > RankInAsp From LibrariesBuild Where Asp = " + > Trim(curAsp.Field(1).GetString) + " Order By LibrarySize Desc" , > kV_Client,kV_ReadWrite, kV_Indexed) Looks like you're missing single quotes around the literal in your where clause. Try: ... where Asp ='" + trim(curAsp.Field(1).GetString) + "' order by ... HTH, -- Erik From mbierly at earthlink.net Sat Sep 25 20:44:13 2004 From: mbierly at earthlink.net (Michael Bierly) Date: Sat Sep 25 19:45:53 2004 Subject: Problem with cursor In-Reply-To: References: <09481639-0F42-11D9-887F-000D93434258@earthlink.net> Message-ID: <2FBD8BB8-0F55-11D9-94F3-000D93434258@earthlink.net> Erik, Asp is a numeric field but just to check everything, I tried your suggestion. Still no luck. Mike On Sep 25, 2004, at 7:08 PM, Erik Mueller-Harder wrote: > Hi, Michael -- > > On Sep 25, 2004, at 18:27, Michael Bierly wrote: > >> curData = mDb.SqlSelect("Select LibraryName, LibrarySize, >> RankInAsp From LibrariesBuild Where Asp = " + >> Trim(curAsp.Field(1).GetString) + " Order By LibrarySize Desc" , >> kV_Client,kV_ReadWrite, kV_Indexed) > > Looks like you're missing single quotes around the literal in your > where clause. Try: > > ... where Asp ='" + trim(curAsp.Field(1).GetString) + "' order by ... > > HTH, > > -- Erik > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From daniel at monumental-i.com Sat Sep 25 23:20:48 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sat Sep 25 22:20:57 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: References: Message-ID: <0FA8138A-0F6B-11D9-8EF5-000D93326CD0@monumental-i.com> I hope this problem is me :( The bottom line is that the following works in 1.10 but not in 1.11 on OSX using director: on mousedown me o=p_DB.obj_editor.active_cat_list[1].sequence set query = "SELECT *, RecID FROM categories WHERE RecID="&p_DB.obj_editor.active_cat_id set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) UpdateAllRecords(dbCursor, [#sequence:(o-1)] ) dbCursor=0 end I was trying to figure out what was wrong for hours trying to understand why this was working in author mode but not in the projector until I realized that my authoring application was using V4MD_Carbon.Xtr 1.10 and the projector (using an external Xtras folder) was using V4MD_Carbon.Xtr 1.11 Basically the above, which is pretty standard code, doesn't work using 1.11 in either authoring mode or compiled into a projector while in 1.10 it works fine. Ruslan, email off list if you want code or my AIM address to walk through anything. What was changed in 1.11 again? Should I roll back? From daniel at monumental-i.com Sun Sep 26 00:31:16 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sat Sep 25 23:31:25 2004 Subject: [V4MD] 1.11 (and 1.10) XML Import/Export In-Reply-To: <0FA8138A-0F6B-11D9-8EF5-000D93326CD0@monumental-i.com> References: <0FA8138A-0F6B-11D9-8EF5-000D93326CD0@monumental-i.com> Message-ID: One more thing... Shouldn't it stand to reason that whatever the engine exports as XML it should be able to import as XML? There is one character that Valentina seems to export but not be able to import. At http://www.monumental-i.com/example is an example XML file that was exported via the dump function in director. When you try a 'load dump' command from within ValentinaApp some character is messing it up. Note: A good amount of the data is copied from catalog PDFs into a editor application I wrote - so who knows what obscure character is throwing a spanner in the works. - Daniel From sunshine at public.kherson.ua Sun Sep 26 10:23:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 02:23:43 2004 Subject: Problem with cursor In-Reply-To: <09481639-0F42-11D9-887F-000D93434258@earthlink.net> Message-ID: On 9/26/04 1:27 AM, "Michael Bierly" wrote: > I'm having a problem here that I hope someone has an answer for what > I'm doing wrong. If you look at the REALbasic code snippet below; my > problem is that when the SqlSelect executes to populate the curData > cursor, the cursor remains Nil. I've verified that the statement being > generated is correct. Is it not possible to have nested cursors? > > Any help with this would be greatly appreciated. > > Regards, > Mike Bierly > > > > ' Declare the local variables > Dim Sucessful As Boolean > Dim curAsp As VCursor > Dim curData As VCursor > Dim LibrarySize As Double > Dim intCount As Integer > Dim intMultiplier As Integer > Dim intRank As Integer > dim az As String > > ' Reset the library status bar > prgbarObjects.Value = 0 > prgbarObjects.Refresh > lblLibraryStatus.Caption = "Step " + strStep + " of " + NumberOfSteps > + " : Ranking libraries by ASP" > lblLibraryStatus.Refresh > > ' Perform all of the setups and initializations > intMultiplier = intLibraryCount / 100 > intCount = 0 > > curAsp = mDb.SqlSelect("Select Distinct Asp From LibrariesBuild") > Sucessful = curAsp.FirstRecord > Do > intRank = 0 > curData = mDb.SqlSelect("Select LibraryName, LibrarySize, RankInAsp > From LibrariesBuild Where Asp = " + Trim(curAsp.Field(1).GetString) + " > Order By LibrarySize Desc" , kV_Client,kV_ReadWrite, kV_Indexed) Hi Michael, I think all is simple Your first cursor is READ ONLY. Your second cursor want to be READ WRITE. I assume it try lock THE SAME record. You do not have error check. You should have it after EACH query. Then you will know what is wrong. I think after second you get 363 error. You MUST kill the first cursor before you start second query. Or you must specify for the first cursor NO LOCK parameter -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 26 10:26:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 02:26:39 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: <0FA8138A-0F6B-11D9-8EF5-000D93326CD0@monumental-i.com> Message-ID: On 9/26/04 6:20 AM, "Daniel Crowder" wrote: Hi Daniel, > I hope this problem is me :( > > The bottom line is that the following works in 1.10 but not in 1.11 on > OSX using director: > > on mousedown me > o=p_DB.obj_editor.active_cat_list[1].sequence > set query = "SELECT *, RecID FROM categories WHERE > RecID="&p_DB.obj_editor.active_cat_id > set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) > UpdateAllRecords(dbCursor, [#sequence:(o-1)] ) > dbCursor=0 > end > > I was trying to figure out what was wrong for hours trying to > understand why this was working in author mode but not in the projector > until I realized that my authoring application was using > V4MD_Carbon.Xtr 1.10 and the projector (using an external Xtras folder) > was using V4MD_Carbon.Xtr 1.11 > > Basically the above, which is pretty standard code, doesn't work using > 1.11 in either authoring mode or compiled into a projector while in > 1.10 it works fine. > > Ruslan, email off list if you want code or my AIM address to walk > through anything. > > What was changed in 1.11 again? Should I roll back? Bad. Do you get any error code ? How it "not works"? Empty cursor? Or else? Send me please just database, and the full text of above query. I will try do it from viSQL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 26 10:27:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 02:28:01 2004 Subject: [V4MD] 1.11 (and 1.10) XML Import/Export In-Reply-To: Message-ID: On 9/26/04 7:31 AM, "Daniel Crowder" wrote: > One more thing... > > Shouldn't it stand to reason that whatever the engine exports as XML it > should be able to import as XML? There is one character that Valentina > seems to export but not be able to import. > > At http://www.monumental-i.com/example is an example XML file that was > exported via the dump function in director. When you try a 'load dump' > command from within ValentinaApp some character is messing it up. > > Note: A good amount of the data is copied from catalog PDFs into a > editor application I wrote - so who knows what obscure character is > throwing a spanner in the works. I think "bad symbols" -- some accent chars? I think this can be absolutely solved only with unicode. Valentina 2.0 produce XML dump in UTF16 encoding on default. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Sep 26 10:46:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 02:46:40 2004 Subject: joins are slow ? In-Reply-To: <2896FDBC-0EF6-11D9-923B-00039310B7DA@yahoo.fr> Message-ID: On 9/25/04 4:23 PM, "olivier" wrote: >> Please tell by STEPS this. >> I want to repeat. > > ok. > > I opened the small program " two tables " which was in the folder > Valentina_RB \ examples \ (3) two tables \ . > > The program did not run because there were methods " #pragma > arrayBoundsChecking " which do not exist any more in RB 5.5. > I got rid of to them. > I set cache to 20 Mo (in TestApplication Class, open event : "Err = > ValentinaInit(20 * 1024 *1024, "", "" )" > I verified that person_ptr and byte_fld were indexed. > > The program run. > I went to the "test" menu and I clicked twice on "add 100K+400K > records". 200 000 recordings were thus create in the db. > > Then I have clicked on "scroll_w". > The window-query appears. > Query "SELECT * FROM person,task WHERE byte_fld < 10 ". > I clicked on " do it! ". > The results appear in the window after 24 seconds on my old powerbook > (400Mhz, 384 Mo Ram, HD 4200 trs/mn). > (18 seconds if I entered the same request in viSQL) I have run example from my DUAL G4/867 I get 6-7 seconds. Well, probably query really hard. And I believe that any other db you can try will work much slower. Of course thank you for point. We will need think more if this can be done faster -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sun Sep 26 04:00:28 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sun Sep 26 03:00:38 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: References: Message-ID: <21B8C788-0F92-11D9-8DAF-000D93326CD0@monumental-i.com> > Bad. Very! > Do you get any error code ? I don't get any error codes. I even checked the process with the debug level on 3. Other than it not writing the data, it seemed to work fine. > Send me please just database, and the full text of above query. > I will try do it from viSQL Will do. Although the queries are very very simple. Here are the actual dynamic queries - they all work in 1.10 and not in 1.11 using OSX V4MD in Director 10.1. Here is the data: http://comps.monumental-i.com/example/data.zip Here are the commands: -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=28" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=2" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=80" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=87" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=158" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=164" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=165" -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" One favor: If I give you the database would you be so kind as to tell me what you would recommend the memory setting to be with that database? I currently have it set to ValentinaInit( 20 * 1024 * 1024, "XXXXX", "XXXXXX" ) - is that too much memory? On Sep 26, 2004, at 3:26 AM, Ruslan Zasukhin wrote: > On 9/26/04 6:20 AM, "Daniel Crowder" wrote: > > Hi Daniel, > >> I hope this problem is me :( >> >> The bottom line is that the following works in 1.10 but not in 1.11 on >> OSX using director: >> >> on mousedown me >> o=p_DB.obj_editor.active_cat_list[1].sequence >> set query = "SELECT *, RecID FROM categories WHERE >> RecID="&p_DB.obj_editor.active_cat_id >> set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) >> UpdateAllRecords(dbCursor, [#sequence:(o-1)] ) >> dbCursor=0 >> end >> >> I was trying to figure out what was wrong for hours trying to >> understand why this was working in author mode but not in the >> projector >> until I realized that my authoring application was using >> V4MD_Carbon.Xtr 1.10 and the projector (using an external Xtras >> folder) >> was using V4MD_Carbon.Xtr 1.11 >> >> Basically the above, which is pretty standard code, doesn't work using >> 1.11 in either authoring mode or compiled into a projector while in >> 1.10 it works fine. >> >> Ruslan, email off list if you want code or my AIM address to walk >> through anything. >> >> What was changed in 1.11 again? Should I roll back? > > Bad. > > Do you get any error code ? > > How it "not works"? Empty cursor? Or else? > > Send me please just database, and the full text of above query. > I will try do it from viSQL > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Sep 26 17:02:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 09:02:56 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: <21B8C788-0F92-11D9-8DAF-000D93326CD0@monumental-i.com> Message-ID: On 9/26/04 11:00 AM, "Daniel Crowder" wrote: >> Send me please just database, and the full text of above query. >> I will try do it from viSQL > > Will do. Although the queries are very very simple. Here are the actual > dynamic queries - they all work in 1.10 and not in 1.11 using OSX V4MD > in Director 10.1. > > Here is the data: > http://comps.monumental-i.com/example/data.zip > > Here are the commands: > > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=28" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=2" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=80" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=87" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:8])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=158" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=164" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" > -- "SQL -> SELECT *, RecID FROM categories WHERE RecID=165" > -- "V4MD -> UpdateAllRecords(dbCursor,[#sequence:1])" In viSQL I can see that search is fine. So assume you have problems with UPDATE ALL? But then check your creation of cursor. Have you specify ReadWrite mode ? > One favor: If I give you the database would you be so kind as to tell > me what you would recommend the memory setting to be with that > database? I currently have it set to ValentinaInit( 20 * 1024 * 1024, > "XXXXX", "XXXXXX" ) - is that too much memory? I see that your db total take 7-8MB So if this is all what you have then yes you can use 10 and even 5 MB. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sun Sep 26 13:02:03 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sun Sep 26 12:02:17 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: References: Message-ID: Ruslan, It must be the UpdateAll in V4MD. Also, it is in read/write mode - if it wasnt why would it still work in 1.10? Here is the actual code to generate the cursor: set query = "SELECT *, RecID FROM categories WHERE RecID="&p_DB.obj_editor.active_cat_id set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) > In viSQL I can see that search is fine. > So assume you have problems with UPDATE ALL? > > But then check your creation of cursor. > Have you specify ReadWrite mode ? From sunshine at public.kherson.ua Sun Sep 26 20:09:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 12:09:57 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: Message-ID: On 9/26/04 8:02 PM, "Daniel Crowder" wrote: > Ruslan, > > It must be the UpdateAll in V4MD. Also, it is in read/write mode - if > it wasnt why would it still work in 1.10? > > Here is the actual code to generate the cursor: > set query = "SELECT *, RecID FROM categories WHERE > RecID="&p_DB.obj_editor.active_cat_id > set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) Mistake I always did recommend to use symbolic names for constants. 1 3 clientSide, ReadWrite Client side cursor can be only ReadOnly/ You need server side -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sun Sep 26 13:23:07 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sun Sep 26 12:23:13 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: References: Message-ID: Ruslan, I don't understand. I'm not using a server at all. If I want to update all records of a query in v4md using a local database I would use: set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,#serverSide, #ReadWrite) I may be making a fundamental mistake in how I am creating a cursor. In order to use the update all records command in director with a client-side database what parameters does the cursor need? On Sep 26, 2004, at 1:09 PM, Ruslan Zasukhin wrote: > On 9/26/04 8:02 PM, "Daniel Crowder" wrote: > >> Ruslan, >> >> It must be the UpdateAll in V4MD. Also, it is in read/write mode - if >> it wasnt why would it still work in 1.10? >> >> Here is the actual code to generate the cursor: >> set query = "SELECT *, RecID FROM categories WHERE >> RecID="&p_DB.obj_editor.active_cat_id >> set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3) > > Mistake > > I always did recommend to use symbolic names for constants. > > 1 3 > > clientSide, ReadWrite > > > Client side cursor can be only ReadOnly/ > > You need server side > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Sep 26 20:31:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 12:31:46 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: Message-ID: On 9/26/04 8:23 PM, "Daniel Crowder" wrote: Hi Daniel, > I don't understand. I'm not using a server at all. I know. But rules are the same. You also not use client. So this not wonder you? :-) Just specify NOT clientSode but serverSide > If I want to update all records of a query in v4md using a local > database I would use: > set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,#serverSide, > #ReadWrite) Wait! #serverSide, #ReadWrite -- this will not work/ We have made support of symbols in the V4MD 2.0 In 1.x you need self simply create variables kclientside = 1 kServerside = 2 And later use them to make your code more readable. > I may be making a fundamental mistake in how I am creating a cursor. In > order to use the update all records command in director with a > client-side database what parameters does the cursor need? cursor must be SERVERSIDE = 2 READ WRITE = 3 So new( xtra "VCursor", GetRef(p_DB.db),query, 2, 3 ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sun Sep 26 13:41:06 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sun Sep 26 12:41:13 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: References: Message-ID: <3E6B57A8-0FE3-11D9-84BF-000D93326CD0@monumental-i.com> Ruslan, I just tried that and THE PROBLEM IS STILL THE SAME. new( xtra "VCursor", GetRef(p_DB.db),query, 2, 3 ) - works using 1.10, does not work using 1.11 Also, can you explain when I would use new( xtra "VCursor", GetRef(p_DB.db),query, 1, 3 ) and when I would use new( xtra "VCursor", GetRef(p_DB.db),query, 2, 3 ) - I don't understand the difference now. - Daniel > On Sep 26, 2004, at 1:31 PM, Ruslan Zasukhin wrote: > On 9/26/04 8:23 PM, "Daniel Crowder" wrote: > > Hi Daniel, > >> I don't understand. I'm not using a server at all. > > I know. But rules are the same. > > You also not use client. So this not wonder you? :-) > > Just specify NOT clientSode but serverSide > > >> If I want to update all records of a query in v4md using a local >> database I would use: >> set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,#serverSide, >> #ReadWrite) > > Wait! > > #serverSide, #ReadWrite -- this will not work/ > > We have made support of symbols in the V4MD 2.0 > > In 1.x you need self simply create variables > > kclientside = 1 > kServerside = 2 > > And later use them to make your code more readable. > >> I may be making a fundamental mistake in how I am creating a cursor. >> In >> order to use the update all records command in director with a >> client-side database what parameters does the cursor need? > > > cursor must be > > SERVERSIDE = 2 > READ WRITE = 3 > > So > > new( xtra "VCursor", GetRef(p_DB.db),query, 2, 3 ) > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Sep 26 20:43:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 26 12:44:07 2004 Subject: [V4MD] 1.11 Carbon bug? In-Reply-To: <3E6B57A8-0FE3-11D9-84BF-000D93326CD0@monumental-i.com> Message-ID: On 9/26/04 8:41 PM, "Daniel Crowder" wrote: > Ruslan, > > I just tried that and THE PROBLEM IS STILL THE SAME. > new( xtra "VCursor", GetRef(p_DB.db),query, 2, 3 ) - works using 1.10, > does not work using 1.11 Well, then I need from you small project in few lines which do that on your db. > Also, can you explain when I would use new( xtra "VCursor", > GetRef(p_DB.db),query, 1, 3 ) and when I would use new( xtra "VCursor", > GetRef(p_DB.db),query, 2, 3 ) - I don't understand the difference now. If you work with LOCAL database, then it is always good idea to use ServerSide constant. Simply use it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Sun Sep 26 23:42:35 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun Sep 26 16:57:45 2004 Subject: varchar corruption In-Reply-To: References: Message-ID: >On 9/24/04 4:54 PM, "Robert Brenstein" wrote: > >Hi Robert, > >> I seem to have a peculiar problem with a varchar field in one >> specific baseobject getting regularly corrupted. I have varchars in >> most of my baseobjects (51 of them) but only this one seems to be >> corrupted and seemingly the same way. After I detect corruption I do >> xml dump and load each time. >> >> I suspect that it is something I do or the field content but have no >> clue what to look for. Diagnose reports from two separate incidents a >> month apart follow. Any ideas anyone? > >I think you will need try 1.11 on this. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Unfortunately that won't be possible for a while. What is that corruption report indicative of anyway? May be that gives me a clue? Robert From mbierly at earthlink.net Sun Sep 26 19:33:15 2004 From: mbierly at earthlink.net (Michael Bierly) Date: Sun Sep 26 18:34:55 2004 Subject: Problem with cursor In-Reply-To: References: Message-ID: <705DAC72-1014-11D9-B387-000D93434258@earthlink.net> Thanks Ruslan! I added the options kV_Client, kV_NoLocks, kV_ReadOnly to the first cursor and everything worked exactly as expected. On Sep 26, 2004, at 3:23 AM, Ruslan Zasukhin wrote: > Hi Michael, > > I think all is simple > > Your first cursor is READ ONLY. > Your second cursor want to be READ WRITE. > I assume it try lock THE SAME record. > > You do not have error check. > You should have it after EACH query. > Then you will know what is wrong. > I think after second you get 363 error. > > You MUST kill the first cursor before you start second query. > Or you must specify for the first cursor NO LOCK parameter > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Mon Sep 27 16:56:44 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon Sep 27 09:48:02 2004 Subject: joins are slow ? In-Reply-To: References: Message-ID: <72C7A12A-1095-11D9-9C59-00039310B7DA@yahoo.fr> > > And I believe that any other db you can try will work much slower. > ok, thank you Ruslan. olivier From vidal_olivier at yahoo.fr Mon Sep 27 17:09:23 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon Sep 27 10:00:40 2004 Subject: big table or several littles tables ? Message-ID: <36D96CE8-1097-11D9-9C59-00039310B7DA@yahoo.fr> Valentina 1.90 - RB 5.5.3 cache 20 Mo. Hi Ruslan and list, I have a big db with a table of 800 Mb consisted of street names, and a table was joined of 45 Mb for zip and cities. I have the possibility of cutting the table of streets in 5 or 10. (The purpose for the customer is to look for street names thus always in a particular zip / city). To accelerate the searches and optimize the cache memory, it is better to keep a big table of streets or to have several of it? I think naturally that it is better there to have ten of 80 Mb than one of 800 Mb but I would like to be sure of it. The table of streets will be only in mode reading. Thus only the speed of sorting / search is here important. If we have to make 1000 searches very quickly on street names, it is faster to use an only big table or to juggle between 10 small different tables? Thank you very much for your help olivier From r.hildebrandt at sbt.fr Mon Sep 27 17:25:36 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Mon Sep 27 10:26:53 2004 Subject: V4MD 1.11 Problem References: <36D96CE8-1097-11D9-9C59-00039310B7DA@yahoo.fr> Message-ID: <00a001c4a4a6$4e9b1810$3a01a8c0@sbt> Hi all, We have some problem using V4MD 1.11 on windows 2000 in director 8.51. An SQL query with a DELETE doesn't work. The line still exists in the DB and if we try after to DELETE the line again or to UPDATE it then we get error code 363 (No error !!!!). The same code works fine with V4MD 1.10. Any ideas ? Best regards Roland Hildebrandt From sunshine at public.kherson.ua Mon Sep 27 18:34:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 10:42:06 2004 Subject: V4MD 1.11 Problem In-Reply-To: <00a001c4a4a6$4e9b1810$3a01a8c0@sbt> Message-ID: On 9/27/04 6:25 PM, "Roland Hildebrandt" wrote: Hi Roland, > We have some problem using V4MD 1.11 on windows 2000 in director 8.51. > > An SQL query with a DELETE doesn't work. > The line still exists in the DB and if we try after to DELETE the line again > or to UPDATE it then we get error code 363 (No error !!!!). 363 -- record is locked. > The same code works fine with V4MD 1.10. > Any ideas ? Well, it seems similar report was 2 days ago. I need test project which they sent. I will test it now -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 27 18:38:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 10:45:21 2004 Subject: big table or several littles tables ? In-Reply-To: <36D96CE8-1097-11D9-9C59-00039310B7DA@yahoo.fr> Message-ID: On 9/27/04 6:09 PM, "olivier" wrote: > Valentina 1.90 - RB 5.5.3 > cache 20 Mo. > > Hi Ruslan and list, > > I have a big db with a table of 800 Mb consisted of street names, and a > table was joined of 45 Mb for zip and cities. > > I have the possibility of cutting the table of streets in 5 or 10. (The > purpose for the customer is to look for street names thus always in a > particular zip / city). > > To accelerate the searches and optimize the cache memory, it is better > to keep a big table of streets or to have several of it? > I think naturally that it is better there to have ten of 80 Mb than one > of 800 Mb but I would like to be sure of it. Depend how you will choose the table for search. User enter you some city for search. What you will do next if you have 10 tables? IF you have way to search only ONE OF 10 tables, Then of course you will get win. If you will do 10 searches on 10 tables, you loose > The table of streets will be only in mode reading. > Thus only the speed of sorting / search is here important. TIP. To get the most compact indexes for such db, you need after filling of contents, do REINDEX and assign big cache 30-50MB. Having many memory Valentina will be able build index with low fragmentation. Also after this do defragmentation. > If we have to make 1000 searches very quickly on street names, it is > faster to use an only big table or to juggle between 10 small different > tables? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 27 18:50:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 10:59:08 2004 Subject: V4MD 1.11 Problem In-Reply-To: <00a001c4a4a6$4e9b1810$3a01a8c0@sbt> Message-ID: On 9/27/04 6:25 PM, "Roland Hildebrandt" wrote: > Hi all, > > We have some problem using V4MD 1.11 on windows 2000 in director 8.51. > > An SQL query with a DELETE doesn't work. > The line still exists in the DB and if we try after to DELETE the line again > or to UPDATE it then we get error code 363 (No error !!!!). > > The same code works fine with V4MD 1.10. > Any ideas ? Can you reproduce on small db with small project in one function ? Then send to me db + project. BTW, Please clarify do you use UPDATE WHERE sql command or you use Vcusor.Delete() handler ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Mon Sep 27 18:15:07 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon Sep 27 11:06:22 2004 Subject: big table or several littles tables ? In-Reply-To: References: Message-ID: <65C2BEA6-10A0-11D9-9C59-00039310B7DA@yahoo.fr> > User enter you some city for search. > What you will do next if you have 10 tables? > > IF you have way to search only ONE OF 10 tables, > Then of course you will get win. Yes naturally, If I divide into ten my big table, each of these 10 tables will correspond to certain zip. Thus according to the zip entered by the customer, the program will know about which table it will be necessary to make the search. What is the best optimization (speed of calculation + cache + ACCESS HARD DISK)? 40 tables of 20Mb? 10 tables of 80Mb? 1 table of 800Mb? (cache 20Mb ?) > > If you will do 10 searches on 10 tables, you loose no. but if I import a file of 1000 addresses and that I must check the streets of these 1000 addresses, I will make 1000 research each time in a different table. e.g. : Search street 1 -> in table 3 Search street 2 -> in table 3 Search street 3 -> in table 1 Search street 4 -> in table 10 Search street 5 -> in table 5 Search street 6 -> in table 8 Search street 6 -> in table 8 .......... > To get the most compact indexes for such db, you need after filling of > contents, do REINDEX and assign big cache 30-50MB. > > Having many memory Valentina will be able build index with low > fragmentation. Also after this do defragmentation. > ok, thank you ! olivier From sunshine at public.kherson.ua Mon Sep 27 19:15:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 11:18:47 2004 Subject: big table or several littles tables ? In-Reply-To: <65C2BEA6-10A0-11D9-9C59-00039310B7DA@yahoo.fr> Message-ID: On 9/27/04 7:15 PM, "olivier" wrote: >> User enter you some city for search. >> What you will do next if you have 10 tables? >> >> IF you have way to search only ONE OF 10 tables, >> Then of course you will get win. > > Yes naturally, If I divide into ten my big table, each of these 10 > tables will correspond to certain zip. Then this is great! > Thus according to the zip entered by the customer, the program will > know about which table it will be necessary to make the search. > > What is the best optimization (speed of calculation + cache + ACCESS > HARD DISK)? > 40 tables of 20Mb? 10 tables of 80Mb? 1 table of 800Mb? (cache 20Mb ?) Oliver, Problem not in cache and other parameters. Optimization can be done only by YOUR algorithm here. In case above you say, I can by SIMPLY CASE reduce the area of search in 10 times! If you can in the same way reduce area in 100 times then this is even more great! ------------------------ Important to see, that if you have 10 tables, then you still can get the words case * each next query do search in other table. in this case each time new and new files will be loaded to cache. * but still SINGLE SEARCH with be faster of search on one big table. The best case is when you do searches and all 100 on the same small table. Then it will be in cache, and searches will be faster. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 27 19:22:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 11:23:52 2004 Subject: big table or several littles tables ? In-Reply-To: <65C2BEA6-10A0-11D9-9C59-00039310B7DA@yahoo.fr> Message-ID: On 9/27/04 7:15 PM, "olivier" wrote: >> If you will do 10 searches on 10 tables, you loose > > no. > but if I import a file of 1000 addresses and that I must check the > streets of these 1000 addresses, I will make 1000 research each time in > a different table. > > e.g. : > > Search street 1 -> in table 3 > Search street 2 -> in table 3 > Search street 3 -> in table 1 > Search street 4 -> in table 10 > Search street 5 -> in table 5 > Search street 6 -> in table 8 > Search street 6 -> in table 8 TIP There is sense to sort this 1000 records by ZIP. So you will execute at first 100 searches in T1, Then 100 searches in T2 ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Mon Sep 27 18:32:22 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Mon Sep 27 11:33:44 2004 Subject: V4MD 1.11 Problem References: Message-ID: <00c501c4a4af$a2321600$3a01a8c0@sbt> > Can you reproduce on small db with small project in one function ? > Then send to me db + project. All right I will prepare this tomorrow. > > BTW, Please clarify > > > do you use UPDATE WHERE sql command > or you use Vcusor.Delete() handler ? We use SqlExecute(myDB, "DELETE FROM ...") nothing happens. then we use SqlExecute(myDB, "UPDATE ... SET...") error 363 or SqlExecute(myDB, "DELETE FROM ...") error 363 Best regards Roland Hildebrandt From sunshine at public.kherson.ua Mon Sep 27 19:38:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 11:40:25 2004 Subject: V4MD 1.11 Problem In-Reply-To: <00c501c4a4af$a2321600$3a01a8c0@sbt> Message-ID: On 9/27/04 7:32 PM, "Roland Hildebrandt" wrote: > >> Can you reproduce on small db with small project in one function ? >> Then send to me db + project. > > All right I will prepare this tomorrow. > >> >> BTW, Please clarify >> >> >> do you use UPDATE WHERE sql command >> or you use Vcusor.Delete() handler ? It sounds to me as: > We use SqlExecute(myDB, "DELETE FROM ...") nothing happens. Here also must be 363 > then we use SqlExecute(myDB, "UPDATE ... SET...") error 363 > or SqlExecute(myDB, "DELETE FROM ...") error 363 And 363 come because record is locked by one of your existed cursors -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Mon Sep 27 18:51:21 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon Sep 27 11:42:34 2004 Subject: big table or several littles tables ? In-Reply-To: References: Message-ID: <7595A201-10A5-11D9-9C59-00039310B7DA@yahoo.fr> ok, thank you very much Ruslan. olivier From sunshine at public.kherson.ua Mon Sep 27 20:03:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 12:07:11 2004 Subject: French in V4RB 1.11 // Bug in V4RB.rbx In-Reply-To: Message-ID: On 9/20/04 11:56 AM, "Thierry Nauze" wrote: > Le 20 sept. 04, ? 10:06, Ruslan Zasukhin a ?crit : > The database created with V4RB 1.10 (December, 2003) is correct. > Language is correct: "French". > > With the same project but with V4RB.rbx (July or September, 2004) the > database is create with the language "ASCII". > > What is annoying for sortings name. I have test with V4rB pplugin from .sit.bin archive. All works correctly. I say Hmm. Then I take V4RB.rbx from .zip archive and really it glitches. Since .rbx plugin is produced by REAL converter, I can assume something bad happens on conversion step. I think problem can be only with resources. Thierry, if you develop on MAC then you can and should use .sit.bin archive. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon Sep 27 21:57:14 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon Sep 27 12:57:32 2004 Subject: French in V4RB 1.11 // Bug in V4RB.rbx In-Reply-To: References: Message-ID: Le 27 sept. 04, ? 21:03, Ruslan Zasukhin a ?crit : > On 9/20/04 11:56 AM, "Thierry Nauze" wrote: > >> Le 20 sept. 04, ? 10:06, Ruslan Zasukhin a ?crit : > >> The database created with V4RB 1.10 (December, 2003) is correct. >> Language is correct: "French". >> >> With the same project but with V4RB.rbx (July or September, 2004) the >> database is create with the language "ASCII". >> >> What is annoying for sortings name. > > I have test with V4rB pplugin from .sit.bin archive. > All works correctly. > > I say Hmm. > > > Then I take V4RB.rbx from .zip archive and really it glitches. > > > Since .rbx plugin is produced by REAL converter, I can assume > something bad > happens on conversion step. I think problem can be only with resources. > > > > Thierry, if you develop on MAC then you can and should use .sit.bin > archive. > Thank you Ruslan, It seems to work perfectly. Best regards, -- Thierry Nauze Saint-Denis de la R?union From nfriesen at dyton.com Mon Sep 27 12:59:03 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Mon Sep 27 12:59:05 2004 Subject: [V4MD] Retrieve Picture field crashes Mac OS X 10.1 Message-ID: I have a Director application which uses a database that has a picture field in every record. My application retrieves and displays the picture field, and a few text fields one record at a time, and appears to work without problems on Window, Mac Classic, and some versions of Mac OS X. In some versions of OS X though, it appears that retrieving the picture field causes the application to crash. Unfortunately, the crashing isn't very consistent. Usually the application crashes right after opening, but sometimes it will open and load the first image, and occasionally I'll be able to get through a few records before it crashes. I've been able to crash it consistently on three different computers running OS X 10.1, but it appears to run without problems on my development computer running OS 10.3.5. I'm using Valentina Xtra 1.10, and Director MX. Has anyone else had similar problems? Does anyone have suggestions on where to start looking, or what I may be doing wrong? And is there more information I could provide that would be helpful? Any help would be greatly appreciated. Thanks Nathan From zavpublic at mac.com Mon Sep 27 11:38:09 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Mon Sep 27 13:38:21 2004 Subject: Unsubscribing procedure In-Reply-To: References: Message-ID: <611BC2D9-10B4-11D9-BC4D-000393CFECE6@mac.com> I recently (this morning) did an unsubscribe from this list since I do not use it much. However, I am still getting emails from it. When does the unsub take effect? From sunshine at public.kherson.ua Mon Sep 27 21:40:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 13:42:15 2004 Subject: Unsubscribing procedure In-Reply-To: <611BC2D9-10B4-11D9-BC4D-000393CFECE6@mac.com> Message-ID: On 9/27/04 9:38 PM, "Zav - Alex Zavatone" wrote: > I recently (this morning) did an unsubscribe from this list since I do > not use it much. However, I am still getting emails from it. When > does the unsub take effect? Probably you have made something wrong Try again. > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 27 21:46:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 13:48:28 2004 Subject: [V4MD] Retrieve Picture field crashes Mac OS X 10.1 In-Reply-To: Message-ID: On 9/27/04 8:59 PM, "Nathan Friesen" wrote: > I have a Director application which uses a database that has a picture > field in every record. My application retrieves and displays the > picture field, and a few text fields one record at a time, and appears > to work without problems on Window, Mac Classic, and some versions of > Mac OS X. In some versions of OS X though, it appears that retrieving > the picture field causes the application to crash. Unfortunately, the > crashing isn't very consistent. Usually the application crashes right > after opening, but sometimes it will open and load the first image, and > occasionally I'll be able to get through a few records before it > crashes. I've been able to crash it consistently on three different > computers running OS X 10.1, but it appears to run without problems on > my development computer running OS 10.3.5. > > I'm using Valentina Xtra 1.10, and Director MX. > > Has anyone else had similar problems? Does anyone have suggestions on > where to start looking, or what I may be doing wrong? And is there more > information I could provide that would be helpful? Any help would be > greatly appreciated. Thanks Hi Nathan, Actually I think you should not worry about OS X 10.1. It was buggy, and I hard believe today somebody still use it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Mon Sep 27 15:08:15 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Mon Sep 27 14:08:33 2004 Subject: mySql -> Valentina Sql convertor Message-ID: Are they're any utilities that do this out there? I'm going to be creating and importing data from a mySql database quite a bit this could save some time. From nfriesen at dyton.com Mon Sep 27 14:40:40 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Mon Sep 27 14:40:41 2004 Subject: [V4MD] Retrieve Picture field crashes Mac OS X 10.1 In-Reply-To: References: Message-ID: <1D32FDF8-10BD-11D9-9BC1-00039381C640@dyton.com> Ruslan, Is there any place where I can get a list of supported or unsupported systems/features? We're checking into what we agreed to with our client on what the final product will run on. I suspect that we didn't make any special cases for OS X 10.1, though, because we weren't aware that it was problematic. If this is the case I'm sure we can make revisions to the project and load the images from disk instead of the database, or convince the client that OS X 10.1 is not very common any more and for the few people who do have it we can suggest using the Classic application. Having a place to check for known bugs during the proposal, and development stages of a project would be great though. Thanks for the help. Nathan On Sep 27, 2004, at 1:46 PM, Ruslan Zasukhin wrote: > Hi Nathan, > > Actually I think you should not worry about OS X 10.1. > It was buggy, and I hard believe today somebody still use it. > From sunshine at public.kherson.ua Mon Sep 27 23:05:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 15:06:02 2004 Subject: mySql -> Valentina Sql convertor In-Reply-To: Message-ID: On 9/27/04 10:08 PM, "Bill Numerick" wrote: Hi Bill, > Are they're any utilities that do this out there? I'm going to be > creating and importing data from a mySql database quite a bit this > could save some time. There was one made by V4MD by Martin Kloss May be some other tools But they are not officail supporting tools You can take a look on Valentina studio (tomorrow new release must be). It can import dbs via ODBC -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Sep 27 23:08:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 27 15:08:21 2004 Subject: [V4MD] Retrieve Picture field crashes Mac OS X 10.1 In-Reply-To: <1D32FDF8-10BD-11D9-9BC1-00039381C640@dyton.com> Message-ID: On 9/27/04 10:40 PM, "Nathan Friesen" wrote: > Ruslan, > > Is there any place where I can get a list of supported or unsupported > systems/features? > We're checking into what we agreed to with our client > on what the final product will run on. MaOS 9 Max OS X Win 32 95 and better. 10.1 is considered by many developers as alpha/beta but not release. > I suspect that we didn't make > any special cases for OS X 10.1, though, because we weren't aware that > it was problematic. If this is the case I'm sure we can make revisions > to the project and load the images from disk instead of the database, > or convince the client that OS X 10.1 is not very common any more and > for the few people who do have it we can suggest using the Classic > application. Having a place to check for known bugs during the > proposal, and development stages of a project would be great though. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Tue Sep 28 01:20:30 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Mon Sep 27 18:20:43 2004 Subject: [V4MD] Retrieve Picture field crashes Mac OS X 10.1 In-Reply-To: Message-ID: Hi Nathan, sorry to jump in, but I'd recommend (and that's what we're doing) to raise your system recommendations on MacOS X to Jaguar (MacOS 10.2), which puts you on a safe side. If you must (and I think that is quite unlikely) support an older version, then don't go beyond 10.1.5, as everything older will give you more trouble than benefit... So my recommendation is: 10.2.x and newer... best regards -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com at 27.09.2004 19:59 Uhr, Nathan Friesen wrote: > computers running OS X 10.1, but it appears to run without problems on > my development computer running OS 10.3.5. > > I'm using Valentina Xtra 1.10, and Director MX. > > Has anyone else had similar problems? Does anyone have suggestions on > where to start looking, or what I may be doing wrong? And is there more > information I could provide that would be helpful? Any help would be > greatly appreciated. Thanks From r.hildebrandt at sbt.fr Tue Sep 28 11:46:56 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Sep 28 04:47:41 2004 Subject: V4MD 1.11 Problem References: Message-ID: <006a01c4a540$29a3d7f0$3a01a8c0@sbt> > >> We use SqlExecute(myDB, "DELETE FROM ...") nothing happens. > > Here also must be 363 No error after the DELETE. But nothing happens. > >> then we use SqlExecute(myDB, "UPDATE ... SET...") error 363 >> or SqlExecute(myDB, "DELETE FROM ...") error 363 > > And 363 come because record is locked by one of your existed cursors > All right, but I don't find any reason for which the record should be locked. NB : The error string for error 363 is not written in the docs and returns "no error" :) in authoring mode. I have finished the test project I will send it to you now off list. Best regards Roland Hildebrandt From huancaya at wanadoo.fr Tue Sep 28 18:41:35 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Tue Sep 28 09:41:48 2004 Subject: V4MD 1.11 Problem In-Reply-To: <00a001c4a4a6$4e9b1810$3a01a8c0@sbt> References: <36D96CE8-1097-11D9-9C59-00039310B7DA@yahoo.fr> <00a001c4a4a6$4e9b1810$3a01a8c0@sbt> Message-ID: <7F435236-115C-11D9-A817-000A95BA5A32@wanadoo.fr> Le 27 sept. 04, ? 19:25, Roland Hildebrandt a ?crit : > Hi all, > > We have some problem using V4MD 1.11 on windows 2000 in director 8.51. > > An SQL query with a DELETE doesn't work. I have the same problem with V4RB 1.11 ( sit.bin) ) erreur=base.SQLexecute("DELETE FROM notes WHERE id="+id) erreur=1 (normal) base.errString ~> No error But the record is always in the base. While, without changing anything, it works correctly with V4RB 1.10 Regards -- Thierry Nauze Saint-Denis de la R?union From wonderfef at noos.fr Tue Sep 28 17:15:30 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Sep 28 10:15:43 2004 Subject: [V4RB] Querying two related tables Message-ID: Hello all, I need to display a list of Quotations along with the Names of the corresponding Clients. Here is the SQL statement I found: SELECT QuoteNumber, Name FROM Quotes, Clients WHERE Quotes.ParentClientID = Clients.ID ORDER BY QuoteNumber DESC It works fine, excepting that the returned cursor skips Quotations that do not have parent client (Quotes.ParentClientID = ''), which is bad for me because my application must allow the creation of Quotations without Client. Thanks in advance for your help Eric From sunshine at public.kherson.ua Tue Sep 28 18:38:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 28 10:49:20 2004 Subject: [V4RB] Querying two related tables In-Reply-To: Message-ID: On 9/28/04 6:15 PM, "Eric Ferrer" wrote: Hi Eric, > Hello all, > > I need to display a list of Quotations along with the Names of the > corresponding Clients. > Here is the SQL statement I found: > > SELECT QuoteNumber, Name FROM Quotes, Clients WHERE Quotes.ParentClientID = > Clients.ID ORDER BY QuoteNumber DESC > > It works fine, excepting that the returned cursor skips Quotations that do > not have parent client (Quotes.ParentClientID = ''), which is bad for me > because my application must allow the creation of Quotations without Client. For this you should use LEFT OUTER JOIN SELECT QuoteNumber, Name FROM Quotes, Clients WHERE Quotes.ParentClientID *= Clients.ID ORDER BY QuoteNumber DESC Note *= -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at pedro.Net.au Wed Sep 29 10:43:29 2004 From: lists at pedro.Net.au (Pedro fp) Date: Tue Sep 28 19:43:48 2004 Subject: [V4RB] tricky [I think] search Message-ID: <951A62F2-11B0-11D9-8274-000D9366C144@pedro.Net.au> G'day Folks My current project has a table "person" which has a one to many relationship to a table "history". The history table has a DateTime field for maintaining the chronology. It is possible for a person to have no related history records at all but all history records must be associated with a person [kV_Casade is set on the VObjectPtr]. I need to be able to select all records in person where the most recent history record matches a specified value. The best I can think of is to get a cursor on history, loop through it getting all the VObjectPtr values where the match occurs on the most recent record and then use those to build a long SQL string of the form ... "SELECT ... WHERE RecID = VObjectPtr(1) OR RecID = VObjectPtr(2) OR RecID = VObjectPtr(3) ... OR RecID = VObjectPtr(n)" This seems very unwieldy to me, can anyone suggest a better way? Cheers, Pedro :-) Web: PGP Key ID: 387CD96F Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp MSN: mail@pedro.net.au Yahoo: pedro_fp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ "Our current commitment to maximum economic growth has become counterproductive. The real needs of people and communities are no longer to obtain more stuff. Rather, more and more people want to enhance their quality of life rather than the quantity of goods they can obtain. People are ready to change the way they evaluate success in their own lives. They are looking for new ways to obtain satisfaction." Robert Theobald in 'The Healing Century' From vidal_olivier at yahoo.fr Wed Sep 29 09:46:42 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Sep 29 02:37:54 2004 Subject: several db ? Message-ID: Valentina 1.90 RB 5.5.3 Mac os X 3.3 Hi Ruslan and list, I makes a program which manages several address books (name, first name, address, cp, city, telephone, mail....). The customer should be able to make comparisons between address books, in a simple and fast way. Address books can have many addresses (they are intended to make mailings). (500 to 30 000 adresses per adress book) It is important in this application of power to compare (to compare, to deduct, to make requests on the same field), for example, the persons in the adress book "customers" and the persons of the adress book "prospects". ( For example a customer would like to know all the persons of the file customer AND of the file prospects who have the same zip) I hesitate in the choice of the structure: - A adress book = a db? Advantages: very fast treatment inside the adress book. Number of infinite possible adress books. Inconveniences: treatments between various adress books impractical and not expresses. - A adress book = a table? About the same advantages and the inconveniences as the previous method. Limited number of adress books. - All the adress books in the same table? Adress book would be identified in the table by a field byte. Advantages: treatments between various adress books fast and flexible. Inconveniences: additions and updates slower. Treatments in a single adress book averagely fast. But I have the impression (thanks to the speed of Valentina) that this solution is ideal if all the adress books does not exceed 100 000 addresses. According to your experience, that think of it you? The last solution seems risky but if the customer manages on average 1000 at 50 000 addresses, it is optimal? thank you very much olivier From wonderfef at noos.fr Wed Sep 29 10:19:09 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Sep 29 03:19:19 2004 Subject: [V4RB] Querying two related tables In-Reply-To: Message-ID: Ruslan, > For this you should use LEFT OUTER JOIN > SELECT QuoteNumber, Name > FROM Quotes, Clients > WHERE Quotes.ParentClientID *= Clients.ID > ORDER BY QuoteNumber DESC GREAT! Thank you very much Eric From vidal_olivier at yahoo.fr Wed Sep 29 15:45:15 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Sep 29 08:36:25 2004 Subject: How to track down doubloons in valentina ? Message-ID: valentina 1.90 RB 5.5.3 os X 3.3 Hi Ruslan and list, How to track down doubloons in Valentina? For example in an address book, we sometimes have several records for the same person/society : e.g. - record 100 : field name : "PARADIGMA SOFTWARE" - record 9134 : field name :"SOCIETY PARADIGMA" - record 9877 : field name : "RUSLAN PARADIGMA SOFT." The following request SQL does not work in Valentina. How can it be done? (without passing by an enormous loop in RB) SELECT * FROM address t1, address t2 WHERE t1.name LIKE t2.name AND t1.recid<>t2.recid (in Oracle : SELECT * FROM address T1 JOIN address T2 ON (T1.name LIKE '%'+T2.name+'%' AND T1.rowId<>T2.rowId)) thank you olivier From sunshine at public.kherson.ua Wed Sep 29 16:17:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 08:57:36 2004 Subject: [V4RB] tricky [I think] search In-Reply-To: <951A62F2-11B0-11D9-8274-000D9366C144@pedro.Net.au> Message-ID: On 9/29/04 3:43 AM, "Pedro fp" wrote: Hi Pedro, > G'day Folks > > My current project has a table "person" which has a one to many > relationship to a table "history". The history table has a DateTime > field for maintaining the chronology. It is possible for a person to > have no related history records at all but all history records must be > associated with a person [kV_Casade is set on the VObjectPtr]. > I need to be able to select all records in person where the most recent > history record matches a specified value. > The best I can think of is to get a cursor on history, loop through it > getting all the VObjectPtr values where the match occurs on the most > recent record and then use those to build a long SQL string of the form Well, this can be made in the single query: SELECT PersonPtr, max( HistoryDate ) FROM History WHERE something GROUP BY PersonPtr > ... > "SELECT ... WHERE RecID = VObjectPtr(1) OR RecID = VObjectPtr(2) OR > RecID = VObjectPtr(3) ... OR RecID = VObjectPtr(n)" > This seems very unwieldy to me, can anyone suggest a better way? Short form: WHERE RecID in ( 1, 2, 3, 4, ... ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 16:32:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 09:24:08 2004 Subject: several db ? In-Reply-To: Message-ID: On 9/29/04 10:46 AM, "olivier" wrote: Hi Oliver. > Valentina 1.90 RB 5.5.3 Mac os X 3.3 > > Hi Ruslan and list, > > I makes a program which manages several address books (name, first > name, address, cp, city, telephone, mail....). > The customer should be able to make comparisons between address books, > in a simple and fast way. > Address books can have many addresses (they are intended to make > mailings). (500 to 30 000 adresses per adress book) > It is important in this application of power to compare (to compare, to > deduct, to make requests on the same field), for example, the persons > in the adress book "customers" and the persons of the adress book > "prospects". > ( For example a customer would like to know all the persons of the file > customer AND of the file prospects who have the same zip) > > I hesitate in the choice of the structure: > > - A adress book = a db? > Advantages: very fast treatment inside the adress book. Number of > infinite possible adress books. > Inconveniences: treatments between various adress books impractical and > not expresses. > > - A adress book = a table? > About the same advantages and the inconveniences as the previous > method. Limited number of adress books. > > - All the adress books in the same table? > Adress book would be identified in the table by a field byte. Then you can have maximum 256 books > Advantages: treatments between various adress books fast and flexible. > Inconveniences: additions and updates slower. Treatments in a single > adress book averagely fast. > But I have the impression (thanks to the speed of Valentina) that this > solution is ideal if all the adress books does not exceed 100 000 > addresses. > > According to your experience, that think of it you? > The last solution seems risky but if the customer manages on average > 1000 at 50 000 addresses, it is optimal? Since you need compare records from different books, YES -- the best way to have them in the single book. Actually on AVERAGE modern hardware Valentina will easy answer on tables in millions of records. Marcus have report that query to 28 million table was in 0.2 of seconds or him (and that was G4 it seems). Just on some reason you test on OLD hardware. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 16:40:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 09:41:38 2004 Subject: FIXED: Bug with SQL command DELETE WHERE in 1.11 Message-ID: Hi All, Yes I was able reproduce it and fix it. I am starting build 1.11 archives again and upload them. In 2-3 hours you can check site for new builds. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From r.hildebrandt at sbt.fr Wed Sep 29 17:38:41 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Wed Sep 29 10:39:29 2004 Subject: Import ascii Problem V4MD 1.11 Message-ID: <003901c4a63a$77969dd0$3a01a8c0@sbt> Hi all, I heard a few minutes ago a new build of V4MD will be done. That's fine !!! I know it's a little bit late but maybe this will be done for next build !!! The problem we encounter is that importascii don't work if there is a text field in the table. On windows, director 8.51, V4MD 1.11 (same with 1.10) This means all works fine importing a text file if there no text field in the table. But if there is a text field then nothing happens but no error message. If we replace all text fields by varchar then all works fine. This problem is quite blocking for us as far as we import all our data trough text files. By now we have to replace all text fields by varchar. I have build a simple test project to show. I can send it to you now, Ruslan, if it can help. Best regards Roland HILDEBRANDT From sunshine at public.kherson.ua Wed Sep 29 18:56:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 11:14:59 2004 Subject: Import ascii Problem V4MD 1.11 In-Reply-To: <003901c4a63a$77969dd0$3a01a8c0@sbt> Message-ID: On 9/29/04 6:38 PM, "Roland Hildebrandt" wrote: Hi Roland, > I heard a few minutes ago a new build of V4MD will be done. That's fine !!! > I know it's a little bit late but maybe this will be done for next build !!! > > The problem we encounter is that importascii don't work if there is a text > field in the table. > On windows, director 8.51, V4MD 1.11 (same with 1.10) > > This means all works fine importing a text file if there no text field in the > table. > But if there is a text field then nothing happens but no error message. > If we replace all text fields by varchar then all works fine. > This problem is quite blocking for us as far as we import all our data trough > text files. By now we have to replace all text fields by varchar. > > I have build a simple test project to show. > I can send it to you now, Ruslan, if it can help. Ok, send it. But I doubt... Try to make simple few records in table, Then export them using COMA separated format Then import them back. Works? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 19:04:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 11:28:32 2004 Subject: How to track down doubloons in valentina ? In-Reply-To: Message-ID: On 9/29/04 4:45 PM, "olivier" wrote: > valentina 1.90 RB 5.5.3 os X 3.3 > > Hi Ruslan and list, > > How to track down doubloons in Valentina? > For example in an address book, we sometimes have several records for > the same person/society : > > e.g. > - record 100 : field name : "PARADIGMA SOFTWARE" > - record 9134 : field name :"SOCIETY PARADIGMA" > - record 9877 : field name : "RUSLAN PARADIGMA SOFT." > > The following request SQL does not work in Valentina. > How can it be done? (without passing by an enormous loop in RB) > > SELECT * FROM address t1, address t2 WHERE t1.name LIKE t2.name AND > t1.recid<>t2.recid > > (in Oracle : SELECT * FROM address T1 JOIN address T2 ON (T1.name LIKE > '%'+T2.name+'%' AND T1.rowId<>T2.rowId)) Interesting query, Oliver. I am afraid Valentina cannot resolve such query. ---------- It looks to be very hard for execution. It needs to compare each row with each row AFTER it. If you have 100K records, then you get 50K * 100K comparisons...if I count correctly. I wonder, does Oracle do this query much longer than other queries ? I think you need or write some own smart alg May be do some data prepare to optimize this task. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Wed Sep 29 18:41:38 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Sep 29 11:41:54 2004 Subject: Bug in vServer with multiple databases? Message-ID: Hi Ruslan, I think I found a bug: When you have e.g. 2 databases in the DB folder, getDatabaseCount() will return "3", which is OK, since the master.db is #3. Now when you stop the service, delete one database and restart the service, getDatabaseCount() still returns "3". Even more, when you do something like this: repeat with ii=1 to y xx=vs.GetDbInfoRef(ii) xx_name=vs.GetDbName(xx) vs.ReleaseDbInfoRef(xx) put xx_name if xx_name="me.boxx" then flagMe=0 exit repeat end if end repeat You will even get the name of the db, that is no more existing. Please fix this. Thank you, Florian From r.hildebrandt at sbt.fr Wed Sep 29 18:44:15 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Wed Sep 29 11:44:54 2004 Subject: Import ascii Problem V4MD 1.11 References: Message-ID: <004701c4a643$a081d760$3a01a8c0@sbt> > Ok, send it. > > But I doubt... I have made new tests, the problem only occurs when using flag unique = true and field = text. I the other cases it works fine. IE the import works correctly with field = text if flag unique is false (default). > Try to make simple few records in table, > Then export them using COMA separated format > Then import them back. > Works? > I will then send in few minutes. We use ? for field delimiters and ? for line delimiters is this allright ? I don't need to make any export to have the import not work. The project is on a fresh DB, I do import on table where a text field has flag unique and it didn't work. Best regards Roland Hildebrandt From sunshine at public.kherson.ua Wed Sep 29 19:51:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 11:59:50 2004 Subject: Import ascii Problem V4MD 1.11 In-Reply-To: <004701c4a643$a081d760$3a01a8c0@sbt> Message-ID: On 9/29/04 7:44 PM, "Roland Hildebrandt" wrote: >> Ok, send it. >> >> But I doubt... > > I have made new tests, the problem only occurs when using flag unique = true > and field = text. > I the other cases it works fine. IE the import works correctly with field = > text if flag unique is false (default). Well for text field flag unique have no sense -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 19:52:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 12:02:32 2004 Subject: Import ascii Problem V4MD 1.11 In-Reply-To: <004701c4a643$a081d760$3a01a8c0@sbt> Message-ID: On 9/29/04 7:44 PM, "Roland Hildebrandt" wrote: >> Try to make simple few records in table, >> Then export them using COMA separated format >> Then import them back. >> Works? >> > I will then send in few minutes. But what for? Just do not use flag unique for TEXT field > We use ? for field delimiters and ? for line delimiters is this allright ? yes > I don't need to make any export to have the import not work. > The project is on a fresh DB, I do import on table where a text field has > flag unique and it didn't work. Just remove this flag !!! What sense ??? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Wed Sep 29 19:17:42 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Sep 29 12:19:00 2004 Subject: Import ascii Problem V4MD 1.11 In-Reply-To: References: Message-ID: > > I don't need to make any export to have the import not work. > >> The project is on a fresh DB, I do import on table where a text field has >> flag unique and it didn't work. > >Just remove this flag !!! > >What sense ??? > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] But... you, Ruslan, also need to make valentina either not accept that flag for text fields or work as expected if the flag is accepted. At least the flag should be ignored and the result should be the same as if it was off. Robert From vidal_olivier at yahoo.fr Wed Sep 29 19:59:51 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Sep 29 12:51:02 2004 Subject: several db ? In-Reply-To: References: Message-ID: <5C0B1147-1241-11D9-9FFC-00039310B7DA@yahoo.fr> Hi ruslan, thank you very much. According to my tests, the only problem is if the customer wants to kill of one of address book of the db. For example 20 000 recordings. By making the test with cursor.deleteall(), it is slow. It has to be because of indexs. olivier Le 29 sept. 04, ? 15:32, Ruslan Zasukhin a ?crit : > Since you need compare records from different books, > YES -- the best way to have them in the single book. > > Actually on AVERAGE modern hardware Valentina will easy answer on > tables in > millions of records. Marcus have report that query to 28 million table > was > in 0.2 of seconds or him (and that was G4 it seems). > > Just on some reason you test on OLD hardware. From vidal_olivier at yahoo.fr Wed Sep 29 20:17:04 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Sep 29 13:08:11 2004 Subject: How to track down doubloons in valentina ? In-Reply-To: References: Message-ID: Hi Ruslan, > It looks to be very hard for execution. > It needs to compare each row with each row AFTER it. > If you have 100K records, then you get 50K * 100K comparisons...if I > count > correctly. It is a big problem. Effectively it asks for many resources. It is for it that I hoped that this type of function shall be optimized in Valentina. I am amazed. It is all the same one of the main purposes of a database to verify doubloons and to compare a recording with the other recordings of the base ? > I wonder, does Oracle do this query much longer than other queries ? I do not know! I saw that in a book... > > I think you need or write some own smart alg > May be do some data prepare to optimize this task. > I am going to think about it. I hope that I am going to find a solution otherwise my program is damned! I have already tried the basic method: a realbasic loop. it is slow, far too much slow. I am going to try to find a solution. You see a solution? olivier From giv at tlc.kherson.ua Wed Sep 29 21:10:50 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Sep 29 13:17:08 2004 Subject: Bug in vServer with multiple databases? References: Message-ID: <00a101c4a64f$a7454b20$3b04a8c0@giv> Hi Florian, > When you have e.g. 2 databases in the DB folder, getDatabaseCount() will > return "3", which is OK, since the master.db is #3. Now when you stop the > service, delete one database and restart the service, getDatabaseCount() > still returns "3". I'll check this. You use the latest products (V4MD Client Xtra & VServer), don't you? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Wed Sep 29 20:20:32 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Sep 29 13:20:38 2004 Subject: Bug in vServer with multiple databases? In-Reply-To: <00a101c4a64f$a7454b20$3b04a8c0@giv> Message-ID: That's vServer 2.0a63 with V4MD Xtra v63 Best regards, Florian > -----Original Message----- > From: valentina-bounces+fb=memedia.de@lists.macserve.net > [mailto:valentina-bounces+fb=memedia.de@lists.macserve.net] > On Behalf Of Igor Gomon > Sent: Wednesday, September 29, 2004 7:11 PM > To: Valentina Developers > Subject: Re: Bug in vServer with multiple databases? > > Hi Florian, > > > When you have e.g. 2 databases in the DB folder, getDatabaseCount() > > will return "3", which is OK, since the master.db is #3. > Now when you > > stop the service, delete one database and restart the service, > > getDatabaseCount() still returns "3". > I'll check this. > You use the latest products (V4MD Client Xtra & VServer), don't you? > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Sep 29 21:22:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 13:23:08 2004 Subject: Import ascii Problem V4MD 1.11 In-Reply-To: Message-ID: On 9/29/04 8:17 PM, "Robert Brenstein" wrote: >>> I don't need to make any export to have the import not work. >> >>> The project is on a fresh DB, I do import on table where a text field has >>> flag unique and it didn't work. >> >> Just remove this flag !!! >> >> What sense ??? >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > But... you, Ruslan, also need to make valentina either not accept > that flag for text fields or work as expected if the flag is > accepted. At least the flag should be ignored and the result should > be the same as if it was off. This is true -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 21:23:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 13:24:43 2004 Subject: several db ? In-Reply-To: <5C0B1147-1241-11D9-9FFC-00039310B7DA@yahoo.fr> Message-ID: On 9/29/04 8:59 PM, "olivier" wrote: > Hi ruslan, > > > thank you very much. > > According to my tests, the only problem is if the customer wants to > kill of one of address book of the db. For example 20 000 recordings. > By making the test with cursor.deleteall(), it is slow. It has to be > because of indexs. You can try turn off indexes then delete all then set them back -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 21:30:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 13:33:14 2004 Subject: Bug in vServer with multiple databases? In-Reply-To: Message-ID: On 9/29/04 9:20 PM, "Florian Bogeschdorfer" wrote: >> Hi Florian, >> >>> When you have e.g. 2 databases in the DB folder, getDatabaseCount() >>> will return "3", which is OK, since the master.db is #3. >> Now when you >>> stop the service, delete one database and restart the service, >>> getDatabaseCount() still returns "3". But have you un-register db ? Vserver watch into MasterDb but not into physical files. Actually I think this is not logical Igor. If masterdb refer some db, but it was not found, Then this db must not be counted. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Sep 29 21:28:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 29 13:33:34 2004 Subject: How to track down doubloons in valentina ? In-Reply-To: Message-ID: On 9/29/04 9:17 PM, "olivier" wrote: Hi Oliver, >> It looks to be very hard for execution. >> It needs to compare each row with each row AFTER it. >> If you have 100K records, then you get 50K * 100K comparisons...if I >> count >> correctly. > > It is a big problem. > Effectively it asks for many resources. > It is for it that I hoped that this type of function shall be optimized > in Valentina. > I am amazed. It is all the same one of the main purposes of a database > to verify doubloons and to compare a recording with the other > recordings of the base ? No. There general operation is GROUP BY, DISTINCT, Which can compare order remove THE SAME values. Not-exact match is not general operation of dbms >> I think you need or write some own smart alg >> May be do some data prepare to optimize this task. >> > > I am going to think about it. > I hope that I am going to find a solution otherwise my program is > damned! > I have already tried the basic method: a realbasic loop. it is slow, > far too much slow. > I am going to try to find a solution. > You see a solution? Look. By raw force this is incredible by resources task. I think you need search for special algorithm. It must do some massage of data. For example sort words in the field. May be this will help somehow. May be you need produce table of all and each word and In the main table produce that field as combination of numbers (recIDs) Hmm, may be this is an idea. Let you have 1 word1 2 word2 Then in your main table you have word1 word2 1 + 2 SORT 1 2 word2 word1 2 + 1 SORT 1 2 I think you need search inet for ideas. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Wed Sep 29 20:49:08 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Sep 29 13:49:14 2004 Subject: Bug in vServer with multiple databases? In-Reply-To: Message-ID: > > But have you un-register db ? No. What for? Why would Valentina count and even show the name of a not-existing DB? What if the user deletes a DB? If I can not rely on the built in functions, I would have to look for the filepath and see if the file is there. > > Vserver watch into MasterDb but not into physical files. > > > Actually I think this is not logical Igor. > If masterdb refer some db, but it was not found, Then this db > must not be counted. Yes, I think so too. Best regards, Florian From vidal_olivier at yahoo.fr Thu Sep 30 09:02:13 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Thu Sep 30 01:53:23 2004 Subject: How to track down doubloons in valentina ? In-Reply-To: References: Message-ID: ok ruslan, thank you very much. I am going to study this problem. olivier Le 29 sept. 04, ? 20:28, Ruslan Zasukhin a ?crit : > I think you need search for special algorithm. > It must do some massage of data. From r.hildebrandt at sbt.fr Thu Sep 30 11:27:05 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Thu Sep 30 04:27:56 2004 Subject: Import ascii Problem V4MD 1.11 continued References: Message-ID: <00e701c4a6cf$b86abae0$3a01a8c0@sbt> Hi all, V4MD 1.11 (same 1.10 1.9.8) director 8.51 windows XP. I have send test project off list. I get in another problem with importascii : Importascii fails on crypted DB if there a varchar field longer as 508 in table. The import works fine : * if varchar fields are shorter than 509 * if the DB isn't crypted * if you replace varchar fields by text fields of same length. This is quite blocking as we allways use for our projects : * crypted DB * importascii for our Data imported from SQL serveur trough asp pages * varchar > 508 are quite frequent in our DB I'm still working on our problems with importascii hope this will help to make this function bulletproof. Best regards Roland Hildebrandt From wonderfef at noos.fr Thu Sep 30 11:58:09 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Sep 30 04:58:23 2004 Subject: [V4RBclient] fields with nil or zero values Message-ID: Hello all, In my Table, I have a field of type Short. I use this field as a marker, sometimes I set it to 1, 2... But, by default, it is 0. The trouble is: If I add a record, if I don't specifically set the value to 0 cursor.ShortField("Marker").Value = 0 ... when I perform a SQL search SELECT * FROM myTable WHERE Marker = 0 ValentinaServer finds no record. Is that normal ? Thanks for your help Eric From beatrix.willius at de.opel.com Thu Sep 30 11:59:36 2004 From: beatrix.willius at de.opel.com (Beatrix Willius) Date: Thu Sep 30 05:00:10 2004 Subject: How to track down doubloons in valentina ? Message-ID: Please find below a quick example from Access: SELECT [PART_NUMBER], [Gross Value], [Phase Name] FROM [epsilon vpps] WHERE [PART_NUMBER] In (SELECT [PART_NUMBER] FROM [epsilon vpps] As Tmp GROUP BY [PART_NUMBER] HAVING Count(*)>1 ) ORDER BY [PART_NUMBER]; This query searches for duplicates in the Part_Number field and also shows Gross Value and Phase Name. If I want to search for duplicates in something like First Name + Last Name, I would create a query with the concatenated fields in it and base the duplicate search on this query. Cannot check now, if this works in Valentina. HTH Mit freundlichen Gruessen Beatrix Willius Adam Opel AG CE Cost Reduction - Database-Team - IPC 33-01 Tel.: ++49-6142-7-50694 Fax: ++49-6142-7-63383 From r.hildebrandt at sbt.fr Thu Sep 30 12:18:22 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Thu Sep 30 05:19:03 2004 Subject: Import ascii Problem V4MD 1.11 continued References: <00e701c4a6cf$b86abae0$3a01a8c0@sbt> Message-ID: <011201c4a6d6$e24f3370$3a01a8c0@sbt> > > I'm still working on our problems with importascii hope this will help to > make this function bulletproof. > Hi all, V4MD 1.11, Director 8.51 Windows XP New problem is (I send test project off list) INSERT INTO inserts not the right value (I think NULL) in a text field longer than 256 of crypted DB if you have used importascii on this table before. The INSERT works fine when : * you use non crypted DB * you use varchar (but you have the problem of the import as i told before) * you use text field shorter than 257 * you don't used importascii on this table before In addition to last problem this is quite bad as : This means you can't create a crypted DB with data imported via importascii with a field longer than 508 if you wan't to insert lines during project in this table. In fact * if you use varchar >508 the import fails. * if you use text >256 you can't do any insert. So I don't see any workaround except using a loop of INSERT in place of importascii which is really to slow when you have to generate several times a day DBs mades of more than 50000 lines during project start. Any other ideas of workaround ? Our source data is in on a SQLserver DB. The structures and data is send to us by asp pages. Best regards Roland Hildebrandt From sunshine at public.kherson.ua Thu Sep 30 13:31:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 30 05:31:48 2004 Subject: How to track down doubloons in valentina ? In-Reply-To: Message-ID: On 9/30/04 12:59 PM, "Beatrix Willius" wrote: > Please find below a quick example from Access: > > SELECT [PART_NUMBER], [Gross Value], [Phase Name] > FROM [epsilon vpps] > WHERE [PART_NUMBER] In (SELECT [PART_NUMBER] FROM [epsilon vpps] As Tmp > GROUP BY [PART_NUMBER] HAVING Count(*)>1 ) > ORDER BY [PART_NUMBER]; > > This query searches for duplicates in the Part_Number field and also shows > Gross Value and Phase Name. If I want to search for duplicates in > something like First Name + Last Name, I would create a query with the > concatenated fields in it and base the duplicate search on this query. > > Cannot check now, if this works in Valentina. Nom because of HAVING, And even this is not the same what Oliver want. He want LIKE for comparisons. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Sep 30 13:32:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 30 05:32:58 2004 Subject: [V4RBclient] fields with nil or zero values In-Reply-To: Message-ID: On 9/30/04 12:58 PM, "Eric Ferrer" wrote: Hi Eric, > Hello all, > > In my Table, I have a field of type Short. > I use this field as a marker, sometimes I set it to 1, 2... > But, by default, it is 0. > > The trouble is: > If I add a record, if I don't specifically set the value to 0 > cursor.ShortField("Marker").Value = 0 > > ... when I perform a SQL search > SELECT * FROM myTable WHERE Marker = 0 > > ValentinaServer finds no record. > > Is that normal ? I think that field is marked as Nullable? Then this is correct, it get not 0 but NULL value. And you need search it using WHERE Marker is NULL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Thu Sep 30 15:04:13 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Sep 30 08:04:24 2004 Subject: [V4RBclient] fields with nil or zero values In-Reply-To: Message-ID: Hi Ruslan, > I think that field is marked as Nullable? Yes, though I don't remember having set this value to TRUE while creating my database structure... Anyway, now it's set to FALSE and it runs great! Thank you very much Eric From cm_sheffield at yahoo.com Thu Sep 30 14:14:31 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Sep 30 16:14:42 2004 Subject: error 13 (OS X) and error 57 (OS 9) Message-ID: <20040930211431.31057.qmail@web52408.mail.yahoo.com> I have a customer who is trying to install VServer on her Mac OS X server (running 10.2.8 I believe). Everything goes fine and the service is running. But after installing our software on the client workstations, she is unable to connect to the database on the server. She's getting error 13 under Mac OS X (Panther) and error 57 under Mac OS 9. Does anyone know what these errors mean? I know they're not normal Valentina errors, but something is causing them when trying to access a Valentina database. I can't find either one when searching Google. A search for error 13 says it's a type-mismatch under Windows, but can't find anything about Mac OS. Can someone help? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com