From kim at torchpublishing.com.au Mon Nov 1 15:02:18 2004 From: kim at torchpublishing.com.au (Kim Kohen) Date: Sun Oct 31 22:02:29 2004 Subject: My test files In-Reply-To: Message-ID: G'day all, Not only am I a novice but I'm an ambitious one:) After getting my head screwed up with the existing examples for Valentina and RB, I decided I'd put what little knowledge I have into an example project which might help other complete novice. Hopefully it might aid others who are similarly lost with talk of classes, sub-classes, objects, modules and so forth. If anyone is interested in looking, trying, criticising or assisting, it can be found here: http://www.webguide.com.au/valentina_example.zip Cheers kim From fb at memedia.de Mon Nov 1 10:15:31 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Nov 1 03:17:45 2004 Subject: Synchronising dbs from several servers In-Reply-To: Message-ID: Thank you Cindy, that is another way yes. It is less performant, but this would mean only slight changes to my coding. I am planning on adding a "changed" flag now to all tables, and a script that will look for the changed records in the relevant tables every few seconds and synchronize them. Best regards, Florian PS: Ruslan, there is no automatic timestamp of last record change? > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Cindy Brown > Sent: Thursday, October 28, 2004 8:11 PM > To: Valentina Developers > Subject: Re: Synchronising dbs from several servers > > Hi, > > I do this at the moment but with TCP/IP across a LAN. What I > did was set up an additional baseobject which is unique to > each machine and keeps track of all changes. This database in > that baseobject has four fields - the name of the database > where the change occurred, a unique recid for the record that > has been changed, the type of change (add, edit, delete) and > lastly the name of the machine (or in your case server) where > the change was made. > > I then use a timer to check every 30 seconds (you could make > it quicker) whether there have been any changes on the > workstation. If there are any new additions to the sync list, > these changes are sent across to a main server and added to > the main server's sync list. Then if there are any changes on > the main server, these are sent back to the workstation. > > It took a bit of work to get this to go right but I have > managed it with REALbasic and Valentina 1.10. I now have it > working with up to 50 machines on a network talking to a > server and syncing whenever they connect. > > Hope that helps. > > Cindy > > >> Each outlet can be a publisher, eg customer goes to outlet > 10, buys > >> something, then 15 minutes later he goes to outlet 15 and > there must > >> be the changes already downloaded... > > > -- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From forgete at cafederic.com Tue Nov 2 14:07:32 2004 From: forgete at cafederic.com (Eric Forget) Date: Tue Nov 2 13:07:44 2004 Subject: Speed of VDK_Cursor::ExecuteSql_WithNoUnion() Message-ID: Hi Ruslan, Currently, I'm doing a lot of profiling with Shark. Most of the problems are on my side. However, I found a place where Valentina could be better optimized. Here is the stack snippet from Shark: 1 10.3% VDK_Cursor::ExecuteSql_WithNoUnion(char const*) 2 10.0% VDK_Cursor::Find_VDK_Objects() 3 10.0% VDK_BaseObject::GetField(char const*) const 4 9.9% FBL_String::CompareNoCase(char const*, char const*, unsigned long) 5 5.5% CaseConversionEngine 6 2.1% FBL_String::FBL_String[unified](char const*, unsigned long) 7 2.0% FBL_String::~FBL_String [unified]() 7 0.1% strcmp As you can see the CompareNoCase is taking about 99% of the GetField() function, while the real compare (strcmp) is taking only 10%. So here is the source of CompareNoCase(): short FBL_String::CompareNoCase( const char* s1, const char* s2, ulong inHowMuch ) { FBL_String leftStr( s1, inHowMuch ); FBL_String rightStr( s2, inHowMuch ); #ifdef FBL_MAC ::UppercaseText( leftStr, (short) leftStr.mLen, smSystemScript ); ::UppercaseText( rightStr, (short) rightStr.mLen, smSystemScript ); #else strupr( leftStr ); strupr( rightStr ); #endif return (short) strcmp( leftStr, rightStr ); } Problem 1. The constructor and destructor of the 2 FBL_String are taking near 50% of the execution time of the SQL query. You should try a way to remove them. Problem 2. I do not have the source of GetField(), but I believe that one of the 2 strings is always the same. So, it is made upper case a lot of time. Doing it just 1 time will reduce execution by another near 50%. By doing those, you will save around 75% of the time. Cheers, ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Wed Nov 3 08:36:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 3 00:37:42 2004 Subject: Speed of VDK_Cursor::ExecuteSql_WithNoUnion() In-Reply-To: Message-ID: On 11/2/04 9:07 PM, "Eric Forget" wrote: > > Problem 1. The constructor and destructor of the 2 FBL_String are taking > near 50% of the execution time of the SQL query. You should try a way to > remove them. > > Problem 2. I do not have the source of GetField(), but I believe that one of > the 2 strings is always the same. So, it is made upper case a lot of time. > Doing it just 1 time will reduce execution by another near 50%. > > By doing those, you will save around 75% of the time. Hi Erik, In 2.0 we have totally different 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 robert at formworkdesign.com Thu Nov 4 08:44:14 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Nov 4 07:44:25 2004 Subject: [svr] November license? Message-ID: <9D841640-2E67-11D9-85AC-000A95B5C3F8@formworkdesign.com> Did I miss a major announcement/alert?? The only Mac license I see on the web site is for Oct. 1. I'd love to be back up and running today!! -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Thu Nov 4 16:43:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 08:44:55 2004 Subject: [svr] November license? In-Reply-To: <9D841640-2E67-11D9-85AC-000A95B5C3F8@formworkdesign.com> Message-ID: On 11/4/04 3:44 PM, "Robert Nichols" wrote: > Did I miss a major announcement/alert?? > > The only Mac license I see on the web site is for Oct. 1. I'd love to > be back up and running today!! New license files Uploaded. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Nov 4 15:54:03 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 4 08:54:18 2004 Subject: Weird search result Message-ID: Hi Ruslan, I have recently added a change flag to my tables (kTypeBoolean) and testing around I did this: pCursor=VALselectReturnCursor("SELECT * FROM KUNDENTable WHERE changed=3") Of course 'changed' can't be 3, since it is boolean, but I get all records as a search result... No valentinaerror() either. Best regards, Florian From wgregoire at paris.mediagerance.com Thu Nov 4 17:25:51 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Nov 4 10:22:44 2004 Subject: [V4MD] MAX/MIN In-Reply-To: Message-ID: <001001c4c28a$f3ecbbf0$1d0a11ac@wgregoire> Hi If I use "SELECT MIN(Table1.Value) FROM Table1" on a EMPTY table Table1, GetRecordCount() return 1 Is it a normal feature ?! thanks WilG From sunshine at public.kherson.ua Thu Nov 4 20:33:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 12:34:52 2004 Subject: Accented character problem from Mac OS to Windows In-Reply-To: <418A2570.9060407@wxs.nl> Message-ID: On 11/4/04 2:49 PM, "Leo Van den Brande" wrote: Hi Leo, > Hi Ruslan, > > I have now fully implemented Valentina in my program (RealBasic 5.2.4), > that supports authors when making a multimedial clinical textbook. It > works like a charm! > > Except, I encounter an unexpected problem with accented characters on > transfer of the DB between platforms that I can't solve. I could not > find the answer to this specific problem in the Valentina discussions, > so, I must bother you again. > > I store text as is and on retrieval define UTF8 as encoding. You store text into Valentina UTF8 ?! I think this is source of problem then. > When text is stored and retrieved under Mac OS, accented characters come > out right. However, when copying this DB to a Windows platform (2000 and > XP) and retrieve the text, accented characters are simply lost (in > Dutch: "pati?nt" becomes "patint"). If next, still under Windows, I > correct this in the editor back to "pati?nt", store in the same DB and > retrieve, the accented character is there as it should be. > > Since some authors work under the Mac OS and others under Windows and > must exchange DB's, this poses a problem. What should I do? Valentina 1.x do SELF conversion of text which is stored in String, VarChar or Text field. And I think this is why you see your problem. Valentina expect that on Mac text is in the Mac Western encoding, And on Windows it is in Latin-1 encoding. When file are moved Valentina self do conversion between these encodings. You try to do UNUSUAL thing. I think you need simply to store encodings as I have point. > Thanks very much! > > Kindly, > > Leo -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 4 20:42:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 12:43:30 2004 Subject: Weird search result In-Reply-To: Message-ID: On 11/4/04 4:54 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > Hi Ruslan, > > I have recently added a change flag to my tables (kTypeBoolean) and testing > around I did this: > > pCursor=VALselectReturnCursor("SELECT * FROM KUNDENTable WHERE changed=3") > > Of course 'changed' can't be 3, since it is boolean, but I get all records > as a search result... > > No valentinaerror() either. Actually error is not expected here. In C++ exists rule: what is not ZERO it is TRUE. only ZERO is FALSE. It is strange that it returns all records. I hope that if you use = 1 it works correct, 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 Thu Nov 4 20:42:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 12:43:54 2004 Subject: [V4MD] MAX/MIN In-Reply-To: <001001c4c28a$f3ecbbf0$1d0a11ac@wgregoire> Message-ID: On 11/4/04 6:25 PM, "Gregoire William" wrote: > Hi > > If I use "SELECT MIN(Table1.Value) FROM Table1" on a EMPTY table Table1, > GetRecordCount() return 1 > > Is it a normal feature ?! Looks to be be bug -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Thu Nov 4 13:45:08 2004 From: forgete at cafederic.com (Eric Forget) Date: Thu Nov 4 12:45:19 2004 Subject: [VSDK] SetCompareFunction for VDK_Text In-Reply-To: Message-ID: Hi Ruslan, > On 10/29/04 11:30 PM, "Eric Forget" wrote: > >> Hi Ruslan, >> >> If you recall a few months ago you added a parameter to SetCompareFunction() >> of VDK_String to prohibit an automatic rebuild of the index each time an >> application is launched. Unfortunately, you forgot to add the same to the >> VDK_Text. >> >> Would you mind adding it? > > It is not hard. > > I will try catch time Eric. When do you think you will be able to have it corrected? ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Thu Nov 4 20:47:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 12:48:34 2004 Subject: [VSDK] SetCompareFunction for VDK_Text In-Reply-To: Message-ID: On 11/4/04 8:45 PM, "Eric Forget" wrote: > Hi Ruslan, > >> On 10/29/04 11:30 PM, "Eric Forget" wrote: >> >>> Hi Ruslan, >>> >>> If you recall a few months ago you added a parameter to SetCompareFunction() >>> of VDK_String to prohibit an automatic rebuild of the index each time an >>> application is launched. Unfortunately, you forgot to add the same to the >>> VDK_Text. >>> >>> Would you mind adding it? >> >> It is not hard. >> >> I will try catch time Eric. > > When do you think you will be able to have it corrected? Hi Eric, Let put target on weekend. You need version for xCode ? What version ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Thu Nov 4 13:52:23 2004 From: forgete at cafederic.com (Eric Forget) Date: Thu Nov 4 12:52:31 2004 Subject: [VSDK] SetCompareFunction for VDK_Text In-Reply-To: Message-ID: > On 11/4/04 8:45 PM, "Eric Forget" wrote: > >> Hi Ruslan, >> >>> On 10/29/04 11:30 PM, "Eric Forget" wrote: >>> >>>> Hi Ruslan, >>>> >>>> If you recall a few months ago you added a parameter to >>>> SetCompareFunction() >>>> of VDK_String to prohibit an automatic rebuild of the index each time an >>>> application is launched. Unfortunately, you forgot to add the same to the >>>> VDK_Text. >>>> >>>> Would you mind adding it? >>> >>> It is not hard. >>> >>> I will try catch time Eric. >> >> When do you think you will be able to have it corrected? > > Hi Eric, > > Let put target on weekend. > > You need version for xCode ? > What version ? That's fine. I'm using Xcode 1.5. ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From frank-list3 at mindstarprods.com Thu Nov 4 12:16:35 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Thu Nov 4 13:16:41 2004 Subject: [V4MD] MAX/MIN In-Reply-To: References: Message-ID: <0B247508-2E96-11D9-90FF-0003939246BC@mindstarprods.com> Hi Guys, On Nov 4, 2004, at 11:42 AM, Ruslan Zasukhin wrote: > On 11/4/04 6:25 PM, "Gregoire William" > > wrote: > >> Hi >> >> If I use "SELECT MIN(Table1.Value) FROM Table1" on a EMPTY table >> Table1, >> GetRecordCount() return 1 >> >> Is it a normal feature ?! > > Looks to be be bug Actually, I think it is correct. All summation functions should return 1 record - or 1 record per group when using GROUP BY. Even if the result is Null, it is still a record to say that. I checked on MySQL and it returns 1 record (with a Null value) in such a case. Best regards, Frank From sunshine at public.kherson.ua Thu Nov 4 22:02:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 4 14:03:15 2004 Subject: [V4MD] MAX/MIN In-Reply-To: <0B247508-2E96-11D9-90FF-0003939246BC@mindstarprods.com> Message-ID: On 11/4/04 9:16 PM, "Frank Schima" wrote: >>> Hi >>> >>> If I use "SELECT MIN(Table1.Value) FROM Table1" on a EMPTY table >>> Table1, >>> GetRecordCount() return 1 >>> >>> Is it a normal feature ?! >> >> Looks to be be bug > > Actually, I think it is correct. All summation functions should return > 1 record - or 1 record per group when using GROUP BY. Even if the > result is Null, it is still a record to say that. > > I checked on MySQL and it returns 1 record (with a Null value) in such > a case. You are right Frank. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Thu Nov 4 23:23:30 2004 From: ralf at end-if.de (Ralf Sander) Date: Thu Nov 4 16:23:46 2004 Subject: pictures and speed Message-ID: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> I am planning a picture database with realbasic that should provide a thumbnail view and made some quick tests with valentina to observe the best and fast way it could be done. 1. way Storing all pictures in a temporary array is fast at display but slow on request, because all pictures need to be decompressed at once and also slow at sorts etc, because it needs to be refilled every time. Also it takes a lot of ram. 2. way Storing all pictures in an array, but only the viewed at request and the not yet invisible in a following thread. Ok, but a lot of work to eleborate on the scrollbar position etc to create a smooth viewing experience. 3. way Getting pictures from the db when they are needed (draw event): I tried with a standard listbox and the "backgroundpaint" event: Function CellBackgroundPaint(g As Graphics, row As Integer, column As Integer) As Boolean dim p as Picture dim b as Boolean if column=0 then p=NewPicture(30,30,32) b=mDataBase.mPerson.GoToRecID(row) p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 g.DrawPicture p,0,0,30,30 end return true End Function (I need to create a new picture here, because direct drawing draws anywhere on the screen (bug?)) This solution is really to slow ( scrolling ). I think, because of the decompressing time for the pictures. Have anyone any other idea, how I could realize this as fast as possible. Thanks, Ralf From fb at memedia.de Fri Nov 5 08:02:50 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Nov 5 01:03:00 2004 Subject: Weird search result In-Reply-To: Message-ID: > > Actually error is not expected here. > > In C++ exists rule: > what is not ZERO it is TRUE. > only ZERO is FALSE. > > It is strange that it returns all records. Yes, only 2 records had changed=1, the 4000 others didn't > > I hope that if you use = 1 it works correct, yes? > Yes, that works correct Best regards, Florian From sunshine at public.kherson.ua Fri Nov 5 09:26:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 5 01:27:20 2004 Subject: pictures and speed In-Reply-To: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> Message-ID: On 11/5/04 12:23 AM, "Ralf Sander" wrote: > I am planning a picture database with realbasic that should provide a > thumbnail view and made some quick tests with valentina to observe the > best and fast way it could be done. > > 1. way > Storing all pictures in a temporary array is fast at display but slow > on request, because all pictures need to be decompressed at once and > also slow at sorts etc, because it needs to be refilled every time. > Also it takes a lot of ram. > > 2. way > Storing all pictures in an array, but only the viewed at request and > the not yet invisible in a following thread. > Ok, but a lot of work to eleborate on the scrollbar position etc to > create a smooth viewing experience. > > 3. way > Getting pictures from the db when they are needed (draw event): > > I tried with a standard listbox and the "backgroundpaint" event: > > Function CellBackgroundPaint(g As Graphics, row As Integer, column As > Integer) As Boolean > dim p as Picture > dim b as Boolean > > if column=0 then > p=NewPicture(30,30,32) > b=mDataBase.mPerson.GoToRecID(row) > p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 > g.DrawPicture p,0,0,30,30 > end > return true > > End Function > > (I need to create a new picture here, because direct drawing draws > anywhere on the screen (bug?)) > This solution is really to slow ( scrolling ). I think, because of the > decompressing time for the pictures. > > > Have anyone any other idea, how I could realize this as fast as > possible. I wonder, do you use RB listbox ? You mean that you read from db only N pictures which should be drawed now? So I assume in the same time on screen can be shown 5-10-15 pictures, yes? When you scroll down only next new picture must be read from db and shown 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 Fred.Stephenson at communication-unltd.com Fri Nov 5 09:12:41 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Fri Nov 5 02:08:17 2004 Subject: pictures and speed In-Reply-To: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> References: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> Message-ID: >I am planning a picture database with realbasic that should provide >a thumbnail view and made some quick tests with valentina to observe >the best and fast way it could be done. > >1. way >Storing all pictures in a temporary array is fast at display but >slow on request, because all pictures need to be decompressed at >once and also slow at sorts etc, because it needs to be refilled >every time. Also it takes a lot of ram. > >2. way >Storing all pictures in an array, but only the viewed at request and >the not yet invisible in a following thread. >Ok, but a lot of work to eleborate on the scrollbar position etc to >create a smooth viewing experience. > >3. way >Getting pictures from the db when they are needed (draw event): > >I tried with a standard listbox and the "backgroundpaint" event: > >Function CellBackgroundPaint(g As Graphics, row As Integer, column >As Integer) As Boolean > dim p as Picture > dim b as Boolean > > if column=0 then > p=NewPicture(30,30,32) > b=mDataBase.mPerson.GoToRecID(row) > p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 > g.DrawPicture p,0,0,30,30 > end > return true > >End Function > >(I need to create a new picture here, because direct drawing draws >anywhere on the screen (bug?)) >This solution is really to slow ( scrolling ). I think, because of >the decompressing time for the pictures. > >Have anyone any other idea, how I could realize this as fast as possible. a) does assigning the thumbnail to listbox.rowpicture(index) not work? b) can't you store your thumbnails uncompressed in the database? c) maybe datagrid from einhugur would be quicker just a quick couple of immediate thoughts. Fred -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] From Fred.Stephenson at communication-unltd.com Fri Nov 5 09:18:03 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Fri Nov 5 02:13:37 2004 Subject: pictures and speed In-Reply-To: References: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> Message-ID: I forgot d) does your picture need to be a depth of 32? a depth of 16 would reduce memory requirements somewhat -- Great Britain was given God to Save the Queen and the NHS to kill her subjects [Fred Stephenson August 27 2004] From wgregoire at paris.mediagerance.com Fri Nov 5 09:24:02 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Nov 5 02:20:48 2004 Subject: [V4MD] MAX/MIN In-Reply-To: Message-ID: <001001c4c310$cf05e6a0$1d0a11ac@wgregoire> It's why I asked if it's "normal" I'm not a SQL man so it was just to be sure... thanks WilG -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : jeudi 4 novembre 2004 21:02 A : valentina@lists.macserve.net Objet : Re: [V4MD] MAX/MIN On 11/4/04 9:16 PM, "Frank Schima" wrote: >>> Hi >>> >>> If I use "SELECT MIN(Table1.Value) FROM Table1" on a EMPTY table >>> Table1, >>> GetRecordCount() return 1 >>> >>> Is it a normal feature ?! >> >> Looks to be be bug > > Actually, I think it is correct. All summation functions should return > 1 record - or 1 record per group when using GROUP BY. Even if the > result is Null, it is still a record to say that. > > I checked on MySQL and it returns 1 record (with a Null value) in such > a case. You are right Frank. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 ralf at end-if.de Sat Nov 6 02:32:35 2004 From: ralf at end-if.de (Ralf Sander) Date: Fri Nov 5 19:32:59 2004 Subject: Pictures and speed Message-ID: > > I am planning a picture database with realbasic that should provide a > > thumbnail view and made some quick tests with valentina to observe > the > > best and fast way it could be done. > > > > 1. way > > Storing all pictures in a temporary array is fast at display but slow > > on request, because all pictures need to be decompressed at once and > > also slow at sorts etc, because it needs to be refilled every time. > > Also it takes a lot of ram. > > > > 2. way > > Storing all pictures in an array, but only the viewed at request and > > the not yet invisible in a following thread. > > Ok, but a lot of work to eleborate on the scrollbar position etc to > > create a smooth viewing experience. > > > > 3. way > > Getting pictures from the db when they are needed (draw event): > > > > I tried with a standard listbox and the "backgroundpaint" event: > > > > Function CellBackgroundPaint(g As Graphics, row As Integer, column As > > Integer) As Boolean > > dim p as Picture > > dim b as Boolean > > > > if column=0 then > > p=NewPicture(30,30,32) > > b=mDataBase.mPerson.GoToRecID(row) > > p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 > > g.DrawPicture p,0,0,30,30 > > end > > return true > > > > End Function > > > > (I need to create a new picture here, because direct drawing draws > > anywhere on the screen (bug?)) > > This solution is really to slow ( scrolling ). I think, because of > the > > decompressing time for the pictures. > > > > > > Have anyone any other idea, how I could realize this as fast as > > possible. > > I wonder, do you use RB listbox ? > yes, but only for testing purposes. I want to use a thumbnail browser like e.g. in iPhoto > You mean that you read from db only N pictures which should be drawed > now? Yes, as many thumbs, as can be viewed simultaneously-see below. > So I assume in the same time on screen can be shown 5-10-15 pictures, > yes? this should be very variable ( like in iPhoto) beginning at 32x32 up to 512x512. Average size is about 112x112. This browser already exists. I'm using at as a file browser. I get the icons or previews of the first simultaneous visible files and put them to an array. Then I load the others in a thread. But I thougt in a database, it should be possible without a thread, because it seems possible in other database applications, too. (e.g. iPhoto-How do they do it?) Also the cursor could contain all records in a database (Think of a call like "show all"), which could be thousands, and I don't want to load all pictures to an array. Even in Filemaker, I can browse through a list of thumbnails without appreciable time loss. And here the pictures are compressed jpegs too, as far as I know. To simplify testing for me ( I am new to databases, if you don't want to mention filemaker) , I started with the RB listbox, But the result is too slow. I thought the slowness could be explained by a possibly slow (de)compressing, and tests with quicktime/jpeg class of MBS and a standard blob field actually came to a faster result, but still to slow. (To your thougt, Fred, 16 bit do not change anything) > When you scroll down only next new picture must be read from db and > shown > Yes? > True for listbox, but in my thumbnail browser its even a complete new row with as many pictures as columns. Cheers, Ralf From sunshine at public.kherson.ua Sat Nov 6 07:43:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 5 23:44:21 2004 Subject: Pictures and speed In-Reply-To: Message-ID: On 11/6/04 3:32 AM, "Ralf Sander" wrote: Hi Ralf, > To simplify testing for me ( I am new to databases, if you don't want > to mention filemaker) , I started with the RB listbox, But the result > is too slow. > I thought the slowness could be explained by a possibly slow > (de)compressing, and tests with quicktime/jpeg class of MBS and a > standard blob field actually came to a faster result, but still to > slow. (To your thougt, Fred, 16 bit do not change anything) To resolve what is slow you can disable code that add to ListBox and test only speed of 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 ratzfatz at digitalmind.de Sat Nov 6 11:10:21 2004 From: ratzfatz at digitalmind.de (Stephan Huber) Date: Sat Nov 6 04:10:35 2004 Subject: pictures and speed In-Reply-To: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> References: <27E0AB6A-2EB0-11D9-8DC0-000A95DF4532@end-if.de> Message-ID: <418CA30D.8060002@digitalmind.de> Ralf Sander wrote: > Function CellBackgroundPaint(g As Graphics, row As Integer, column As > Integer) As Boolean > dim p as Picture > dim b as Boolean > > if column=0 then > p=NewPicture(30,30,32) > b=mDataBase.mPerson.GoToRecID(row) > p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 > g.DrawPicture p,0,0,30,30 > end > return true > > End Function You should cache your pictures. You load everytime a new picture when the row is repainted, even if the picture is already loaded. This is unnecessary. And there are even niftier possibilities. I think iPhoto is using different sized preview-pictures, so in the first step you can load all lo-res previews, so scrolling speed is fast, when the user stops scrolling, you check the currently visible pictures and load the higher res previews and display them, and cache them also. If the cache hits a specified size, you clear the oldest images in the cache, if they are not visible. This had worked for my imagedatabase (which i stopped to develop after I checked iView MediaPro) HTH, Stephan -- Stephan Huber +++ http://digitalmind.de +++ dieses und jenes From ralf at end-if.de Sat Nov 6 14:14:34 2004 From: ralf at end-if.de (Ralf Sander) Date: Sat Nov 6 07:14:47 2004 Subject: Pictures and speed Message-ID: > Ralf Sander wrote: > > > Function CellBackgroundPaint(g As Graphics, row As Integer, column As > > Integer) As Boolean > > dim p as Picture > > dim b as Boolean > > > > if column=0 then > > p=NewPicture(30,30,32) > > b=mDataBase.mPerson.GoToRecID(row) > > p.graphics.DrawPicture mDataBase.mPerson.PictFld.GetPicture,0,0 > > g.DrawPicture p,0,0,30,30 > > end > > return true > > > > End Function > > > You should cache your pictures. You load everytime a new picture when > the row is repainted, even if the picture is already loaded. This is > unnecessary. > And there are even niftier possibilities. I think iPhoto is > using different sized preview-pictures, so in the first step you can > load all lo-res previews, so scrolling speed is fast, when the user > stops scrolling, you check the currently visible pictures and load the > higher res previews and display them, and cache them also. If the cache > hits a specified size, you clear the oldest images in the cache, if > they > are not visible. Ah, I thought, the row is redrawing only if it becomes visible the first time. Silly. Now speed is acceptable. And the lo-res picture thing will help too, I think. > > This had worked for my imagedatabase (which i stopped to develop after > I > checked iView MediaPro) > unfortunately, I am not as clever as you ;-) Thanks a lot, Ralf From milan at mook.co.uk Mon Nov 8 13:24:25 2004 From: milan at mook.co.uk (Milan) Date: Mon Nov 8 07:24:38 2004 Subject: Slightly-OT: SQL Help In-Reply-To: Message-ID: <200411081325.NAA17932@moo.mook.co.uk> Hi, We're just completing a disc done with Director/Valentina. Everything is running great, but we've hit a stumbling block with SQL statements. Can anyone explain how it is possible to achieve the following with Valentina: 1. User searches for: Mary 2. This gives results including: St Mary's, Mary Jane etc. 3. Search IGNORES a specific word, in this instance PRIMARY. 4. BUT.... St Mary's Primary would still be found. How can this be achieved? The NOT LIKE command cannot be used, as we want to include instances where MARY and PRIMARY exist together (RoseMARY, for example). The word PRIMARY needs to be completely disregarded when the search is performed. Is this possible? If not, is there a workaround that anybody can suggest? Regards, bub. From sunshine at public.kherson.ua Mon Nov 8 16:27:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 8 08:29:02 2004 Subject: Slightly-OT: SQL Help In-Reply-To: <200411081325.NAA17932@moo.mook.co.uk> Message-ID: On 11/8/04 3:24 PM, "Milan" wrote: > Hi, > > We're just completing a disc done with Director/Valentina. Everything is > running great, but we've hit a stumbling block with SQL statements. Can > anyone explain how it is possible to achieve the following with Valentina: > > 1. User searches for: Mary > > 2. This gives results including: St Mary's, Mary Jane etc. > > 3. Search IGNORES a specific word, in this instance PRIMARY. > > 4. BUT.... St Mary's Primary would still be found. > > How can this be achieved? The NOT LIKE command cannot be used, as we want to > include instances where MARY and PRIMARY exist together (RoseMARY, for > example). The word PRIMARY needs to be completely disregarded when the > search is performed. > > Is this possible? If not, is there a workaround that anybody can suggest? Please direct your task in more DIRECT words. * I have these records * I want to find this * for this I do next query * but get this bad results ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Mon Nov 8 13:37:00 2004 From: forgete at cafederic.com (Eric Forget) Date: Mon Nov 8 12:37:10 2004 Subject: [VSDK] VDK_Text with unique attribute broken? Message-ID: Hi Ruslan, Is it just me or the "unique" attribute set on a VDK_Text is broken? It looks like a bad initialization of a variable. The first search for uniqueness is working. However, all the following is using the value of the first search, which is definitively no longer unique. For example with starting values: Untitled 1 Untitled 2 If I add "Untitled 3" it will compare with both "Untitled 1 and "Untitled 2" and found it is unique. I will then have: Untitled 1 Untitled 2 Untitled 3 If I then add "Untitled 4" it will compare "Untitled 3" with the 3 values above and find that "Untitled 4" is not unique. I know this because I have my own compare function and I've put a trace in it. ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Mon Nov 8 20:44:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 8 12:45:18 2004 Subject: [VSDK] VDK_Text with unique attribute broken? In-Reply-To: Message-ID: On 11/8/04 8:37 PM, "Eric Forget" wrote: Hi Eric, That was a FEATURE. What sense to have unique flag for text field ?! Index consider only the first 255 chars of string. Assume you have letters or notes. What sense to set Unique flag for TEXT ? > Is it just me or the "unique" attribute set on a VDK_Text is broken? It > looks like a bad initialization of a variable. The first search for > uniqueness is working. However, all the following is using the value of the > first search, which is definitively no longer unique. > > For example with starting values: > > Untitled 1 > Untitled 2 > > If I add "Untitled 3" it will compare with both "Untitled 1 and "Untitled 2" > and found it is unique. I will then have: > > Untitled 1 > Untitled 2 > Untitled 3 > > If I then add "Untitled 4" it will compare "Untitled 3" with the 3 values > above and find that "Untitled 4" is not unique. > > I know this because I have my own compare function and I've put a trace in > 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 forgete at cafederic.com Mon Nov 8 13:52:15 2004 From: forgete at cafederic.com (Eric Forget) Date: Mon Nov 8 12:52:24 2004 Subject: [VSDK] VDK_Text with unique attribute broken? In-Reply-To: Message-ID: Hi Ruslan, I don't see how this can be a feature, but anyway. I'm switching from VDK_String to VDK_Text to reduce the size of the database. Some of my customers felt that it was too big. By using VDK_Text, I do not allow to have longer values, just to taking a lot less space, most of the time. Is there any other option available? ?ric > Hi Eric, > > That was a FEATURE. > > What sense to have unique flag for text field ?! > > Index consider only the first 255 chars of string. > Assume you have letters or notes. > What sense to set Unique flag for TEXT ? > > >> Is it just me or the "unique" attribute set on a VDK_Text is broken? It >> looks like a bad initialization of a variable. The first search for >> uniqueness is working. However, all the following is using the value of the >> first search, which is definitively no longer unique. >> >> For example with starting values: >> >> Untitled 1 >> Untitled 2 >> >> If I add "Untitled 3" it will compare with both "Untitled 1 and "Untitled 2" >> and found it is unique. I will then have: >> >> Untitled 1 >> Untitled 2 >> Untitled 3 >> >> If I then add "Untitled 4" it will compare "Untitled 3" with the 3 values >> above and find that "Untitled 4" is not unique. >> >> I know this because I have my own compare function and I've put a trace in >> it. ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Mon Nov 8 21:00:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 8 13:01:48 2004 Subject: [VSDK] VDK_Text with unique attribute broken? In-Reply-To: Message-ID: On 11/8/04 8:52 PM, "Eric Forget" wrote: Hi Eric, > I don't see how this can be a feature, but anyway. I'm switching from > VDK_String to VDK_Text to reduce the size of the database. Some of my > customers felt that it was too big. > By using VDK_Text, I do not allow to > have longer values, just to taking a lot less space, most of the time. Is > there any other option available? Then you should use VarChar, not TEXT. Also what db.segmentSize you use ? Try it smaller e.g. 2-4Kb -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Mon Nov 8 14:09:34 2004 From: forgete at cafederic.com (Eric Forget) Date: Mon Nov 8 13:09:42 2004 Subject: [VSDK] VDK_Text with unique attribute broken? In-Reply-To: Message-ID: > On 11/8/04 8:52 PM, "Eric Forget" wrote: > > Hi Eric, > >> I don't see how this can be a feature, but anyway. I'm switching from >> VDK_String to VDK_Text to reduce the size of the database. Some of my >> customers felt that it was too big. > >> By using VDK_Text, I do not allow to >> have longer values, just to taking a lot less space, most of the time. Is >> there any other option available? > > Then you should use VarChar, not TEXT. > > Also what db.segmentSize you use ? > Try it smaller e.g. 2-4Kb Ok, I will try VarChar. For the segment size, I was using the default one 32K. Is there any speed penalty to using a smaller one? Also, I'm reducing the block size of some TEXT, real ones this time. As far as I understand I need to rebuild the database to allows this, right? What is the best way, dumping in XML and reloading? I've seen OBL_Dump but nothing to reload the database. Is there any sample code or documentation? Thanks, ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Mon Nov 8 21:27:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 8 13:28:41 2004 Subject: [VSDK] VDK_Text with unique attribute broken? In-Reply-To: Message-ID: On 11/8/04 9:09 PM, "Eric Forget" wrote: Hi Eric, >>> I don't see how this can be a feature, but anyway. I'm switching from >>> VDK_String to VDK_Text to reduce the size of the database. Some of my >>> customers felt that it was too big. >> >>> By using VDK_Text, I do not allow to >>> have longer values, just to taking a lot less space, most of the time. Is >>> there any other option available? >> >> Then you should use VarChar, not TEXT. >> >> Also what db.segmentSize you use ? >> Try it smaller e.g. 2-4Kb > > Ok, I will try VarChar. For the segment size, I was using the default one > 32K. Is there any speed penalty to using a smaller one? There was info on this list that somebody have test, And for him the best speed was with 8KB segment > Also, I'm reducing the block size of some TEXT, real ones this time. As far > as I understand I need to rebuild the database to allows this, right? yes > What > is the best way, dumping in XML and reloading? Yes and inside of XML file you can change segment > I've seen OBL_Dump but > nothing to reload the database. Is there any sample code or documentation? You need look at VDK_Database class. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Peter.Lindgren at fdt.se Tue Nov 9 08:16:31 2004 From: Peter.Lindgren at fdt.se (Peter Lindgren) Date: Tue Nov 9 01:16:31 2004 Subject: Slightly-OT: SQL Help Message-ID: Hej! > On 11/8/04 3:24 PM, "Milan" wrote: >> How can this be achieved? The NOT LIKE command cannot be used, as we >> want to include instances where MARY and PRIMARY exist together >> (RoseMARY, for example). The word PRIMARY needs to be completely >> disregarded when the search is performed. I don't know if Valentina supports this syntax, but you should be able to write something like SELECT name FROM yourtable WHERE name LIKE '%mary%' AND name<>'PRIMARY' If you have many exceptions, put them in a table: SELECT ... WHERE ... AND name NOT IN (SELECT exception FROM tablewithexceptions) /Peter -- Peter Lindgren, dataingenj?r FDT System AB http://www.fdt.se/ 0920-24 33 00 From sunshine at public.kherson.ua Tue Nov 9 09:59:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 9 02:01:11 2004 Subject: Slightly-OT: SQL Help In-Reply-To: Message-ID: On 11/9/04 9:16 AM, "Peter Lindgren" wrote: > Hej! > >> On 11/8/04 3:24 PM, "Milan" wrote: >>> How can this be achieved? The NOT LIKE command cannot be used, as we >>> want to include instances where MARY and PRIMARY exist together >>> (RoseMARY, for example). The word PRIMARY needs to be completely >>> disregarded when the search is performed. > > I don't know if Valentina supports this syntax, but you should be able to > write something like SELECT name FROM yourtable WHERE name LIKE '%mary%' AND > name<>'PRIMARY' Valentina 1.x consider LIKE as REGEX so should be then WHERE name LIKE 'mary' > If you have many exceptions, put them in a table: > SELECT ... WHERE ... AND name NOT IN (SELECT exception FROM > tablewithexceptions) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bitterlich at gsco.de Tue Nov 9 16:06:59 2004 From: bitterlich at gsco.de (Frank Bitterlich) Date: Tue Nov 9 09:07:09 2004 Subject: "Wron Expresssion" error on nested query Message-ID: <0155F268-3261-11D9-B01F-000D936CA66A@gsco.de> Hi, I get a 616 error ("Wrong Expression") on the following query: select * from NAVAIDS where (((LAT1<=28.60547) and (LAT1>=27.63281)) and ((LON1>=-80.01172) and (LON1<=-78.43359))) or (((LAT2<=28.60547) and (LAT2>=27.63281)) and ((LON2>=-80.01172) and (LON2<=-78.43359))) All fields (LAT1, LON1, LAT2, LON2) are VDouble. What can be the reason? Is the query too long, or too deeply nested? I have counted the parentheses, they appear to match. Or is there any stupid mistake that I'm overlooking? V4RB 1.11, RB 5.5.4, OS X 10.3.5 Thanks, Frank+++ -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From sunshine at public.kherson.ua Tue Nov 9 17:25:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 9 09:27:02 2004 Subject: "Wron Expresssion" error on nested query In-Reply-To: <0155F268-3261-11D9-B01F-000D936CA66A@gsco.de> Message-ID: On 11/9/04 5:06 PM, "Frank Bitterlich" wrote: Hi Frank, > I get a 616 error ("Wrong Expression") on the following query: > > select * from NAVAIDS where (((LAT1<=28.60547) and (LAT1>=27.63281)) > and ((LON1>=-80.01172) and (LON1<=-78.43359))) or (((LAT2<=28.60547) > and (LAT2>=27.63281)) and ((LON2>=-80.01172) and (LON2<=-78.43359))) > > All fields (LAT1, LON1, LAT2, LON2) are VDouble. > > What can be the reason? Is the query too long, or too deeply nested? No and no. > I have counted the parentheses, they appear to match. Or is there any > stupid mistake that I'm overlooking? I have check () All right. Try remove some parts of exp to see which one cause 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 ernestogiannotta at tiscalinet.it Tue Nov 9 18:52:28 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Nov 9 11:52:40 2004 Subject: V4RB 1.11 SQLExecute Update Bug Message-ID: Hello Ruslan, I have posted this to the beta list but maybe that was the wrong list I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) when I try to do something like i = SqlExecute("Update BO Set fld = 0") i holds the correct number of records but values are not updated I got a small project that reproduce this should I send it to you or go to some bug report page? Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From sunshine at public.kherson.ua Tue Nov 9 19:58:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 9 11:59:24 2004 Subject: V4RB 1.11 SQLExecute Update Bug In-Reply-To: Message-ID: On 11/9/04 7:52 PM, "erne" wrote: > Hello Ruslan, > > I have posted this to the beta list but maybe that was the wrong list > > I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) > > when I try to do something like > i = SqlExecute("Update BO Set fld = 0") > i holds the correct number of records > but values are not updated > > I got a small project that reproduce this > should I send it to you or go to some bug report page? Hi Erne, Yes send it to me -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Nov 9 19:25:56 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Nov 9 12:26:08 2004 Subject: SQL question Message-ID: Hi! I am trying to find all dates in a table which belong to a specific month, independet from day and year (eg. Find all born in may). I have tried something like x=VALselectReturnCursor("SELECT * FROM KUNDENTable WHERE MONTH(geburtsdatum) = '05'") in a 100 different ways with different positions, brackets etc, but I always get errors like 616... Is there a solution to this? TIA Best regards, Florian From sunshine at public.kherson.ua Tue Nov 9 20:46:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 9 12:48:09 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/9/04 8:25 PM, "Florian Bogeschdorfer" wrote: > Hi! > > I am trying to find all dates in a table which belong to a specific month, > independet from day and year (eg. Find all born in may). I have tried > something like > > x=VALselectReturnCursor("SELECT * FROM KUNDENTable WHERE MONTH(geburtsdatum) > = '05'") > > in a 100 different ways with different positions, brackets etc, but I always > get errors like 616... > > Is there a solution to this? Florian, You have forget that you cannot use funcs directly in SQL. You need BaseObject method Also you can use f LIKE '../05/....' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From peter.de.berdt at pandora.be Tue Nov 9 20:54:13 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Tue Nov 9 13:54:25 2004 Subject: SQL question In-Reply-To: References: Message-ID: <217A04DE-3289-11D9-A8F4-000393DB2B60@pandora.be> On 9 Nov 2004, at 19:25, Florian Bogeschdorfer wrote: > Hi! > > I am trying to find all dates in a table which belong to a specific > month, > independet from day and year (eg. Find all born in may). I have tried > something like > > x=VALselectReturnCursor("SELECT * FROM KUNDENTable WHERE > MONTH(geburtsdatum) > = '05'") > > in a 100 different ways with different positions, brackets etc, but I > always > get errors like 616... > > Is there a solution to this? > Make a Method (calculation) field and use that in your query. Valentina does it different than other SQL dbs (personally, I prefer the other db way :-)) Best regards Peter De Berdt From sunshine at public.kherson.ua Tue Nov 9 22:21:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 9 14:22:59 2004 Subject: SQL question In-Reply-To: <217A04DE-3289-11D9-A8F4-000393DB2B60@pandora.be> Message-ID: On 11/9/04 9:54 PM, "Peter De Berdt" wrote: >> in a 100 different ways with different positions, brackets etc, but I >> always >> get errors like 616... >> >> Is there a solution to this? >> > Make a Method (calculation) field and use that in your query. Valentina > does it different than other SQL dbs (personally, I prefer the other db > way :-)) 1.x just technically was not able do that. In 2.0 you will get both ways. And for some tasks, the way of methods is much better. Why...described in docs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 10 10:10:13 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Nov 10 03:10:27 2004 Subject: SQL question In-Reply-To: Message-ID: > > Florian, > > You have forget that you cannot use funcs directly in SQL. > You need BaseObject method > > > Also you can use > f LIKE '../05/....' > OK, thank you everybody. I did not find it clearly explained in the docs, eg LEFT() works in SQL syntax but SUBSTR() does not. Best regards Florian From bitterlich at gsco.de Wed Nov 10 12:15:57 2004 From: bitterlich at gsco.de (Frank Bitterlich) Date: Wed Nov 10 05:16:17 2004 Subject: "Wron Expresssion" error on nested query In-Reply-To: References: Message-ID: Okay, as usual: false alert. :) There was a typo in the BaseObject name, problem solved. Cheers, Frank+++ Am 09.11.2004 um 16:25 schrieb Ruslan Zasukhin: > On 11/9/04 5:06 PM, "Frank Bitterlich" wrote: > > Hi Frank, > >> I get a 616 error ("Wrong Expression") on the following query: >> >> select * from NAVAIDS where (((LAT1<=28.60547) and (LAT1>=27.63281)) >> and ((LON1>=-80.01172) and (LON1<=-78.43359))) or (((LAT2<=28.60547) >> and (LAT2>=27.63281)) and ((LON2>=-80.01172) and (LON2<=-78.43359))) >> ... -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From wonderfef at noos.fr Wed Nov 10 12:21:04 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Nov 10 05:21:18 2004 Subject: [V4RB+Vserver] multiple JOIN Message-ID: Hello, I have a table "Lists" with fields : Name, ParentUserID, ParentCompanyID and 2 other tables "People" and "Companies", both with fields "ID" and "Name". ParentUserID may contain either the ID of a person (in table People) either the ID of a company (in table Companies). I need Valentina to "join" those 3 tables: SELECT Lists.Name, Companies.Name, People.Name FROM Lists, Companies, People WHERE (Lists.ParentUserID *= People.ID OR Lists.ParentUserID *= Companies.ID) AND Lists.ParentCompanyID *= Companies.ID But, of course, this does not work because the field Companies.Name cannot contain 2 values taken from 2 different links. I can't figure out a workaround... Thanks in advance for your help. Eric From sunshine at public.kherson.ua Wed Nov 10 16:23:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 10 08:24:40 2004 Subject: [V4RB+Vserver] multiple JOIN In-Reply-To: Message-ID: On 11/10/04 1:21 PM, "Eric Ferrer" wrote: > > Hello, > > I have a table "Lists" with fields : > Name, ParentUserID, ParentCompanyID > > and 2 other tables "People" and "Companies", both with fields "ID" and > "Name". > > ParentUserID may contain either the ID of a person (in table People) either > the ID of a company (in table Companies). > > I need Valentina to "join" those 3 tables: > > SELECT Lists.Name, Companies.Name, People.Name > FROM Lists, Companies, People > WHERE > (Lists.ParentUserID *= People.ID > OR > Lists.ParentUserID *= Companies.ID) > AND > Lists.ParentCompanyID *= Companies.ID > > But, of course, this does not work because the field Companies.Name cannot > contain 2 values taken from 2 different links. It looks you need to use ALIAS of table SELECT Lists.Name, Companies.Name, People.Name FROM Lists A, Companies B, People C WHERE ....... > I can't figure out a workaround... > Thanks in advance for your 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 wonderfef at noos.fr Wed Nov 10 16:59:48 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Nov 10 10:00:00 2004 Subject: [V4RB+Vserver] multiple JOIN In-Reply-To: Message-ID: Ruslan, > It looks you need to use ALIAS of table > > SELECT Lists.Name, Companies.Name, People.Name > FROM Lists A, Companies B, People C Thank you, I'll take a closer look. Eric From fb at memedia.de Thu Nov 11 20:09:12 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:09:37 2004 Subject: SQL question In-Reply-To: Message-ID: > > Florian, > > You have forget that you cannot use funcs directly in SQL. > You need BaseObject method > I tried a method. After some time I figured out what to do. I used the only example in the docs (V4MD) but the field did not become a method. I set the method flag and since I did not get a method text, I changed that too... AddField(VAL[#ID], VAL[#KUNDENTable], "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") setFieldFlag(VAL[#ID], getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) ChangeFieldMethod val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"), "MONTH(geburtsdatum)" if valentinaError()<>0 then alert "Datenbankerweiterung konnte nicht initialisiert werden. Bitte informieren Sie den Support" end if flush(VAL[#ID]) Anyway, I have a proper method now.../? y=getfieldref(val[#id],val[#KUNDENTable],"gebmo") put getfieldflag(x,"gebmo",16) -- 1 put GetFieldMethod (val[#id],y) -- "MONTH(geburtsdatum)" But it does not work, it is always empty... x=valselectreturncursor("SELECT ** FROM KUNDENTable") put valgetcurrentrecord(x) -- [#mobilnummer: "5352152", #mobilnummer_ai: 0, #inhouse: 0, #allowed: 0, #newDate: "21.07.2004", #lastDate: "00.00.2000", #lastInhouse: "00.00.2000", #lastActive: "00.00.2000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "Hallo", #vorname: "Thomas", #vorname_ai: 460, #name: "Zimmer", #name_ai: 468, #zusatz: "", #strasse1: "Stapenhorststra?e 65a", #strasse1_ai: 1669, #strasse2: "", #plz: "33615", #plz_ai: 258, #ort: "Bielefeld", #ort_ai: 636, #land: "Deutschland", #geburtsdatum: "12.07.1970", #KD_PICpath: "", #mixnick: "", #code: "", #email: "tz@cands.info", #telefon: "0521 173686", #mobilnetz: "D2", #telefonSMStauglich: 1, #fax: "0521 5215185", #geschlecht: 0, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "e-Mail", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 1, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 1, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0, #changed: 0, #FROM_SERIAL: "2990", #FROM_KD_ID: 1, #gebmo: ""] You may see, that geburtsdatum is not empty, while #gebmo IS empty. Why? Also: x=valselectreturncursor("SELECT geburtsdatum,gebmo FROM KUNDENTable WHERE gebmo=07") put valgetcurrentrecord(x) error 362 error 362 error 362 -- 0 Empty record. Where do I make my mistake? I also tried this with #gebmo beeing kTypeByte and kTypeShort Best regards, Florian From fb at memedia.de Thu Nov 11 20:09:12 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:09:49 2004 Subject: SQL question In-Reply-To: Message-ID: Ruslan, I tried a lot again... I think that RegEx search (LIKE) does not work for fields kTypeDate? See: y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE geburtsdatum = '12.07.1970'") put valcursorreccount(y) -- 2 y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE geburtsdatum LIKE '12.07.1970'") put valcursorreccount(y) -- 0 ? Best regards, Florian From sunshine at public.kherson.ua Thu Nov 11 21:20:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:21:22 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:09 PM, "Florian Bogeschdorfer" wrote: > I tried a method. After some time I figured out what to do. > I used the only example in the docs (V4MD) but the field did not become a > method. I set the method flag and since I did not get a method text, I > changed that too... You should now set flag Only in AddField() you need specify text of method parameter. You can open db after creation by Vstudio or viSQL to see what you really have to create. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 11 21:21:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:23:10 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:09 PM, "Florian Bogeschdorfer" wrote: >> You have forget that you cannot use funcs directly in SQL. >> You need BaseObject method >> > > I tried a method. After some time I figured out what to do. > I used the only example in the docs (V4MD) but the field did not become a > method. I set the method flag and since I did not get a method text, I > changed that too... > > AddField(VAL[#ID], VAL[#KUNDENTable], > "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") Why string ? Month() will return integer > setFieldFlag(VAL[#ID], > getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) No need > ChangeFieldMethod > val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"), > "MONTH(geburtsdatum)" No need > if valentinaError()<>0 then > alert "Datenbankerweiterung konnte nicht initialisiert werden. Bitte > informieren Sie den Support" > end if > flush(VAL[#ID]) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Nov 11 21:22:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:24:09 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:09 PM, "Florian Bogeschdorfer" wrote: > > Anyway, I have a proper method now.../? > > y=getfieldref(val[#id],val[#KUNDENTable],"gebmo") > put getfieldflag(x,"gebmo",16) > -- 1 > put GetFieldMethod (val[#id],y) > -- "MONTH(geburtsdatum)" > > But it does not work, it is always empty... Open your db in Vstudio! You will see if you really have method now And you can see what values it calculates You can for play create method directly in vstudio and see that it really work -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 11 21:26:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:27:56 2004 Subject: SQL question // LIKE on date In-Reply-To: Message-ID: On 11/11/04 9:09 PM, "Florian Bogeschdorfer" wrote: > Ruslan, I tried a lot again... > > I think that RegEx search (LIKE) does not work for fields kTypeDate? > > See: > y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE > geburtsdatum = '12.07.1970'") > > put valcursorreccount(y) > -- 2 > > y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE > geburtsdatum LIKE '12.07.1970'") > > put valcursorreccount(y) > -- 0 > > > ? Mistake Florian. LIKE in Valentina .x works as REGEX As I see in German you use '.' as date separator. But you should note that DOT is control character in REGEX. fld LIKE '12.07.1970' ^ ^ ops Must be escaped fld LIKE '12\.07\.1970' So if you want find only month 07 fld LIKE '..\.07\.....' The first 2 DOTs -- are placeholders of SINGLE character. Third DOT is escaped so REGEX will consider it as character And so 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 fb at memedia.de Thu Nov 11 20:27:57 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:28:06 2004 Subject: SQL question In-Reply-To: Message-ID: > > > > AddField(VAL[#ID], VAL[#KUNDENTable], > > "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") > > Why string ? > > Month() will return integer I tried with kTypebyte and kTypeShort - no results > > > > setFieldFlag(VAL[#ID], > > getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) > > No need > > > ChangeFieldMethod > > val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"), > > "MONTH(geburtsdatum)" > > No need Then why didn't I get a method? I created the method and the flag set FALSE... Best regards, Florian From fb at memedia.de Thu Nov 11 20:31:42 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:31:53 2004 Subject: SQL question // LIKE on date In-Reply-To: Message-ID: > > I think that RegEx search (LIKE) does not work for fields kTypeDate? > > > > See: > > y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE > > geburtsdatum = '12.07.1970'") > > > > put valcursorreccount(y) > > -- 2 > > > > y=valselectreturncursor("SELECT geburtsdatum FROM KUNDENTable WHERE > > geburtsdatum LIKE '12.07.1970'") > > > > put valcursorreccount(y) > > -- 0 > > > > > > ? > > Mistake Florian. > > LIKE in Valentina .x works as REGEX > > As I see in German you use '.' as date separator. > > But you should note that DOT is control character in REGEX. > > fld LIKE '12.07.1970' > ^ ^ ops > > Must be escaped > > fld LIKE '12\.07\.1970' > > So if you want find only month 07 > > fld LIKE '..\.07\.....' > > > The first 2 DOTs -- are placeholders of SINGLE character. > > Third DOT is escaped so REGEX will consider it as character > > And so on > But I tried fld LIKE '...07.....' ignoring the "."s as seperators... And still no result, actually I even tried fld LIKE '..........' and got an empty cursor Best regards, Florian From sunshine at public.kherson.ua Thu Nov 11 21:31:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:32:33 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:27 PM, "Florian Bogeschdorfer" wrote: >>> AddField(VAL[#ID], VAL[#KUNDENTable], >>> "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") >> >> Why string ? >> >> Month() will return integer > > I tried with kTypebyte and kTypeShort - no results > >> >> >>> setFieldFlag(VAL[#ID], >>> getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) >> >> No need >> >>> ChangeFieldMethod >>> val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"), >>> "MONTH(geburtsdatum)" >> >> No need > > Then why didn't I get a method? I created the method and the flag set > FALSE... It needs to look into V4MD docs, Florian. Please open your db in Vstudio or viSQL. Is gebmo field shown as method or as normal field? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Thu Nov 11 20:44:51 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:44:59 2004 Subject: SQL question In-Reply-To: Message-ID: I couldn't find a link to Vstudio... Can you point me to it? Best regards, Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Thursday, November 11, 2004 8:31 PM > To: valentina@lists.macserve.net > Subject: Re: SQL question > > On 11/11/04 9:27 PM, "Florian Bogeschdorfer" wrote: > > >>> AddField(VAL[#ID], VAL[#KUNDENTable], > >>> "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") > >> > >> Why string ? > >> > >> Month() will return integer > > > > I tried with kTypebyte and kTypeShort - no results > > > >> > >> > >>> setFieldFlag(VAL[#ID], > >>> getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) > >> > >> No need > >> > >>> ChangeFieldMethod > >>> val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"), > >>> "MONTH(geburtsdatum)" > >> > >> No need > > > > Then why didn't I get a method? I created the method and > the flag set > > FALSE... > > It needs to look into V4MD docs, Florian. > > Please open your db in Vstudio or viSQL. > Is gebmo field shown as method or as normal field? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Nov 11 21:51:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:52:40 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:44 PM, "Florian Bogeschdorfer" wrote: > I couldn't find a link to Vstudio... Can you point me to it? It is on home page of paradigmasoft.com As 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 sunshine at public.kherson.ua Thu Nov 11 21:53:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 11 13:54:38 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/11/04 9:27 PM, "Florian Bogeschdorfer" wrote: >>> AddField(VAL[#ID], VAL[#KUNDENTable], >>> "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") > Then why didn't I get a method? I created the method and the flag set > FALSE... I have check docs. AddField object me, integer boRef,string fldName,symbol fldType, [integer Param1], [integer Param2],[integer Method] Now look on your code: AddField( VAL[#ID], VAL[#KUNDENTable], "gebmo", #kTypeString, 5, "MONTH(geburtsdatum)") Count parameters, Florian. You have miss the Param2. Must be AddField( VAL[#ID], VAL[#KUNDENTable], "gebmo", #kTypeString, 5, 0, "MONTH(geburtsdatum)") -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Nov 11 20:57:20 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 13:57:29 2004 Subject: SQL question In-Reply-To: Message-ID: Where Ruslan? From fb at memedia.de Thu Nov 11 21:06:38 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 11 14:06:49 2004 Subject: SQL question In-Reply-To: Message-ID: I found a different example, where in the docs is your line from? I'll check that tomorrow again. Good night Ruslan Best regards, Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Thursday, November 11, 2004 8:53 PM > To: valentina@lists.macserve.net > Subject: Re: SQL question > > On 11/11/04 9:27 PM, "Florian Bogeschdorfer" wrote: > > >>> AddField(VAL[#ID], VAL[#KUNDENTable], > >>> "gebmo",#kTypeString,5,"MONTH(geburtsdatum)") > > > > Then why didn't I get a method? I created the method and > the flag set > > FALSE... > > I have check docs. > > AddField object me, integer boRef,string fldName,symbol > fldType, [integer Param1], [integer Param2],[integer Method] > > > > Now look on your code: > > AddField( > VAL[#ID], > VAL[#KUNDENTable], > "gebmo", > #kTypeString, > 5, > "MONTH(geburtsdatum)") > > Count parameters, Florian. > > You have miss the Param2. > Must be > > > AddField( > VAL[#ID], > VAL[#KUNDENTable], > "gebmo", > #kTypeString, > 5, > 0, > "MONTH(geburtsdatum)") > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 kevo at gatorgraphics.com Thu Nov 11 21:56:05 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Thu Nov 11 21:56:37 2004 Subject: Can't seem to find latest beta Message-ID: The version on the www.paradigmasoft.com site is 2.0a65. I also looked here, http://paradigmasoft.com/download/v2_beta/v2_beta.html, but the page is not found. Can somebody help me find the latest beta please. Thanks, Kevin From frank-list3 at mindstarprods.com Thu Nov 11 21:03:07 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Thu Nov 11 22:03:14 2004 Subject: Can't seem to find latest beta In-Reply-To: References: Message-ID: On Nov 11, 2004, at 8:56 PM, Kevin Windham wrote: > The version on the www.paradigmasoft.com site is 2.0a65. > > I also looked here, > http://paradigmasoft.com/download/v2_beta/v2_beta.html, but the page > is not found. > > Can somebody help me find the latest beta please. http://paradigmasoft.com/download/v2_beta/download.html Best regards, Frank Schima From kevo at gatorgraphics.com Thu Nov 11 23:11:47 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Thu Nov 11 23:12:19 2004 Subject: Can't seem to find latest beta In-Reply-To: References: Message-ID: <5A496C4E-3469-11D9-AD6A-000393B29272@gatorgraphics.com> On Nov 11, 2004, at 10:03 PM, Frank Schima wrote: > > On Nov 11, 2004, at 8:56 PM, Kevin Windham wrote: >> >> Can somebody help me find the latest beta please. > > http://paradigmasoft.com/download/v2_beta/download.html Thanks From sunshine at public.kherson.ua Fri Nov 12 09:07:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 12 01:08:27 2004 Subject: Can't seem to find latest beta In-Reply-To: <5A496C4E-3469-11D9-AD6A-000393B29272@gatorgraphics.com> Message-ID: On 11/12/04 7:11 AM, "Kevin Windham" wrote: > > On Nov 11, 2004, at 10:03 PM, Frank Schima wrote: > >> >> On Nov 11, 2004, at 8:56 PM, Kevin Windham wrote: >>> >>> Can somebody help me find the latest beta please. >> >> http://paradigmasoft.com/download/v2_beta/download.html Kevin, This is 2.0 beta. Is it what you search for ? Or you ask about latest 1.x beta ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Nov 12 09:46:48 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Nov 12 02:46:56 2004 Subject: SQL question // LIKE on date In-Reply-To: Message-ID: Good morning Ruslan! Let's first finish the LIKE thing. I have a fld kTypeDate You say "." is a RegEx control character and is a placeholder for any character? Now if I have a record with fld="12.07.2004" why wouldn't it find it searching with fld LIKE "12.07.2004". Since "." is a placeholder it should find the dots in "12.07.2004" as well as a field like "12?07!2004"? NOT? And why does fld LIKE ".........." does return an empty cursor? Why does it not find ALL dates? Best regards, Florian > > > > I think that RegEx search (LIKE) does not work for fields > kTypeDate? > > > > > > See: > > > y=valselectreturncursor("SELECT geburtsdatum FROM > KUNDENTable WHERE > > > geburtsdatum = '12.07.1970'") > > > > > > put valcursorreccount(y) > > > -- 2 > > > > > > y=valselectreturncursor("SELECT geburtsdatum FROM > KUNDENTable WHERE > > > geburtsdatum LIKE '12.07.1970'") > > > > > > put valcursorreccount(y) > > > -- 0 > > > > > > > > > ? > > > > Mistake Florian. > > > > LIKE in Valentina .x works as REGEX > > > > As I see in German you use '.' as date separator. > > > > But you should note that DOT is control character in REGEX. > > > > fld LIKE '12.07.1970' > > ^ ^ ops > > > > Must be escaped > > > > fld LIKE '12\.07\.1970' > > > > So if you want find only month 07 > > > > fld LIKE '..\.07\.....' > > > > > > The first 2 DOTs -- are placeholders of SINGLE character. > > > > Third DOT is escaped so REGEX will consider it as character > > > > And so on > > > But I tried fld LIKE '...07.....' ignoring the "."s as > seperators... And still no result, actually I even tried fld > LIKE '..........' and got an empty cursor > > Best regards, Florian > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From wonderfef at noos.fr Fri Nov 12 10:37:55 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Nov 12 03:38:08 2004 Subject: [V4RB+Vserver] multiple JOIN In-Reply-To: Message-ID: > It looks you need to use ALIAS of table > > SELECT Lists.Name, Companies.Name, People.Name > FROM Lists A, Companies B, People C > WHERE Thank you very much, Ruslan... It's just great! Eric From sunshine at public.kherson.ua Fri Nov 12 12:03:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 12 04:04:30 2004 Subject: SQL question // LIKE on date In-Reply-To: Message-ID: On 11/12/04 10:46 AM, "Florian Bogeschdorfer" wrote: > Good morning Ruslan! > > Let's first finish the LIKE thing. FLORIAN, I have check and really LIKE do not accept Date field. I have made String field and enter date formated string. Now LIKE works. Strange because I was sure that LIKE do accept Date Time fields also. And numeric...may be something is broken. So may be only way -- to use String method that simply = fldDate Ivan, please make sure that in 2.0 tests we have such tests WHERE fldDate LIKE '??/07/????' > I have a fld kTypeDate > You say "." is a RegEx control character and is a placeholder for any > character? > > Now if I have a record with fld="12.07.2004" why wouldn't it find it > searching with fld LIKE "12.07.2004". Since "." is a placeholder it should > find the dots in "12.07.2004" as well as a field like "12?07!2004"? NOT? > > And why does fld LIKE ".........." does return an empty cursor? Why does it > not find ALL dates? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Nov 12 11:09:25 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Nov 12 04:09:32 2004 Subject: SQL question // LIKE on date In-Reply-To: Message-ID: > > FLORIAN, > > I have check and really LIKE do not accept Date field. > I have made String field and enter date formated string. > Now LIKE works. > > Strange because I was sure that LIKE do accept Date Time fields also. > And numeric...may be something is broken. > > So may be only way -- to use String method that simply = fldDate > > > Ivan, please make sure that in 2.0 tests we have such tests > WHERE fldDate LIKE '??/07/????' > > OK. I am glad, my brain still works. I was already thinking of retirement... Best regards, Florian From kevo at gatorgraphics.com Fri Nov 12 08:04:25 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Fri Nov 12 08:04:58 2004 Subject: Can't seem to find latest beta In-Reply-To: References: Message-ID: On Nov 12, 2004, at 1:07 AM, Ruslan Zasukhin wrote: > On 11/12/04 7:11 AM, "Kevin Windham" wrote: > >> >> On Nov 11, 2004, at 10:03 PM, Frank Schima wrote: >> >>> >>> On Nov 11, 2004, at 8:56 PM, Kevin Windham wrote: >>>> >>>> Can somebody help me find the latest beta please. >>> >>> http://paradigmasoft.com/download/v2_beta/download.html > > Kevin, > > This is 2.0 beta. > > Is it what you search for ? > > Or you ask about latest 1.x beta ? > I was looking for the 2.0 beta and Frank pointed me in the right direction. Thanks, Kevin From leo_van_den_brande at wxs.nl Fri Nov 12 18:36:22 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Fri Nov 12 11:34:50 2004 Subject: Crosspaltform accented characters Message-ID: <4194F496.90404@wxs.nl> Hi all, Developing on RB 5.2.4 for Mac OSX and 9, and Windows, I experience the following problem. After transfer of the Valentina database between paltforms, accented characters are removed except for one nonsensical character if stored on Mac OS and transferred to Windows. If stored on Windows and transferred to Mac OS.the text is truncated at the first occurrence of an accented character. I store as is and define UTF8 on retrieval. Ruslan Zasukhin advised me to change language from ASCII to German. He also asked me to put the question on the list. So, I overcome my shyness as non-professional and post this. Taking the simple approach, I changed definitions, recompiled for Mac OS X and Windows. Next, stored text from a previous database on the Mac. On the Mac, I got good retrieval as expected. However, under Windows, the same problem occurred.. The other way around: storage under Windows, moving the database to the Mac and retrieve, yielded the same problem as before. QUESTION: should I construct a conversion routine, using the two definitions (ASCII and German) and copy all contents of the database between them or is there another way that any of you knows? Any suggestion will be appreciated! Leo Van den Brande -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From cm_sheffield at yahoo.com Fri Nov 12 10:35:30 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Nov 12 12:35:40 2004 Subject: updated release notes? Message-ID: <20041112183530.34215.qmail@web52403.mail.yahoo.com> Hi Ruslan, Do you have an updated ReleaseNotes.pdf document anywhere on your web site? All your downloads seem to contain the same one, which was last updated Dec 6, 2003! Even the RealeaseNotes document for the VServer download contains this same file, which doesn't even talk about VServer. The reason I ask is this. I just downloaded the latest VServer and VXCMD files for Mac and Windows. After I got the new VServer installed on my Mac, deleting records from my database seems to take an unusually long amount of time. I just tried deleting a single record from a table, which was linked to a single record in another table. Took about 5 seconds I'd guess, when before it only took a split second to do the same thing. So I wanted to look at the release notes to see what had changed in case I need to make some adjustments in my code. Is it possible that I need to recreate my database using the latest VXCMD? Anyone have any ideas why something like this might happen? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From sunshine at public.kherson.ua Fri Nov 12 20:42:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 12 14:06:42 2004 Subject: updated release notes? In-Reply-To: <20041112183530.34215.qmail@web52403.mail.yahoo.com> Message-ID: On 11/12/04 8:35 PM, "Chris Sheffield" wrote: Hi Chrish, > So I wanted to look at the release notes to see what > had changed in case I need to make some adjustments in > my code. Is it possible that I need to recreate my > database using the latest VXCMD? Anyone have any > ideas why something like this might happen? Check your .ini file to see if the LOG to file is on. This can slow down a lots. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Sat Nov 13 14:28:55 2004 From: ralf at end-if.de (Ralf Sander) Date: Sat Nov 13 07:29:05 2004 Subject: Adding new fields Message-ID: How can I get the index (the index used for find and sort, not the id) of a field or method as a string. Like "Show Index" in filemaker Thanks Ralf From sunshine at public.kherson.ua Sat Nov 13 15:56:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 13 07:57:26 2004 Subject: Adding new fields In-Reply-To: Message-ID: On 11/13/04 3:28 PM, "Ralf Sander" wrote: Hi Ralf, > How can I get the index (the index used for find and sort, not the id) > of a field or method as a string. > Like "Show Index" in filemaker I have not understand a question. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 13 21:42:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 13 13:43:36 2004 Subject: Crosspaltform accented characters In-Reply-To: <4194F496.90404@wxs.nl> Message-ID: On 11/12/04 7:36 PM, "Leo Van den Brande" wrote: Hi Leo, Hi All, Guys, anybody can enlighten this issue? German, Italian guys?! Please help to Leo. His original mistake IMHO was that Leo did store UTF8 text into Valentina 1.x db. This did not work of course. Now as I understand Leo - correctly have set German language for string fields. - do conversion in RB code of RB String to MacRoman when store to disk. But as I understand he still have problem, when try to read this db on Widows. He should after read assign Latin1 encoding to string that Valentina 1.x have return, right? > Hi all, > > Developing on RB 5.2.4 for Mac OSX and 9, and Windows, I experience > the following problem. > > After transfer of the Valentina database between paltforms, accented > characters are removed except for one nonsensical character if stored > on Mac OS and transferred to Windows. If stored on Windows and > transferred to Mac OS.the text is truncated at the first occurrence of > an accented character. > > I store as is and define UTF8 on retrieval. > > Ruslan Zasukhin advised me to change language from ASCII to German. He > also asked me to put the question on the list. So, I overcome my > shyness as non-professional and post this. > > Taking the simple approach, I changed definitions, recompiled for Mac > OS X and Windows. Next, stored text from a previous database on the > Mac. On the Mac, I got good retrieval as expected. However, under > Windows, the same problem occurred.. > The other way around: storage under Windows, moving the database to > the Mac and retrieve, yielded the same problem as before. > > QUESTION: should I construct a conversion routine, using the two > definitions (ASCII and German) and copy all contents of the database > between them or is there another way that any of you knows? > > Any suggestion will be appreciated! Leo, I do not understand why you talk here about ASCII at all? It seems to me you have right now some db with some data which you want to import into new db ? Try via XML dump. Make dump from original db. Directly in XML you can change ASCII language to German. Import into new fresh 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 jda at his.com Sat Nov 13 14:51:59 2004 From: jda at his.com (jda) Date: Sat Nov 13 13:52:10 2004 Subject: Crosspaltform accented characters In-Reply-To: References: Message-ID: > >Guys, anybody can enlighten this issue? >German, Italian guys?! >Please help to Leo. > >His original mistake IMHO was that Leo did store UTF8 text into Valentina >1.x db. This did not work of course. Storing UTF8 in Valentina 1.x is OK, as long as you are careful about it (and don't want Valentina to search/sort). I don't have a Windows machine, so I can't test this, but if Valentina isn't doing any conversion behind your back, I wonder if the problem isn't at the REALbasic end. If you define the text encoding when you store the string and when you retrieve it, the data should not be harmed: If your text is stored as UTF8, when you retrieve the data you should do something like s = myCursor.Field("mytext").getString s = DefineEncoding(s, encodings.utf8) Of course, if you store it in some other encoding you must define it as such when you retrieve it. Jon From sunshine at public.kherson.ua Sat Nov 13 22:06:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 13 14:08:15 2004 Subject: Crosspaltform accented characters In-Reply-To: Message-ID: On 11/13/04 9:51 PM, "jda" wrote: > I don't have a Windows machine, so I can't test this, but if > Valentina isn't doing any conversion behind your back, It does > I wonder if > the problem isn't at the REALbasic end. If you define the text > encoding when you store the string and when you retrieve it, the data > should not be harmed: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Nov 13 15:13:49 2004 From: jda at his.com (jda) Date: Sat Nov 13 14:13:59 2004 Subject: Crosspaltform accented characters In-Reply-To: References: Message-ID: >On 11/13/04 9:51 PM, "jda" wrote: > >> I don't have a Windows machine, so I can't test this, but if >> Valentina isn't doing any conversion behind your back, > >It does > Well, then that sounds like the culprit. Ruslan will have to tell you what storage is save -- it looks like UTF8 is not (I don't know why ASCII isn't, unless the data is stored that way but you (the original poster) is DefineEncoding is incorrectly when it is retrieved. Jon From leo_van_den_brande at wxs.nl Sat Nov 13 22:59:00 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sat Nov 13 15:57:27 2004 Subject: Crosspaltform accented characters Message-ID: <419683A4.50306@wxs.nl> Hi all, Thanks, Ruslan, for your stimulating reaction. Before misunderstandings creep in, the following: Following an advise given in earlier discussions on the topic, at present, I do not define anything when storing text, from RB but I do define UTF8 on retrieval in RB, both under Mac OS and Windows. From Ruslan's remarks it seems this was not correct. If I understand it correctly, I should define 'MacRoman' when storing in RB under Mac OS and 'WindowsLatin1' when storing under Windows. When retrieving. I should first define 'WindowsLatin1' when retrieving under Windows or 'MacRoman' when retrieving under Mac OS. Right? In that case, on retrieval, I would have to do a second define to UTF8 on both the patforms, since they both operate under UTF8. Two defines seem one too many.. Isn't one define to UTF8 enough? I'm sure, some of the european readers of this message must have solved this problem long ago! I will appreciate your help! Ruslan, thanks for the suggestion with regards to making an XLM dump for the conversion of the existing db's. I will try this out when the present issue has been sorted out. Leo From fvanlerberghe at freegates.be Sat Nov 13 23:17:51 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Sat Nov 13 16:18:33 2004 Subject: Crosspaltform accented characters In-Reply-To: Message-ID: Hi all, I haven't any problem using Valentina cross-platform, except with accented characters in field method (virtual field). This can happen when you have accented characters in fieldname and these fieldname are used in the method. For the data, using RB 3.5, I think I read and write with different encoding on MacOS and on Windows, respectively in MacRoman and Windows Latin1 if I remember well what RB prior verion 4.5 do implicitly. Cheers Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From leo_van_den_brande at wxs.nl Sun Nov 14 00:46:47 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sat Nov 13 17:45:17 2004 Subject: Crosspaltform accented characters Message-ID: <41969CE7.6060707@wxs.nl> Thanks, Francois, for your response.. Since, generally speaking, you have sorted this out, you could help me much by exactly specifying how, in terms of defining encodings, you store and retrieve text (containing accented characters) under Mac OS and Windows. Thanks so much for your help! Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From martin.kloss at gmx.de Sun Nov 14 13:19:11 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Sun Nov 14 06:19:29 2004 Subject: Crosspaltform accented characters In-Reply-To: <4194F496.90404@wxs.nl> References: <4194F496.90404@wxs.nl> Message-ID: <6.1.2.0.2.20041114131324.04363b20@pop.gmx.de> At 18:36 12.11.2004, you wrote: >QUESTION: should I construct a conversion routine, using the two >definitions (ASCII and German) and copy all contents of the database >between them or is there another way that any of you knows? Hi Leo, I've had some problems with high-ascii characters from different languages using V4MD, but most of them were due to the fact that the font mappings of the custom font I was using where totally different on Mac and PC. So rather than creating a runtime conversion routine, I had the font designers change the positions of the characters within the font for Mac and PC so that the characters actually displayed correctly, even though the ascii value was wrong. It was kind of a hack, but it worked and it the easiest and quickest solution. If you search the archive, you'll find my posts about this issue. I don't know if this helps you in any way. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 ernestogiannotta at tiscalinet.it Sun Nov 14 14:50:10 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Sun Nov 14 07:50:29 2004 Subject: Crosspaltform accented characters In-Reply-To: References: Message-ID: <19E76928-3644-11D9-AF12-003065514D2E@tiscalinet.it> Hello, On 13 nov 2004, at 20:42, Ruslan Zasukhin wrote: > Guys, anybody can enlighten this issue? > German, Italian guys?! > Please help to Leo. > first I must say I'm not doing Windows and I've dropped Classic so I got no experience in cross-platform issues as regard text encoding anyway here's what I know RB works natively in UTF8 that means that a literal string is always UTF8 but NOT all the strings in RB are UTF8 you should NEVER assume it (I've proved it on my own skin ;-) it depends on where they come from (a file for example or a system function such as ParseDate) if the encoding of the string is known however (i.e. not nil) it's easy to get the string in whatever encoding we want simply do s.ConvertEncoding(myPreferredEncoding) if the string comes from Vale 1.x the encoding is unknown so you must Define it with s.DefinEncoding(myPreferredEncoding) you can do it because you know the encoding you used when storing that data I use UTF8 but have no xPlatform needs You should use MacRoman on the Mac and Latin1 (I guess) on Win so Valentina will know what she's doing when converting data (Vale converts data from Mac to Win encoding on the fly to make life easy in days before unicode but may be a big limitation, what if we use encodings other than Roman? Vale knows how to convert them?) trying an example: dim e as TextEncoding #if TargetMacOS e = Encodings.MacRoman #elseif TargetWin32 e = Encodings.WindowsLatin1 #endif // store s = EditField1.Text // this should be an UTF8 string s = s.ConvertEncoding(e) vField.SetString(s) // retrieve s = vField.GetString s = s.DefineEncoding(e) s = s.ConvertEncoding(Encodings.UTF8) // back to original string HTH Cool Runnings, Erne. |er| musical box |ne| a media store From rjb at rz.uni-potsdam.de Sun Nov 14 14:56:44 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun Nov 14 07:58:26 2004 Subject: Crosspaltform accented characters In-Reply-To: References: Message-ID: >On 11/13/04 9:51 PM, "jda" wrote: > >> I don't have a Windows machine, so I can't test this, but if >> Valentina isn't doing any conversion behind your back, > >It does This has bitten a few people even without having utf8 characters involved. I somehow doubt that with this automatic conversion (of ascii codes) cross-platform usage of stored utf8 chars is possible without some pre- and/or postprocessing. However, may be it would be possible for Ruslan to make this automatic conversion optional (as in having an option to turn it off) in Valenina 1.x. The problem will go away in 2 but 1.x will live (at least will be used) for quite a while yet. Robert From sunshine at public.kherson.ua Sun Nov 14 22:16:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Nov 14 14:17:17 2004 Subject: Crosspaltform accented characters In-Reply-To: Message-ID: On 11/14/04 3:56 PM, "Robert Brenstein" wrote: >> On 11/13/04 9:51 PM, "jda" wrote: >> >>> I don't have a Windows machine, so I can't test this, but if >>> Valentina isn't doing any conversion behind your back, >> >> It does > > This has bitten a few people even without having utf8 characters > involved. I somehow doubt that with this automatic conversion (of > ascii codes) cross-platform usage of stored utf8 chars is possible > without some pre- and/or postprocessing. However, may be it would be > possible for Ruslan to make this automatic conversion optional (as in > having an option to turn it off) in Valenina 1.x. The problem will go > away in 2 but 1.x will live (at least will be used) for quite a while > yet. This will not help. Because I believe that UTF8 string still work not be searched and sorted correctly. Just to store UTF8 ... What sense? At last of end this can be done then with help of FixedBinary and VarBinary 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 fb at memedia.de Mon Nov 15 15:45:25 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Nov 15 08:45:32 2004 Subject: SQL question In-Reply-To: Message-ID: Hi! I am back to this topic again... > > I have check docs. > > AddField object me, integer boRef,string fldName,symbol > fldType, [integer Param1], [integer Param2],[integer Method] > > > > Now look on your code: > > AddField( > VAL[#ID], > VAL[#KUNDENTable], > "gebmo", > #kTypeString, > 5, > "MONTH(geburtsdatum)") > > Count parameters, Florian. > > You have miss the Param2. > Must be > > > AddField( > VAL[#ID], > VAL[#KUNDENTable], > "gebmo", > #kTypeString, > 5, > 0, > "MONTH(geburtsdatum)") > > Please look at this ( I corrected the syntax): put AddField(VAL[#ID], VAL[#KUNDENTable], "gebmo",#kTypeByte,0,0,"MONTH(geburtsdatum)") -- 102360736 put getFieldFlag(VAL[#ID], getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16) -- 0 put getfieldflag(VAL[#ID],102360736,16) -- 0 //field is not a method... //now: setFieldFlag(VAL[#ID], getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE) put getFieldFlag(VAL[#ID], getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16) -- 1 What am I doing wrong? Best regards, Florian From fb at memedia.de Mon Nov 15 15:53:47 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Nov 15 08:53:53 2004 Subject: SQL question In-Reply-To: Message-ID: By the way, after creating the method "manually" (and having added the missing parameter), the method is working perfectly. Best regards, Florian From ohmitou at wanadoo.fr Mon Nov 15 21:26:31 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Nov 15 11:26:45 2004 Subject: FLUSH Message-ID: <7D81E825-372B-11D9-B671-000A95BA5A32@wanadoo.fr> Is there an inconvenience to flush the base as often as possible (after most of the modifications made into the database) ? Regards, -- Thierry Nauze Saint-Denis de la R?union From vaccari at dst.units.it Mon Nov 15 19:12:08 2004 From: vaccari at dst.units.it (Franco Vaccari) Date: Mon Nov 15 12:12:19 2004 Subject: FLUSH In-Reply-To: <7D81E825-372B-11D9-B671-000A95BA5A32@wanadoo.fr> References: <7D81E825-372B-11D9-B671-000A95BA5A32@wanadoo.fr> Message-ID: For modifications to single records, I flush after each operation. But for loops over records I flush just outside loops, taking the risk of loosing something if the app/computer crashes during the loop. For extreme safety flush right after each modification, but it's safety vs speed. Ciao Franco On 15 Nov 2004, at 18:26, Thierry Nauze wrote: > Is there an inconvenience to flush the base as often as possible > (after most of the modifications made into the database) ? > > Regards, > > > -- > Thierry Nauze Saint-Denis de la > R?union_______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Nov 15 20:46:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 15 12:47:33 2004 Subject: SQL question In-Reply-To: Message-ID: On 11/15/04 4:53 PM, "Florian Bogeschdorfer" wrote: > By the way, after creating the method "manually" (and having added the > missing parameter), the method is working perfectly. Ho Florian, Try to make SIMPLEST separate .dir file Where you create method as you need. You can change one of V4MD examples for this. And send to me. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Tue Nov 16 00:34:11 2004 From: ralf at end-if.de (End If Software - Ralf Sander) Date: Mon Nov 15 17:34:26 2004 Subject: Adding new fields Message-ID: Hi Ruslan, >> How can I get the index (the index used for find and sort, not the id) >> of a field or method as a string. >> Like "Show Index" in filemaker >I have not understand a question. sorry, starting with the wrong subject makes confusion complete. I'll try to explain better: assume a field name with 3 records:+ 1. Ralf 2. Ruslan 3. Someone else The index of the this field should contain "Ralf Ruslan Someone else" separated by returns That's how I know it from filemaker, and I thought, its the same in Valentina. Now i want to get this complete index as a string: "Ralf Ruslan Someone else" This would be much more easy (and faster) than getting all values, and removing duplicates. Possible? By the way, there is a function in Filemaker to get all values of a field in a cursor as a string : assume a field "name" with 5 records in a cursor: 1. Ralf 2. Ruslan 3. Someone else 4. Ruslan 5. Ruslan This function returns the result: "Ralf Ruslan Someone else Ruslan Ruslan" Possible, too? Thanks, Ralf From ohmitou at wanadoo.fr Tue Nov 16 05:54:56 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Nov 15 19:55:14 2004 Subject: FLUSH In-Reply-To: References: <7D81E825-372B-11D9-B671-000A95BA5A32@wanadoo.fr> Message-ID: <83C7AB1B-3772-11D9-ACD7-000A95BA5A32@wanadoo.fr> Le 15 nov. 04, ? 22:12, Franco Vaccari a ?crit : > For modifications to single records, I flush after each operation. But > for loops over records I flush just outside loops, taking the risk of > loosing something if the app/computer crashes during the loop. For > extreme safety flush right after each modification, but it's safety vs > speed. It is that I am going to make! Thanks -- Thierry Nauze Saint-Denis de la R?union From alindsay at mac.com Mon Nov 15 19:21:56 2004 From: alindsay at mac.com (Alex Lindsay) Date: Mon Nov 15 21:22:07 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: References: Message-ID: Below is a description of a tricky problem I found with REALBasic 5.5.3. Please note that this is NOT a Valentina bug but a problem with REALBasic. Looks like REALBasic is planning on fixing this in version 6.0. Please sign onto the bug report to make sure it isn't dropped: First e-mail from me: I tracked down an unusual problem last week where the reference counting behaved differently depending upon whether or not it was assigned as part of the Dim assignment. VCursor is a Valentina cursor and GetCursor() is a method to get a reference to a new cursor. From memory: First snippet: Sub MySub() Dim cursor as VCursor = GetCursor() cursor = nil End Sub Second snippet: Sub MySub() Dim cursor as Vcursor cursor = GetCursor() cursor = nil End Sub In the first snippet, something is keeping a reference to the cursor until MySub() ends. In the second snippet the cursor is released as soon as the the cursor = nil line is executed. I know that this is the case since the cursor locks records and the locks are not released indicating a reference to the cursor exists somewhere. It is like a hidden temporary variable exists and is holding a reference to the cursor. This seems to be a bug and was a very tough one to track down! Any one else see anything like this? Or should I assume insanity on my part? Alex Response from REALBasic: > In the first snippet, something is keeping a reference to the cursor > until MySub() ends. In the second snippet the cursor is released as > soon as the the cursor = nil line is executed. I know that this is the > case since the cursor locks records and the locks are not released > indicating a reference to the cursor exists somewhere. It is like a > hidden temporary variable exists and is holding a reference to the > cursor. It's exactly like that, because that's exactly what's going on. > This seems to be a bug and was a very tough one to track down! I'm not entirely convinced it's a bug, given that the reference is released when the method ends. But if you want to see it changed, I recommend filing a bug report/feature request in the feedback database. Mars Saxman REAL Software Final e-mail from me: Mars, thanks for you speedy answer! From my point of view, it's a bug since I can not release the reference even though the only target of the assignment (cursor) has been set to nil. To make it worse, it is not obvious that there is another reference to the cursor. In my particular case, I was unable to create a new cursor on the locked records until the previous cursor truly was destroyed and unlocked the records. Of course the work-around is trivial, but the tracking this down was not trivial since the records that were locked were data dependent and so no two runs of the code would necessarily lock the same records, resulting in intermittent failure and much inappropriate cursing on my part! ;) I have now filed my first a bug report: lgynrrfl From valentina at panamind.com Tue Nov 16 00:33:23 2004 From: valentina at panamind.com (Gary Edge) Date: Mon Nov 15 23:33:35 2004 Subject: Week method Message-ID: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> Sorry if this has been covered or corrected already. The week method which returns the week of the date passed in version 1.10 does return the same value as the week method of the date class in RB 5.5.4. For this week RB returns 47, for the date 11/26/04 Valentina returns 47. Which is correct? -- Best Regards, Gary -- From valentina at panamind.com Tue Nov 16 00:41:50 2004 From: valentina at panamind.com (Gary Edge) Date: Mon Nov 15 23:41:58 2004 Subject: Week method In-Reply-To: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> References: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> Message-ID: <36AA61A6-3792-11D9-B06B-000A95A9A898@panamind.com> I mean DOESN'T return the same value. -- Best Regards, Gary -- On Nov 16, 2004, at 12:33 AM, Gary Edge wrote: > Sorry if this has been covered or corrected already. > > The week method which returns the week of the date passed in version > 1.10 does return the same value as the week method of the date class > in RB 5.5.4. > > For this week RB returns 47, for the date 11/26/04 Valentina returns > 47. > > Which is correct? > -- > > Best Regards, > Gary > > -- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From Claudius at sailer-online.de Tue Nov 16 06:44:16 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Nov 15 23:44:31 2004 Subject: Week method In-Reply-To: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> References: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> Message-ID: <8DA201E6-3792-11D9-B036-00039365848C@sailer-online.de> Hi, Am 16. Nov 2004 um 06:33 Uhr schrieb Gary Edge: > Sorry if this has been covered or corrected already. > > The week method which returns the week of the date passed in version > 1.10 does return the same value as the week method of the date class > in RB 5.5.4. > > For this week RB returns 47, for the date 11/26/04 Valentina returns > 47. > > Which is correct? I didn't test Valentina, but I can say RB returns US-Week. Valentina possible ISO-Week. this is often different. bye Claudius From valentina at panamind.com Tue Nov 16 00:47:59 2004 From: valentina at panamind.com (Gary Edge) Date: Mon Nov 15 23:48:07 2004 Subject: Week method In-Reply-To: <8DA201E6-3792-11D9-B036-00039365848C@sailer-online.de> References: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> <8DA201E6-3792-11D9-B036-00039365848C@sailer-online.de> Message-ID: <12445C37-3793-11D9-B06B-000A95A9A898@panamind.com> That's interesting. I'll have to look into whether I can specify which RB should use. Thanks -- Best Regards, Gary -- On Nov 16, 2004, at 12:44 AM, Claudius Sailer wrote: > Hi, > > Am 16. Nov 2004 um 06:33 Uhr schrieb Gary Edge: > >> Sorry if this has been covered or corrected already. >> >> The week method which returns the week of the date passed in version >> 1.10 does return the same value as the week method of the date class >> in RB 5.5.4. >> >> For this week RB returns 47, for the date 11/26/04 Valentina returns >> 47. >> >> Which is correct? > > I didn't test Valentina, but I can say RB returns US-Week. Valentina > possible ISO-Week. this is often different. > > > bye > > > Claudius > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Nov 16 11:48:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 16 03:49:47 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: Message-ID: On 11/16/04 5:21 AM, "Alex Lindsay" wrote: > Below is a description of a tricky problem I found with REALBasic > 5.5.3. Please note that this is NOT a Valentina bug but a problem with > REALBasic. Looks like REALBasic is planning on fixing this in version > 6.0. Please sign onto the bug report to make sure it isn't dropped: > > > First e-mail from me: > > I tracked down an unusual problem last week where the reference counting > behaved differently depending upon whether or not it was assigned as > part of the Dim assignment. VCursor is a Valentina cursor and > GetCursor() is a method to get a reference to a new cursor. > > From memory: > > First snippet: > Sub MySub() > Dim cursor as VCursor = GetCursor() > cursor = nil > End Sub > > Second snippet: > Sub MySub() > Dim cursor as Vcursor > cursor = GetCursor() > cursor = nil > End Sub > > In the first snippet, something is keeping a reference to the cursor > until MySub() ends. In the second snippet the cursor is released as > soon as the the cursor = nil line is executed. I know that this is the > case since the cursor locks records and the locks are not released > indicating a reference to the cursor exists somewhere. It is like a > hidden temporary variable exists and is holding a reference to the > cursor. > > This seems to be a bug and was a very tough one to track down! > > Any one else see anything like this? Or should I assume insanity on my > part? Hi Alex, Can you reproduce this in the small separate project? If yes then send to me for 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 Tue Nov 16 12:43:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 16 04:44:43 2004 Subject: Adding new fields In-Reply-To: Message-ID: On 11/16/04 1:34 AM, "End If Software - Ralf Sander" wrote: Hi Ralf, >>> How can I get the index (the index used for find and sort, not the id) >>> of a field or method as a string. >>> Like "Show Index" in filemaker >> I have not understand a question. > > sorry, starting with the wrong subject makes confusion complete. > > I'll try to explain better: > > assume a field name with 3 records:+ > 1. Ralf > 2. Ruslan > 3. Someone else > > > The index of the this field should contain > "Ralf > Ruslan > Someone else" > separated by returns > That's how I know it from filemaker, and I thought, its the same in > Valentina. Hmm, I never have hear about such "feature" of FileMaker. And I am sure this is NOT normal for most DBMS. > Now i want to get this complete index as a string: > "Ralf > Ruslan > Someone else" > This would be much more easy (and faster) than getting all values, and > removing duplicates. Possible? > By the way, there is a function in Filemaker to get all values of a field in > a cursor as a string : > assume a field "name" with 5 records in a cursor: > > > 1. Ralf > 2. Ruslan > 3. Someone else > 4. Ruslan > 5. Ruslan > > > This function returns the result: > "Ralf > Ruslan > Someone else > Ruslan > Ruslan" > > Possible, too? Ralf, You work in REALbasic ? You can and you should make this self in one small function which in loop iterate records and build string in ANY format you want. Do not worry about speed. Valentina in any case will be MUCH faster of FM. About duplicates. You need do next: curs = db.SqlSelect( "SELECT DISTINCT name from T" ) Now you have cursor with list of names that do not have duplicates. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srt at bigpond.net.au Tue Nov 16 11:20:50 2004 From: srt at bigpond.net.au (Steven) Date: Tue Nov 16 05:20:52 2004 Subject: V4WS 1.11 cannot enter serial number Message-ID: Ruslan, any progress on a fix to V4WS 1.11 regarding the serial number and cache size problem mentioned below? Steven >On 10/17/04 5:05 PM, "Steven" wrote: > >> Ruslan, >> >> it is no longer possible to enter the V4WS serial number using 1.11 (or >> adjust the cache size). > >Why? > >> In WebSiphon.acgi go to the Preferences menu -> Builtin Preferences >> ->ValentinaLib Preferences and try to select it. Instead of a window >> opening where you can enter the serial number and cache size nothing >> happens. I checked and this was the case in 1.10 too. >> >> I had been using 1.9.7 where this wasn't a problem. > >Okay, I will check this Steven. From Kurt.Klamp at abdnb.bayern.de Tue Nov 16 13:34:38 2004 From: Kurt.Klamp at abdnb.bayern.de (Klamp, Kurt) Date: Tue Nov 16 06:35:19 2004 Subject: Adding new fields Message-ID: <21674C363854D511B526006008F6B9CD01312A8C@ABDN-6.dir.abdnb.bayern.de> >About duplicates. You need do next: > curs = db.SqlSelect( "SELECT DISTINCT name from T" ) >Now you have cursor with list of names that do not have duplicates. With this i can not see recs with duplicate names, only unique names Wouldn't it be better to do curs = db.SqlSelect( "SELECT DISTINCT name, count(name) from T" ) to see which names exists in which quantity ?. Best, Kurt ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ From wonderfef at noos.fr Tue Nov 16 16:05:42 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Nov 16 09:05:58 2004 Subject: [V4RB+Vserve] SUM on 2 tables Message-ID: Hello all, I have 3 tables (with fields): Customers (ID, Name) Invoices (ParentCustomerID, Value) Payments (ParentCustomerID, Value) I'd need to get from a single SQLselect the balance of each customer. SELECT SUM(Invoices.Value) - SUM(Payments.Value), Clients.Name FROM Invoices, Payments, Customers WHERE Invoices.ParentCustomerID *= Customers.ID OR Payments.ParentCustomerID *= Customers.ID GROUP BY Invoices.ParentCustomerID, Payments.ParentCustomerID ORDER BY 1 DESC ... But this is not possible Any clue? Thanks in advance Eric From sunshine at public.kherson.ua Tue Nov 16 18:11:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 16 10:13:18 2004 Subject: [V4RB+Vserve] SUM on 2 tables In-Reply-To: Message-ID: On 11/16/04 5:05 PM, "Eric Ferrer" wrote: > > Hello all, > > I have 3 tables (with fields): > Customers (ID, Name) > Invoices (ParentCustomerID, Value) > Payments (ParentCustomerID, Value) > > I'd need to get from a single SQLselect the balance of each customer. > > SELECT > SUM(Invoices.Value) - SUM(Payments.Value), > Clients.Name > FROM Invoices, Payments, Customers > WHERE > Invoices.ParentCustomerID *= Customers.ID > OR > Payments.ParentCustomerID *= Customers.ID > GROUP BY > Invoices.ParentCustomerID, > Payments.ParentCustomerID > ORDER BY 1 DESC > > ... But this is not possible > Any clue? Hi Eric, Valentina 1.x do not support this: > Invoices.ParentCustomerID *= Customers.ID > OR > Payments.ParentCustomerID *= Customers.ID -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Nov 16 19:50:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 16 11:52:00 2004 Subject: V4WS 1.11 cannot enter serial number In-Reply-To: Message-ID: On 11/16/04 1:20 PM, "Steven" wrote: > Ruslan, > > any progress on a fix to V4WS 1.11 regarding the serial number and cache > size problem mentioned below? Not fixed yet, Steven. 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 leo_van_den_brande at wxs.nl Wed Nov 17 00:20:40 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Tue Nov 16 17:21:35 2004 Subject: Crosspaltform accented characters Message-ID: <419A8B48.9060104@wxs.nl> Hi all, I was glad to see a number of reactions to my question this morning in the Valentina digest. Thanks a lot Francois, Jon, Martin, Erne, Robert and Ruslan! The reactions gave many suggestions, but the whole picture was not yet clear to me. Therefore, I spent most of the day doing a systematic investigation which includes all recieved suggestions. I prepared a small project under Mac OS X with RC 5.2.4, compiled it for Mac OSX and Windows and tried all combinations of storage and retrieval before and after moving the database, with and without defines for different encodings (UTF8, MacRoman and WindowsLatin1) both for storage and retrieval . I have not tried ConvertEncoding yet. I did this with a Valentina database, with German as language, created on the Mac and another one created under Windows. Testing was done under Mac OS 10.2 and Windows 2000 Professional. What did I see on the cross-table on both platforms? Definitions on storage don't influence the results on retrieval on either platform. This is not surprising, since Ruslan told us that the database always redefines text to MacRoman on the Mac and WindowsLatin1 under Wiindows. On the platform of storage, only if UTF8 was defined on retrieval, the characters come out right. Any other definition yields garbage. On the opposite platform, on retrieval from a moved database, after defining UTF8, under Windows the accented characters are simply not shown, under Mac OS the text is truncated at the first occurrence of an accented character. Defining other encodings (MacRoman or WindowsLatin1) on retrieval yields garbage. What is going on here? Is it a RB-problem as suggested by Jon? There is still a lot of discussion on the NUG-list, but most of that has to do with importing files with unknown encoding, which is not the case here. Should I post a question on the NUG? Or a fontproblem? I use the system font in the editfields, and on the Mac I also tried arial without success. Unlikely, it seems. Or something else. But then, what? Should I go for FixedBinary and VarBinary as Ruslan suggested as an ultimate escape and competely revamp my database? Thanks to all for your support! Leo Note. I'm surely clumsy with searching the archives. Couldn't find your messages under "accented letters" , I got them from the digests, nor Martin Kloss's postings under "authors". I must be doing something wrong! Can anybody help a newbee? -- From alindsay at mac.com Tue Nov 16 16:07:10 2004 From: alindsay at mac.com (Alex Lindsay) Date: Tue Nov 16 18:07:21 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: References: Message-ID: I will be sending you the project directly to your email at this time. If you do not receive it, please let me know. On Nov 16, 2004, at 1:48 AM, Ruslan Zasukhin wrote: > On 11/16/04 5:21 AM, "Alex Lindsay" wrote: > >> Below is a description of a tricky problem I found with REALBasic >> 5.5.3. Please note that this is NOT a Valentina bug but a problem >> with >> REALBasic. Looks like REALBasic is planning on fixing this in version >> 6.0. Please sign onto the bug report to make sure it isn't dropped: >> > reportid=lgynrrfl> >> >> First e-mail from me: >> >> I tracked down an unusual problem last week where the reference >> counting >> behaved differently depending upon whether or not it was assigned as >> part of the Dim assignment. VCursor is a Valentina cursor and >> GetCursor() is a method to get a reference to a new cursor. >> >> From memory: >> >> First snippet: >> Sub MySub() >> Dim cursor as VCursor = GetCursor() >> cursor = nil >> End Sub >> >> Second snippet: >> Sub MySub() >> Dim cursor as Vcursor >> cursor = GetCursor() >> cursor = nil >> End Sub >> >> In the first snippet, something is keeping a reference to the cursor >> until MySub() ends. In the second snippet the cursor is released as >> soon as the the cursor = nil line is executed. I know that this is >> the >> case since the cursor locks records and the locks are not released >> indicating a reference to the cursor exists somewhere. It is like a >> hidden temporary variable exists and is holding a reference to the >> cursor. >> >> This seems to be a bug and was a very tough one to track down! >> >> Any one else see anything like this? Or should I assume insanity on >> my >> part? > > Hi Alex, > > Can you reproduce this in the small separate project? > If yes then send to me for 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 > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From syalamar at fiberlink.com Tue Nov 16 19:53:12 2004 From: syalamar at fiberlink.com (syalamar@fiberlink.com) Date: Tue Nov 16 18:53:24 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20 Minutes Message-ID: Hi , Following is the code snippet where I have the problem. Please read the comments. Any idea what could be happening? // SQLEXECUTE - DELETING ROWS FROM POP_DETAIL TABLE db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 1 and COUNTRY_CD in (44, 41, 46, 34, 351, 47, 31, 352, 39, 353, 354, 30, 49, 33, 358, 45, 32, 43)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 1 and COUNTRY_CD in (976, 977, 98, 993, 994, 995, 996, 998, 975, 850, 853, 855, 856, 870, 871, 872, 873, 874, 880, 90, 92, 93, 94, 95, 960, 961, 962, 963, 964, 965, 966, 967, 968, 971, 972, 973, 974, 84, 670, 6701, 6702, 672, 6722, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 7, 705, 708, 800, 505, 508, 53, 5399, 5901, 597, 599, 6101, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 385, 386, 387, 389, 40, 420, 421, 423, 48, 500, 501, 36, 101, 102, 104, 106, 108, 109, 111, 113, 115, 116, 117, 118, 120, 122, 123, 124, 20, 212, 213, 216, 218, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 2691, 27, 290, 291, 297, 298, 299, 350, 355, 356, 357, 359, 0)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 278 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 22 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 176 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 24 and COUNTRY_CD in (58, 598, 121, 51, 595, 507, 52, 596, 112, 504, 509, 592, 502, 590, 594, 503, 593, 110, 506, 57, 56, 55, 591, 105, 103, 54)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 199 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 36 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 176 and COUNTRY_CD in (66, 886, 65, 63, 64, 60, 82, 81, 62, 91, 852, 86, 61)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 258 and COUNTRY_CD in (66, 886, 65, 63, 64, 60, 82, 81, 62, 91, 852, 86, 61)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 3 and COUNTRY_CD in (66, 886, 65, 63, 64, 60, 82, 81, 62, 91, 852, 86, 61)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 279 and COUNTRY_CD in (66, 886, 65, 63, 64, 60, 82, 81, 62, 91, 852, 86, 61)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 24 and COUNTRY_CD in (66, 886, 65, 63, 64, 60, 82, 81, 62, 91, 852, 86, 61)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 21 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 219 and COUNTRY_CD in (1, 107)"); db->SqlExecute("DELETE FROM pop_detail where PROVIDER_ID = 41 and COUNTRY_CD in (1, 107)"); // IMPORTING FROM A TEXT FILE THAT HAS LESSER FIELDS THAN THE BASE OBJECT ITSELF CString strSQL; strSQL = _T("select POP_DETAIL_ID, COMMAND, COUNTRY_CD, STATE_CD, \ CITY_CD, AREA_CD, EXCHANGE_CD, PHONE_NUMBER, PROVIDER_ID, \ ISP_ID, CONNECTION_TYPE, MIN_BAUD, MAX_BAUD, CRIPT_NAME, \ POP_QUALITY, DNS_SETTING, DNS_SETTING_1, DNS_SETTING_2, \ CHAP_SUPPORT, NPANXX, CENTER_ID, TERMINAL_SUPPORT, \ POP_COST, ISDN_CHANNELS, AUTH_TYPE, \ SCRIPT_TYPE from POP_DETAIL_TEMP"); ECursorLocation eCurLoc = kServerBulk; // kClient / kServer / kServerBulk ELockType eLocType = kNoLock; // kNoLock / kReadOnly / kReadWrite ECursorDirection eCurDir = kRandom; // kForwardOnly / kRandom VDK_Cursor* pCursor = db->SqlSelect(strSQL, eCurLoc , eLocType, eCurDir); pCursor->ImportASCII(_T(".\\input.tab")); // ON AN ENGLISH WINDOWS XP SP1 MACHINE - THE IMPORTASCII CALL TAKES LESS THAN 8 SECONDS - NO PROBLEMS AT ALL // ON A GERMAN WINDOWS XP SP1 MACHINE - THE SAME IMPORTASCII CALL TAKES ABOUT 20 MINUTES. // IF I MOVE THE IMPORTASCII CALL BEFORE THE DELETE SQLEXECUTE STATEMENTS, IT TAKES LESS THAN 8 SECONDS. // LOOKS LIKE SOMETHING IN THE DELETE SQLEXECUTE CALLS IS CAUSING SOME THING TO SLOW DOWN THE IMPORTASCII CALL. // I TRIED db->Flush() AFTER EACH CALL TO SQLEXECUTE - STILL THE SAME PROBLEM. // ANY IDEA WHAT COULD BE HAPPENING. Regards, Srini Yalamarti Fiberlink Communications Corporation (215)793-6559 (Office) (610)462-8023 (Cell) http://www.fiberlink.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. From fvanlerberghe at freegates.be Wed Nov 17 03:25:23 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Nov 16 20:26:05 2004 Subject: Crosspaltform accented characters In-Reply-To: <419A8B48.9060104@wxs.nl> Message-ID: le 17/11/04 0:20, Leo Van den Brande a ?crit?: > I have not tried ConvertEncoding yet. I think it's the problem. You must use it : The native encoding in RB 5 is UTF8. Thus getting a string from an editfield give you a string with an UTF8 encoding. If you want to write it in your database, you must convert it in MacRoman if you are on a MacOs and in WindowsLatin1 if you are on a Windows machine. Reading your field from Valentina db, you must define the encoding as MacRoman if you are on a MacOs and in WindowsLatin1 if you are on a Windows machine. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From forgete at cafederic.com Wed Nov 17 01:58:42 2004 From: forgete at cafederic.com (Eric Forget) Date: Wed Nov 17 00:58:55 2004 Subject: [VSDK] SELECT DISTINCT makes cursor read only? Message-ID: Hi Ruslan, It looks like if I create a cursor with a query which start with "SELECT DISTINCT" it becomes read only. Whenever I try to modify its content (deleting a record, modifying a field, etc.) VSDK throw the 605 exception. Is it normal? If so why? ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Wed Nov 17 09:25:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 01:27:20 2004 Subject: [VSDK] SELECT DISTINCT makes cursor read only? In-Reply-To: Message-ID: On 11/17/04 8:58 AM, "Eric Forget" wrote: > Hi Ruslan, > > It looks like if I create a cursor with a query which start with "SELECT > DISTINCT" it becomes read only. Whenever I try to modify its content > (deleting a record, modifying a field, etc.) VSDK throw the 605 exception. > Is it normal? If so why? Hi Eric, Yes of course read only. Because generally speaking it create new TMP table, Which have less records than original, Because removed duplicates. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 17 09:28:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 01:29:37 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20 Minutes In-Reply-To: Message-ID: On 11/17/04 2:53 AM, "syalamar@fiberlink.com" wrote: > // ON AN ENGLISH WINDOWS XP SP1 MACHINE - THE IMPORTASCII CALL TAKES LESS > THAN 8 SECONDS - NO PROBLEMS AT ALL > > > // ON A GERMAN WINDOWS XP SP1 MACHINE - THE SAME IMPORTASCII CALL TAKES > ABOUT 20 MINUTES. So 100% the same data, the same db and the same code? Only OS different?! Wow. > // IF I MOVE THE IMPORTASCII CALL BEFORE THE DELETE SQLEXECUTE STATEMENTS, > IT TAKES LESS THAN 8 SECONDS. > // LOOKS LIKE SOMETHING IN THE DELETE SQLEXECUTE CALLS IS CAUSING SOME > THING TO SLOW DOWN THE IMPORTASCII CALL. > // I TRIED db->Flush() AFTER EACH CALL TO SQLEXECUTE - STILL THE SAME > PROBLEM. > > // ANY IDEA WHAT COULD BE HAPPENING. Is the cache size the same on both computers? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 17 09:28:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 01:29:54 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: Message-ID: On 11/17/04 2:07 AM, "Alex Lindsay" wrote: > I will be sending you the project directly to your email at this time. > If you do not receive it, please let me know. Get it, Alex -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From syalamar at fiberlink.com Wed Nov 17 08:41:45 2004 From: syalamar at fiberlink.com (syalamar@fiberlink.com) Date: Wed Nov 17 07:41:48 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes Message-ID: Hi Ruslan, Yes they have the same cache size. On the same German OS machine, if the ImportASCII call is made before the SQLEXECUTEs - it takes only 8 seconds. Also the SQLEXECUTEs(DELETE) is being done on a BaseObject named POP_DETAIL, whereas the ImportASCII is being done on a different BaseObject named POP_DETAIL_TEMP. I don't understand why deleting rows from one BaseObject should impact ImportASCII on another. The BaseObjects do not have any links/relations. In fact we do not use links/relations in our database at all. Thanks you SY On 11/17/04 2:53 AM, "syalamar at fiberlink .DO.T com" wrote: > // ON AN ENGLISH WINDOWS XP SP1 MACHINE - THE IMPORTASCII CALL TAKES LESS > THAN 8 SECONDS - NO PROBLEMS AT ALL > > > // ON A GERMAN WINDOWS XP SP1 MACHINE - THE SAME IMPORTASCII CALL TAKES > ABOUT 20 MINUTES. So 100% the same data, the same db and the same code? Only OS different?! Wow. > // IF I MOVE THE IMPORTASCII CALL BEFORE THE DELETE SQLEXECUTE STATEMENTS, > IT TAKES LESS THAN 8 SECONDS. > // LOOKS LIKE SOMETHING IN THE DELETE SQLEXECUTE CALLS IS CAUSING SOME > THING TO SLOW DOWN THE IMPORTASCII CALL. > // I TRIED db->Flush() AFTER EACH CALL TO SQLEXECUTE - STILL THE SAME > PROBLEM. > > // ANY IDEA WHAT COULD BE HAPPENING. Is the cache size the same on both computers? Regards, SY The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. From yeomans at desuetude.com Wed Nov 17 12:01:44 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Nov 17 11:01:59 2004 Subject: Crosspaltform accented characters In-Reply-To: References: Message-ID: <5C22DC0E-38BA-11D9-A36D-000A957CB4CC@desuetude.com> On Nov 16, 2004, at 9:25 PM, Francois Van Lerberghe wrote: > le 17/11/04 0:20, Leo Van den Brande a > ?crit?: > >> I have not tried ConvertEncoding yet. > > I think it's the problem. > You must use it : > > The native encoding in RB 5 is UTF8. Thus getting a string from an > editfield > give you a string with an UTF8 encoding. > If you want to write it in your database, you must convert it in > MacRoman if > you are on a MacOs and in WindowsLatin1 if you are on a Windows > machine. > > Reading your field from Valentina db, you must define the encoding as > MacRoman if you are on a MacOs and in WindowsLatin1 if you are on a > Windows > machine. > I've found that Encodings.SystemDefault works. Charles Yeomans From forgete at cafederic.com Wed Nov 17 14:38:29 2004 From: forgete at cafederic.com (Eric Forget) Date: Wed Nov 17 13:38:39 2004 Subject: [VSDK] SQL problem Message-ID: Hi Ruslan, I'm trying to update a Text field of all the records of one table. My query looks like this: UPDATE TableName SET FieldName = '' Unfortunately, once executed, without errors from VSDK, orphans elements are created on the FieldName field. Is it a problem with my query or with VSDK? If it is my query, how do I set a Text to either NULL or empty string? Thanks, ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From fvanlerberghe at freegates.be Wed Nov 17 21:10:48 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Wed Nov 17 14:11:26 2004 Subject: Crosspaltform accented characters In-Reply-To: <5C22DC0E-38BA-11D9-A36D-000A957CB4CC@desuetude.com> Message-ID: le 17/11/04 18:01, Charles Yeomans a ?crit?: >> Reading your field from Valentina db, you must define the encoding as >> MacRoman if you are on a MacOs and in WindowsLatin1 if you are on a >> Windows >> machine. >> > I've found that Encodings.SystemDefault works. Ah yes, you are right. I've not thought to that. And it simplify the x-platform code. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Wed Nov 17 23:15:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 15:17:09 2004 Subject: [VSDK] SQL problem In-Reply-To: Message-ID: On 11/17/04 9:38 PM, "Eric Forget" wrote: Hi Eric, > I'm trying to update a Text field of all the records of one table. My query > looks like this: > > UPDATE TableName SET FieldName = '' > > Unfortunately, once executed, without errors from VSDK, orphans elements are > created on the FieldName field. Is it a problem with my query or with VSDK? I think bug. > If it is my query, how do I set a Text to either NULL or empty string? UPDATE TableName SET FieldName = 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 sunshine at public.kherson.ua Wed Nov 17 23:17:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 15:19:02 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes In-Reply-To: Message-ID: On 11/17/04 3:41 PM, "syalamar@fiberlink.com" wrote: > Hi Ruslan, > > Yes they have the same cache size. What it is > On the same German OS machine, if the ImportASCII call is made before the > SQLEXECUTEs - it takes only 8 seconds. > > Also the SQLEXECUTEs(DELETE) is being done on a BaseObject named > POP_DETAIL, whereas the ImportASCII > is being done on a different BaseObject named POP_DETAIL_TEMP. > > I don't understand why deleting rows from one BaseObject should impact > ImportASCII on another. > The BaseObjects do not have any links/relations. In fact we do not use > links/relations in our database > at all. It is really hard to say for me. I can think only about cache... This is MacOS or Windows ? So huge slow down...really no ideas. Is this show stopper for you or you can use that 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 forgete at cafederic.com Wed Nov 17 16:34:16 2004 From: forgete at cafederic.com (Eric Forget) Date: Wed Nov 17 15:34:29 2004 Subject: [VSDK] SQL problem In-Reply-To: Message-ID: > On 11/17/04 9:38 PM, "Eric Forget" wrote: > > Hi Eric, > >> I'm trying to update a Text field of all the records of one table. My query >> looks like this: >> >> UPDATE TableName SET FieldName = '' >> >> Unfortunately, once executed, without errors from VSDK, orphans elements are >> created on the FieldName field. Is it a problem with my query or with VSDK? > > I think bug. > >> If it is my query, how do I set a Text to either NULL or empty string? > > UPDATE TableName SET FieldName = NULL > That do not work either. It set the FieldName value to the string 'NULL'. Another bug? Would you mind looking at it? ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Wed Nov 17 23:40:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 17 15:42:00 2004 Subject: [VSDK] SQL problem In-Reply-To: Message-ID: On 11/17/04 11:34 PM, "Eric Forget" wrote: >> On 11/17/04 9:38 PM, "Eric Forget" wrote: >> >> Hi Eric, >> >>> I'm trying to update a Text field of all the records of one table. My query >>> looks like this: >>> >>> UPDATE TableName SET FieldName = '' >>> >>> Unfortunately, once executed, without errors from VSDK, orphans elements are >>> created on the FieldName field. Is it a problem with my query or with VSDK? >> >> I think bug. >> >>> If it is my query, how do I set a Text to either NULL or empty string? >> >> UPDATE TableName SET FieldName = NULL >> > > That do not work either. It set the FieldName value to the string 'NULL'. > Another bug? Would you mind looking at it? I believe that was fixed in 1.11 Have you update you VSDK ? Have I made It for GCC? :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Wed Nov 17 16:45:00 2004 From: forgete at cafederic.com (Eric Forget) Date: Wed Nov 17 15:45:08 2004 Subject: [VSDK] SQL problem In-Reply-To: Message-ID: > On 11/17/04 11:34 PM, "Eric Forget" wrote: > >>> On 11/17/04 9:38 PM, "Eric Forget" wrote: >>> >>> Hi Eric, >>> >>>> I'm trying to update a Text field of all the records of one table. My query >>>> looks like this: >>>> >>>> UPDATE TableName SET FieldName = '' >>>> >>>> Unfortunately, once executed, without errors from VSDK, orphans elements >>>> are >>>> created on the FieldName field. Is it a problem with my query or with VSDK? >>> >>> I think bug. >>> >>>> If it is my query, how do I set a Text to either NULL or empty string? >>> >>> UPDATE TableName SET FieldName = NULL >>> >> >> That do not work either. It set the FieldName value to the string 'NULL'. >> Another bug? Would you mind looking at it? > > I believe that was fixed in 1.11 > > Have you update you VSDK ? > > Have I made It for GCC? :-) It is not available online... ;-) ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From leo_van_den_brande at wxs.nl Thu Nov 18 09:14:56 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Thu Nov 18 02:13:21 2004 Subject: Crossplattform accented characters Message-ID: <419C5A00.7000005@wxs.nl> Hi all, >> I have not tried ConvertEncoding yet. > I think it's the problem. > You must use it : And so I did. Indeed, converting to the appropriate encoding before storage does a perfect job!! BTW, retrieval also works without defining anything, I suppose because of the conversions that Ruslan built into the database. Grand merci, Francois! Thanks a lot to all for your suggestions. I can go ahead now. Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From wgregoire at paris.mediagerance.com Thu Nov 18 09:20:46 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Nov 18 02:17:31 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes In-Reply-To: Message-ID: <001901c4cd47$81d41af0$1d0a11ac@wgregoire> what about a text field in "German" ? does valentina use some conversion while importing ? -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : mercredi 17 novembre 2004 22:18 A : valentina@lists.macserve.net Objet : Re: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes On 11/17/04 3:41 PM, "syalamar@fiberlink.com" wrote: > Hi Ruslan, > > Yes they have the same cache size. What it is > On the same German OS machine, if the ImportASCII call is made before the > SQLEXECUTEs - it takes only 8 seconds. > > Also the SQLEXECUTEs(DELETE) is being done on a BaseObject named > POP_DETAIL, whereas the ImportASCII > is being done on a different BaseObject named POP_DETAIL_TEMP. > > I don't understand why deleting rows from one BaseObject should impact > ImportASCII on another. > The BaseObjects do not have any links/relations. In fact we do not use > links/relations in our database > at all. It is really hard to say for me. I can think only about cache... This is MacOS or Windows ? So huge slow down...really no ideas. Is this show stopper for you or you can use that 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 ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Nov 18 10:26:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 18 02:27:46 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes In-Reply-To: <001901c4cd47$81d41af0$1d0a11ac@wgregoire> Message-ID: On 11/18/04 10:20 AM, "Gregoire William" wrote: > what about a text field in "German" ? > does valentina use some conversion while importing ? Yes there is nothing special for German that can slow down it comparing to English. The same algorithms... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From valentina at panamind.com Thu Nov 18 03:56:51 2004 From: valentina at panamind.com (Gary Edge) Date: Thu Nov 18 02:57:15 2004 Subject: Week method (Revisited) In-Reply-To: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> References: <0882F115-3791-11D9-B06B-000A95A9A898@panamind.com> Message-ID: After implementing a Gregorian Date to ISO 8601 Week Date algorithm found on the net, I still was getting wrong results from searches. Turns out Valentina's week function returns 0 for the date 1/1/2004 (which falls on a Thursday and therefore is considered week 1 according to ISO 8601) and 1 for the following week. This throws all the subsequent weeks off -1. ISO Date weeks range from 1 to 53 so this must be a bug. Right? -- Best Regards, Gary -- On Nov 16, 2004, at 12:33 AM, Gary Edge wrote: > Sorry if this has been covered or corrected already. > > The week method which returns the week of the date passed in version > 1.10 does return the same value as the week method of the date class > in RB 5.5.4. > > For this week RB returns 47, for the date 11/26/04 Valentina returns > 47. > > Which is correct? > -- > > Best Regards, > Gary > > -- From wonderfef at noos.fr Thu Nov 18 11:31:42 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Nov 18 04:31:53 2004 Subject: [V4RB+Vserve] 10060 error Message-ID: Hello, What is a 10060 error? I get this error when I use a rather complex SQL query that searches in a table with 1000's of records and that JOINs 5 tables. This error is not referenced in the Vserver documentation. Thanks for your help Eric From fb at memedia.de Thu Nov 18 12:37:00 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Nov 18 05:37:09 2004 Subject: [V4RB+Vserve] 10060 error In-Reply-To: Message-ID: Because it is a TCP/IP error of Windows itself. Google for "error 10060" Florian > > Hello, > > What is a 10060 error? > > I get this error when I use a rather complex SQL query that > searches in a table with 1000's of records and that JOINs 5 tables. > > This error is not referenced in the Vserver documentation. > > Thanks for your help > Eric > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Thu Nov 18 13:52:08 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Nov 18 05:52:09 2004 Subject: [V4RB+Vserve] 10060 error References: Message-ID: <002601c4cd65$080bab70$3b04a8c0@giv> Hi Eric, > What is a 10060 error? WSAETIMEDOUT 10060 - Connection timed out. > I get this error when I use a rather complex SQL query that searches in a > table with 1000's of records and that JOINs 5 tables. I don't know exactly how it is in V4RB but in interface of VDatabase class should exist some property to get/set server's response timeout. By default this timeout is set (after the connection being established) to 60 seconds. Change it to a greater value and try again. -- 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 Thu Nov 18 15:18:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 18 07:19:27 2004 Subject: Week method (Revisited) In-Reply-To: Message-ID: On 11/18/04 10:56 AM, "Gary Edge" wrote: > After implementing a Gregorian Date to ISO 8601 Week Date algorithm > found on the net, I still was getting wrong results from searches. > > Turns out Valentina's week function returns 0 for the date 1/1/2004 > (which falls on a Thursday and therefore is considered week 1 according > to ISO 8601) and 1 for the following week. This throws all the > subsequent weeks off -1. ISO Date weeks range from 1 to 53 so this must > be a bug. Right? Hard to say Gary. Btw, In 2.0 we use the IBM ICU library for date time functions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 18 14:24:14 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Nov 18 07:24:23 2004 Subject: [V4RB+Vserve] 10060 error In-Reply-To: <002601c4cd65$080bab70$3b04a8c0@giv> Message-ID: > WSAETIMEDOUT 10060 - Connection timed out. Yes, that's it. After this error, I get disconnected from Vserver. > I don't know exactly how it is in V4RB but in interface of > VDatabase class should exist some property to get/set > server's response timeout. By default this timeout is set > (after the connection being established) to 60 seconds. > Change it to a greater value and try again. I can't see such a parameter... Anyway, I've just realized that my table was poorly designed. My SQL Statement is searching into 2 fields of type Text(256), and Valentina doesn't like to search into such fields... I'm going to change these two fields and make them of type varchar. I finally don't need text fields, here. So Vserver will give me a filled cursor out of my SQL statement, with no 10060 errors and faster. Thanks to all Eric From syalamar at fiberlink.com Thu Nov 18 18:09:16 2004 From: syalamar at fiberlink.com (syalamar@fiberlink.com) Date: Thu Nov 18 17:09:28 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes Message-ID: Hi Ruslan, The issue was on Windows XP SP1. The DB cache was set to the default 3MB. When I changed the cache size to almost half the size of the RAM available, the ImportASCII call was very fast - came down from 20 mins to few seconds. Questions: ========= I did notice the two global functions void MakeDataBaseCache( ulong inBytes = 3 * 1024 * 1024 ); void DestroyDataBaseCache( void ); and then the ValentinaInit( 3*1024*1024, "", "" ); I would like to at run-time, based on the DB operation, call MakeDataBaseCache() with huge cache size. After the operation is done, I would call DestroyDataBaseCache(). Does Valentina try to allocate the full cache as specified in the ValentinaInit ()or MakeDataBaseCache() at once? Or does it allocate as and when needed? What happens if there is not enough system memory and a call is made to ValentinaInit() or MakeDataBaseCache() with a huge amount? Do those calls default back to a smaller size? What is the behavior of the call to DestroyDataBaseCache()? Does it set the DB cache back to the default 3MB? What is the relation between the Windows System Cache and the DB Cache? Thank you for your responses. You Wrote: > Hi Ruslan, > > Yes they have the same cache size. >>>>>What it is > On the same German OS machine, if the ImportASCII call is made before the > SQLEXECUTEs - it takes only 8 seconds. > > Also the SQLEXECUTEs(DELETE) is being done on a BaseObject named > POP_DETAIL, whereas the ImportASCII > is being done on a different BaseObject named POP_DETAIL_TEMP. > > I don't understand why deleting rows from one BaseObject should impact > ImportASCII on another. > The BaseObjects do not have any links/relations. In fact we do not use > links/relations in our database > at all. >>>>>It is really hard to say for me. >>>>I can think only about cache... >>>>This is MacOS or Windows ? >>>>So huge slow down...really no ideas. >>>>Is this show stopper for you or you can use that workaround ? Regards, SY The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. From sunshine at public.kherson.ua Fri Nov 19 18:20:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 19 10:21:29 2004 Subject: ImportASCII - English OS takes 8 seconds; German OS takes 20Minutes In-Reply-To: Message-ID: On 11/19/04 1:09 AM, "syalamar@fiberlink.com" wrote: Hi, > The issue was on Windows XP SP1. > > The DB cache was set to the default 3MB. When I changed the cache size to > almost half the size of the RAM > available, the ImportASCII call was very fast - came down from 20 mins to > few seconds. Good. Actually may be 10-20MB will be enough. > Questions: > ========= > > I did notice the two global functions > > void MakeDataBaseCache( ulong inBytes = 3 * 1024 * 1024 ); > void DestroyDataBaseCache( void ); They are DEPRECATED. Do not use them. > and then the > ValentinaInit( 3*1024*1024, "", "" ); > > I would like to at run-time, based on the DB operation, call > MakeDataBaseCache() with > huge cache size. After the operation is done, I would call > DestroyDataBaseCache(). Use ValentinaShutDown() instead. > Does Valentina try to allocate the full cache as specified in the > ValentinaInit ()or > MakeDataBaseCache() at once? Or does it allocate as and when needed? At once. > What happens if there is not enough system memory and a call is made to > ValentinaInit() or MakeDataBaseCache() with a huge amount? Do those calls > default back to a smaller size? Valentina define the amount of physical RAM on computer, And NEVER allocate more that half of it. > What is the behavior of the call to DestroyDataBaseCache()? Does it set the > DB cache back to the default 3MB? No, it destroy cache. But do not call it. It is called via ValentinaShutDown() > What is the relation between the Windows System Cache and the DB Cache? Nothing. Actually System cache is not good for us. DBMS like PhtoShop prefer to have it as small as possible, > Thank you for your responses. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From syalamar at fiberlink.com Fri Nov 19 12:09:21 2004 From: syalamar at fiberlink.com (syalamar@fiberlink.com) Date: Fri Nov 19 11:09:24 2004 Subject: Licensing and Release Notes questions Message-ID: Hi, We are using the version 1.10 (#define kFBL_KernelVersionString "1.10") of the C++ SDK. Can we download the latest 1.11 version that is on the web-site? Is there any licensing fee for the upgrade? Also: I downloaded the Valentina C++ SDK 1.11 (Win32) http ftp 1.4 M Sep 29, 2004 from the web-site. When I look in the Release Notes, I see section related to Version 1.10b20 // Dec 6, 2003 I did not see one for Version 1.11 // Sep 29, 2004. Is there a separate list of changes that went into Version 1.11? Any responses will be greatly appreciated. Regards, SY The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. From erichg at mcmm.com Fri Nov 19 19:01:29 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Nov 19 12:01:53 2004 Subject: [VSERVER] stopping the service Message-ID: Hi Ruslan, I have lost hours yesterday trying to stop the server from my Director installer during a server database update. The docs say it is stopped using -d which actually seems to deactivate the service but leaves the databases in a state where they can't be copied. In the list I found later that the service can be stopped with a -k option which seems to work but is not documented. Please update the Vserver documentation. I am also looking for a possibility to do the same on OSX. How can I stop the service on OSX during an update? I know about the - open a terminal window - log in as admin - look for the service - kill it thing, but that's not a smooth way to go through during a software/database update from within another program. Is there any other way? Regards Erich From sunshine at public.kherson.ua Fri Nov 19 21:05:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 19 13:06:33 2004 Subject: Licensing and Release Notes questions In-Reply-To: Message-ID: On 11/19/04 7:09 PM, "syalamar@fiberlink.com" wrote: Hi, > We are using the version 1.10 (#define kFBL_KernelVersionString "1.10") > of the C++ SDK. Can we download the latest 1.11 version that is on the > web-site? Is there any > licensing fee for the upgrade? 1.11 free > Also: > > I downloaded the Valentina C++ SDK 1.11 (Win32) http ftp 1.4 M Sep 29, > 2004 from the web-site. > > When I look in the Release Notes, I see section related to > Version 1.10b20 // Dec 6, 2003 > > I did not see one for Version 1.11 // Sep 29, 2004. > > Is there a separate list of changes that went into Version 1.11? No, just was fixed 3-4 bugs. And I did not add info to 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 jda at his.com Fri Nov 19 14:09:58 2004 From: jda at his.com (jda) Date: Fri Nov 19 13:10:09 2004 Subject: Length of SQL string Message-ID: Ruslan, is there any limit to the length of an SQL string? I ask because since there is no simple way to create a cursor out of another, I may just choose to do multiple searches as one. Each search can be or arbitrary length, and so when I do 4, 5, 6 or more in a single AND/OR string, it's possible that the final SQL string could become very large (10K or more). Is that possible? Jon From sunshine at public.kherson.ua Fri Nov 19 21:13:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 19 13:15:01 2004 Subject: [VSERVER] stopping the service In-Reply-To: Message-ID: On 11/19/04 8:01 PM, "Erich Geiersberger" wrote: Hi Erich, > I have lost hours yesterday trying to stop the server from my > Director installer during a server database update. > The docs say it is stopped using -d which actually seems to > deactivate the service but leaves the databases in a state where they > can't be copied. > > In the list I found later that the service can be stopped with a -k > option which seems to work but is not documented. Please update the > Vserver documentation. Ok, thank you. > I am also looking for a possibility to do the same on OSX. How can I > stop the service on OSX during an update? I know about the > - open a terminal window > - log in as admin > - look for the service > - kill it > thing, but that's not a smooth way to go through during a > software/database update from within another program. > > Is there any other way? I think solution can be next: 1) we need check if command KILL can kill app not by ID but by name also. if yes, then you must be able kill from terminal kill vserver -6 // -6 it is QUITE command (by my memory) // so all dbs will be closed 2) second step is to automate this for you. you know about shell scripts ? you can see example of one in the /Library/StartupItems/VServer they have special first line, and rest lines like you type in terminal. And final step, when you have such shell script, you must have way CALL IT from your installer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 19 21:14:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 19 13:15:58 2004 Subject: Length of SQL string In-Reply-To: Message-ID: On 11/19/04 9:09 PM, "jda" wrote: > Ruslan, is there any limit to the length of an SQL string? AT LEASt 64KB > I ask > because since there is no simple way to create a cursor out of > another, I may just choose to do multiple searches as one. Each > search can be or arbitrary length, and so when I do 4, 5, 6 or more > in a single AND/OR string, it's possible that the final SQL string > could become very large (10K or more). Is that possible? 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 syalamar at fiberlink.com Fri Nov 19 15:59:12 2004 From: syalamar at fiberlink.com (syalamar@fiberlink.com) Date: Fri Nov 19 14:59:17 2004 Subject: Licensing and Release Notes questions Message-ID: Hi Ruslan, Could you give us what defects got fixed in 1.11 - It will help us in deciding better, if we want to integrate our application with the 1.11 SDK version or wait for the next 'major' release. Thank you for your response. Regards SY You wrote: >Hi, > We are using the version 1.10 (#define kFBL_KernelVersionString "1.10") > of the C++ SDK. Can we download the latest 1.11 version that is on the > web-site? Is there any > licensing fee for the upgrade? >>>>>1.11 free > Also: > > I downloaded the Valentina C++ SDK 1.11 (Win32) http ftp 1.4 M Sep 29, > 2004 from the web-site. > > When I look in the Release Notes, I see section related to > Version 1.10b20 // Dec 6, 2003 > > I did not see one for Version 1.11 // Sep 29, 2004. > > Is there a separate list of changes that went into Version 1.11? >>>>>No, just was fixed 3-4 bugs. >>>>>And I did not add info to file. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] Regards, SY The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. From sunshine at public.kherson.ua Fri Nov 19 23:16:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 19 15:17:40 2004 Subject: Licensing and Release Notes questions In-Reply-To: Message-ID: On 11/19/04 10:59 PM, "syalamar@fiberlink.com" wrote: > Hi Ruslan, > > Could you give us what defects got fixed in 1.11 - It will help us in > deciding better, if we want to integrate our > application with the 1.11 SDK version or wait for the next 'major' > release. A couple of bugs was with record locks. Another with UPDATE SQL command and NULL value. And it seems some VarChar page bug was 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 erichg at mcmm.com Sat Nov 20 00:41:21 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Nov 19 17:41:54 2004 Subject: [VSERVER] stopping the service In-Reply-To: References: Message-ID: >Hi Erich, > >> I have lost hours yesterday trying to stop the server from my >> Director installer during a server database update. >> The docs say it is stopped using -d which actually seems to >> deactivate the service but leaves the databases in a state where they >> can't be copied. >> >> In the list I found later that the service can be stopped with a -k >> option which seems to work but is not documented. Please update the >> Vserver documentation. > >Ok, thank you. > >> I am also looking for a possibility to do the same on OSX. How can I >> stop the service on OSX during an update? I know about the >> - open a terminal window >> - log in as admin >> - look for the service >> - kill it >> thing, but that's not a smooth way to go through during a >> software/database update from within another program. >> >> Is there any other way? > >I think solution can be next: > >1) we need check if command KILL can kill app not by ID but by name also. > if yes, then you must be able kill from terminal > > kill vserver -6 > // -6 it is QUITE command (by my memory) > // so all dbs will be closed > > > >2) second step is to automate this for you. > > you know about shell scripts ? > you can see example of one in the > > /Library/StartupItems/VServer > > they have special first line, > and rest lines like you type in terminal. > > >And final step, when you have such shell script, you must have way CALL IT >from your installer. Hi Ruslan Hi list I have found a solution and want to share it with you. It can be done with the following apple script: on run set myString to do shell script "/bin/ps -ax" set theCount to the number of paragraphs in myString set loopCounter to 1 repeat theCount times if paragraph loopCounter of myString contains "Library/ValentinaServer" then set psNumber to the first word of paragraph loopCounter of myString set theCommand to "/bin/kill -9 " & psNumber do shell script theCommand with administrator privileges return end if set loopCounter to loopCounter + 1 end repeat end run Of course the path to and name of the server must possibly be changed according to your needs. Erich From ernestogiannotta at tiscalinet.it Sat Nov 20 10:10:45 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Sat Nov 20 03:11:54 2004 Subject: Licensing and Release Notes questions In-Reply-To: Message-ID: Hello Ruslan, on 19-11-2004 22:16, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On 11/19/04 10:59 PM, "syalamar@fiberlink.com" > wrote: > >> Hi Ruslan, >> >> Could you give us what defects got fixed in 1.11 - It will help us in >> deciding better, if we want to integrate our >> application with the 1.11 SDK version or wait for the next 'major' >> release. > > A couple of bugs was with record locks. > > Another with UPDATE SQL command and NULL value. > sorry to appear indelicate here but I find Update somewhat broken in 1.11 > And it seems some VarChar page bug was fixed. > Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From erichg at mcmm.com Sat Nov 20 18:32:55 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sat Nov 20 11:33:18 2004 Subject: [VSERVER][V4MD] OSX error 22 Message-ID: Hi Ruslan, I tried to work with an existing OSX server using the latest V4MD_Client_Carbon.xtra builds (2.0a65). Each time I tried to open a database using the new Xtras I got an error 22. I need to open the databases and save some data before updating the server to the newer version during an update. The server installations are from january 2004. When I use the old V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. Are the new Xtras not downwards compatible with the old server? I could possibly work around the problem, but it seems like something is broken here... Regards Erich From giv at tlc.kherson.ua Sat Nov 20 19:40:30 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Sat Nov 20 11:40:36 2004 Subject: [VSERVER][V4MD] OSX error 22 References: Message-ID: <001201c4cf28$07cea080$3b04a8c0@giv> Hi Erich, > I tried to work with an existing OSX server using the latest > V4MD_Client_Carbon.xtra builds (2.0a65). > Each time I tried to open a database using the new Xtras I got an error 22. > > I need to open the databases and save some data before updating the > server to the newer version during an update. > > The server installations are from january 2004. When I use the old > V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. > > Are the new Xtras not downwards compatible with the old server? Yes, in general case they may be incompatible. So update OSX server to the a65 version also. -- 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 frank-list3 at mindstarprods.com Sat Nov 20 13:33:55 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Sat Nov 20 14:34:09 2004 Subject: UPDATE in 1.11 (was Re: Licensing and Release Notes questions) In-Reply-To: References: Message-ID: <7F625BEF-3B33-11D9-86B4-0003939246BC@mindstarprods.com> Hi all, On Nov 20, 2004, at 2:10 AM, erne wrote: > on 19-11-2004 22:16, Ruslan Zasukhin at sunshine@public.kherson.ua > wrote: > >> On 11/19/04 10:59 PM, "syalamar@fiberlink.com" >> >> wrote: >> >>> Could you give us what defects got fixed in 1.11 - It will help us in >>> deciding better, if we want to integrate our >>> application with the 1.11 SDK version or wait for the next 'major' >>> release. >> >> A couple of bugs was with record locks. >> >> Another with UPDATE SQL command and NULL value. >> > > sorry to appear indelicate here > but I find Update somewhat broken in 1.11 I agree with erne. UPDATE with a NULL in the WHERE clause is problematic for me too. It doesn't actually UPDATE even though there is no error and it returns a valid number of records affected. The same SQL works fine in 1.10. For me it is not a big deal because I can wait for Valentina 2 for this project. Best regards, Frank From erichg at mcmm.com Sat Nov 20 21:34:29 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sat Nov 20 14:34:54 2004 Subject: [VSERVER][V4MD] OSX error 22 In-Reply-To: <001201c4cf28$07cea080$3b04a8c0@giv> References: <001201c4cf28$07cea080$3b04a8c0@giv> Message-ID: >Hi Erich, > >> I tried to work with an existing OSX server using the latest >> V4MD_Client_Carbon.xtra builds (2.0a65). >> Each time I tried to open a database using the new Xtras I got an error >22. >> >> I need to open the databases and save some data before updating the >> server to the newer version during an update. >> >> The server installations are from january 2004. When I use the old >> V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. >> >> Are the new Xtras not downwards compatible with the old server? >Yes, in general case they may be incompatible. So update OSX server >to the a65 version also. Hi Igor, I am also getting error 22 after updating the server to a65 (!) Best regards Erich From sunshine at public.kherson.ua Sat Nov 20 22:42:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 20 14:43:42 2004 Subject: [VSERVER][V4MD] OSX error 22 In-Reply-To: Message-ID: On 11/20/04 10:34 PM, "Erich Geiersberger" wrote: >> Hi Erich, >> >>> I tried to work with an existing OSX server using the latest >>> V4MD_Client_Carbon.xtra builds (2.0a65). >>> Each time I tried to open a database using the new Xtras I got an error >> 22. >>> >>> I need to open the databases and save some data before updating the >>> server to the newer version during an update. >>> >>> The server installations are from january 2004. When I use the old >>> V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. >>> >>> Are the new Xtras not downwards compatible with the old server? >> Yes, in general case they may be incompatible. So update OSX server >> to the a65 version also. > > Hi Igor, > > I am also getting error 22 after updating the server to a65 (!) Then I need check this. Erich, problem only with your db ? Please try to RUN Vserver + V4MD Client + Example which come with 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 erichg at mcmm.com Sun Nov 21 00:24:19 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sat Nov 20 17:24:44 2004 Subject: [VSERVER][V4MD] OSX error 22 In-Reply-To: References: Message-ID: > >> Hi Erich, >>> >>>> I tried to work with an existing OSX server using the latest >>>> V4MD_Client_Carbon.xtra builds (2.0a65). >>>> Each time I tried to open a database using the new Xtras I got an error >>> 22. >>>> >>>> I need to open the databases and save some data before updating the >>>> server to the newer version during an update. >>>> >>>> The server installations are from january 2004. When I use the old >>>> V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. >>>> >>>> Are the new Xtras not downwards compatible with the old server? >>> Yes, in general case they may be incompatible. So update OSX server >>> to the a65 version also. >> >> Hi Igor, >> >> I am also getting error 22 after updating the server to a65 (!) > >Then I need check this. > >Erich, problem only with your db ? > >Please try to RUN > > Vserver + V4MD Client + Example which come with client > >Works ? I get error 22 on create database. From sunshine at public.kherson.ua Mon Nov 22 19:51:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 22 11:53:25 2004 Subject: Test, ignore Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From erichg at mcmm.com Mon Nov 22 14:08:52 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Mon Nov 22 11:56:05 2004 Subject: [VSERVER][V4MD] OSX client slow on server? Message-ID: I have a database with about 1300 records. On program startup I need to read all 1300 records to build a list for selection. I use: "Select Nummer, Indikation from Rezepte Order by Indikation" where Indikation is an indexed VarChar (german) field which can be up to 350 chars and Nummer is UShort. This process lasts about 5 seconds on PC and Mac clients and 2 seconds on a PC server with client installed. If I install a client on the same OSX machine where the server is running on, this client needs about 1 minute to read the records. The OSX server is a G4 Dual 867 with 1 Gig of RAM running 10.2.8. I have tried to run the server with 100 MB cache, allocate 32 MB on ValentinaInit but it did not help. Any idea? -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From cm_sheffield at yahoo.com Mon Nov 22 12:30:32 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Nov 22 14:30:47 2004 Subject: VXCMD client (classic version); problems? Message-ID: <20041122203032.4956.qmail@web52402.mail.yahoo.com> Is anyone else out there using the VXCMD client classic version with Revolution/MC? I just updated both my server and XCMD to the latest version (2.0a65 according to the Pardigma web site). Both OS X and Windows versions are working fine as far as I can tell. But there seem to be some major stability issues with the OS 9 (classic) version. I have been testing all morning and my program either crashes on me or locks up my machine. I even got a type 10 error at one point. I have tried everything I can think of to make this work. I've also had reports of type 2 errors and a database error 57 (not -57), which I'm not sure what that is. Does anyone have any thoughts? The previous version of the VXCMD client (dated February of this year) has been working fine, and the latest version of VXCMD (non-client) also works fine. It seems to be something with the client/server 2.0a65 builds. Any ideas? Thanks, Chris Sheffield Read Naturally ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From forgete at cafederic.com Sun Nov 21 11:29:09 2004 From: forgete at cafederic.com (Eric Forget) Date: Mon Nov 22 19:06:32 2004 Subject: UPDATE in 1.11 (was Re: Licensing and Release Notes questions) In-Reply-To: <7F625BEF-3B33-11D9-86B4-0003939246BC@mindstarprods.com> Message-ID: Hi Ruslan, Since I have something like 1.10.5 this is probably why my UPDATE to NULL doesn't work? Or is it something else? Personally, I cannot wait for version 2 for that however... ?ric > I agree with erne. UPDATE with a NULL in the WHERE clause is > problematic for me too. It doesn't actually UPDATE even though there is > no error and it returns a valid number of records affected. The same > SQL works fine in 1.10. For me it is not a big deal because I can wait > for Valentina 2 for this project. ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From delong at redcort.com Mon Nov 22 17:33:28 2004 From: delong at redcort.com (Keith DeLong) Date: Mon Nov 22 19:33:31 2004 Subject: [off-topic] Election Perspective? Message-ID: Hi Ruslan, I've been reading with interest. What's your take on the election? http://story.news.yahoo.com/news?tmpl=story&cid=514&e=5&u=/ap/20041123/ap_on _re_eu/ukraine_elections Keith DeLong From sunshine at public.kherson.ua Tue Nov 23 10:45:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 02:47:26 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: Message-ID: On 11/23/04 3:33 AM, "Keith DeLong" wrote: > Hi Ruslan, > I've been reading with interest. What's your take on the election? > > http://story.news.yahoo.com/news?tmpl=story&cid=514&e=5&u=/ap/20041123/ap_on > _re_eu/ukraine_elections Hi Keith, Thank you for interest. Yes, last 2 days in Ukraine is going dramatical events. The Government have falsificatte elections, and push own man to be president. The worse is that THIS MAN was 2 times jugged for criminal in the past. SHAME! The people now protest against of this. We know that our President Yuschenko have win 11% ! In the Kiev now going great actions of protest. In most cities of Ukraine also. I really do not know if the people will win. The government and the past president of Ukraine are criminal. We all hope that police and army will not press and shoot people. We all hope that people will win and Ukriane will get democracy at last of end. I'd really like that all western countries keep eye each our on events in Urkaine. Ukraine this is 48 millions people country! And here now we have change to get democracy. And we put shame on Russian President Putin (old RGB man) which now kiss the old-criminal man. I say this even although I am Russian self. But Putin is not Russia. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 23 11:01:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 03:02:55 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: Message-ID: On 11/23/04 10:45 AM, "Ruslan Zasukhin" wrote: If somebosy want get information from the first hands you can read English version of pravda.com.ua -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Nov 23 10:08:01 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Tue Nov 23 03:08:17 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: References: Message-ID: <6.1.2.0.2.20041123095613.02b74210@pop.gmx.de> At 09:45 23.11.2004, you wrote: >We all hope that people will win and Ukriane will get democracy at last of >end. Hi Ruslan, yes, that's what the world hopes and I keep my fingers crossed that the situation remains under control, as the public rightfully protests against this fraud. The Ukrainian Elections Commission said Prime Minister Viktor Yanukovych had 49.42 percent to Viktor Yushchenko's 46.70 percent, with 99.38 percent of precincts counted. Earlier partial results showed Yanukovych less than one percentage point ahead. But an exit poll, conducted under a Western-funded program, gave Yushchenko 54 percent of the vote to Yanukovych's 43 percent. >I'd really like that all western countries keep eye each our on events in >Urkaine. Ukraine this is 48 millions people country! And here now we have >change to get democracy. I can only speak for Germany, but the election has received great media coverage over here. It's a big country and the outcome will be very important for Russia (for Putin to extent his power) and Europe as well. Let's hope the pressure from the European Parliament, the NATO (Ukraine wants NATO membership) and the U.N. will result in a fair investigation of the election process. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 Tue Nov 23 11:12:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 03:14:23 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: <6.1.2.0.2.20041123095613.02b74210@pop.gmx.de> Message-ID: On 11/23/04 11:08 AM, "Martin Kloss" wrote: >> I'd really like that all western countries keep eye each our on events in >> Urkaine. Ukraine this is 48 millions people country! And here now we have >> change to get democracy. > > I can only speak for Germany, but the election has received great > media coverage over here. It's a big country and the outcome will > be very important for Russia (for Putin to extent his power) and > Europe as well. Let's hope the pressure from the European Parliament, > the NATO (Ukraine wants NATO membership) and the U.N. will > result in a fair investigation of the election process. Exists information that Russia is ready even put own army and police force on Ukriane :-( Exists information that in Kiev already arrive the best Russian special forces "Vityaz". We afraid that Bush will not be against if Russia will again eat Ukraine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Nov 23 10:15:45 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Nov 23 03:16:04 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: Message-ID: Hi Ruslan, on 23-11-2004 9:45, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I'd really like that all western countries keep eye each our on events in > Urkaine. Ukraine this is 48 millions people country! And here now we have > change to get democracy. > alas! media + politics have very biased views they focus on what can raise public concern but are very careful not to displease the powers they find useful for their interest > And we put shame on Russian President Putin (old RGB man) > which now kiss the old-criminal man. I say this even although I am Russian > self. But Putin is not Russia. > and right now Putin's Russia seems to be one of those I'm all for your people of course but it's easy to say this sitting on my couch ;-) Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From sunshine at public.kherson.ua Tue Nov 23 11:16:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 03:18:22 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: Message-ID: On 11/22/04 3:08 PM, "Erich Geiersberger" wrote: Hi Erich, > I have a database with about 1300 records. On program startup I need > to read all 1300 records to build a list for selection. I use: > > "Select Nummer, Indikation from Rezepte Order by Indikation" > > where Indikation is an indexed VarChar (german) field which can be up > to 350 chars and Nummer is UShort. > > This process lasts about 5 seconds on PC and Mac clients and 2 > seconds on a PC server with client installed. The first case you mean -- server and client on different computers? > If I install a client on the same OSX machine where the server is > running on, this client needs about 1 minute to read the records. > > The OSX server is a G4 Dual 867 with 1 Gig of RAM running 10.2.8. > I have tried to run the server with 100 MB cache, allocate 32 MB on > ValentinaInit but it did not help. Very strange. Work on the same computer should be the fastest case. May be you have other processes on that computer? It is stable result? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 23 11:17:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 03:19:20 2004 Subject: VXCMD client (classic version); problems? In-Reply-To: <20041122203032.4956.qmail@web52402.mail.yahoo.com> Message-ID: On 11/22/04 10:30 PM, "Chris Sheffield" wrote: > Is anyone else out there using the VXCMD client > classic version with Revolution/MC? I just updated > both my server and XCMD to the latest version (2.0a65 > according to the Pardigma web site). Both OS X and > Windows versions are working fine as far as I can > tell. But there seem to be some major stability > issues with the OS 9 (classic) version. > > I have been testing all morning and my program either > crashes on me or locks up my machine. I even got a > type 10 error at one point. I have tried everything I > can think of to make this work. I've also had reports > of type 2 errors and a database error 57 (not -57), > which I'm not sure what that is. > > Does anyone have any thoughts? The previous version > of the VXCMD client (dated February of this year) has > been working fine, and the latest version of VXCMD > (non-client) also works fine. It seems to be > something with the client/server 2.0a65 builds. Any > ideas? Hi Chris, May be I need recompile 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 fb at memedia.de Tue Nov 23 10:23:53 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Nov 23 03:24:09 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: Message-ID: > > > If I install a client on the same OSX machine where the server is > > running on, this client needs about 1 minute to read the records. > > What about other requests like simple SELECT or DELETE. Do they take that much longer on the server-client than on the client-client? If so it might be a TCP/IP routing problem. Best regards, Florian From IvanSmahin at public.kherson.ua Tue Nov 23 12:04:15 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Nov 23 04:04:25 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: References: Message-ID: <862042330.20041123120415@public.kherson.ua> Hello everybody, You see - this is not quite usual behaviour for traditional ukrainian people to be so active. Just note - over 150 000 people on the streets in Kiev. I think this is common for each city of Ukraine today! It's really unbelievable! People really HATES the criminal power. Another facts: 1. No one from officials comments the situation. 2. Putin (KGB colonel in the past) congratulates Yanukovich ( twice!!! violent convict in the past) as elected President of Ukraine. 2. President (Kuchma) seems to be unhelpful criminal person. It's shame for Ukraine but it is. (I recall you that he was being suspected of crime, including murders) 3. Most of people have no information. "Euronews" (not very popular media here) get us much more information then almost all native TV-channels. 4. Don't think about internet as information source. Just about 2% of people has got such ability. We have some TV-channels which are getting to be honest but power trying to block ones. Meanwhile I believe for peaceful issue. Some people in the army and police reject to execute a criminal orders. Welcome to the Ukraine. :( -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From fb at memedia.de Tue Nov 23 12:37:21 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Nov 23 05:37:36 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment Message-ID: Hi Ruslan! I am having a little problem with getting records as lists containing a value. Infact is not a valid value for a lingo list. You can read it, but you can e.g. not compare it: --x is the getRecordAsPropList value X=[#myField:] --this will not work in the message window, you need to get it via Valentina Put x[1] -- --OK Put x[1]= --misplaced operator Put x[1]="" --0 So when you have only the record and no cursor left (like when transferring the records via Internet, which is where my problem aroused) there is only one solution: Put x[1].string=" --1 However Lingo programmers like to store lists in various ways. I have not tested famous xtras like vList, but most developers store lists in text members like: Member(myListStoreMember).text=myList.string And later: myList=member(myListStoreMember).value Now if the list contains a , the value of the member will be 0 instead of a list, the list is "destroyed". So you actually have to look before storing the list and replace the by "" or VOID for example. Now this is maybe not a big deal, but the in a lingo list is simply not a valid list value, maybe you can change that in the future to VOID (Valentina 2). Or how do other Lingo developers feel about that? Best regards, Florian From wgregoire at paris.mediagerance.com Tue Nov 23 12:45:39 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Tue Nov 23 05:42:18 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment In-Reply-To: Message-ID: <001301c4d151$f52deb80$1d0a11ac@wgregoire> yes...I already got the problem... I compared too string(x[1]) with "" but the best issue would be Valentina return VOID instead of -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Florian Bogeschdorfer Envoye : mardi 23 novembre 2004 12:37 A : 'Valentina Developers' Objet : V4MD and NULL values in lists - LINGO developers please comment Hi Ruslan! I am having a little problem with getting records as lists containing a value. Infact is not a valid value for a lingo list. You can read it, but you can e.g. not compare it: --x is the getRecordAsPropList value X=[#myField:] --this will not work in the message window, you need to get it via Valentina Put x[1] -- --OK Put x[1]= --misplaced operator Put x[1]="" --0 So when you have only the record and no cursor left (like when transferring the records via Internet, which is where my problem aroused) there is only one solution: Put x[1].string=" --1 However Lingo programmers like to store lists in various ways. I have not tested famous xtras like vList, but most developers store lists in text members like: Member(myListStoreMember).text=myList.string And later: myList=member(myListStoreMember).value Now if the list contains a , the value of the member will be 0 instead of a list, the list is "destroyed". So you actually have to look before storing the list and replace the by "" or VOID for example. Now this is maybe not a big deal, but the in a lingo list is simply not a valid list value, maybe you can change that in the future to VOID (Valentina 2). Or how do other Lingo developers feel about that? Best regards, Florian _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From martin.kloss at gmx.de Tue Nov 23 12:57:29 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Tue Nov 23 05:57:56 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment In-Reply-To: References: Message-ID: <6.1.2.0.2.20041123125222.02b579c0@pop.gmx.de> At 12:37 23.11.2004, you wrote: >I am having a little problem with getting records as lists containing a > value. Infact is not a valid value for a lingo list. Yes, I've also had this problem before. And converting it to a string and comparing the string is an option, but it is neither very elegant nor fast. Ruslan, there is no "NULL" in Lingo at all, the only "not a value" name that Lingo knows is "VOID". Could you change that to in V4MD? Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 erichg at mcmm.com Tue Nov 23 17:36:55 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Nov 23 10:37:17 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: References: Message-ID: > > I have a database with about 1300 records. On program startup I need >> to read all 1300 records to build a list for selection. I use: >> >> "Select Nummer, Indikation from Rezepte Order by Indikation" >> >> where Indikation is an indexed VarChar (german) field which can be up >> to 350 chars and Nummer is UShort. >> >> This process lasts about 5 seconds on PC and Mac clients and 2 >> seconds on a PC server with client installed. > >The first case you mean -- server and client on different computers? > >> If I install a client on the same OSX machine where the server is >> running on, this client needs about 1 minute to read the records. >> >> The OSX server is a G4 Dual 867 with 1 Gig of RAM running 10.2.8. >> I have tried to run the server with 100 MB cache, allocate 32 MB on >> ValentinaInit but it did not help. > >Very strange. > >Work on the same computer should be the fastest case. >May be you have other processes on that computer? >It is stable result? No other processes. And the result is stable. We alreday recognized it during the first test in january, but I thought it might be due to work in progress. Since there aren't too many Mac servers and most of them are dedicated servers we decided to live with. At 10:23 Uhr +0100 23.11.2004, Florian Bogeschdorfer wrote: >What about other requests like simple SELECT or DELETE. Do they take that >much longer on the server-client than on the client-client? If so it might >be a TCP/IP routing problem. No, it seems simple calls work just fine. Since they are very fast I would only recognize delays if I would run a timer togehter with the calls. No obvious delays on simple delete or select. Erich From sunshine at public.kherson.ua Tue Nov 23 18:55:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 10:57:21 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: Message-ID: On 11/23/04 6:36 PM, "Erich Geiersberger" wrote: Hi Erich, >> Work on the same computer should be the fastest case. >> May be you have other processes on that computer? >> It is stable result? > > No other processes. > And the result is stable. Then next question. Have you try on other computer? If yes, then I'd like to get THIS database, Your client app And steps to reproduce -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 23 18:57:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 10:58:36 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: Message-ID: On 11/23/04 6:36 PM, "Erich Geiersberger" wrote: >> Very strange. >> >> Work on the same computer should be the fastest case. >> May be you have other processes on that computer? >> It is stable result? > > No other processes. > And the result is stable. > > We alreday recognized it during the first test in january, but I > thought it might be due to work in progress. > Since there aren't too many Mac servers and most of them are > dedicated servers we decided to live with. Oh, idea! Please check settings of the .ini file You must have LogToFile and Verbose level as zero. Check docs. I think that MAY BE you use ini file will say: DO LOG. And log file of course slow down a lots. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Tue Nov 23 09:15:55 2004 From: delong at redcort.com (Keith DeLong) Date: Tue Nov 23 11:16:13 2004 Subject: [off-topic] REVOLUTION IN UKRAINE // Election Perspective? In-Reply-To: Message-ID: Hi Ruslan, Thanks for the email. In the US, there was some talk after our recent presidential election that with all our fighting and ugliness, we still let the voters decide and are at peace with one another no matter the outcome. I am reminded by you that this is not just a reflection on 'how things once were'. I think most of us who are truly free yearn for freedom and democracy to be enjoyed be everyone. What can we do to support the people in the Ukraine in this struggle? I will stay informed and I will contact my representative's office to ask that our government stay engaged in the people's struggle over corruption in the Ukraine. We have a delicate political situation globally, but I am sure there is much good our government could do if there was enough popular support and will. I will also pray for peace and justice to prevail. Perhaps there will be greater attention from our governments if many of us around the world show interest. If this resonates with you, please pass Ruslan's prior email on to friend and ask them to contact their representative askin Best, Keith DeLong -- Redcort Software & Development http://redcort.com g our government to support the people of the Ukraine. Please keep us posted on developments Ruslan! > On 11/23/04 10:45 AM, "Ruslan Zasukhin" wrote: > > If somebosy want get information from the first hands you can read > English version of > > pravda.com.ua Or for those of us who speak English ... :-) http://www2.pravda.com.ua/en/ Best, Keith DeLong From r.hildebrandt at sbt.fr Tue Nov 23 19:28:19 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Tue Nov 23 12:28:26 2004 Subject: V4MD Error 87, 120 Message-ID: <00db01c4d18a$34ed5e80$3a01a8c0@sbt> Hi all, Using V4MD 1.11 and director 8.51 we get some error on a computer running windows 98. We get error 87 on a simple select on a table and then DB seems to get corrupted (I can't confirm this now). Some following Inserts return then error 120. Problem seems to be linked to computer configuration as far as same project is running fine on other 20 computer(also win 98) in the same classroom. Does someone know something about these errors ? I have searched the archive for these numbers and I found some old and long discussion about Picture fields malfunction depending on filename. I don't use any picture field fields. I use four files format for crypted DB. Any idea ? Best reagrds Roland Hildebrandt From erichg at mcmm.com Tue Nov 23 21:15:18 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Nov 23 14:43:47 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment In-Reply-To: <6.1.2.0.2.20041123125222.02b579c0@pop.gmx.de> References: <6.1.2.0.2.20041123125222.02b579c0@pop.gmx.de> Message-ID: At 12:37 Uhr +0100 23.11.2004, Florian Bogeschdorfer wrote: >However Lingo programmers like to store lists in various ways. I have not >tested famous xtras like vList, but most developers store lists in text >members like: > >Member(myListStoreMember).text=myList.string > >And later: > >myList=member(myListStoreMember).value >Now if the list contains a , the value of the member will be 0 instead >of a list, the list is "destroyed". >So you actually have to look before storing the list and replace the >by "" or VOID for example. > >Now this is maybe not a big deal, but the in a lingo list is simply >not a valid list value, maybe you can change that in the future to VOID >(Valentina 2). >Or how do other Lingo developers feel about that? AFAIK you also can't convert lists with VOID values from a string to a value. Not sure if vList does the trick. >At 12:37 23.11.2004, you wrote: >>I am having a little problem with getting records as lists containing a >> value. Infact is not a valid value for a lingo list. > >Yes, I've also had this problem before. And converting it to a string >and comparing the string is an option, but it is neither very elegant >nor fast. > >Ruslan, there is no "NULL" in Lingo at all, the only "not a value" >name that Lingo knows is "VOID". Could you change that >to in V4MD? > >Martin. Yes, it should be changed to avoid damaged property lists. Erich From sunshine at public.kherson.ua Tue Nov 23 23:28:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 15:29:46 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment In-Reply-To: Message-ID: On 11/23/04 10:15 PM, "Erich Geiersberger" wrote: >> Ruslan, there is no "NULL" in Lingo at all, the only "not a value" >> name that Lingo knows is "VOID". Could you change that >> to in V4MD? I believe that V4MD consider VOID as 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 sunshine at public.kherson.ua Tue Nov 23 23:30:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 23 15:31:37 2004 Subject: V4MD Error 87, 120 In-Reply-To: <00db01c4d18a$34ed5e80$3a01a8c0@sbt> Message-ID: On 11/23/04 8:28 PM, "Roland Hildebrandt" wrote: Hi Roland, > Using V4MD 1.11 and director 8.51 we get some error on a computer running > windows 98. > > We get error 87 on a simple select on a table and then DB seems to get > corrupted (I can't confirm this now). You can check by Vstudio's DIAGNOSE command, Or Lingo SqlExecute( "DIAGNOSE DATABASE" ) > Some following Inserts return then error > 120. > > Problem seems to be linked to computer configuration as far as same project is > running fine on other 20 computer(also win 98) in the same classroom. > > Does someone know something about these errors ? This is Win OS error codes. It needs look into MS docs > I have searched the archive for these numbers and I found some old and long > discussion about Picture fields malfunction depending on filename. > > I don't use any picture field fields. > I use four files format for crypted 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 alindsay at mac.com Tue Nov 23 14:00:13 2004 From: alindsay at mac.com (Alex Lindsay) Date: Tue Nov 23 16:00:21 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: References: Message-ID: <0D1D2BC7-3D9B-11D9-9578-000A95DCC91A@mac.com> Ruslan, Did the project I sent work, and were you able to see the Dim statement issue I was referring to for RealBasic? On Nov 16, 2004, at 11:28 PM, Ruslan Zasukhin wrote: > On 11/17/04 2:07 AM, "Alex Lindsay" wrote: > >> I will be sending you the project directly to your email at this time. >> If you do not receive it, please let me know. > > Get it, Alex > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 erichg at mcmm.com Wed Nov 24 02:01:19 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Nov 23 19:01:40 2004 Subject: [VSERVER][V4MD] OSX client slow on server? In-Reply-To: References: Message-ID: At 18:57 Uhr +0200 23.11.2004, Ruslan Zasukhin wrote: >Oh, idea! > >Please check settings of the .ini file > >You must have LogToFile and Verbose level as zero. >Check docs. > >I think that MAY BE you use ini file will say: DO LOG. > >And log file of course slow down a lots. No, both are set to 0. > >> Work on the same computer should be the fastest case. >>> May be you have other processes on that computer? >>> It is stable result? >> >> No other processes. >> And the result is stable. > >Then next question. >Have you try on other computer? > >If yes, then I'd like to get THIS database, >Your client app >And steps to reproduce I have checked it again and the slow thing is a getcolumn() call which follows the select. The select itself is quite fast (about 31 ms) but getcolumn() lasts 275 seconds on the varchar field and 274 seconds on the UShort field. I only have one OSX box at the moment. I also just found that I already sent a demo for this on the 31st of january. If you don't have it anymore I will look for it and send it again. Any news on error 22? Regards Erich From sunshine at public.kherson.ua Wed Nov 24 09:59:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 02:00:54 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: <0D1D2BC7-3D9B-11D9-9578-000A95DCC91A@mac.com> Message-ID: On 11/24/04 12:00 AM, "Alex Lindsay" wrote: > Ruslan, > > Did the project I sent work, and were you able to see the Dim statement > issue I was referring to for RealBasic? Hi Alex, No I did not check it yet. But if this is show stopper ? I think you can create object not inside of Dim but in the next lines, Right? So you have easy work around -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Nov 24 10:32:56 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 03:33:08 2004 Subject: V4MD and NULL values in lists - LINGO developers please comment In-Reply-To: References: Message-ID: <6.1.2.0.2.20041124103043.01b7a9a0@pop.gmx.de> At 22:28 23.11.2004, you wrote: > >> Ruslan, there is no "NULL" in Lingo at all, the only "not a value" > >> name that Lingo knows is "VOID". Could you change that > >> to in V4MD? > >I believe that V4MD consider VOID as NULL Yes, that's true, but we were talking about getting values FROM a db with V4MD, not INTO a db. Inserting VOID does not cause any problems, but when getting a property list of a table row with NULL values, the Lingo property list should contain VOID not NULL, as it is right now. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 bibiko at eva.mpg.de Wed Nov 24 11:55:16 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Nov 24 05:01:07 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX Message-ID: <41A46894.6090500@eva.mpg.de> Dear all, I have the following problem. I use Valentina for Director 10.1 - no problem. If I make a mistake in Lingo source code Director stops a shows me my error. If I click on DEBUG I can correct my error. After doing this I restart my application within the developer environment and I get the message that Director can't access the Valentina DB. I guess there is an open thread to the DB (I use the stopMovie routine to call CloseDatabase(gDB)). Now I click at any button (Cancel, script, debug) Director disappears immediately from my screen and without my corrections! If I don't debug my Lingo error by clicking at CANCEL, correct my error by searching the source code by hand and restart the problem doesn't appear. This problem only appears at my MACosX. On WinXP no problem. Any comments? Hans From martin.kloss at gmx.de Wed Nov 24 12:06:03 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 05:06:15 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A46894.6090500@eva.mpg.de> References: <41A46894.6090500@eva.mpg.de> Message-ID: <6.1.2.0.2.20041124120250.01b7ed60@pop.gmx.de> At 11:55 24.11.2004, you wrote: >I guess there is an open thread to the DB (I use the stopMovie routine to >call CloseDatabase(gDB)). Now I click at any button (Cancel, script, >debug) Director disappears immediately from my screen and without my >corrections! Hi Hans, make sure you have shutdown Valentina with the ValentinaShutdown() function and cleared all references to the Xtra instance, i.e. if you use a global variable, void the variable gDB = VOID. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 bibiko at eva.mpg.de Wed Nov 24 12:25:49 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Nov 24 05:31:37 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <6.1.2.0.2.20041124120250.01b7ed60@pop.gmx.de> References: <41A46894.6090500@eva.mpg.de> <6.1.2.0.2.20041124120250.01b7ed60@pop.gmx.de> Message-ID: <41A46FBD.2060308@eva.mpg.de> Hi Martin, thanks for the prompt answer, but the questions are whether Director calls the stopMovie rountine if I click at DEBUG and why has WinXp no problems with that? My stopMovie rountine is: CLoseDatabase(gDB) gDB = void ValentinaShutDown _global.clearGlobals() Hans From martin.kloss at gmx.de Wed Nov 24 12:56:07 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 05:56:26 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A46FBD.2060308@eva.mpg.de> References: <41A46894.6090500@eva.mpg.de> <6.1.2.0.2.20041124120250.01b7ed60@pop.gmx.de> <41A46FBD.2060308@eva.mpg.de> Message-ID: <6.1.2.0.2.20041124124243.01b88eb0@pop.gmx.de> At 12:25 24.11.2004, you wrote: >thanks for the prompt answer, but >the questions are whether Director calls the stopMovie rountine >if I click at DEBUG and why has WinXp no problems with that? Strange, the stopMovie event should happen, no matter what. Include a put "stopMovie" in your handler to see when it's executed. Maybe click the "stop" Button on the control panel once after you canceled the debug. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 fb at memedia.de Wed Nov 24 13:00:32 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Nov 24 06:00:53 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A46FBD.2060308@eva.mpg.de> Message-ID: > Hi Martin, > > thanks for the prompt answer, but > > the questions are whether Director calls the stopMovie Why don't you add a line to your stopMovie handler like Put "Stopmovie handler called" Then you will see if it is called. I have had frequent DIR crashes with Valentina but the reason was always an instance still beeing open. So like Martin said: void all relevant cursors, globals etc before shutting down. Best regards, Florian From bibiko at eva.mpg.de Wed Nov 24 13:49:38 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Nov 24 06:55:26 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: References: Message-ID: <41A48362.3000009@eva.mpg.de> Hi, very strange! I added the put statement. If an error occurs and I click at CANCEL or SCRIPT the stopMovie rountine is called. If I click at DEBUG the stopMovie rountine never is called. I can press the both STOP buttons. Nothing happens. If Valentina is called in the strange environment the error -62 and 602 will displayed. 602 means no table but -62 I don't know (on MAC). But I believe that I found the difference between MAC and WIN! If I do it with WinXP Error 5 and 602 occurs. After this message that Valentina found no tables I press CANCEL. The stopMovie rountine is called and after this there is no problem to start my application. On MAC if I click at CANCEL the whole Director application crashes. I don't know whether the error is in MAC Director or in Valentina. Is there any chance to run the stopMovie by hand? Hans From martin.kloss at gmx.de Wed Nov 24 14:05:18 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 07:05:33 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A48362.3000009@eva.mpg.de> References: <41A48362.3000009@eva.mpg.de> Message-ID: <6.1.2.0.2.20041124140033.01b811d0@pop.gmx.de> At 13:49 24.11.2004, you wrote: >I added the put statement. >If an error occurs and I click at CANCEL or SCRIPT the stopMovie rountine >is called. If I click at DEBUG the stopMovie rountine never is called. No, when you click DEBUG the stopMovie event does not happen, because the movie is still running, but with the debugger open, which is the purpose of the debug button ;-) Only when you then stop the movie, the stopMovie event will be sent. >Is there any chance to run the stopMovie by hand? Sure, it's a normal movie handler that you can call anytime from anywhere. I alway have a global cleanUp() handler that does the object garbage colleciton, clean up calls etc. The cleanUp() is one of the few only global functions I use, another is the init() function. In the event handlers like startMovie or stopMovie I decide, based on various conditions whether to call these handlers or not. That way I can start a cleanUp call without having to actually stop the movie or call the stopMovie event. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 bibiko at eva.mpg.de Wed Nov 24 14:02:12 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Nov 24 07:07:57 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX - the solution!? In-Reply-To: <41A48362.3000009@eva.mpg.de> References: <41A48362.3000009@eva.mpg.de> Message-ID: <41A48654.8080303@eva.mpg.de> Hi, I found a tricky solution: in my startMovie routine I check whether my global DB var (which is created e.g. via gDB = new(xtra"VDataBase") is not VOID then call my stopMovie rountine to shutdown Valentina. It works but I don't know whether this the final solution. The problem is that I have no idea how you can figure out where the problem occurs (in MAC Director or Valentina)? Hans From bibiko at eva.mpg.de Wed Nov 24 14:07:33 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Wed Nov 24 07:13:19 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <6.1.2.0.2.20041124140033.01b811d0@pop.gmx.de> References: <41A48362.3000009@eva.mpg.de> <6.1.2.0.2.20041124140033.01b811d0@pop.gmx.de> Message-ID: <41A48795.6060505@eva.mpg.de> Hi Martin, > No, when you click DEBUG the stopMovie event does not happen, because > the movie is still running, but with the debugger open, which is the > purpose > of the debug button ;-) > Only when you then stop the movie, the stopMovie event will be sent. But this is the problem. If I stop the debugger no event will be sent and the stopMovie rountine is never executed! Hans BTW the question whether it is possible to execute the stopMovie routine was a stupid one, sorry for bothering you ;) From martin.kloss at gmx.de Wed Nov 24 14:16:29 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 07:16:37 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX - the solution!? In-Reply-To: <41A48654.8080303@eva.mpg.de> References: <41A48362.3000009@eva.mpg.de> <41A48654.8080303@eva.mpg.de> Message-ID: <6.1.2.0.2.20041124141313.01b7bc20@pop.gmx.de> At 14:02 24.11.2004, you wrote: >I found a tricky solution: >in my startMovie routine I check whether my global DB var (which is >created e.g. via gDB = new(xtra"VDataBase") is not VOID then call my >stopMovie rountine to shutdown Valentina. Yes, that's a good way to do it, I would just put the clean up calls on another handler an call that one: on startMovie () if NOT(voidP(gDB)) then dbShutdown() end startMovie on stopMovie () if NOT(voidP(gDB)) then dbShutdown() end stopMovie on dbShutdown () gDB.CloseDatabase() gDB = VOID ValentinaShutdown() end dbShutdown Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 martin.kloss at gmx.de Wed Nov 24 14:21:03 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Nov 24 07:21:12 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A48795.6060505@eva.mpg.de> References: <41A48362.3000009@eva.mpg.de> <6.1.2.0.2.20041124140033.01b811d0@pop.gmx.de> <41A48795.6060505@eva.mpg.de> Message-ID: <6.1.2.0.2.20041124141903.01b55910@pop.gmx.de> At 14:07 24.11.2004, you wrote: >>Only when you then stop the movie, the stopMovie event will be sent. >But this is the problem. If I stop the debugger no event will be sent and >the stopMovie rountine is never executed! yes, I've had this problem before, but I use the startMovie cleanup method to make sure everything is cleaned up and shutdown at startup. That works and should not cause any problems. Martin. Martin Kloss Skype me 24/7: callto://martinkloss 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 fb at memedia.de Wed Nov 24 14:29:35 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Nov 24 07:29:45 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX - the solution!? In-Reply-To: <41A48654.8080303@eva.mpg.de> Message-ID: > > The problem is that I have no idea how you can figure out > where the problem occurs (in MAC Director or Valentina)? > > Hans Neither. The problem is in your code. When you opened a connection of this type, you have to close it properly. Of course Director or Valentina could be so clever to warn you, that your connection ist still open, but they aren't. And since your problem is a still open but no longer adressable connection hanging somewhere in memory, this is a good solution. Florian From sunshine at public.kherson.ua Wed Nov 24 15:43:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 07:44:36 2004 Subject: ATTENTION PLEASE. Message-ID: Hi People, Exists information that today in Ukraine at about 17-18 hours by local time (+2) Will start move army against of the people. They say that in the Kiev, capital of Ukraine, The government is going to move army with tanks. They say that in to Kiev have arrive the special forces of Russia. At least 1000 soldiers. This is the real intervention of one country into other. Only hope that army will not follow to directions of criminal generals And of criminal government. And that army will not soot to woman and mans that are on streets now (without any aggression btw!) It very looks to events of 1991 year in the Moscow. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 24 15:07:24 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Nov 24 08:07:33 2004 Subject: [V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX In-Reply-To: <41A48362.3000009@eva.mpg.de> Message-ID: > buttons. Nothing happens. > This is because you are in debug mode. You can not save either or define new globals in the message window. > > Is there any chance to run the stopMovie by hand? > Call the handler manually. Or as Martin suggested, have the "close" routines in the startmovie handler too (of course first check if the object still exists) From fb at memedia.de Wed Nov 24 15:08:36 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Nov 24 08:08:44 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: Well I hope deeply Ruslan that it won't go that far. Florian From wgregoire at paris.mediagerance.com Wed Nov 24 15:15:16 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed Nov 24 08:11:55 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: <002d01c4d230$065e4100$1d0a11ac@wgregoire> The last time I saw this was for Aghanistan.... Russia put their man on head, came to help him then kill him (put stay on place) I hope it won't arrive again! We have others informations here: Ukr. Electoral commission talks about doubt in the legimity of the election Diplomatic talk (hot) between Russia and Western nations Kiev is full Yanukovych supporters AND Yushchenko supporters It looks very bad! -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : mercredi 24 novembre 2004 14:43 A : valentina@lists.macserve.net Objet : ATTENTION PLEASE. Hi People, Exists information that today in Ukraine at about 17-18 hours by local time (+2) Will start move army against of the people. They say that in the Kiev, capital of Ukraine, The government is going to move army with tanks. They say that in to Kiev have arrive the special forces of Russia. At least 1000 soldiers. This is the real intervention of one country into other. Only hope that army will not follow to directions of criminal generals And of criminal government. And that army will not soot to woman and mans that are on streets now (without any aggression btw!) It very looks to events of 1991 year in the Moscow. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Wed Nov 24 16:27:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 08:29:03 2004 Subject: ATTENTION PLEASE. In-Reply-To: <002d01c4d230$065e4100$1d0a11ac@wgregoire> Message-ID: On 11/24/04 4:15 PM, "Gregoire William" wrote: > The last time I saw this was for Aghanistan.... > Russia put their man on head, came to help him then kill him (put stay on > place) > > I hope it won't arrive again! > > We have others informations here: > Ukr. Electoral commission talks about doubt in the legimity of the election We have no doubt :-) > Diplomatic talk (hot) between Russia and Western nations > Kiev is full Yanukovych supporters AND Yushchenko supporters Wow! It is not true! Yushchenko supporters this is about 2 millions of people on streets! They are in orange colors. They looks happy and sign. They stay the 3 days on streets even although the whether is terrible. Yanukovych supporters this is only 3-5 thousands of drinked yong mans. They are in blue-white colors. They are aggressive. Their task is provocations. Just look on news video. Do not read COMMENTS. The whole video is orange. Totally orange. I know that EuroNews now did show meeting of Yushchenko. > It looks very bad! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Nov 24 15:35:10 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed Nov 24 08:31:42 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: <002f01c4d232$cdc9f8e0$1d0a11ac@wgregoire> it's been a long time since I read/hear comment... I try to make my own opinion, not the economic/political pseudo-journalist one -----Message d'origine----- > Kiev is full Yanukovych supporters AND Yushchenko supporters Wow! It is not true! Yushchenko supporters this is about 2 millions of people on streets! They are in orange colors. They looks happy and sign. They stay the 3 days on streets even although the whether is terrible. Yanukovych supporters this is only 3-5 thousands of drinked yong mans. They are in blue-white colors. They are aggressive. Their task is provocations. Just look on news video. Do not read COMMENTS. The whole video is orange. Totally orange. I know that EuroNews now did show meeting of Yushchenko. > It looks very bad! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 ernestogiannotta at tiscalinet.it Wed Nov 24 16:37:03 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Wed Nov 24 09:37:23 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: Well, seems this topic got its breaktrough in the news here as well today I see 1st page titles on Italian newspaper about it on 24-11-2004 15:27, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> We have others informations here: > >> Ukr. Electoral commission talks about doubt in the legimity of the election > > We have no doubt :-) > this is crucial point >> Diplomatic talk (hot) between Russia and Western nations > if there's evidence of fraud and it can be proved then there's room for diplomacies to make their voice heard I'm quite sure such evidence exists since I've heard the president of EU commission did take a stand against the election outcome now remains to be seen if in EU there's the guts to hold that stand against big powers or, better put, if EU interests in the more friendly Ukraine of Yushchenko is strong enough to take the risks that that stand implies (first of all the strongarm vs. Putin's Russia & oligarchs) well, the EU has rarely shown those guts maybe better put hope in the US ones ;^) >> Kiev is full Yanukovych supporters AND Yushchenko supporters > > Wow! It is not true! > this I believe! and since it's first of all Ukrainan people interests at stake here I think the best place where put hope is in their very own hands stand firm men! Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From wgregoire at paris.mediagerance.com Wed Nov 24 16:48:15 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed Nov 24 09:44:47 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: <003401c4d23d$03b1d2c0$1d0a11ac@wgregoire> ..like in Afghanistan ? the ONU gave its report : "there is evidence of fraud but not enought to invalidate the election" when you see fraud doesn't invalidate an election, I'm really afraid :( (for info, Karzai win with 55,4 % so fraud can be enought!) anyway, it's written everywhere Koutchma is ok for negocations... wait and see Ruslan, tell us if you see the army! -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de erne Envoye : mercredi 24 novembre 2004 16:37 A : Valentina Developers Objet : Re: ATTENTION PLEASE. if there's evidence of fraud and it can be proved then there's room for diplomacies to make their voice heard I'm quite sure such evidence exists since I've heard the president of EU commission did take a stand against the election outcome now remains to be seen if in EU there's the guts to hold that stand against big powers or, better put, if EU interests in the more friendly Ukraine of Yushchenko is strong enough to take the risks that that stand implies (first of all the strongarm vs. Putin's Russia & oligarchs) well, the EU has rarely shown those guts maybe better put hope in the US ones ;^) From vidal_olivier at yahoo.fr Wed Nov 24 17:20:17 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Nov 24 10:23:06 2004 Subject: ATTENTION PLEASE. In-Reply-To: References: Message-ID: Hi Ruslan, I am really sorry for all which takes place in Ukraine. I hope that everything will finish without violence. I have a little blog of current events (http://pointdevue.viabloga.com), can I quote your information? About the risk of arrival of the Russian special forces, it is credible? In France, the journalists have just said that Poutin tries finally to calm things. How do you see the situation in Ukraine? You are really certain that Yushchenko won the elections? How to be certain? Good courage Olivier Le 24 nov. 04, ? 15:27, Ruslan Zasukhin a ?crit : > On 11/24/04 4:15 PM, "Gregoire William" > > wrote: > >> The last time I saw this was for Aghanistan.... >> Russia put their man on head, came to help him then kill him (put >> stay on >> place) >> >> I hope it won't arrive again! >> >> We have others informations here: > >> Ukr. Electoral commission talks about doubt in the legimity of the >> election > > We have no doubt :-) > >> Diplomatic talk (hot) between Russia and Western nations > >> Kiev is full Yanukovych supporters AND Yushchenko supporters > > Wow! It is not true! > > Yushchenko supporters this is about 2 millions of people on streets! > They are in orange colors. > They looks happy and sign. > They stay the 3 days on streets even although the whether is terrible. > > Yanukovych supporters this is only 3-5 thousands of drinked yong mans. > They are in blue-white colors. > They are aggressive. Their task is provocations. > > Just look on news video. Do not read COMMENTS. > The whole video is orange. Totally orange. > > I know that EuroNews now did show meeting of Yushchenko. > >> It looks very bad! > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 lists at mostrom.pp.se Wed Nov 24 17:51:47 2004 From: lists at mostrom.pp.se (Jan Erik =?iso-8859-1?Q?Mostr=F6m?=) Date: Wed Nov 24 10:51:57 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: On 2004-11-24 14:43, Ruslan Zasukhin wrote: > Hi People, > > Exists information that today in Ukraine at about > 17-18 hours by local time (+2) > > Will start move army against of the people. > > They say that in the Kiev, capital of Ukraine, > The government is going to move army with tanks. > > They say that in to Kiev have arrive the special forces of Russia. > At least 1000 soldiers. > This is the real intervention of one country into other. > > Only hope that army will not follow to directions of criminal generals > And of criminal government. And that army will not soot to woman and mans > that are on streets now (without any aggression btw!) > > It very looks to events of 1991 year in the Moscow. I just listened to the news here in Sweden where they reported directly from Kiev. They said that everything was very calm (suprisingly calm), that there was negoation going on between the involved parties, that two of the "judges" in the "election committee" were on the oppositions side. There were no reports at all about Russian troups, only that Russias president was going to visit Ukraina. Hmmm ... now it's news again on the radio ... Apparently the "election committee" have decided ... that the prime minister has won. They say that the tension has increased, that the people is going to stay outside and that they are going to appeal. jem -- Jan Erik Mostr?m www.mostrom.pp.se From wgregoire at paris.mediagerance.com Wed Nov 24 17:55:36 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed Nov 24 10:52:12 2004 Subject: [V4MD] Alias In-Reply-To: Message-ID: <004001c4d246$6bff1780$1d0a11ac@wgregoire> Sorry to ask but.... no alias on valentina ??? WilG From sunshine at public.kherson.ua Wed Nov 24 19:32:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 11:34:07 2004 Subject: ATTENTION PLEASE. In-Reply-To: <003401c4d23d$03b1d2c0$1d0a11ac@wgregoire> Message-ID: On 11/24/04 5:48 PM, "Gregoire William" wrote: > ..like in Afghanistan ? > > the ONU gave its report : "there is evidence of fraud but not enought to > invalidate the election" > when you see fraud doesn't invalidate an election, I'm really afraid :( > > (for info, Karzai win with 55,4 % so fraud can be enought!) > > anyway, it's written everywhere Koutchma is ok for negocations... > wait and see There was no any negotiations. 30 minutes ago, government have say Officially: Yanukovich is a new president of Ukraine. POINT. They have say in live mode by TV: it is never mind that exists in judges papers which say about falsification. This is called "negotiations" ? > Ruslan, tell us if you see the army! I am not in Kiev. We think that government so hurry claim that Yanukovich is president to get the ability press people. Because now by lawer any meeting against of this fact is anti-constitutional. This is why they so hurry. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 24 19:43:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 11:44:36 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: On 11/24/04 6:20 PM, "olivier" wrote: > Hi Ruslan, > > I am really sorry for all which takes place in Ukraine. > I hope that everything will finish without violence. > > I have a little blog of current events > (http://pointdevue.viabloga.com), can I quote your information? > About the risk of arrival of the Russian special forces, it is credible? > > In France, the journalists have just said that Poutin tries finally to > calm things. How do you see the situation in Ukraine? You are really > certain that Yushchenko won the elections? How to be certain? Hi Oliver, How can be certain? The biggest falsification was in the 2 cities of Ukraine. They are big cities close to Russia. Story is that by official info on cvk.gov.ua At 20:00 of day election was shown 73% of people. This was end of election. But at morning, wow! They show 83%. These 2 cities in THIS way only have show 800,000 votes more! Just image this. And all votes was for government man ;-) --- Another big way of falsification. If man need go to other city in day of election he get special paper which he can show in other city and give vote. Guess how many was such papers printed? 1.5 millions!!! For info: Total number of votes was 29 millions. For info: on prev election in 1999 was only 300,000 such papers. For info: printed was 1.5 million, but vote in this way more of 2.5 millions Deal is that people of government have give to some mans 10-20-30 such papers, they have go to other city and vote 10-20-30 times! ---------- This is only 2 the most big fact of false -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 24 19:51:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 11:52:52 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: On 11/24/04 6:51 PM, "Jan Erik Mostr?m" wrote: > Apparently the "election committee" have decided ... that the prime minister > has won. They say that the tension has increased, that the people is going to > stay outside and that they are going to appeal. Here http://www.dni.ru/news/world/2004/11/24/53353.html You can see at the end of page many photos from Kiev -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 24 19:56:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 11:57:44 2004 Subject: [V4MD] Alias In-Reply-To: <004001c4d246$6bff1780$1d0a11ac@wgregoire> Message-ID: On 11/24/04 6:55 PM, "Gregoire William" wrote: > Sorry to ask but.... no alias on valentina ??? Hi Gregoire, Alias for table exists SELECT FRON T1 a, T2 b But for expr in the SEELCT no in 1.x Valentina 2.0 do have full syntax of SQL92 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 24 19:56:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Nov 24 11:58:16 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: On 11/24/04 7:51 PM, "Ruslan Zasukhin" wrote: > Here > > http://www.dni.ru/news/world/2004/11/24/53353.html > > You can see at the end of page many photos from Kiev And here some head-news http://unian.net/index.php?url=news -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Wed Nov 24 10:30:29 2004 From: delong at redcort.com (Keith DeLong) Date: Wed Nov 24 12:30:41 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: Some encouragement out of the US: Powell: U.S. Rejects Ukraine Vote Results By BARRY SCHWEID, AP Diplomatic Writer WASHINGTON - Secretary of State Colin Powell (news - web sites) said Wednesday the United States cannot accept the results of elections in Ukraine, which the opposition says was marred by fraud. Powell warned "there will be consequences" for the United States' relationship with Ukraine as a result of the developments in the former Soviet bloc nation. Powell spoke shortly after election officials in Ukraine declared that Kremlin-backed Prime Minister Viktor Yanukovych won the election over opposition candidate Viktor Yushchenko. The announcement raised fears of violence in Kiev, where tens of thousands of demonstrators have been demanding that the results be overturned. "We cannot accept this result as legitimate because it does not meet international standards" and allegations of fraud hadn't been investigated, Powell said at a news conference. Powell said he spoke with outgoing Ukraine President Leonid Kuchma and urged that his government not crack down on demonstrators. He also spoke with other regional leaders, including Russian Foreign Minister Sergey Lavrov. Powell did not elaborate about his conversation with Lavrov, but said he advocated a solution to the crisis in Ukraine that is "based on the law, using legal procedures." The State Department confirmed Tuesday that it had summoned the Russian ambassador and discussed Ukraine. The Kremlin described the meeting as "unprecedented interference" in another country's affairs. From jda at his.com Wed Nov 24 14:02:08 2004 From: jda at his.com (jda) Date: Wed Nov 24 13:02:20 2004 Subject: ATTENTION PLEASE. In-Reply-To: References: Message-ID: >Some encouragement out of the US: > >Powell: U.S. Rejects Ukraine Vote Results > > >By BARRY SCHWEID, AP Diplomatic Writer > >WASHINGTON - Secretary of State Colin Powell (news - web sites) said >Wednesday the United States cannot accept the results of elections in >Ukraine, which the opposition says was marred by fraud. > > Powell warned "there will be consequences" for the United States' >relationship with Ukraine as a result of the developments in the former >Soviet bloc nation. > > Powell spoke shortly after election officials in Ukraine declared that >Kremlin-backed Prime Minister Viktor Yanukovych won the election over >opposition candidate Viktor Yushchenko. The announcement raised fears of >violence in Kiev, where tens of thousands of demonstrators have been >demanding that the results be overturned. > > "We cannot accept this result as legitimate because it does not meet >international standards" and allegations of fraud hadn't been investigated, >Powell said at a news conference. > > Powell said he spoke with outgoing Ukraine President Leonid Kuchma and >urged that his government not crack down on demonstrators. He also spoke >with other regional leaders, including Russian Foreign Minister Sergey >Lavrov. > > Powell did not elaborate about his conversation with Lavrov, but said he >advocated a solution to the crisis in Ukraine that is "based on the law, >using legal procedures." > > The State Department confirmed Tuesday that it had summoned the Russian >ambassador and discussed Ukraine. The Kremlin described the meeting as >"unprecedented interference" in another country's affairs. > > > > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From alindsay at mac.com Wed Nov 24 21:43:08 2004 From: alindsay at mac.com (Alex Lindsay) Date: Wed Nov 24 23:43:17 2004 Subject: Tricky REALBasic bug with assignment in DIM statement In-Reply-To: References: Message-ID: Right, it is easy work around but very subtle bug that many people will not be aware of. Just wanted to make sure that everyone is aware of the issue. Again this is NOT a valentina issue, but is a RealBasic issue. On Nov 23, 2004, at 11:59 PM, Ruslan Zasukhin wrote: > On 11/24/04 12:00 AM, "Alex Lindsay" wrote: > >> Ruslan, >> >> Did the project I sent work, and were you able to see the Dim >> statement >> issue I was referring to for RealBasic? > > Hi Alex, > > No I did not check it yet. > > But if this is show stopper ? > > I think you can create object not inside of Dim but in the next lines, > Right? > > > So you have easy work around > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 wgregoire at paris.mediagerance.com Thu Nov 25 09:46:34 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Nov 25 02:43:06 2004 Subject: [V4MD] Alias In-Reply-To: Message-ID: <001301c4d2cb$45149f70$1d0a11ac@wgregoire> oops... so does someone have a hint to do this : I have a table with 3 ID (ID_Des1, ID_Des2, ID_Des3) another table with ID_Des, DesName link are ID_Des1->ID_Des, ID_Des2->ID_Des, ID_Des3->ID_Des no way to have a result like this [#ID_Des1:3, #Des1Name: "name3", #ID_Des2:4, #Des2Name: "name4", #ID_Des3:7, #Des3Name: "name7"] ? It's seems I'll need 3 Select and some code ;) -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan Zasukhin Envoye : mercredi 24 novembre 2004 18:56 A : valentina@lists.macserve.net Objet : Re: [V4MD] Alias On 11/24/04 6:55 PM, "Gregoire William" wrote: > Sorry to ask but.... no alias on valentina ??? Hi Gregoire, Alias for table exists SELECT FRON T1 a, T2 b But for expr in the SEELCT no in 1.x Valentina 2.0 do have full syntax of SQL92 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 wgregoire at paris.mediagerance.com Thu Nov 25 09:51:30 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu Nov 25 02:48:01 2004 Subject: ATTENTION PLEASE. In-Reply-To: Message-ID: <001401c4d2cb$f5cb4530$1d0a11ac@wgregoire> It's a little harder than that... of course US rejects...It would be cool Ukraine stay away from Russia... so Western (Europe and US) could have a view on Russia from Ukraine There is a LOT of complexe probleme with the Ukra. Crisis.... Economical / Political Extern / Intern (even if the "bad guy" fraud...he still had about an half of the people vote...you can't ignore this "blue" half) It's sure very complex and it's why people are all focused on Ukra. By the way, looking the news made me feel bad...all the "journalists" are waiting for one thing : blood "It's calm....too calm" I heard yesterday... They showed more bleu guys than orange one (even if they said before, in a gasp, blue guy was only a few) -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Keith DeLong Envoye : mercredi 24 novembre 2004 19:30 A : valentina@lists.macserve.net Objet : Re: ATTENTION PLEASE. Some encouragement out of the US: Powell: U.S. Rejects Ukraine Vote Results From lists at mostrom.pp.se Thu Nov 25 10:18:45 2004 From: lists at mostrom.pp.se (Jan Erik =?iso-8859-1?Q?Mostr=F6m?=) Date: Thu Nov 25 03:18:55 2004 Subject: ATTENTION PLEASE. In-Reply-To: <001401c4d2cb$f5cb4530$1d0a11ac@wgregoire> Message-ID: On 2004-11-25 09:51, Gregoire William wrote: > They showed more bleu guys than > orange one (even if they said before, in a gasp, blue guy was only a few) Here in Sweden they show something quite different, a lot of "orange" and nothing "blue". Actually, while driving to work they say that the "blue" were very few, drunk and didn't actually know why they have been "shipped" to Kiev. jem -- Jan Erik Mostr?m www.mostrom.pp.se From sunshine at public.kherson.ua Thu Nov 25 11:50:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 25 03:51:02 2004 Subject: [V4MD] Alias In-Reply-To: <001301c4d2cb$45149f70$1d0a11ac@wgregoire> Message-ID: On 11/25/04 10:46 AM, "Gregoire William" wrote: Hi Gregoire, > oops... > so does someone have a hint to do this : > > I have a table with 3 ID (ID_Des1, ID_Des2, ID_Des3) > another table with ID_Des, DesName > link are ID_Des1->ID_Des, ID_Des2->ID_Des, ID_Des3->ID_Des > > > no way to have a result like this > [#ID_Des1:3, #Des1Name: "name3", #ID_Des2:4, #Des2Name: "name4", #ID_Des3:7, > #Des3Name: "name7"] ? > > It's seems I'll need 3 Select and some code ;) With Lingo list yes problem, you will get the same name With Valentina cursor you can use access by index curs.GetField( 1 ) curs.GetField( 2 ) curs.GetField( 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 srt at bigpond.net.au Thu Nov 25 10:03:42 2004 From: srt at bigpond.net.au (Steven) Date: Thu Nov 25 04:03:45 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? Message-ID: Ruslan, I have some confusion about when semaphores are needed when using V4WS in WebSiphon. I know if you are going to update or delete a record, you need to use semaphores to prevent another template updating or deleting the same record at the same time. But what if I just read records from a table by doing cursorRef=Select(...), and this causes an index for the search field to be created? If two templates try to read records from the same table at the same time, couldn't this cause simultaneous index requests? steven From sunshine at public.kherson.ua Thu Nov 25 13:42:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Nov 25 06:00:01 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? In-Reply-To: Message-ID: On 11/25/04 12:03 PM, "Steven" wrote: Hi Steven, > I have some confusion about when semaphores are needed when using V4WS in > WebSiphon. > > I know if you are going to update or delete a record, you need to use > semaphores to prevent another template updating or deleting the same record > at the same time. > > But what if I just read records from a table by doing > cursorRef=Select(...), and this causes an index for the search field to be > created? If two templates try to read records from the same table at the > same time, couldn't this cause simultaneous index requests? Use semaphore also for safe. But taking into account that OS 9 is cooperative. Exists chance that you can avoid this step. You can self test if it works. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srt at bigpond.net.au Thu Nov 25 21:32:24 2004 From: srt at bigpond.net.au (Steven) Date: Thu Nov 25 15:32:26 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? Message-ID: >Use semaphore also for safe. > >But taking into account that OS 9 is cooperative. >Exists chance that you can avoid this step. >You can self test if it works. Ruslan, are you saying that the only time I can allow simultaneous access to a table is if there will be no change in the index of the table as a result of allowing access?! Then if any action (add record, update, even READ!) can cause the index to be modified I must only allow one user at a time access to the table??? Before I thought I just had to take care to do "record locking" (approximated in OS 9 by using semaphores labelled for the record in question) - now you seem to be saying I need to do "table locking" because the index might get messed up if there are simultaneous requests to update it? Is this just a problem for the OS 9 version (subject to testing) or is this true for all platforms? It seems a limitation to me since you can't have simulataneous access to a table except when you are not doing anything that can change the index? Specifically, will this be a problem for OS X when eventually we have WebSiphon 3/V4WS for OS X? If so then I need to fix code now regardless of whether it is safe in OS 9 or not. Steven >Hi Steven, > >> I have some confusion about when semaphores are needed when using >V4WS in >> WebSiphon. >> >> I know if you are going to update or delete a record, you need to use >> semaphores to prevent another template updating or deleting the same >record >> at the same time. >> >> But what if I just read records from a table by doing >> cursorRef=Select(...), and this causes an index for the search field to be >> created? If two templates try to read records from the same table at the >> same time, couldn't this cause simultaneous index requests? > >Use semaphore also for safe. > >But taking into account that OS 9 is cooperative. >Exists chance that you can avoid this step. >You can self test if it works. From sunshine at public.kherson.ua Fri Nov 26 11:25:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 26 03:25:27 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? In-Reply-To: Message-ID: On 11/25/04 11:32 PM, "Steven" wrote: Hi Steven, You think in too complex way. You use db.SqlSelect() and db.SqlExecute(), right? You get cursor in the firs case. Valentina self will lock records using options you provide. Each thread/page have own cursor. Each cursor can read or write records independently, because each cursor lock own records. So actually I do not see reasons why you need to use in V4WS semaphores. Do you have any problems IF you not use them? >> Use semaphore also for safe. >> >> But taking into account that OS 9 is cooperative. >> Exists chance that you can avoid this step. >> You can self test if it works. > > Ruslan, > > are you saying that the only time I can allow simultaneous access to a > table is if there will be no change in the index of the table as a result > of allowing access?! Then if any action (add record, update, even READ!) > can cause the index to be modified I must only allow one user at a time > access to the table??? Before I thought I just had to take care to do > "record locking" (approximated in OS 9 by using semaphores labelled for the > record in question) - now you seem to be saying I need to do "table > locking" because the index might get messed up if there are simultaneous > requests to update it? > > Is this just a problem for the OS 9 version (subject to testing) or is this > true for all platforms? It seems a limitation to me since you can't have > simulataneous access to a table except when you are not doing anything that > can change the index? > > Specifically, will this be a problem for OS X when eventually we have > WebSiphon 3/V4WS for OS X? If so then I need to fix code now regardless of > whether it is safe in OS 9 or not. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From erichg at mcmm.com Fri Nov 26 12:46:08 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Nov 26 05:50:15 2004 Subject: ATTENTION PLEASE. In-Reply-To: References: Message-ID: The ukrainian supreme court has prohibited the official publishing of the election results yesterday. It seems that there are serious concerns about a possible election fraud in Ukraine here in germany and also in poland, litvania and most other european contries. Today Xavier Solana has been sent to Kiev to express european concerns and help to find a solution. There have been reports today about a group of about 1000 russian special forces being sent to Kiev wearing Ukrainian uniforms and machine guns. They are expected to provocate riots. So people please stay cool. I think with all that international upset you will finally get the president you voted for. But if russia succeeds in provocating riots or even a civil war things might get worse. Best regards -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From erichg at mcmm.com Fri Nov 26 12:49:21 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Nov 26 05:50:35 2004 Subject: [VSERVER][V4MD] any news on OSX error 22? In-Reply-To: References: Message-ID: >I tried to work with an existing OSX server using the latest >V4MD_Client_Carbon.xtra builds (2.0a65). >Each time I tried to open a database using the new Xtras I got an error 22. > >I need to open the databases and save some data before updating the >server to the newer version during an update. > >The server installations are from january 2004. When I use the old >V4MD_Client_Carbon.xtra (Build 2.0a50) everything works fine. > >Are the new Xtras not downwards compatible with the old server? >I could possibly work around the problem, but it seems like >something is broken here... >>At 0:24 Uhr +0100 21.11.2004, Erich Geiersberger wrote: >>> Hi Igor, >>> >>> I am also getting error 22 after updating the server to a65 (!) >> >>Then I need check this. >>Erich, problem only with your db ? >> >>Please try to RUN >> >> Vserver + V4MD Client + Example which come with client >> >>Works ? > >I get error 22 on create database. From sunshine at public.kherson.ua Fri Nov 26 18:26:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Nov 26 10:26:19 2004 Subject: ATTENTION PLEASE. + some good news + In-Reply-To: Message-ID: On 11/26/04 1:46 PM, "Erich Geiersberger" wrote: > The ukrainian supreme court has prohibited the official publishing of > the election results yesterday. Yes. At least this have delay government. > It seems that there are serious concerns about a possible election > fraud in Ukraine here in germany and also in poland, litvania and > most other european contries. Today Xavier Solana has been sent to > Kiev to express european concerns and help to find a solution. > There have been reports today about a group of about 1000 russian > special forces being sent to Kiev wearing Ukrainian uniforms and > machine guns. They are expected to provocate riots. We have info that after 3 days of beign here, They try to flay away now. Bit ukraine airport people do not give them airplan. :-) > So people please stay cool. I think with all that international upset > you will finally get the president you voted for. But if russia > succeeds in provocating riots or even a civil war things might get > worse. I can give you GOOD NEWS. I have told with many people that are in KIEV now. * people of kiev now in eforia! they say that it is incredible friendship happens there. * police smile to people. * people walk streets and block government buildings. * army also not sow wish fight with own brothers and mothers. * the "Yanukovih" guys which are shipped to Kiev from other regions, - get food and help from Orange Guys - get smile from Orange guys - they say they are not for Yanukovich mainly. just they was paid to be here. - many of them throw our blue-white colors, and get orange colors. * some top policy mans, say that they with people. and other power structures also support Orange President. more and more each day. So far all looks very promising. Although official government still 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 Fri Nov 26 17:49:10 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Fri Nov 26 10:49:29 2004 Subject: ATTENTION PLEASE. + some good news + In-Reply-To: Message-ID: on 26-11-2004 17:26, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > > So far all looks very promising. > Although official government still here. > "Power to the People" John Lennon :-) Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From srt at bigpond.net.au Sat Nov 27 03:28:09 2004 From: srt at bigpond.net.au (Steven) Date: Fri Nov 26 21:28:12 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? Message-ID: Ruslan, >1) I am sorry, I have lost in your long-paragraph questions. > >Can you formulate PROBLEM if it exists in simple way: >- I do next >- I expect this >- but I get that. > >Do you have real problem? >Or you ask for the "right way" ? > I ask for the "right way". I will try to be clearer in what I am asking by giving example code, embedded with short specific questions. Example: I make a database: dbRef_testdb=valMakeNewDatabase("testdb"); boRef_test=valMakeNewBaseObject( dbRef_testdb, "test" ); fldRef=valMakeNewField( boRef_test, "t1", "String",14); valSetFlagOfField( fldRef, 1, true ); fldRef=valMakeNewField( boRef_test, "t2", "String",6); valSetFlagOfField( fldRef, 1, false ); Receive as input var1 and var2 from a user (form submission) and add them to "test" as t1 and t2 respectively. Multiple users are submitting forms simultaneously: METHOD 1: cursorRef_test=valSQLSelect(dbRef_Tdb, "SELECT t1,t2 FROM test WHERE RecID=0"); valSetBlankRecord( cursorRef_test ); valSetField( cursorRef_test, 1, var1 ); //this is an indexed field valSetField( cursorRef_test, 2, var2 ); valAddRecord(cursorRef_test); //THIS WILL CAUSE INDEX FOR TEST TO BE UPDATED METHOD 2: acquireSem("test"); cursorRef_test=valSQLSelect(dbRef_Tdb, "SELECT t1,t2 FROM test WHERE RecID=0"); valSetBlankRecord( cursorRef_test ); valSetField( cursorRef_test, 1, var1 ); //this is an indexed field valSetField( cursorRef_test, 2, var2 ); valAddRecord(cursorRef_test); //THIS WILL CAUSE INDEX FOR TEST TO BE UPDATED releaseSem("test"); QUESTION 1: Can I use METHOD 1 safely with V4WS on Mac OS 9, or do I need to use METHOD 2 to avoid problems with simultaneous indexing? QUESTION 2: Is the index for "test" only altered when a record is added or deleted (but not when a field is searched)? >3) for OS X.... >You want say that it is planned for WebSiphon for OS X ?! >This is news for me. I did think that WS will never be ported to OS X >where exists Apache + PHP. WS is being ported to OS X, according to Purity website ( http://www.purity.com/ about half way down the page). Yes there is PHP, but there is also MySQL. Just as there is a role for Valentina even in the face of "free" MySQL, I think it makes sense to have WS for OS X. It gives the smart developer a superior solution - WS/V4WS instead of PHP/MySQL. Superior means faster, better support, easier to use, better thought out, you name it. So please provide V4WS for WS 3! Steven From sunshine at public.kherson.ua Sat Nov 27 09:38:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 27 01:38:52 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? In-Reply-To: Message-ID: On 11/27/04 5:28 AM, "Steven" wrote: > Ruslan, > >> 1) I am sorry, I have lost in your long-paragraph questions. >> >> Can you formulate PROBLEM if it exists in simple way: >> - I do next >> - I expect this >> - but I get that. >> >> Do you have real problem? >> Or you ask for the "right way" ? >> > > I ask for the "right way". I will try to be clearer in what I am asking by > giving example code, embedded with short specific questions. > > Example: > > I make a database: > > dbRef_testdb=valMakeNewDatabase("testdb"); > boRef_test=valMakeNewBaseObject( dbRef_testdb, "test" ); > fldRef=valMakeNewField( boRef_test, "t1", "String",14); > valSetFlagOfField( fldRef, 1, true ); > fldRef=valMakeNewField( boRef_test, "t2", "String",6); > valSetFlagOfField( fldRef, 1, false ); > > Receive as input var1 and var2 from a user (form submission) and add them > to "test" as t1 and t2 respectively. Multiple users are submitting forms > simultaneously: > > METHOD 1: > cursorRef_test=valSQLSelect(dbRef_Tdb, "SELECT t1,t2 FROM test WHERE > RecID=0"); > valSetBlankRecord( cursorRef_test ); > valSetField( cursorRef_test, 1, var1 ); //this is an indexed field > valSetField( cursorRef_test, 2, var2 ); > valAddRecord(cursorRef_test); //THIS WILL CAUSE INDEX FOR TEST TO BE > UPDATED > > METHOD 2: > acquireSem("test"); > cursorRef_test=valSQLSelect(dbRef_Tdb, "SELECT t1,t2 FROM test WHERE > RecID=0"); > valSetBlankRecord( cursorRef_test ); > valSetField( cursorRef_test, 1, var1 ); //this is an indexed field > valSetField( cursorRef_test, 2, var2 ); > valAddRecord(cursorRef_test); //THIS WILL CAUSE INDEX FOR TEST TO BE > UPDATED > releaseSem("test"); > > QUESTION 1: Can I use METHOD 1 safely with V4WS on Mac OS 9, or do I need > to use METHOD 2 to avoid problems with simultaneous indexing? I think you can. Again. Valentina have record level locks. So if cursor of first user lock some records, then second user cannot access them until first unblock them. > QUESTION 2: Is the index for "test" only altered when a record is added or > deleted (but not when a field is searched)? Yes, of course. But I still do not catch why you do care about indexes? You think that they can work in other thread? This is true only for VAPP. V4WS index in the same thread. >> 3) for OS X.... >> You want say that it is planned for WebSiphon for OS X ?! >> This is news for me. I did think that WS will never be ported to OS X >> where exists Apache + PHP. > > WS is being ported to OS X, according to Purity website ( > http://www.purity.com/ about half way down the page). > Yes there is PHP, but there is also MySQL. Just as there is a role for > Valentina even in the face of "free" MySQL, I think it makes sense to have > WS for OS X. It gives the smart developer a superior solution - WS/V4WS > instead of PHP/MySQL. Superior means faster, better support, easier to use, > better thought out, you name it. So please provide V4WS for WS 3! Well. At first we should get WS :-) And then note. IF this happens then Valentina for WS 3 Will be changed. IT will be NOT as local plugin as you have now, But as CLIENT to Valentina Server. We think that for web hosting better to use Valentina Server, Which is designed for multi-user access, which have threads inside to serve to several clients in the same 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 srt at bigpond.net.au Sat Nov 27 11:03:35 2004 From: srt at bigpond.net.au (Steven) Date: Sat Nov 27 05:03:38 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? Message-ID: >> QUESTION 1: Can I use METHOD 1 safely with V4WS on Mac OS 9, or do I >need >> to use METHOD 2 to avoid problems with simultaneous indexing? > >I think you can. > >Again. Valentina have record level locks. >So if cursor of first user lock some records, then second user cannot access >them until first unblock them. V4WS now has record level locks? Since when?? How do I lock records in V4WS (give example please)? >But I still do not catch why you do care about indexes? >You think that they can work in other thread? >This is true only for VAPP. >V4WS index in the same thread. I am worried about two simultaneous threads in V4WS both trying to update the same index. Do I need to worry about this or does V4WS take care of this automatically? In other words, can I use METHOD 1 safely? From sunshine at public.kherson.ua Sat Nov 27 13:52:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Nov 27 05:53:10 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? In-Reply-To: Message-ID: On 11/27/04 1:03 PM, "Steven" wrote: >>> QUESTION 1: Can I use METHOD 1 safely with V4WS on Mac OS 9, or do I >> need >>> to use METHOD 2 to avoid problems with simultaneous indexing? >> >> I think you can. >> >> Again. Valentina have record level locks. >> So if cursor of first user lock some records, then second user cannot > access >> them until first unblock them. > > > V4WS now has record level locks? Since when?? How do I lock records in V4WS > (give example please)? More than year. Since 1.9.8 release. Valentina lock records self when build cursor. In the Db.SqlSelect() you should see 3 new parameters to control HOW Valentina lock records of a new cursor. Please check docs. >> But I still do not catch why you do care about indexes? >> You think that they can work in other thread? >> This is true only for VAPP. >> V4WS index in the same thread. > > > I am worried about two simultaneous threads in V4WS both trying to update > the same index. Do I need to worry about this or does V4WS take care of > this automatically? V4WS and WS CANNOT update it really simultaneous, Because OS 9 is cooperative. If one thread start add record, then it will not return until it finish. > In other words, can I use METHOD 1 safely? I think 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 leo_van_den_brande at wxs.nl Sat Nov 27 14:28:16 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sat Nov 27 07:26:34 2004 Subject: Accented characters again Message-ID: <41A880F0.4090609@wxs.nl> Hi all, I hate to ask a question which appears trivial when such important events take place as now in Ukra?ne, though it appears more and more that the people will get the president they voted for. If it comes to a new election, that should only stenghten the opposition's position, for sure. But now, my problem, probably trivial for you experts but not for me! I'm working with Val 1.1, under Mac OS 10.2 with RB 5.2.4. I used to store text as is and, on retrieval, define UTF8. This worked well on a single platform, but not after moving from Mac to PC or the other way araound. Some time ago, I was advised, when storing text, containing accented characters, for crossplatform use, to revamp the database for the German language using the dump and loaddump facility of Valentina, and store text after conversion to MacRoman under Mac OS or WindowsLatin1 under Windows and, on retrieval define MacRoman under Mac OS or WindowsLatin1 under Windows. From a pilot project it appeared that the definition on retrieval was not strictly necessary, but I still do it.. It seemed to work well at first. However, I encounter some problems. These are already present on the Mac (without moving the database to a Windows-platform): 1. If querying the DB for a specific record by its ranknr, the cursor finds the record and the term containing accented characters can be retrieved well: c.Field(j).GetString(DefineEncoding(Temp,App.MyEncoding)) //which here is MacRoman However, if querying directly for the record containing the term with the accented characters: "Select * from Cases Where name1 = '" + Name + "'" the Vcursor is empty. I tried converting or defining "Name" as MacRoman first, but that did not help. What am I doing wrong? 2. If I store text, retrieved from an editfield by direct addressing: c.Field("name1").SetString(ConvertEncoding(DisordersWindow.Name.Text,App.MyEncoding)) and, next, put the retrieved term in a listbox, it comes out correctly. However, if I use indirect addressing: Temp = editField(ActWi.control(i)).text //the text is found allright c.Field(j).SetString(DefineEncoding(Temp,App.MyEncoding)) and next, put the result in a listbox, it comes out as garbage. This may seem like a RealBasic problem, but it isn't. With my old way of storing and retrieving(store text as is and on retrieveal define UTF8), this did not happen, though that was not the way to do it for crossplatform work. So again: what am I doing wrong? I have not yet explored all circumstances of storage and retrieval, and spent a couple of days trying to figure out things, but this is as far as I got! I'm stuck! So, please, let your light shine on this problem and enlighten me. It will be greatly appreciated! Thanks, Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From fvanlerberghe at freegates.be Sat Nov 27 16:01:59 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Sat Nov 27 09:02:27 2004 Subject: Accented characters again In-Reply-To: <41A880F0.4090609@wxs.nl> Message-ID: le 27/11/04 14:28, Leo Van den Brande a ?crit?: > 1. If querying the DB for a specific record by its ranknr, the cursor > finds the record and the term containing accented characters can be > retrieved well: > > c.Field(j).GetString(DefineEncoding(Temp,App.MyEncoding)) //which > here is MacRoman Are you sure Temp is in MacRoman encoding ? > > However, if querying directly for the record containing the term with > the accented characters: > > "Select * from Cases Where name1 = '" + Name + "'" (Note : I should avoid using "Name" to name a variable, because it's often a property of the current object.) > > the Vcursor is empty. I tried converting or defining "Name" as > MacRoman first, but that did not help. > > What am I doing wrong? > > 2. If I store text, retrieved from an editfield by direct addressing: > > c.Field("name1").SetString(ConvertEncoding(DisordersWindow.Name.Text,App.MyEnc > oding)) > > and, next, put the retrieved term in a listbox, it comes out correctly. > > However, if I use indirect addressing: > > Temp = editField(ActWi.control(i)).text //the text is found allright > c.Field(j).SetString(DefineEncoding(Temp,App.MyEncoding)) I think you must use ConvertEncoding here and not DefineEncoding because Temp is a RB string that has UTF8 encoding, not MacRoman. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From leo_van_den_brande at wxs.nl Sat Nov 27 20:28:26 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sat Nov 27 13:26:43 2004 Subject: Accented characters again Message-ID: <41A8D55A.50905@wxs.nl> Hu Francois, Thanks for a swift reaction! Question 1: >> c.Field(j).GetString(DefineEncoding(Temp,App.MyEncoding)) //which >> here is MacRoman >Are you sure Temp is in MacRoman encoding ? Yes. I suppose the problem must be in the query string. How to query for a record on the basis of a term containing accented characters. BTW, I also tried: Temp = NameCase (do nothing) Temp = DefineEncoding(NameCase,Encodings.MacRoman) Temp = ConvertEncoding(NameCase,Encodings.MacRoman) with no succes. > (Note : I should avoid using "Name" to name a variable, because > it's often a property of the current object.) Of course, you're right. I'll keep it in mind As to Question 2: >> c.Field(j).SetString(DefineEncoding(Temp,App.MyEncoding)) > I think you must use ConvertEncoding here and not DefineEncoding because Temp is a RB string that has UTF8 encoding, not MacRoman. Stupid of me! Thanks a lot, Francois! It works! So, Question 2 is resolved. Is there a solution for Question 1? Thanks for your help! Leo _______________________________________________ Valentina mailing list Valentina at lists .DO.T macserve.net http://lists.macserve.net/mailman/listinfo/valentina ?2004 Francois Van Lerberghe Does this message appear encoded? Report it to the webmaster <-- Prior Message New Search -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From srt at bigpond.net.au Sun Nov 28 04:16:03 2004 From: srt at bigpond.net.au (Steven) Date: Sat Nov 27 22:16:07 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? Message-ID: Ruslan, >In the Db.SqlSelect() you should see 3 new parameters to control HOW >Valentina lock records of a new cursor. Please check docs. > EXAMPLE CODE: CursorRef = valSqlSelect( dbGuestBookRef, "SELECT FirstName, LastName FROM Person WHERE FirstName < ?K? ORDER BY "FirstName", kClient, kReadWrite); if ( valIsValidCursor( CursorRef )=true ) then //successfully locked all records else //could not lock all records end if; Is this the best/only way to test if the cursor was successful in locking the records in V4WS? Steven From sunshine at public.kherson.ua Sun Nov 28 12:50:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Nov 28 04:50:18 2004 Subject: V4WS need to use semaphores when READ from table in case cause simultaneous indexing? In-Reply-To: Message-ID: On 11/28/04 6:15 AM, "Steven" wrote: > Ruslan, > >> In the Db.SqlSelect() you should see 3 new parameters to control HOW >> Valentina lock records of a new cursor. Please check docs. >> > > EXAMPLE CODE: > > CursorRef = valSqlSelect( dbGuestBookRef, > "SELECT FirstName, LastName FROM Person > WHERE FirstName < ?K? ORDER BY "FirstName", kClient, kReadWrite); > > if ( valIsValidCursor( CursorRef )=true ) then > //successfully locked all records > else > //could not lock all records > end if; > > Is this the best/only way to test if the cursor was successful in > locking the records in V4WS? I recommend to use not valIsValidCursor() but error code check CursorRef = valSqlSelect( dbGuestBookRef, "......... if ( valLastError(dbRef) != 0 ) then we have problems.... End if -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ohmitou at wanadoo.fr Sun Nov 28 15:54:07 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Sun Nov 28 05:54:44 2004 Subject: Accented characters again In-Reply-To: <41A8D55A.50905@wxs.nl> References: <41A8D55A.50905@wxs.nl> Message-ID: <20041128115407.19194@smtp.wanadoo.fr> Hello If I understood your problem, the solution which follows works fine : 1 TWO FUNCTIONS Function macRoman(s as string) as string return convertEncoding(s,encodings.MacRoman) End function Function deCode(s as string) as string convertEncoding(defineEncoding(s,encodings.MacRoman),encodings.UTF8) End function 2 RECORDING p="Zo?" n="No?l" zeBase.mClients.setBlank zeBase.mClients.id.value=23 zeBase.mClients.prenom.value=macRoman(p) zeBase.mClients.nom.value=macRoman(n) zeBase.mClients.AddRecord 3 QUERY p="Zo?" curseur=zeBase.SQLselect( macRoman("SELECT nom FROM clients WHERE prenom='"+p+"'") ) n= deCode( curseur.field(1).getString ) ~> n="No?l" The "query string" is COMPLETELY in macRoman . Regards, -- Thierry Nauze Saint-Denis de la R?union From delong at redcort.com Sun Nov 28 16:45:42 2004 From: delong at redcort.com (Keith DeLong) Date: Sun Nov 28 18:45:56 2004 Subject: [V4RB] Two V4RB 1.11 crashing problems Message-ID: Hi Ruslan, Problem #1 V4RB crashes if an invalid RecID is passed. For example: VCursor(InDB,"Select * from Names WHERE RecID = 9999",kV_Server, kV_NoLocks, kV_Random) This crashes the application if 9999 is an invalid recID Problem #2 V4RB crashes if a sub select results in no records selected. For example: SELECT * FROM Employees WHERE Salary IN (select max(Salary) from Employees WHERE Active = false) This crashes the application if all employees are active. I tested and verified both of these bugs using ViSQL. I know you are focused on 2.0 but these are show stopping, deal breaking critical problems. They crash my application without warning or error. How quickly can we get a fix for these? Thanks, Keith DeLong From gunnar at fastpro.com Mon Nov 29 13:18:01 2004 From: gunnar at fastpro.com (Gunnar Jacobsen) Date: Mon Nov 29 07:16:22 2004 Subject: ATTENTION PLEASE. References: Message-ID: <002601c4d615$da1764c0$0300a8c0@internet> Hi there. I thought I was subscribe to technical e-mail regarding Valentina not political chat? Please let me know if is this is a political chat so I can unsubscribe to this chat. Best regards, Gunnar Jacobsen. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, November 24, 2004 2:27 PM Subject: Re: ATTENTION PLEASE. > On 11/24/04 4:15 PM, "Gregoire William" > wrote: > > > The last time I saw this was for Aghanistan.... > > Russia put their man on head, came to help him then kill him (put stay on > > place) > > > > I hope it won't arrive again! > > > > We have others informations here: > > > Ukr. Electoral commission talks about doubt in the legimity of the election > > We have no doubt :-) > > > Diplomatic talk (hot) between Russia and Western nations > > > Kiev is full Yanukovych supporters AND Yushchenko supporters > > Wow! It is not true! > > Yushchenko supporters this is about 2 millions of people on streets! > They are in orange colors. > They looks happy and sign. > They stay the 3 days on streets even although the whether is terrible. > > Yanukovych supporters this is only 3-5 thousands of drinked yong mans. > They are in blue-white colors. > They are aggressive. Their task is provocations. > > Just look on news video. Do not read COMMENTS. > The whole video is orange. Totally orange. > > I know that EuroNews now did show meeting of Yushchenko. > > > It looks very bad! > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Nov 29 15:29:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 29 07:30:04 2004 Subject: ATTENTION PLEASE. In-Reply-To: <002601c4d615$da1764c0$0300a8c0@internet> Message-ID: On 11/29/04 3:18 PM, "Gunnar Jacobsen" wrote: > Hi there. > > I thought I was subscribe to technical e-mail regarding Valentina not > political chat? Please let me know if is this is a political chat so I can > unsubscribe to this chat. Hi Gunnar, This is technical list. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 29 15:30:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Nov 29 07:30:53 2004 Subject: [V4RB] Two V4RB 1.11 crashing problems In-Reply-To: Message-ID: On 11/29/04 2:45 AM, "Keith DeLong" wrote: > Hi Ruslan, > > Problem #1 > V4RB crashes if an invalid RecID is passed. For example: > > VCursor(InDB,"Select * from Names WHERE RecID = 9999",kV_Server, kV_NoLocks, > kV_Random) > > This crashes the application if 9999 is an invalid recID > > > Problem #2 > V4RB crashes if a sub select results in no records selected. For example: > > SELECT * FROM Employees WHERE Salary IN > (select max(Salary) from Employees WHERE Active = false) > > This crashes the application if all employees are active. > > I tested and verified both of these bugs using ViSQL. > > I know you are focused on 2.0 but these are show stopping, deal breaking > critical problems. They crash my application without warning or error. > > How quickly can we get a fix for these? Hi Keith, I need to check. Well, it looks I have 4-5 reports on 1.11 for check. I will try to check this in 1-2 days. If you have db or else to send to me please send/. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Nov 29 08:36:34 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Nov 29 07:33:18 2004 Subject: ATTENTION PLEASE. In-Reply-To: <002601c4d615$da1764c0$0300a8c0@internet> Message-ID: <005101c4d618$716aa470$b900a8c0@batcomputer> This is a technical discussion, but we all are interested in things that will effect Ruslan and his team and their ability to continue to create this fine product. I have yet to see any list stay 100% on topic, and I think with all the had work Ruslan does, he deserves to go off topic on his own list now and then. :) -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 Gunnar Jacobsen Sent: Monday, November 29, 2004 8:18 AM To: Valentina Developers Subject: Re: ATTENTION PLEASE. Hi there. I thought I was subscribe to technical e-mail regarding Valentina not political chat? Please let me know if is this is a political chat so I can unsubscribe to this chat. Best regards, Gunnar Jacobsen. From forgete at cafederic.com Mon Nov 29 10:47:02 2004 From: forgete at cafederic.com (Eric Forget) Date: Mon Nov 29 09:47:13 2004 Subject: ATTENTION PLEASE. In-Reply-To: <005101c4d618$716aa470$b900a8c0@batcomputer> Message-ID: Chuck Neal: > This is a technical discussion, but we all are interested in things that > will effect Ruslan and his team and their ability to continue to create this > fine product. I have yet to see any list stay 100% on topic, and I think > with all the had work Ruslan does, he deserves to go off topic on his own > list now and then. :) I agree. Ruslan, is not a robot that answer technical questions. He has feeling like everybody. He should be very anxious these days... The ratio of OT emails has always been very low... Except for last week. SQL/Valentina problems are a bit futile compared to the social crisis occurring right now at his door. Ruslan has continued to answer all the questions promptly, which proves how professional he is! Ruslan, we are with you, your family and your friends... ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From ohmitou at wanadoo.fr Mon Nov 29 19:55:44 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Nov 29 09:56:08 2004 Subject: ATTENTION PLEASE. In-Reply-To: References: Message-ID: <20041129155544.5590@smtp.wanadoo.fr> forgete@cafederic.com a ?crit le 29/11/04 : >Ruslan, we are with you, your family and your friends... > >?ric All right with this opinion ... -- Thierry Nauze Saint-Denis de la R?union From leo_van_den_brande at wxs.nl Mon Nov 29 17:31:18 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Mon Nov 29 10:29:39 2004 Subject: Accented characters again Message-ID: <41AB4ED6.5090700@wxs.nl> Hi Thierry, Thanks so much for your extensive and clear advise! In particular < The "query string" is COMPLETELY in macRoman I tried it immediately. It works perfectly well, indeed! Hadn't thought of that! You made my day. Thanks again! Leo Van den Brande -- From ohmitou at wanadoo.fr Mon Nov 29 20:52:44 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Nov 29 10:53:12 2004 Subject: Accented characters again In-Reply-To: <41AB4ED6.5090700@wxs.nl> References: <41AB4ED6.5090700@wxs.nl> Message-ID: <20041129165244.24766@smtp.wanadoo.fr> leo_van_den_brande@wxs.nl a ?crit le 29/11/04 : >Hi Thierry, > >Thanks so much for your extensive and clear advise! > >In particular > >< The "query string" is COMPLETELY in macRoman > >I tried it immediately. It works perfectly well, indeed! Hadn't >thought of that! > >You made my day. Thanks again! > >Leo Van den Brande So that the same database works on MAC and PC, it is enough to modify slightly the two functions; I fast made out a will, it seems to work correctly. If necessary, make at me a sign. @+ -- Thierry Nauze Saint-Denis de la R?union From delong at redcort.com Mon Nov 29 09:29:30 2004 From: delong at redcort.com (Keith DeLong) Date: Mon Nov 29 11:29:42 2004 Subject: [off topic] Re: ATTENTION PLEASE. In-Reply-To: <002601c4d615$da1764c0$0300a8c0@internet> Message-ID: > Hi there. > > I thought I was subscribe to technical e-mail regarding Valentina not > political chat? Please let me know if is this is a political chat so I can > unsubscribe to this chat. > > Best regards, > Gunnar Jacobsen. Hi Gunnar, I am sensitive to off topic list discussions as well. I think we generally do pretty well on this list. It is interesting to me that this global Valentina technical community has made many of us friends as well as professional colleagues. I am glad for that! Occasionally major events in our lives can drift into our discussions. It seems appropriate to share with Ruslan in this huge crisis happening in his country. I'd ask your patience as we share some off topic personal chat 'around the water cooler'. We could take this off the list but others who are interested would be excluded. It seems fair to ask those who are not interested to use the delete key for off topic posts and stay with us on the Valentina technical topics. We'll try and keep such times infrequent and clearly labeled [Off Topic] in the subject line. Thanks for your indulgence, Keith DeLong From lists at mangomultimedia.com Mon Nov 29 17:43:50 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Nov 29 19:43:59 2004 Subject: Using Concat in ORDER BY Message-ID: <490140B5-4271-11D9-8284-000A956C462A@mangomultimedia.com> Hi, I'm converting some SQL I have running in MySQL over to Valentina 1.x. I have a query which orders records returned using the Concat function. Here is a simplified query which shows the basic concept: SELECT Title, Sequence FROM lesson ORDER BY Concat(Sequence, '.', Title) I keep getting 604 syntax errors though. Is this type of ordering possible in Valentina 1.x and if so what is the proper syntax? Thanks, -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Tue Nov 30 09:57:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 30 01:57:50 2004 Subject: MallocDebug and CW Macho BSD target Message-ID: Hi All, It looks to me that we can use MallocDebug with CW projects. But I cannot get success on it. * I have made BSD target console app, as package * run MallocDebug * new window * choose app * press Launch It says: cannot do something with null Anybody have success with MallocDebug ? Any special preapre we need to do ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Nov 30 09:58:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 30 01:58:20 2004 Subject: Using Concat in ORDER BY In-Reply-To: <490140B5-4271-11D9-8284-000A956C462A@mangomultimedia.com> Message-ID: On 11/30/04 3:43 AM, "Trevor DeVore" wrote: > Hi, > > I'm converting some SQL I have running in MySQL over to Valentina 1.x. > I have a query which orders records returned using the Concat function. > Here is a simplified query which shows the basic concept: > > SELECT Title, Sequence FROM lesson ORDER BY Concat(Sequence, '.', Title) > > I keep getting 604 syntax errors though. Is this type of ordering > possible in Valentina 1.x and if so what is the proper syntax? Hi Trevor, You need create BaseObject mehod and use it in the ORDER BY -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Nov 30 09:58:16 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Tue Nov 30 08:58:26 2004 Subject: Error 32 - Sharing violation Message-ID: Hi everyone, Here's a quick overview. I'm building an application that builds custom msrp sheets for boat dealers and in that i have a management area . The first time the user goes there it creates a database. They enter their dealer info (name,address,etc) it saves it to the database. I flush/close the database on they're way out of the management area. They then proceed to make a msrp sheet. Get to the last step and it reopens the database and shows they're dealer info for the print out. I am getting a sharing violation only the first time when the database is created. If they close the app, run it, go to manage edit their info and then continue on no error. Any ideas why this might be happening? I've double triple checked that I am closing the database when they leave the manage area. Thanks! Bill From lists at mangomultimedia.com Tue Nov 30 09:24:18 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Nov 30 11:24:29 2004 Subject: Using Concat in ORDER BY In-Reply-To: References: Message-ID: On Nov 29, 2004, at 11:58 PM, Ruslan Zasukhin wrote: > On 11/30/04 3:43 AM, "Trevor DeVore" wrote: > >> Hi, >> >> I'm converting some SQL I have running in MySQL over to Valentina 1.x. >> I have a query which orders records returned using the Concat >> function. >> Here is a simplified query which shows the basic concept: >> >> SELECT Title, Sequence FROM lesson ORDER BY Concat(Sequence, '.', >> Title) >> >> I keep getting 604 syntax errors though. Is this type of ordering >> possible in Valentina 1.x and if so what is the proper syntax? > > Hi Trevor, > > You need create BaseObject mehod and use it in the ORDER BY Thanks. I've got that working now. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Tue Nov 30 22:34:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Nov 30 14:34:51 2004 Subject: Error 32 - Sharing violation In-Reply-To: Message-ID: On 11/30/04 4:58 PM, "Bill Numerick" wrote: Hi Bill, > Hi everyone, > > Here's a quick overview. > > I'm building an application that builds custom msrp sheets for boat > dealers and in that i have a management area . The first time the > user goes there it creates a database. They enter their dealer info > (name,address,etc) it saves it to the database. > I flush/close the > database on they're way out of the management area. They then proceed > to make a msrp sheet. Get to the last step and it reopens the database > and shows they're dealer info for the print out. > I am getting a > sharing violation only the first time when the database is created. > If they close the app, run it, go to manage edit their info and then > continue on no error. Any ideas why this might be happening? I've > double triple checked that I am closing the database when they leave > the manage area. But agree that db files are opened. Have you note, that Valentina db.Create() return you db in the opened state ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Tue Nov 30 15:57:07 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Tue Nov 30 14:57:14 2004 Subject: Error 32 - Sharing violation In-Reply-To: References: Message-ID: > On 11/30/04 4:58 PM, "Bill Numerick" wrote: > > Hi Bill, > But agree that db files are opened. > > Have you note, that Valentina db.Create() return > you db in the opened state ? You just helped me fix the problem. ;). I create the database never realizing that it actually opens it too so I open it after i create it. Thanks! :)