From sunshine at public.kherson.ua Tue Feb 1 00:00:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jan 31 16:00:36 2005 Subject: DEMO license files of Vserver for February uploaded Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Tue Feb 1 01:36:55 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Jan 31 18:37:16 2005 Subject: HOW TO: drag item to listbox COLUMN? ** Bug in the DropLeft? In-Reply-To: References: Message-ID: <5FF8F250-73E9-11D9-B1C3-003065514D2E@tiscalinet.it> Hi Ruslan, On 31 gen 2005, at 11:12, Ruslan Zasukhin wrote: > I have a listbox with N columns. > N - can change at runtime. > > > I need drag item from other listbox to the first listbox. > I need EXACTLY know on which column I have drop object. > > I guess I should use for this obj.DropLeft. > maybe this is just a good intention for some future more decent native RB drag&drop support I got a pure RB Listbox class that simulate a correct handling of drops it's posted at http://coolrunnings.0catch.com/ but currently I rely on the infinitely useful MBS plugin it has cool dragtracker classes, a little tricky to use but made me possible to build a listbox that is able to highlight the cell where a dragitem is being dragged and even scroll if it's dragged to its boundaries HTH Cool Runnings, Erne. |er| musical box |ne| a media store From Claudius at sailer-online.de Tue Feb 1 06:42:55 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Jan 31 23:43:14 2005 Subject: V4RB - UPDATE-Problem Message-ID: <1f4a73be8cd6662c306478b98c1e2df0@sailer-online.de> Hi, is it possible that following Code doesn't work in V4RB 1.10 UPDATE Buchungen SET BetragHerk=Betrag How can I do this when I need it? by Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Feb 1 11:33:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 1 03:34:09 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: <1f4a73be8cd6662c306478b98c1e2df0@sailer-online.de> Message-ID: On 2/1/05 7:42 AM, "Claudius Sailer" wrote: > Hi, > > is it possible that following Code doesn't work in V4RB 1.10 > > UPDATE Buchungen SET BetragHerk=Betrag > > How can I do this when I need it? You try assign one field to another ? In the worse can you can write loop to do this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Feb 1 18:12:14 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 1 11:12:25 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: References: Message-ID: Am 01. Feb 2005 um 10:33 Uhr schrieb Ruslan Zasukhin: > On 2/1/05 7:42 AM, "Claudius Sailer" wrote: > >> Hi, >> >> is it possible that following Code doesn't work in V4RB 1.10 >> >> UPDATE Buchungen SET BetragHerk=Betrag >> >> How can I do this when I need it? > > You try assign one field to another ? detailed coding is //Felder bei Buchungen hinzufuegen cmd="ALTER TABLE Buchungen ADD BetragHerk LONG NOT NULL" count=tmpDB.SQLExecute(cmd) cmd="ALTER TABLE Buchungen ADD BetragZiel LONG NOT NULL" count=tmpDB.SQLExecute(cmd) //Auf Ausgangswert setzen cmd="UPDATE Buchungen SET BetragHerk=Betrag" count=tmpDB.SQLExecute(cmd) cmd="UPDATE Buchungen SET BetragZiel=Betrag" count=tmpDB.SQLExecute(cmd) problem is, that I want to move from one currency application to multi currency. In a first step all accounts are EUR accounts. Now I want to copy all EUR values to the account values ;-)) > In the worse can you can write loop to do this. Not really good, but it seems this will be the way :-(( Thanks Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From gavin at hyperactive.ca Tue Feb 1 14:15:41 2005 From: gavin at hyperactive.ca (Gavin Ogston) Date: Tue Feb 1 13:15:57 2005 Subject: line Return Message-ID: <000901c50892$6c740f40$6401a8c0@sparky> A hopefully simple question for director. I am importing text into a db from a tab deliminated file where an @ sign indicates a new record. One of the fields I am importing is a text field that I would like to have line returns in. My problem is that I am not sure of how to indicate the new line (syntax) so that it will appear in a field in my app. Oh yeah this is windows ( I know they are different on mac). In mysql you would put \r\n I think. ex. Have a nice day \r\n said the man. (what would this look like for director) From sunshine at public.kherson.ua Tue Feb 1 22:56:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 1 14:56:29 2005 Subject: line Return In-Reply-To: <000901c50892$6c740f40$6401a8c0@sparky> Message-ID: On 2/1/05 9:15 PM, "Gavin Ogston" wrote: > A hopefully simple question for director. I am importing text into a db from a > tab deliminated file where an @ sign indicates a new record. One of the > fields I am importing is a text field that I would like to have line returns > in. My problem is that I am not sure of how to indicate the new line (syntax) > so that it will appear in a field in my app. Oh yeah this is windows ( I know > they are different on mac). > > In mysql you would put \r\n I think. > > ex. Have a nice day \r\n said the man. (what would this look like for > director) The same. Or you prepare file itself in the director ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Thu Feb 3 16:09:31 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 4 12:02:23 2005 Subject: Odd SQL Search Behavior Message-ID: <29caadedd3c1e9c950c719cdefed6f49@pcisys.net> Doing searches in V4RB database system and finding that if the VString field being searched on has spaces or hypens in the data being searched on, the record is not being found. If there are not hypens or spaces in the data held in the field, the record is being found. What's going on? Regards, Chuck From Roger at logram.com Fri Feb 4 10:20:11 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 4 12:02:33 2005 Subject: Can't select all records Message-ID: <028383377603B34D9728A1E80EA9B43B06C69F@srv.Logram.local> Hello, My database contains 54 000 records with 1 table of 15 fields. When I want to select all records, the query seems to freeze the Mac (Revolution/MacOS 9) ------------------- Example : (The vCacheSize is set to 100*1024*1024.) put 1 into startRecord put someNumber into maxRecords put "select * from boName order by boName" into the Sql put Valentina (DataBase_SQLSelectRecords", dbRef, theSql, startRecord, maxRecords) into resultRecords ------------------- If someNumber = 10000, it takes about 10 seconds to return the result If someNumber = 54000 it freezes (or it takes a very very long time) Is there a better way to get large results without freezing ? Thanks to all of you. Roger; From martin at kinetix.co.uk Fri Feb 4 17:18:12 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Fri Feb 4 12:02:38 2005 Subject: Proxt server In-Reply-To: Message-ID: <20050204172257.900072C25D8@edison.macserve.net> Hi A customer is having difficulties with a client/server app we built using Vserver. Are there any known issues regarding proxy servers? Martin From sunshine at public.kherson.ua Fri Feb 4 20:51:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 12:52:02 2005 Subject: Proxt server In-Reply-To: <20050204172257.900072C25D8@edison.macserve.net> Message-ID: On 2/4/05 7:18 PM, "Martin Wright" wrote: > Hi > > A customer is having difficulties with a client/server app we built using > Vserver. Are there any known issues regarding proxy servers? Hi Martin, What you mean with "proxy servers"? What problems user have ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 4 20:52:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 12:52:53 2005 Subject: Odd SQL Search Behavior In-Reply-To: <29caadedd3c1e9c950c719cdefed6f49@pcisys.net> Message-ID: On 2/4/05 1:09 AM, "Chuck Pelto" wrote: > Doing searches in V4RB database system and finding that if the VString > field being searched on has spaces or hypens in the data being searched > on, the record is not being found. If there are not hypens or spaces in > the data held in the field, the record is being found. > > What's going on? Have you wrap value 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 cbpelto at pcisys.net Fri Feb 4 13:02:36 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 4 14:02:43 2005 Subject: Odd SQL Search Behavior In-Reply-To: References: Message-ID: <5073d66fed47efb4fa005cff9eff8d51@pcisys.net> Morning Ruslan, Hope all is going well with you. Please give me an example of "wrap value by '"'". Thanks, Chuck On Feb 4, 2005, at 11:52 AM, Ruslan Zasukhin wrote: > On 2/4/05 1:09 AM, "Chuck Pelto" wrote: > >> Doing searches in V4RB database system and finding that if the VString >> field being searched on has spaces or hypens in the data being >> searched >> on, the record is not being found. If there are not hypens or spaces >> in >> the data held in the field, the record is being found. >> >> What's going on? > > Have you wrap value 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 > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Feb 4 22:10:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 14:10:43 2005 Subject: Odd SQL Search Behavior In-Reply-To: <5073d66fed47efb4fa005cff9eff8d51@pcisys.net> Message-ID: On 2/4/05 10:02 PM, "Chuck Pelto" wrote: > Morning Ruslan, > > Hope all is going well with you. > > Please give me an example of "wrap value by '"'". WHERE fld = 'text you search' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Fri Feb 4 14:20:44 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 4 15:20:50 2005 Subject: Odd SQL Search Behavior In-Reply-To: References: Message-ID: <0ac62a8c0ed9fe058ad527525102af32@pcisys.net> So.... ...should I enclose the text, with spaces and/or hypens, in double-quotes (") or single-quotes (')? And what if I'm using a variable? This was the case in my experienced problem. I had a variable that I was using that held the text I was looking for in the table. Regards, Chuck On Feb 4, 2005, at 1:10 PM, Ruslan Zasukhin wrote: > On 2/4/05 10:02 PM, "Chuck Pelto" wrote: > >> Morning Ruslan, >> >> Hope all is going well with you. >> >> Please give me an example of "wrap value by '"'". > > WHERE fld = 'text you search' > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Sat Feb 5 00:18:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 4 16:19:03 2005 Subject: Odd SQL Search Behavior In-Reply-To: <0ac62a8c0ed9fe058ad527525102af32@pcisys.net> Message-ID: On 2/4/05 11:20 PM, "Chuck Pelto" wrote: > So.... > > ...should I enclose the text, with spaces and/or hypens, in > double-quotes (") or single-quotes (')? Into single quotes > And what if I'm using a variable? This was the case in my experienced > problem. I had a variable that I was using that held the text I was > looking for in the table. In the SQL do not exists variable. SQL this is just a string! You need build string. You must be able SEE it as string. So do as cmd = "select ... WHERE fld = '" + str(var) + "'" > Regards, > > Chuck > > On Feb 4, 2005, at 1:10 PM, Ruslan Zasukhin wrote: > >> On 2/4/05 10:02 PM, "Chuck Pelto" wrote: >> >>> Morning Ruslan, >>> >>> Hope all is going well with you. >>> >>> Please give me an example of "wrap value by '"'". >> >> WHERE fld = 'text you search' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Fri Feb 4 16:57:14 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 4 17:57:26 2005 Subject: Odd SQL Search Behavior In-Reply-To: References: Message-ID: <549978d53f8359fc5c0b800273e46eb2@pcisys.net> Roger that. Thanks, Chuck On Feb 4, 2005, at 3:18 PM, Ruslan Zasukhin wrote: > On 2/4/05 11:20 PM, "Chuck Pelto" wrote: > >> So.... >> >> ...should I enclose the text, with spaces and/or hypens, in >> double-quotes (") or single-quotes (')? > > Into single quotes > >> And what if I'm using a variable? This was the case in my experienced >> problem. I had a variable that I was using that held the text I was >> looking for in the table. > > In the SQL do not exists variable. > SQL this is just a string! > > You need build string. > You must be able SEE it as string. > > So do as > > cmd = "select ... WHERE fld = '" + str(var) + "'" > > >> Regards, >> >> Chuck >> >> On Feb 4, 2005, at 1:10 PM, Ruslan Zasukhin wrote: >> >>> On 2/4/05 10:02 PM, "Chuck Pelto" wrote: >>> >>>> Morning Ruslan, >>>> >>>> Hope all is going well with you. >>>> >>>> Please give me an example of "wrap value by '"'". >>> >>> WHERE fld = 'text you search' > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Feb 7 11:46:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 03:47:03 2005 Subject: V4MD: unique composite key In-Reply-To: <000e01c50cf9$30087da0$ce181e97@vmtcktzo3kwrv6> Message-ID: On 2/7/05 11:41 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > thanks for the previous answer. > At last I need to know how to make a composite primay key in two column of the > additional third table. > e.g. > From your example in VKernel-31 > --------------------------------- > Table: Has > --------------------------------- > Person_ptr Task_ptr > --------------------------------- > 1 1 > 2 1 > 3 3 >> 1 1 How I check that I don't have a duplicate record? > > Thank > Paolo This task can be solved by adding into table One virtual field ( BaseObject method) fldF1F2 of type ULLONG 8 bytes With formula in your case (Person_ptr << 32) + Task_ptr -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ohmitou at wanadoo.fr Mon Feb 7 16:39:30 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Feb 7 06:39:43 2005 Subject: Question on the length of VarChar? Message-ID: <20050207123930.18490@smtp.wanadoo.fr> Hi, At the moment I have an encoded MacRoman database with, for the example, VarChar (8) which are enough for what I make. Let us suppose that soon I like to be able to put in it '????????' ou '??????v?'. It will be necessary for me to change the encodage (OK) and my VarChar (8) will be insufficient. My question: If, to record the same data, I define at the moment my varchar ( 256 ) instead of varchar (8)... Is the size of the data base going to get grow as a consequence? Will there be a loss of speed in the search ? I work on Mac with RB 5.54 and Valentina 1.1 Thank you beforehand -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon Feb 7 14:48:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 7 06:48:32 2005 Subject: Question on the length of VarChar? In-Reply-To: <20050207123930.18490@smtp.wanadoo.fr> Message-ID: On 2/7/05 2:39 PM, "Thierry Nauze" wrote: > Hi, > > At the moment I have an encoded MacRoman database with, for the example, > VarChar (8) which are enough for what I make. Btw, not good idea. For such small length better to use String[8] > Let us suppose that soon I like to be able to put in it '????????' ou > '??????v?'. > It will be necessary for me to change the encodage (OK) and my VarChar > (8) will be insufficient. > > My question: > If, to record the same data, I define at the moment my varchar ( 256 ) > instead of varchar (8)... Note, the best minimal length for VarChar field is 504 (for 1.x) > Is the size of the data base going to get grow as a consequence? No. > Will there be a loss of speed in the search ? no > I work on Mac with RB 5.54 and Valentina 1.1 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ohmitou at wanadoo.fr Mon Feb 7 17:05:04 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Feb 7 07:05:11 2005 Subject: Question on the length of VarChar? Message-ID: <20050207130504.8583@smtp.wanadoo.fr> Hi Ruslan, Thank you for this very fast answer. ... >> At the moment I have an encoded MacRoman database with, for the example, >> VarChar (8) which are enough for what I make. > >Btw, not good idea. >For such small length better to use String[8] I had taken 8 for the example with regard to 256. ... >> My question: >> If, to record the same data, I define at the moment my varchar ( 256 ) >> instead of varchar (8)... >Note, the best minimal length for VarChar field is 504 (for 1.x) >> Is the size of the data base going to get grow as a consequence? >No. >> Will there be a loss of speed in the search ? >no If I understood, I have interest to be put, I have interest to be put the minimal length of my varchar on 504... Regards -- Thierry Nauze Saint-Denis de la R?union From andy at foxwerk.de Mon Feb 7 21:50:29 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Mon Feb 7 14:50:32 2005 Subject: test - please ignore In-Reply-To: <200410071528.PAA04147@moo.mook.co.uk> Message-ID: test andy From andy at foxwerk.de Mon Feb 7 21:57:51 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Mon Feb 7 14:57:56 2005 Subject: Language settings In-Reply-To: Message-ID: Hi guys, 2 problems: ----------- 1) I can't switch my text-fields i.e. to 'Turkish'... other languages work (ie. 'Hungarian'). Any idea? MacOS X 10.3.7 - Valentina 1.11 2) What's the best way to import (which is ISOLatin5) into a VDB via Realbasic 5.5? I first must parse the XML, but RB throws an error, if I try to use Encodings.ISOLatin5 (as soon as it detects an ASCII value > 127). So I converted the TextInputStream to UTF-8, but now it seems, I can't convert back to ISOLatin5 (because I can't set Valentina's language setting to an appropriate equivalent i.e. 'Turkish' (see above)) Any Ideas welcome... andy fuchs From jules.jacquot at wanadoo.fr Tue Feb 8 07:24:27 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Feb 8 00:23:41 2005 Subject: Language settings In-Reply-To: References: Message-ID: <15470C3E-799A-11D9-9679-000A95DEA64E@wanadoo.fr> Le 7 f?vr. 05, ? 21:57, Andy Fuchs a ?crit : > Hi guys, > > 2 problems: > ----------- > 1) > I can't switch my text-fields i.e. to 'Turkish'... other languages > work (ie. > 'Hungarian'). Any idea? > > MacOS X 10.3.7 - Valentina 1.11 > > > 2) > > What's the best way to import > > > > (which is ISOLatin5) into a VDB via Realbasic 5.5? > > I first must parse the XML, but RB throws an error, if I try to use > Encodings.ISOLatin5 (as soon as it detects an ASCII value > 127). So I > converted the TextInputStream to UTF-8, but now it seems, I can't > convert > back to ISOLatin5 (because I can't set Valentina's language setting to > an > appropriate equivalent i.e. 'Turkish' (see above)) > > > Any Ideas welcome... hi, try this writetext=replaceall(xdoc.tostring,"UTF-8","ISO-8859-1") best jules > > andy fuchs > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From andy at foxwerk.de Tue Feb 8 09:37:45 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Tue Feb 8 02:37:55 2005 Subject: Language settings In-Reply-To: <15470C3E-799A-11D9-9679-000A95DEA64E@wanadoo.fr> Message-ID: Hi Jules, thanks for the note, but if I do that without converting the encoding I will mix up everything! AND what I need is to get the correct encoding in Valentina... For now I'll stick with MacRoman, but this could get a killer, because we need Japanese as well.... thanks andy > From: Jules Jacquot > Reply-To: Valentina Developers > Date: Tue, 8 Feb 2005 07:24:27 +0100 > To: Valentina Developers > Subject: Re: Language settings > > writetext=replaceall(xdoc.tostring,"UTF-8","ISO-8859-1") From sunshine at public.kherson.ua Tue Feb 8 11:04:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 03:04:48 2005 Subject: V4MD: problem with addRecord for method field (unique) In-Reply-To: <000b01c50db7$e7105270$b11c1e97@vmtcktzo3kwrv6> Message-ID: On 2/8/05 10:26 AM, "info@vallemediatime.com" wrote: > with this code: > > set fldRef = addField(gDB, StudenteCorsoRef, "StudentCorso", #kTypeVarChar, > 504, "concat( Studente_PTR, Corso_PTR)") > setFieldFlag(gDB, fldRef, 2, TRUE) -- correct > > is not possible (in any way) to addRec at the cursor > I get always the error 344 and so the virtual field (with unique flags) is > useless. > > I remember you that I need to check the newRec of a table STUDENTICORSI with > two fields: > Studente_PTR Corso_PTR > 1 1 ok > 1 2 ok > 2 1 ok > 1 1 not ok = duplicate record > I see what you need. The above code MUST work. Open db in the VAPP. Check your fields. Check your flags that show VAPP. Directly in the VAPP try to add record. You must be able add first record, and second the same will refuse. If no, you can send me this db, I do the same in VAPP. > I think that Valentina can do this but I can't find the manner. > I read your docs and try your example but this case don't appear. > I hope in another 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 sunshine at public.kherson.ua Tue Feb 8 11:51:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 03:51:14 2005 Subject: Language settings In-Reply-To: Message-ID: On 2/8/05 10:37 AM, "Andy Fuchs" wrote: > Hi Jules, > > thanks for the note, but if I do that without converting the encoding I will > mix up everything! > > AND what I need is to get the correct encoding in Valentina... > > For now I'll stick with MacRoman, but this could get a killer, because we > need Japanese as well.... Andy, If you need Japanese then only way for you -- to use Valentina 2.0. 1.x exactly not work correctly with Japan. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Tue Feb 8 11:03:28 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Tue Feb 8 04:03:39 2005 Subject: Language settings In-Reply-To: Message-ID: Hi Ruslan, yes - that's the dilemma... But currently 2.0 is far too big. This would add far too much download size to the application... Not sure what we gonna do... andy > > On 2/8/05 10:37 AM, "Andy Fuchs" wrote: > >> Hi Jules, >> >> thanks for the note, but if I do that without converting the encoding I will >> mix up everything! >> >> AND what I need is to get the correct encoding in Valentina... >> >> For now I'll stick with MacRoman, but this could get a killer, because we >> need Japanese as well.... > > Andy, > > If you need Japanese then only way for you -- to use Valentina 2.0. > > 1.x exactly not work correctly with Japan. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Tue Feb 8 12:08:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 04:08:42 2005 Subject: Language settings In-Reply-To: Message-ID: On 2/8/05 12:03 PM, "Andy Fuchs" wrote: > Hi Ruslan, > > yes - that's the dilemma... But currently 2.0 is far too big. This would > add far too much download size to the application... Not sure what we gonna > do... This better discuss on beta list Andy. Andy, compressed 2.0 is 4-4.5 MB now as I see. And I think it can be go down to 3MB. Let your small app (as you say) will add 1MB, Today 4-5 MB is not big download IMHO -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Tue Feb 8 10:49:21 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Feb 8 04:12:14 2005 Subject: Language settings In-Reply-To: References: Message-ID: >Hi Jules, > >thanks for the note, but if I do that without converting the encoding I will >mix up everything! > >AND what I need is to get the correct encoding in Valentina... > >For now I'll stick with MacRoman, but this could get a killer, because we >need Japanese as well.... > >thanks > >andy Have you tried using Vapp? There has recently been a problem with vxcmd not setting the language but Vapp has worked. Robert From andy at foxwerk.de Tue Feb 8 11:34:39 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Tue Feb 8 04:34:48 2005 Subject: Language settings In-Reply-To: Message-ID: VApp shows 'Turkish' in ist popup, and I can select it, but the field reverts to ASCII... 'Hungarian' works, though > > Have you tried using Vapp? There has recently been a problem with > vxcmd not setting the language but Vapp has worked. From rjb at robelko.com Tue Feb 8 11:45:44 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Feb 8 04:45:49 2005 Subject: Language settings In-Reply-To: References: Message-ID: That could mean that you are missing some resources in the system needed to set Turkish. Or could be a bug :( There was something definitely broken in later 1.x releases but I did not follow that. May be searching list archives can reveal something. >VApp shows 'Turkish' in ist popup, and I can select it, but the field >reverts to ASCII... 'Hungarian' works, though > >> >> Have you tried using Vapp? There has recently been a problem with >> vxcmd not setting the language but Vapp has worked. > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Tue Feb 8 11:53:23 2005 From: Roger at logram.com (Roger Amar) Date: Tue Feb 8 04:53:53 2005 Subject: Sorting Message-ID: <028383377603B34D9728A1E80EA9B43B06C6BA@srv.Logram.local> Hello, Sorting a file with "order by..." returns ascii sort. Is there any way to get alphabetic sort ? Thank you in advance for your help. Best regards, Roger; From sunshine at public.kherson.ua Tue Feb 8 14:13:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 06:13:14 2005 Subject: Sorting In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6BA@srv.Logram.local> Message-ID: On 2/8/05 12:53 PM, "Roger Amar" wrote: Hi Roger, > Sorting a file with "order by..." returns ascii sort. > Is there any way to get alphabetic sort ? Yes, you need assign the English language to a fields I am sure now it is ASCII. > Thank you in advance for your help. > Best regards, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Tue Feb 8 14:02:25 2005 From: Roger at logram.com (Roger Amar) Date: Tue Feb 8 07:02:54 2005 Subject: Sorting Message-ID: <028383377603B34D9728A1E80EA9B43B06C6BB@srv.Logram.local> Hi Ruslan, Works fine, Yes ! Thanks again, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : mardi 8 f?vrier 2005 13:13 ? : valentina@lists.macserve.net Objet : Re: Sorting On 2/8/05 12:53 PM, "Roger Amar" wrote: Hi Roger, > Sorting a file with "order by..." returns ascii sort. > Is there any way to get alphabetic sort ? Yes, you need assign the English language to a fields I am sure now it is ASCII. > Thank you in advance for your help. > Best regards, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 joergp at three-2-one.com Tue Feb 8 16:40:21 2005 From: joergp at three-2-one.com (Joerg Pressel) Date: Tue Feb 8 09:40:43 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 Message-ID: Hi, my new app is almost finished and I'm thinking of a japanese language version. Does anybody here have experience, what happens to sort order, if you store japanese data as UTF8 in a Valentina db? Would you think sorting would work reasonable enough to be sold in a product for the japanese market? Thanks, -- J?rg ____________________________________________ three-2-one interaktive Medien GmbH joerg.pressel@three-2-one.com http://www.three-2-one.com fon: +49 2151 31945-11 From andy at foxwerk.de Tue Feb 8 16:49:18 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Tue Feb 8 09:49:29 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: Message-ID: Hi J?rg, well that's the same question I am asking myself currently. But it seems there's no proper way to store double-byte languages (or even certain single-byte languages) so they are handled properly in V 1.xx... andy > From: Joerg Pressel > Reply-To: Valentina Developers > Date: Tue, 8 Feb 2005 16:40:21 +0100 > To: Valentina Developers > Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 > > Hi, > > my new app is almost finished and I'm thinking of a japanese language > version. Does anybody here have experience, what happens to sort order, > if you store japanese data as UTF8 in a Valentina db? > > Would you think sorting would work reasonable enough to be sold in a > product for the japanese market? > > Thanks, > -- > J?rg > > ____________________________________________ > three-2-one interaktive Medien GmbH > > joerg.pressel@three-2-one.com > http://www.three-2-one.com > fon: +49 2151 31945-11 > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Feb 8 19:19:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 11:19:38 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: Message-ID: On 2/8/05 5:40 PM, "Joerg Pressel" wrote: Hi Joerg, > my new app is almost finished and I'm thinking of a japanese language > version. Does anybody here have experience, what happens to sort order, > if you store japanese data as UTF8 in a Valentina db? For this you need 2.0 > Would you think sorting would work reasonable enough to be sold in a > product for the japanese market? You should talk with Lynn about this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lfredricks at proactive-intl.com Tue Feb 8 10:23:05 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue Feb 8 12:23:20 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: Message-ID: <20050208182311.DDB1AE4444@knife.dreamhost.com> > > my new app is almost finished and I'm thinking of a > japanese language > > version. Does anybody here have experience, what happens to sort > > order, if you store japanese data as UTF8 in a Valentina db? > > For this you need 2.0 > > > Would you think sorting would work reasonable enough to be > sold in a > > product for the japanese market? > > You should talk with Lynn about this. Valentina 2 is ESPECIALLY designed for the Japanese market. That is one reason why Valentina 2 will also allow for UTF-16 native format databases. UTF-16 is superior to UTF-8 for sorting Japanese characters. UTF-8 is fine for storage, but my understanding from our Japan office is that you cannot reliably sort Japanese characters only with UTF-8. You can certainly use Valentina 1.11 to build Japanese friendly apps. In fact, a major Japanese camera company has licensed Valentina 1.11 for the purpose. However with Valentina 2, we will have a superior, true multinational ready solution. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From Roger at logram.com Tue Feb 8 22:34:37 2005 From: Roger at logram.com (Roger Amar) Date: Tue Feb 8 15:35:15 2005 Subject: About dll Message-ID: <028383377603B34D9728A1E80EA9B43B06C6BE@srv.Logram.local> Hello, Where must be put the VXCMD_Win_MC.DLL to make Valentina working on Windows XP ? Thanks for your help, Roger; From sunshine at public.kherson.ua Tue Feb 8 23:47:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 15:47:20 2005 Subject: About dll In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6BE@srv.Logram.local> Message-ID: On 2/8/05 11:34 PM, "Roger Amar" wrote: > Hello, > > Where must be put the VXCMD_Win_MC.DLL to make Valentina working on > Windows XP ? > Thanks for your help, During authoring into Rev folder When you compile app, into EXE folder -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Tue Feb 8 23:22:38 2005 From: Roger at logram.com (Roger Amar) Date: Tue Feb 8 16:23:09 2005 Subject: About dll Message-ID: <028383377603B34D9728A1E80EA9B43B06C6BF@srv.Logram.local> I already put it into the Rev folder. That is what happens : every time I invoque Valentina in the startup process, the script jumps to the end of handler without executing and without any error message. So, I can't initialize and start my app (which works fine on my Mac) Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : mardi 8 f?vrier 2005 22:47 ? : valentina@lists.macserve.net Objet : Re: About dll On 2/8/05 11:34 PM, "Roger Amar" wrote: > Hello, > > Where must be put the VXCMD_Win_MC.DLL to make Valentina working on > Windows XP ? > Thanks for your help, During authoring into Rev folder When you compile app, into EXE folder -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Feb 9 01:13:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 8 17:13:32 2005 Subject: About dll In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6BF@srv.Logram.local> Message-ID: On 2/9/05 12:22 AM, "Roger Amar" wrote: > I already put it into the Rev folder. > That is what happens : every time I invoque Valentina in the startup process, > the script jumps to the end of handler without executing and without any error > message. > So, I can't initialize and start my app (which works fine on my Mac) It seems on windows you need yet set some property of stack to point to DLL. "externals" property it seems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Wed Feb 9 12:38:53 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 9 05:39:26 2005 Subject: About dll Message-ID: <028383377603B34D9728A1E80EA9B43B06C6C4@srv.Logram.local> Hello Ruslan, Thank you. The following information could be useful for those who want to use the Valentina XCMD on the Windows platform, using Metacard or Revolution : 1. The "VXCMD_Win_MC.DLL" must be put into the application folder, not in the Revolution folder, to avoid confusing with the path style. 2. The startup handler must call the dll like this : "Set the externals of this stack to dllPath". 3. When creating a database, you must add the extension ".vdb" to the name, otherwise you will get an error 2 when you attempt to open it. 4. The databasePath must be converted to windows style like this : "replace slash with backslash in databasePath". Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net ] De la part de Ruslan Zasukhin Envoy? : mercredi 9 f?vrier 2005 00:13 ? : valentina@lists.macserve.net Objet : Re: About dll On 2/9/05 12:22 AM, "Roger Amar" wrote: > I already put it into the Rev folder. > That is what happens : every time I invoque Valentina in the startup > process, the script jumps to the end of handler without executing and > without any error message. > So, I can't initialize and start my app (which works fine on my Mac) It seems on windows you need yet set some property of stack to point to DLL. "externals" property it seems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Roger at logram.com Wed Feb 9 13:15:00 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 9 06:15:33 2005 Subject: Error 666 Message-ID: <028383377603B34D9728A1E80EA9B43B06C6C5@srv.Logram.local> Hello Ruslan, I get the timeOut error 666 on the windows platform while I have entered the 2 codes supplied in the init command. What is wrong ? Best regards, Roger; From sunshine at public.kherson.ua Wed Feb 9 14:34:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 06:34:59 2005 Subject: Error 666 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6C5@srv.Logram.local> Message-ID: On 2/9/05 2:15 PM, "Roger Amar" wrote: > Hello Ruslan, > > I get the timeOut error 666 on the windows platform while I have entered > the 2 codes supplied in the init command. > What is wrong ? May be you have provide wrong order for serials. The first must be MAC. Also check any typo If problems, contact me off 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 Claudius at sailer-online.de Wed Feb 9 20:07:24 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Feb 9 13:07:58 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: References: Message-ID: Hi Ruslan, Am 01. Feb 2005 um 10:33 Uhr schrieb Ruslan Zasukhin: > On 2/1/05 7:42 AM, "Claudius Sailer" wrote: > >> Hi, >> >> is it possible that following Code doesn't work in V4RB 1.10 >> >> UPDATE Buchungen SET BetragHerk=Betrag >> >> How can I do this when I need it? > > You try assign one field to another ? > > In the worse can you can write loop to do this. could you give me a short hint? tmpDB is VDatabase following doesn't work cmd="UPDATE Buchungen SET BetragHerk=Betrag" count=tmpDB.SQLExecute(cmd) how can I update new field? Do you have some exampleCode? normally I am working with mydatabase = new database but this is not defined at this step and moment. How can I make Update-routine with tmpDB? I have at the moment no idea!! Thanks for help Bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Feb 9 21:22:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 13:22:18 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: Message-ID: On 2/9/05 9:07 PM, "Claudius Sailer" wrote: >> You try assign one field to another ? >> >> In the worse can you can write loop to do this. > > could you give me a short hint? > tmpDB is VDatabase > > following doesn't work > cmd="UPDATE Buchungen SET BetragHerk=Betrag" > count=tmpDB.SQLExecute(cmd) > > how can I update new field? > Do you have some exampleCode? > > normally I am working with mydatabase = new database but this is not > defined at this step and moment. How can I make Update-routine with > tmpDB? I have at the moment no idea!! > > Thanks for help Hi Claudius curs = SqlSelect "SELECT ... WHERE ... " f1 = curs.field("f1") f2 = curs.field("f2") do f1 = f2 curs.UpdateRecord while curs.nextRecord db.Flush() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rbarber at yhb.att.ne.jp Thu Feb 10 06:05:18 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed Feb 9 15:02:12 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: References: Message-ID: <4D43BB70-7ADE-11D9-8732-000A95DAEEF0@yhb.att.ne.jp> Hi everyone I have been away from the list for a couple of days and missed these two post about sorting and language settings. I use Val 1 with Japanese all the time - VXCMD. (I would like to be testing Val 2 but so far their has been no move to produce a VXCMD product : ( although Ruslan assures me that it will eventually be added to the product line.) I have never been able to make the language settings work with Japanese so I set all the fields to ACSII. The original text is SJIS not Unicode, so it works fine. Sorting is also okay for the phonetic but not for Kanji. Perhaps if you have specific questions, you can respond and I can try to help. Ron On Feb 9, 2005, at 12:49 AM, Andy Fuchs wrote: > Hi J?rg, > > well that's the same question I am asking myself currently. But it > seems > there's no proper way to store double-byte languages (or even certain > single-byte languages) so they are handled properly in V 1.xx... > > andy > > >> From: Joerg Pressel >> Reply-To: Valentina Developers >> Date: Tue, 8 Feb 2005 16:40:21 +0100 >> To: Valentina Developers >> Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 >> >> Hi, >> >> my new app is almost finished and I'm thinking of a japanese language >> version. Does anybody here have experience, what happens to sort >> order, >> if you store japanese data as UTF8 in a Valentina db? >> >> Would you think sorting would work reasonable enough to be sold in a >> product for the japanese market? >> >> Thanks, >> -- >> J?rg >> >> ____________________________________________ >> three-2-one interaktive Medien GmbH >> >> joerg.pressel@three-2-one.com >> http://www.three-2-one.com >> fon: +49 2151 31945-11 >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Feb 10 00:31:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 9 16:31:19 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: <4D43BB70-7ADE-11D9-8732-000A95DAEEF0@yhb.att.ne.jp> Message-ID: On 2/9/05 11:05 PM, "ron barber" wrote: > Hi everyone > > I have been away from the list for a couple of days and missed these > two post about sorting and language settings. > > I use Val 1 with Japanese all the time - VXCMD. (I would like to be > testing Val 2 but so far their has been no move to produce a VXCMD > product : ( although Ruslan assures me that it will eventually be added > to the product line.) Ron, I wonder, may be you could play with Valentina for REALbasic 2.0 ? REALbasic is quite easy for use, and you can use RB DEMO for play. > I have never been able to make the language settings work with Japanese > so I set all the fields to ACSII. The original text is SJIS not > Unicode, so it works fine. Sorting is also okay for the phonetic but > not for Kanji. > > Perhaps if you have specific questions, you can respond and I can try > to 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 lfredricks at proactive-intl.com Wed Feb 9 16:50:22 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Feb 9 18:50:42 2005 Subject: [V4RB] Sorting japanese UTF8 in V4RB 1.11 In-Reply-To: <4D43BB70-7ADE-11D9-8732-000A95DAEEF0@yhb.att.ne.jp> Message-ID: <20050210005024.6511E17D01C@spatula.dreamhost.com> > I have been away from the list for a couple of days and > missed these two post about sorting and language settings. > > I use Val 1 with Japanese all the time - VXCMD. (I would like > to be testing Val 2 but so far their has been no move to > produce a VXCMD product : ( although Ruslan assures me that > it will eventually be added to the product line.) Fear not, it will happen. It may also have a name change to fit the Valentina 2 for RXXXlXXXn model ;-) We just need to clear the birth canal of Valentina 2 for Director and Valentina 2 for REALbasic. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From ssa at sevenrays.ru Thu Feb 10 17:33:10 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Thu Feb 10 08:33:54 2005 Subject: Special symbols References: Message-ID: <00b101c50f7d$83342b10$0905a8c0@develop.nd.ru> Good day! I have MS Access database with text on Czech language. I set "Czech" in field settings of VStudio, but it has no effect - all special symbols are gone. :( When i try to manually copy one string with special symbol in this field via VStudio databrowser, it just clears this field. How can i insert this base in Valentina? Alexey From Claudius at sailer-online.de Thu Feb 10 16:12:35 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 10 09:13:04 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: References: Message-ID: <2d32f7bd2821a0f59ab5b0d8c5d9709c@sailer-online.de> Hi Ruslan, Am 09. Feb 2005 um 20:22 Uhr schrieb Ruslan Zasukhin: > curs = SqlSelect "SELECT ... WHERE ... " > > f1 = curs.field("f1") > f2 = curs.field("f2") > > do > f1 = f2 > curs.UpdateRecord > > while curs.nextRecord > > db.Flush() I had to change a little bit: Dim count as integer Dim CUR as VCursor Dim Betrag, BetragHerk, BetragZiel as VField //Felder bei Buchungen hinzufuegen cmd="ALTER TABLE Buchungen ADD BetragHerk LONG NOT NULL" count=tmpDB.SQLExecute(cmd) cmd="ALTER TABLE Buchungen ADD BetragZiel LONG NOT NULL" count=tmpDB.SQLExecute(cmd) cmd="SELECT Betrag, BetragHerk, BetragZiel from Buchungen" CUR = tmpDB.SqlSelect(cmd, kV_Server, kV_NoLocks, kV_Random) Betrag = CUR.field("Betrag") BetragHerk = CUR.field("BetragHerk") BetragZiel = CUR.field("BetragZiel") res=CUR.FirstRecord do BetragHerk = Betrag BetragZiel = Betrag res=CUR.Update loop until NOT CUR.nextRecord tmpDB.Flush BUT it doesn't work. Betrag is always nice value and BetragHerk and BetragZiel is also changed, but it isn't rwitten to database. :-(( bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Thu Feb 10 17:02:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 10 10:02:49 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: <2d32f7bd2821a0f59ab5b0d8c5d9709c@sailer-online.de> References: <2d32f7bd2821a0f59ab5b0d8c5d9709c@sailer-online.de> Message-ID: <91ff4b62c47d60fce42b764f0deb1f47@sailer-online.de> Following works cmd="SELECT RecID, Betrag from Buchungen" CUR = tmpDB.SqlSelect(cmd, kV_Server, kV_NoLocks, kV_Random) ID=CUR.StringField("RecID") Betrag = CUR.StringField("Betrag") Ende=CUR.RecordCount For i=1 to Ende CUR.CurrentPosition=i cmd="UPDATE Buchungen SET BetragHerk="+betrag.getstring+", BetragZiel="+betrag.getstring+" WHERE RecID="+ID.getstring count=tmpDB.SQLExecute(cmd) next but it is extremely slow :-(( bye Claudius Am 10. Feb 2005 um 16:12 Uhr schrieb Claudius Sailer: > Hi Ruslan, > > Am 09. Feb 2005 um 20:22 Uhr schrieb Ruslan Zasukhin: > >> curs = SqlSelect "SELECT ... WHERE ... " >> >> f1 = curs.field("f1") >> f2 = curs.field("f2") >> >> do >> f1 = f2 >> curs.UpdateRecord >> >> while curs.nextRecord >> >> db.Flush() > > I had to change a little bit: > > Dim count as integer > Dim CUR as VCursor > Dim Betrag, BetragHerk, BetragZiel as VField > > //Felder bei Buchungen hinzufuegen > cmd="ALTER TABLE Buchungen ADD BetragHerk LONG NOT NULL" > count=tmpDB.SQLExecute(cmd) > > cmd="ALTER TABLE Buchungen ADD BetragZiel LONG NOT NULL" > count=tmpDB.SQLExecute(cmd) > > cmd="SELECT Betrag, BetragHerk, BetragZiel from Buchungen" > CUR = tmpDB.SqlSelect(cmd, kV_Server, kV_NoLocks, kV_Random) > > Betrag = CUR.field("Betrag") > BetragHerk = CUR.field("BetragHerk") > BetragZiel = CUR.field("BetragZiel") > > res=CUR.FirstRecord > > do > BetragHerk = Betrag > BetragZiel = Betrag > > res=CUR.Update > > loop until NOT CUR.nextRecord > > tmpDB.Flush > > BUT it doesn't work. Betrag is always nice value and BetragHerk and > BetragZiel is also changed, but it isn't rwitten to database. :-(( > > bye > > > Claudius > > -- > G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 > Homepage http://www.ClaSai.de > iChat ryhoruk > RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Feb 10 18:13:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 10:14:09 2005 Subject: Special symbols In-Reply-To: <00b101c50f7d$83342b10$0905a8c0@develop.nd.ru> Message-ID: On 2/10/05 4:33 PM, "Alexey Starchikhin" wrote: > Good day! > > I have MS Access database with text on Czech language. I set "Czech" in > field settings of VStudio, but it has no effect - all special symbols are > gone. :( When i try to manually copy one string with special symbol in > this field via VStudio databrowser, it just clears this field. How can i > insert this base in Valentina? I have forward this to Valentina Studio list and to Jochen. Jochen? Alexey, You can also try 1) ODBC utility that is on our site. most developers use it for years. find link on V4MD download page 2) import/export via TEXT files, as COMA separated, or else -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 18:14:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 10:14:37 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: <91ff4b62c47d60fce42b764f0deb1f47@sailer-online.de> Message-ID: On 2/10/05 6:02 PM, "Claudius Sailer" wrote: > Following works > > > cmd="SELECT RecID, Betrag from Buchungen" > CUR = tmpDB.SqlSelect(cmd, kV_Server, kV_NoLocks, kV_Random) > > ID=CUR.StringField("RecID") > Betrag = CUR.StringField("Betrag") > > Ende=CUR.RecordCount > > For i=1 to Ende > CUR.CurrentPosition=i > cmd="UPDATE Buchungen SET BetragHerk="+betrag.getstring+", > BetragZiel="+betrag.getstring+" WHERE RecID="+ID.getstring > count=tmpDB.SQLExecute(cmd) > next > > > but it is extremely slow :-(( Well, may be you will find interesting try V4RB 2.0 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 ssa at sevenrays.ru Thu Feb 10 19:24:11 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Thu Feb 10 10:24:36 2005 Subject: Special symbols References: Message-ID: <011101c50f8d$03a75330$0905a8c0@develop.nd.ru> I used ODBC utility, but it not helps. :( ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Jochen Peters" ; Sent: Thursday, February 10, 2005 7:13 PM Subject: Re: Special symbols > On 2/10/05 4:33 PM, "Alexey Starchikhin" wrote: > > > Good day! > > > > I have MS Access database with text on Czech language. I set "Czech" in > > field settings of VStudio, but it has no effect - all special symbols are > > gone. :( When i try to manually copy one string with special symbol in > > this field via VStudio databrowser, it just clears this field. How can i > > insert this base in Valentina? > > I have forward this to Valentina Studio list and to Jochen. > Jochen? > > > Alexey, > > You can also try > > 1) ODBC utility that is on our site. > most developers use it for years. > find link on V4MD download page > > 2) import/export via TEXT files, as COMA separated, or else > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Feb 10 18:47:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 10:47:58 2005 Subject: Special symbols In-Reply-To: <011101c50f8d$03a75330$0905a8c0@develop.nd.ru> Message-ID: On 2/10/05 6:24 PM, "Alexey Starchikhin" wrote: > I used ODBC utility, but it not helps. :( Strange, I am sure somebody from Czech republic have use Valentina. You work on Windows only? So you can't to use VAPP? Have you try to make db in Director with Czech And insert few records there? Does this works? If yes try to export this records using curs.ExportASCII() method. You should get some text file. Import back. Does this works? If yes. Then export from Access and import into the same way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 10 17:47:45 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 10 10:48:11 2005 Subject: Error 2 ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C6E5@srv.Logram.local> Hello, I cannot import any file because of error 2. This is my script : put "C:\volumes" into theFile put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp Don't work even with relative path. What is wrong ? Thanks for help, Roger; From ssa at sevenrays.ru Thu Feb 10 19:48:02 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Thu Feb 10 10:48:27 2005 Subject: Special symbols References: Message-ID: <012501c50f90$5880a3e0$0905a8c0@develop.nd.ru> And when i try to import it via Text file, Vstudio always reports "Kernel Error 603" ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Jochen Peters" ; Sent: Thursday, February 10, 2005 7:13 PM Subject: Re: Special symbols > On 2/10/05 4:33 PM, "Alexey Starchikhin" wrote: > > > Good day! > > > > I have MS Access database with text on Czech language. I set "Czech" in > > field settings of VStudio, but it has no effect - all special symbols are > > gone. :( When i try to manually copy one string with special symbol in > > this field via VStudio databrowser, it just clears this field. How can i > > insert this base in Valentina? > > I have forward this to Valentina Studio list and to Jochen. > Jochen? > > > Alexey, > > You can also try > > 1) ODBC utility that is on our site. > most developers use it for years. > find link on V4MD download page > > 2) import/export via TEXT files, as COMA separated, or else > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Claudius at sailer-online.de Thu Feb 10 17:54:32 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Feb 10 10:55:14 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: References: Message-ID: Am 10. Feb 2005 um 17:14 Uhr schrieb Ruslan Zasukhin: > On 2/10/05 6:02 PM, "Claudius Sailer" > wrote: > >> but it is extremely slow :-(( > > Well, may be you will find interesting try V4RB 2.0 beta ? I am waiting for 2.0 but I am also much caution because of the big work to move from 1.10 to 2.0. I am not sure but I expect much work to move all my database-classes to new structure and to transform 1.10 database to 2.0. bye Claudius From sunshine at public.kherson.ua Thu Feb 10 19:00:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 11:00:08 2005 Subject: Special symbols In-Reply-To: <012501c50f90$5880a3e0$0905a8c0@develop.nd.ru> Message-ID: On 2/10/05 6:48 PM, "Alexey Starchikhin" wrote: > And when i try to import it via Text file, Vstudio always reports "Kernel > Error 603" 603 -- table not found it seems. Jochen, looks you have many bugs in import area... > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: ; "Jochen Peters" > ; > Sent: Thursday, February 10, 2005 7:13 PM > Subject: Re: Special symbols > > >> On 2/10/05 4:33 PM, "Alexey Starchikhin" wrote: >> >>> Good day! >>> >>> I have MS Access database with text on Czech language. I set "Czech" > in >>> field settings of VStudio, but it has no effect - all special symbols > are >>> gone. :( When i try to manually copy one string with special symbol > in >>> this field via VStudio databrowser, it just clears this field. How > can i >>> insert this base in Valentina? >> >> I have forward this to Valentina Studio list and to Jochen. >> Jochen? >> >> >> Alexey, >> >> You can also try >> >> 1) ODBC utility that is on our site. >> most developers use it for years. >> find link on V4MD download page >> >> 2) import/export via TEXT files, as COMA separated, or else -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 19:02:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 11:02:55 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: Message-ID: On 2/10/05 6:54 PM, "Claudius Sailer" wrote: > > Am 10. Feb 2005 um 17:14 Uhr schrieb Ruslan Zasukhin: > >> On 2/10/05 6:02 PM, "Claudius Sailer" >> wrote: >> >>> but it is extremely slow :-(( >> >> Well, may be you will find interesting try V4RB 2.0 beta ? > > I am waiting for 2.0 but I am also much caution because of the big work > to move from 1.10 to 2.0. > I am not sure but I expect much work to move all my database-classes to > new structure and to transform 1.10 database to 2.0. It is not so big as you can think. Most changes this is Find/replace all. I think in any case there Is sense 1) look at 2.0 right now 2) subscribe to 2.0 beta list from our support page 3) download and install it, check examples and docs and new SQL grammar 4) try to port your project in the separate location. ** If I not mistake Jon have port his app in few hours. ** I have port _TEST project from 1.x to 2.0 in 20-30 minutes. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 10 19:05:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 10 11:05:19 2005 Subject: Error 2 ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6E5@srv.Logram.local> Message-ID: On 2/10/05 6:47 PM, "Roger Amar" wrote: Hi Roger, > I cannot import any file because of error 2. > > This is my script : > > put "C:\volumes" into theFile ^^^^^^^^^ this is name of text file ? > put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp > > Don't work even with relative path. > > What is wrong ? Error 2 -- the system can't the file specified I think you send wrong path. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 10 18:21:58 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 10 11:22:29 2005 Subject: Error 2 ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C6E6@srv.Logram.local> Hi Ruslan, The path is not wrong : c:\volumes; (file "volumes" on drive "c:" !!). I can see and open it. I tried with volumes.txt, volumes.whatever.. Do you want to see a picture of the screen ? Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 10 f?vrier 2005 18:05 ? : valentina@lists.macserve.net Objet : Re: Error 2 ? On 2/10/05 6:47 PM, "Roger Amar" wrote: Hi Roger, > I cannot import any file because of error 2. > > This is my script : > > put "C:\volumes" into theFile ^^^^^^^^^ this is name of text file ? > put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp > > Don't work even with relative path. > > What is wrong ? Error 2 -- the system can't the file specified I think you send wrong path. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 ohmitou at wanadoo.fr Fri Feb 11 17:19:16 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Fri Feb 11 07:19:27 2005 Subject: How to add a table ? Message-ID: <20050211131916.28117@smtp.wanadoo.fr> Hi, I work with RB4 1.x : I have a class : VDatavase. For example, mIndividus = new boIndividus mNoms = new boNoms I want to add a table : table=tmpDB.CreateBaseObject("temporaire") champ=tmpDB.BaseObject("temporaire").CreateField("nTemp",kv_TypeUMedium) It's OK ... But, during the creation of a new base, it is necessary to update it. And it is not possible for me to use of expression as: db.mTemporaire.nTemp.value=78 Etc... Is it possible to add a table so as to have : mIndividus = new boIndividus mNoms = new boNoms mTemporaires = new boTempraire in the definition of my VDatabase ? Regards -- Thierry Nauze Saint-Denis de la R?union From ssa at sevenrays.ru Fri Feb 11 16:23:00 2005 From: ssa at sevenrays.ru (Alexey Starchikhin) Date: Fri Feb 11 07:23:25 2005 Subject: Special symbols References: Message-ID: <006001c5103c$de3b7d50$0905a8c0@develop.nd.ru> I tried to import it via text file and ODBC utility. Now special symbols are here, but they are wrong anyway. :( If i just import this text file into Director text member, everything is allright, encoding is corrapting during ODBC import or in Valentina field. I'll try to use ImportASCII() method, but i can't understand how it works. Can you explain in detail, what sql string needed to construct a Cursor for this method? Just "Select * from table" or something else? Alexey ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, February 10, 2005 7:47 PM Subject: Re: Special symbols > On 2/10/05 6:24 PM, "Alexey Starchikhin" wrote: > > > I used ODBC utility, but it not helps. :( > > Strange, I am sure somebody from Czech republic have use Valentina. > > You work on Windows only? > So you can't to use VAPP? > > Have you try to make db in Director with Czech > And insert few records there? > Does this works? > > If yes try to export this records using curs.ExportASCII() method. > You should get some text file. > Import back. Does this works? > > If yes. Then export from Access and import into the same way. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Feb 11 15:53:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 07:53:49 2005 Subject: Special symbols In-Reply-To: <006001c5103c$de3b7d50$0905a8c0@develop.nd.ru> Message-ID: On 2/11/05 3:23 PM, "Alexey Starchikhin" wrote: > I tried to import it via text file and ODBC utility. Now special symbols > are here, but they are wrong anyway. :( > If i just import this text file into Director text member, everything is > allright, encoding is corrapting during ODBC import or in Valentina field. > Alexey, May be there is sense for you to try V4MD 2.0 ? It support unicode, so this problem must go away. For this you should subscribe to BETA list from our support page. There you will get URL for download of 2.0 > I'll try to use ImportASCII() method, but i can't understand how it works. > Can you explain in detail, what sql string needed to construct a Cursor for > this method? Just "Select * from table" or something else? It can be "select * from table". Also you can specify only fields you need and in the order you need. select f1, f4, f3 Also add WHERE to make cursors empty select * from T where Recid = 0 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 15:56:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 07:56:11 2005 Subject: How to add a table ? In-Reply-To: <20050211131916.28117@smtp.wanadoo.fr> Message-ID: On 2/11/05 3:19 PM, "Thierry Nauze" wrote: Hi Thierry, > I work with RB4 1.x : > > > I have a class : VDatavase. > > For example, > mIndividus = new boIndividus > mNoms = new boNoms > > I want to add a table : > table=tmpDB.CreateBaseObject("temporaire") > champ=tmpDB.BaseObject("temporaire").CreateField("nTemp",kv_TypeUMedium) > > It's OK ... > But, during the creation of a new base, it is necessary to update it. > > And it is not possible for me to use of expression as: > db.mTemporaire.nTemp.value=78 > Etc... > > Is it possible to add a table so as to have : > mIndividus = new boIndividus > mNoms = new boNoms > mTemporaires = new boTempraire > in the definition of my VDatabase ? Yes it is possible You can check example of V4RB "Upgrade Schema". -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 15:57:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 07:57:06 2005 Subject: Error 2 ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6E6@srv.Logram.local> Message-ID: On 2/10/05 7:21 PM, "Roger Amar" wrote: > Hi Ruslan, > > The path is not wrong : c:\volumes; (file "volumes" on drive "c:" !!). I can > see and open it. > I tried with volumes.txt, volumes.whatever.. > > Do you want to see a picture of the screen ? This will not help Roger. I have no ideas then... * May be you send path into wrong parameter of function? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Fri Feb 11 15:02:49 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri Feb 11 07:58:20 2005 Subject: Special symbols In-Reply-To: Message-ID: <000a01c51042$5f273c60$1d0a11ac@wgregoire> the last time i tried to import Hungarian I only succes with - Windows in Hungarian (VERY important, see Regional Settings) - ODBC_Valentina - Access else, i lost all my special chars (u' for ex) From pschwarz at lexialearning.com Fri Feb 11 10:36:41 2005 From: pschwarz at lexialearning.com (Paul Schwarz) Date: Fri Feb 11 09:37:02 2005 Subject: OS 9 Crash with vServer V4MD In-Reply-To: <20050211135354.919562C791D@edison.macserve.net> Message-ID: <001601c5104f$7c83cb40$7301a8c0@testLab8> Hi, I'm getting a hard (system) crash when I exit an OS 9 projector. This only happens when I'm using vServer. The client xtra and server versions are compatible (1.10 and 2.0a63), and no problems are seen in Win32 or OS X versions (with same version numbers). The server log shows this information: 10:23:37.240000 (240): (544) Closing database lexiadatamanager: OK 10:23:37.240000 (1972): Closing connection (544) Any ideas? This is a nasty one. The only way to recover is a full reboot of the client machine, and there is never any indication of error on the client machine - just a freeze. Thanks in advance, Paul From sunshine at public.kherson.ua Fri Feb 11 17:48:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 09:48:33 2005 Subject: Os 9 client, OS X server crash In-Reply-To: <007c01c50fe2$e9b620e0$6501a8c0@testLab8> Message-ID: On 2/11/05 4:39 AM, "Paul Schwarz" wrote: Hi Paul, > We're using 1.10 Mac client and 2.0a63 server. Everything is stable > except this combination: > > OS 9.2.2 client to OS 10.3.7 server Do you mean that if this client connect to Vserver Wiin, Then it works fine? > When our app quits, it crashes the whole client system. The server is > fine, and doesn't report any errors in the log file. But, the client > system has to be rebooted. cool > We are performing the CloseDB() and ValentinaShutdown() methods on > closing. Is there any reason we should try the latest revs of the server > and client xtra? I'd like not to if possible - all other combinations > seem to work quite well. For MacOS 9 we have use GUSI library that emulate POSIX API for Os9. May be problem somewhere here... And no any crash log yes? May be you can somehow add own print of debug messages to see after which exactly command we get crash? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 11 17:50:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 09:50:18 2005 Subject: OS 9 Crash with vServer V4MD In-Reply-To: <001601c5104f$7c83cb40$7301a8c0@testLab8> Message-ID: On 2/11/05 5:36 PM, "Paul Schwarz" wrote: Hi Paul, > I'm getting a hard (system) crash when I exit an OS 9 projector. This > only happens when I'm using vServer. The client xtra and server versions > are compatible (1.10 and 2.0a63), and no problems are seen in Win32 or > OS X versions (with same version numbers). > > The server log shows this information: > > 10:23:37.240000 (240): (544) Closing database lexiadatamanager: OK > 10:23:37.240000 (1972): Closing connection (544) > > Any ideas? This is a nasty one. The only way to recover is a full reboot > of the client machine, and there is never any indication of error on the > client machine - just a freeze. Have you assign to MacOS 9 project many RAM ? For OS 9 this is important issue. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Fri Feb 11 18:00:04 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 11 11:00:45 2005 Subject: Error 2 ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C6EB@srv.Logram.local> Hi Ruslan, Here is part of the script : put "C:\volumes" into theFile put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp CursorRef is valid, number of fields and field types as well. It is impossible to import any file, in any way, while the file is visible and can be opened. However, importation works fine on my Mac ! I can't know what to do and I really need some help. Could you ask someone who use Valentina with Metacard or Revolution to make a try ? Thank you in advance, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : vendredi 11 f?vrier 2005 14:57 ? : valentina@lists.macserve.net Objet : Re: Error 2 ? On 2/10/05 7:21 PM, "Roger Amar" wrote: > Hi Ruslan, > > The path is not wrong : c:\volumes; (file "volumes" on drive "c:" !!). > I can see and open it. > I tried with volumes.txt, volumes.whatever.. > > Do you want to see a picture of the screen ? This will not help Roger. I have no ideas then... * May be you send path into wrong parameter of function? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 11 19:11:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 11:11:15 2005 Subject: [VXCMD] Revolutioner need help! // : Error 2 ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6EB@srv.Logram.local> Message-ID: On 2/11/05 7:00 PM, "Roger Amar" wrote: > Hi Ruslan, > > Here is part of the script : > > put "C:\volumes" into theFile > put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp > > CursorRef is valid, number of fields and field types as well. > > It is impossible to import any file, in any way, while the file is visible and > can be opened. > However, importation works fine on my Mac ! > > I can't know what to do and I really need some help. > Could you ask someone who use Valentina with Metacard or Revolution to make a > try ? Hey guys! Who use VXCMD on Windows ? Can you please test import function ? Roger cannot make it working. Complains that file not found. May be for revolution it needs always send path with some delimiters? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Fri Feb 11 18:27:40 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Feb 11 11:34:28 2005 Subject: [VXCMD] Revolutioner need help! // : Error 2 ? In-Reply-To: References: Message-ID: >On 2/11/05 7:00 PM, "Roger Amar" wrote: > >> Hi Ruslan, >> >> Here is part of the script : >> >> put "C:\volumes" into theFile >> put Valentina ("Cursor_ImportASCII",cursorRef,theFile) into temp >> >> CursorRef is valid, number of fields and field types as well. >> >> It is impossible to import any file, in any way, while the file is >>visible and >> can be opened. >> However, importation works fine on my Mac ! >> >> I can't know what to do and I really need some help. >> Could you ask someone who use Valentina with Metacard or >>Revolution to make a >> try ? > >Hey guys! > >Who use VXCMD on Windows ? > >Can you please test import function ? > >Roger cannot make it working. >Complains that file not found. > >May be for revolution it needs always send path with some delimiters? > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Roger, send me your files (as zip) and I check this out for you. I don't have anyting handy to check on my own. Robert From ernestogiannotta at tiscalinet.it Fri Feb 11 19:13:39 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Fri Feb 11 12:14:23 2005 Subject: V4RB - UPDATE-Problem In-Reply-To: <2d32f7bd2821a0f59ab5b0d8c5d9709c@sailer-online.de> Message-ID: Hi! on 10-02-2005 16:12, Claudius Sailer at Claudius@sailer-online.de wrote: > res=CUR.FirstRecord > > do > BetragHerk = Betrag > BetragZiel = Betrag > should be: BetragHerk.SetString(Betrag.GetString) BetragZiel.SetString(Betrag.GetString) > res=CUR.Update > > loop until NOT CUR.nextRecord > > tmpDB.Flush > HTH Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From pschwarz at lexialearning.com Fri Feb 11 14:16:49 2005 From: pschwarz at lexialearning.com (Paul Schwarz) Date: Fri Feb 11 13:17:04 2005 Subject: OS 9 Crash with vServer V4MD Message-ID: <000401c5106e$3d16ab70$7008fa0a@testLab8> Hi, An update on our testing: The error is repeatable this way: 1) On Windows (or OS X, I assume), start vServer (our version is 2.0a63) 2) On MacOS 9.2.2, start Director. 3) In the Message Window, type this sequence (each line is a return): oServer = new(xtra "Vserver", {IP Address}, "sa", "sa", {port}, -1, {serialNum}) oServer.openSession() oServer.closeSession() oServer.Shutdown() 5) Quit Director Director quits, and OS 9 locks up. If only the first line is typed (instancing the xtra), the OS freeze does not occur. If the second line is entered, the freeze happens regardless of the closeSession(), Shutdown(), or even valentinaShutdown() is called. Could it be that closeSession() isn't working? -Paul From sunshine at public.kherson.ua Fri Feb 11 21:58:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 11 13:59:05 2005 Subject: OS 9 Crash with vServer V4MD In-Reply-To: <000401c5106e$3d16ab70$7008fa0a@testLab8> Message-ID: On 2/11/05 9:16 PM, "Paul Schwarz" wrote: Hi Paul, > An update on our testing: > > The error is repeatable this way: > > 1) On Windows (or OS X, I assume), start vServer (our version is 2.0a63) > 2) On MacOS 9.2.2, start Director. > 3) In the Message Window, type this sequence (each line is a return): > > oServer = new(xtra "Vserver", {IP Address}, "sa", "sa", {port}, -1, > {serialNum}) > oServer.openSession() > oServer.closeSession() > oServer.Shutdown() > > 5) Quit Director > > Director quits, and OS 9 locks up. > > If only the first line is typed (instancing the xtra), the OS freeze > does not occur. If the second line is entered, the freeze happens > regardless of the closeSession(), Shutdown(), or even > valentinaShutdown() is called. Could it be that closeSession() isn't > working? Minor points: * oServer.Shutdown() why you call this? this is to shutdown server itself. I think you do not want do this. I think you mean here ValentinaShutDown(). * I think that in any case freeze must not happens. well, this will be hard debugging. I will try to make it in the nearest days. Question: Paul, so here you use Vserver Xrta. Actually in your app you also should to use Vdaatabse xtra To open db on remote server, right? Actually Vserver xtra is optional. So question is: if work with Vdatabase Xtra, problem exists? new Vdatabase db.open( "dbnameOnServer" ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Sat Feb 12 01:06:35 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 11 18:07:09 2005 Subject: Relations Message-ID: <028383377603B34D9728A1E80EA9B43B06C6F1@srv.Logram.local> Hello, I have 2 BaseObjects with fields like this : BO1 : NumVolume Title Author ... BO2 : NumVolume NumTracks SupportType ... I would like to link the 2 BO in the purpose to get numTracks and SupportType when I select a record of BO1. I cannot find how to use the ObjectPtr to perform such link. Can anyone help ? Thanks in advance. Roger; From pschwarz at lexialearning.com Fri Feb 11 20:04:18 2005 From: pschwarz at lexialearning.com (Paul Schwarz) Date: Fri Feb 11 19:04:29 2005 Subject: OS 9 Crash with vServer V4MD Message-ID: <001001c5109e$c7e02580$7008fa0a@testLab8> A cleaner replication of the problem: 1) Start the server (We started it on WinXP). 2) Create this script in a test movie: On testVDB sMacSerial = "yourserialhere" sWinSerial = "yourserialhere" -- put yours in sEmbeddedSerial = "bigbunchofascii" ValentinaInit(8*1024*1024, sMacSerial, sWinSerial) ValentinaDebugLevel(2,1) oServer = new(xtra "Vserver","192.168.0.1","sa","sa",15432,-1,sEmbeddedSerial) oVDB = new(xtra "Vdatabase","192.168.0.1,"sa","sa",15432,-1,sEmbeddedSerial) oVdb.OpenDatabase("myServerDatabase") oVdb.CloseDatabase() ValentinaShutDown() oServer = VOID oVDB=VOID End When you run the script from a test movie on a Windows machine, there are no problems. Message window shows no errors. When you run the script from a test movie on a Mac OS 9.2.2. machine, there are no problems reported. Same as above. When you quit Director, the system hangs completely. Full restart needed. Ruslan, put on your cape, superman! :> -Paul From sunshine at public.kherson.ua Sat Feb 12 09:42:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 01:42:49 2005 Subject: Relations In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6F1@srv.Logram.local> Message-ID: On 2/12/05 2:06 AM, "Roger Amar" wrote: > Hello, > > I have 2 BaseObjects with fields like this : > > BO1 : NumVolume > Title > Author > ... > > BO2 : NumVolume > NumTracks > SupportType > ... > > I would like to link the 2 BO in the purpose to get numTracks and > SupportType when I select a record of BO1. > I cannot find how to use the ObjectPtr to perform such link. > > Can anyone help ? Add into BO2 field of ObjectPtr type > BO2 : NumVolume > NumTracks > SupportType BO1Ptr of type ObjectPtr To link you need assign into BO1Ptr field some RecId value of BO1. Later in SQL you will do select ... from BO1, BO2 WHERE BO1.recid = BO2.BO1Ptr -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Sat Feb 12 11:59:16 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Sat Feb 12 04:59:25 2005 Subject: OS 9 Crash with vServer V4MD In-Reply-To: <001001c5109e$c7e02580$7008fa0a@testLab8> Message-ID: > > ValentinaShutDown() > oServer = VOID > oVDB=VOID Hi Paul, destroy the references BEFORE shutting down Valentina: oServer = VOID oVDB=VOID ValentinaShutDown() best andy From sunshine at public.kherson.ua Sat Feb 12 13:01:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 05:01:41 2005 Subject: OS 9 Crash with vServer V4MD In-Reply-To: Message-ID: On 2/12/05 12:59 PM, "Andy Fuchs" wrote: >> >> ValentinaShutDown() >> oServer = VOID >> oVDB=VOID > > > Hi Paul, > > destroy the references BEFORE shutting down Valentina: > > oServer = VOID > oVDB=VOID > ValentinaShutDown() Btw, the correct point! Although in this case I think problem in some other place. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 12 13:03:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 05:03:25 2005 Subject: [Question] Anybody use VClient Classic + Vserver Message-ID: Hi All, Anybody use any Valentina client classic with Vserver? This can be V4RB_Client Classic V4MD_Client Classic VXCMD_Client Classic Never mind. Does it work for you? If yes please provide info what exactly client you use and what version? Thank you in advance. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Sat Feb 12 19:05:07 2005 From: Roger at logram.com (Roger Amar) Date: Sat Feb 12 12:05:46 2005 Subject: Relations Message-ID: <028383377603B34D9728A1E80EA9B43B06C6F3@srv.Logram.local> Hello Ruslan, Thank you. > To link you need assign into BO1Ptr field some RecId value of BO1. May I assign another field like "NumVolumes" in place of recID ? Best regards, Roger; > Hello, > > I have 2 BaseObjects with fields like this : > > BO1 : NumVolume > Title > Author > ... > > BO2 : NumVolume > NumTracks > SupportType > ... > > I would like to link the 2 BO in the purpose to get numTracks and > SupportType when I select a record of BO1. > I cannot find how to use the ObjectPtr to perform such link. > > Can anyone help ? Add into BO2 field of ObjectPtr type > BO2 : NumVolume > NumTracks > SupportType BO1Ptr of type ObjectPtr To link you need assign into BO1Ptr field some RecId value of BO1. May I assign another field like "NumVolumes" ? Later in SQL you will do select ... from BO1, BO2 WHERE BO1.recid = BO2.BO1Ptr -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Sat Feb 12 20:13:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 12 12:13:41 2005 Subject: Relations In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C6F3@srv.Logram.local> Message-ID: On 2/12/05 8:05 PM, "Roger Amar" wrote: > Hello Ruslan, > > Thank you. >> To link you need assign into BO1Ptr field some RecId value of BO1. > May I assign another field like "NumVolumes" in place of recID ? No, ObjectPtr works in pair with RecID only. And this is your benefit. ----------- IF you want to use pair T1. NumVolumes <- T2.ptr Then T2.ptr should be the same type as NumVolumes. This is regular, old known, link by value from Relational model. You can use this way. Then just create in T2 field of the same type. I think you know how to do this. The same as in all other RDBMS. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Sat Feb 12 19:25:38 2005 From: Roger at logram.com (Roger Amar) Date: Sat Feb 12 12:26:03 2005 Subject: Relations Message-ID: <028383377603B34D9728A1E80EA9B43B06C6F4@srv.Logram.local> Thank you, Ruslan Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : samedi 12 f?vrier 2005 19:14 ? : valentina@lists.macserve.net Objet : Re: Relations On 2/12/05 8:05 PM, "Roger Amar" wrote: > Hello Ruslan, > > Thank you. >> To link you need assign into BO1Ptr field some RecId value of BO1. > May I assign another field like "NumVolumes" in place of recID ? No, ObjectPtr works in pair with RecID only. And this is your benefit. ----------- IF you want to use pair T1. NumVolumes <- T2.ptr Then T2.ptr should be the same type as NumVolumes. This is regular, old known, link by value from Relational model. You can use this way. Then just create in T2 field of the same type. I think you know how to do this. The same as in all other RDBMS. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Sat Feb 12 23:07:32 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Sat Feb 12 16:08:03 2005 Subject: V4RB 1.11 - serious bug in index by words Message-ID: Hello Ruslan, I've found that when a field is Indexed By Words the high ASCII characters are not found e.g. FieldIndexedByWords.SetString 'ni?o' c = db.SQLSelect('Select * from Table Where FieldIndexedByWords = 'ni?o') // returns no finds, this is true for every accented character!! this is also with 1.10 and a big showstopper to me can you please take a look at it? thanks for listening Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Sun Feb 13 10:11:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 13 02:11:38 2005 Subject: V4RB 1.11 - serious bug in index by words In-Reply-To: Message-ID: On 2/13/05 12:07 AM, "erne" wrote: > Hello Ruslan, > > I've found that when a field is Indexed By Words the high ASCII > characters are not found > > e.g. > FieldIndexedByWords.SetString 'ni?o' > c = db.SQLSelect('Select * from Table Where FieldIndexedByWords = > 'ni?o') > // returns no finds, this is true for every accented character!! > > this is also with 1.10 and a big showstopper to me > can you please take a look at it? Hi Erne, You sure that field have correct language parameter? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Sun Feb 13 16:21:43 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Sun Feb 13 09:22:12 2005 Subject: V4RB 1.11 - serious bug in index by words In-Reply-To: References: Message-ID: Hi Ruslan, On 13 feb 2005, at 09:11, Ruslan Zasukhin wrote: > On 2/13/05 12:07 AM, "erne" wrote: > >> Hello Ruslan, >> >> I've found that when a field is Indexed By Words the high ASCII >> characters are not found >> >> e.g. >> FieldIndexedByWords.SetString 'ni=96o' >> c =3D db.SQLSelect('Select * from Table Where FieldIndexedByWords =3D >> 'ni=96o') >> // returns no finds, this is true for every accented character!! >> >> this is also with 1.10 and a big showstopper to me >> can you please take a look at it? > > Hi Erne, > > You sure that field have correct language parameter? > well... I double checked and found it a bit more complex I now can consistently reproduce the bug now only in Text method fields (the one I use for all around search) and only for certain high ascii chars (like =C3, =BC and many others) in fact I have not consistent results with String method fields... they seem to be found sometimes and not found some other times language setting seem to not affect... I got a sample project & db... can I send it to you? it's quite important for me since it breaks lots of searchs in my app Cool Runnings, Erne. |er| musical box |ne| a media store From ernestogiannotta at tiscalinet.it Mon Feb 14 13:27:30 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 14 06:27:48 2005 Subject: V4RB 1.11 - serious bug in index by words In-Reply-To: References: Message-ID: <122ee0ed78214cfee022b86df3288694@tiscalinet.it> Hello Ruslan, I follow up with some more findings On 13 feb 2005, at 16:21, erne wrote: > Hi Ruslan, > > On 13 feb 2005, at 09:11, Ruslan Zasukhin wrote: > >> On 2/13/05 12:07 AM, "erne" wrote: >> >>> Hello Ruslan, >>> >>> I've found that when a field is Indexed By Words the high ASCII >>> characters are not found >>> >>> e.g. >>> FieldIndexedByWords.SetString 'ni=96o' >>> c =3D db.SQLSelect('Select * from Table Where FieldIndexedByWords =3D >>> 'ni=96o') >>> // returns no finds, this is true for every accented character!! >>> >>> this is also with 1.10 and a big showstopper to me >>> can you please take a look at it? >> >> Hi Erne, >> >> You sure that field have correct language parameter? >> > > well... I double checked and found it a bit more complex > > I now can consistently reproduce the bug now > only in Text method fields (the one I use for all around search) > and only for certain high ascii chars (like =C3, =BC and many others) > > in fact I have not consistent results with String method fields... > they seem to be found sometimes and not found some other times > > language setting seem to not affect... > I got a sample project & db... can I send it to you? > > it's quite important for me since it breaks lots of searchs in my app > ok I got it... seems problem is all these strange characters are=20 considered as separators... well this breaks unicode indexed by words searches in V.1 ...I was asking for too much luck ;^) (if only we had the ability to define word separators for index by=20 words...:) OK, I heard it... let's move to V.2 :!) Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Mon Feb 14 14:30:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 14 06:31:02 2005 Subject: V4RB 1.11 - serious bug in index by words In-Reply-To: <122ee0ed78214cfee022b86df3288694@tiscalinet.it> Message-ID: On 2/14/05 2:27 PM, "erne" wrote: > OK, I heard it... let's move to V.2 :!) Yes Erne, Better stress test Valentina 2.0 :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Tue Feb 15 12:25:38 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 13:25:58 2005 Subject: RecID from Cursor In-Reply-To: References: Message-ID: <1eb2b61f9758e959f55a7b5e22ba1678@pcisys.net> Greetings, Not sure if this will get through on the listserv. It's been bounced as undeliverable once already. Therefore, I'm sending it to Ruslan as well. The question is... How does one get a record ID using a cursor? What is the exact syntax? Thanks, Chuck From sunshine at public.kherson.ua Tue Feb 15 21:30:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 13:30:46 2005 Subject: RecID from Cursor In-Reply-To: <1eb2b61f9758e959f55a7b5e22ba1678@pcisys.net> Message-ID: On 2/15/05 9:25 PM, "Chuck Pelto" wrote: Hi Chuck, > Greetings, > > Not sure if this will get through on the listserv. It's been bounced as > undeliverable once already. Therefore, I'm sending it to Ruslan as > well. > > The question is... > > How does one get a record ID using a cursor? What is the exact syntax? I think this is a FAQ. curs = db.SqlSelect( SELECT RecID, ... FROM T ) curs.ULongField( 1 ).value -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Tue Feb 15 12:37:31 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 13:37:34 2005 Subject: RecID from Cursor In-Reply-To: References: Message-ID: On Feb 15, 2005, at 12:30 PM, Ruslan Zasukhin wrote: > On 2/15/05 9:25 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> Greetings, >> >> Not sure if this will get through on the listserv. It's been bounced >> as >> undeliverable once already. Therefore, I'm sending it to Ruslan as >> well. >> >> The question is... >> >> How does one get a record ID using a cursor? What is the exact syntax? > > I think this is a FAQ. > > curs = db.SqlSelect( SELECT RecID, ... FROM T ) > > curs.ULongField( 1 ).value It might be. But it certainly isn't (1) blatantly obvious to the casual observer [or SQL neophyte] and (2) in the V4RB Reference Manual. Might want to add a call that it's a bit more easily recognized, e.g., curs.Field("rec_id").Value and put it in the reference manual under Class VCursor. Or curs.GetRecID(), as in the Class VBaseObject. Thanks, Chuck From sunshine at public.kherson.ua Tue Feb 15 21:39:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 13:39:59 2005 Subject: RecID from Cursor In-Reply-To: Message-ID: On 2/15/05 9:37 PM, "Chuck Pelto" wrote: >> curs = db.SqlSelect( SELECT RecID, ... FROM T ) >> >> curs.ULongField( 1 ).value > > It might be. But it certainly isn't (1) blatantly obvious to the casual > observer [or SQL neophyte] and (2) in the V4RB Reference Manual. It depend only on your SECLECT list SELECT f1, f2, RecId Then curs.ULongField( 3 ).value > Might want to add a call that it's a bit more easily recognized, e.g., > curs.Field("rec_id").Value and put it in the reference manual under > Class VCursor. Or curs.GetRecID(), as in the Class VBaseObject. This cannot work, because cursor can be built on few tables. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Tue Feb 15 12:50:39 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 13:50:46 2005 Subject: RecID from Cursor In-Reply-To: References: Message-ID: <52e10655d93c3855cdbcb045bbcd6977@pcisys.net> Okay.... Suppose I'm not SELECTing on RecID. I'm selecting on other data in the table. How do I get the record ID in that scenario? Example: SELECT * FROM table1 WHERE field1 = "foo" What is the call to get the record ID for the record the cursor ends up looking at, the SQLSelect() call comes up with anything? Regards, Chuck On Feb 15, 2005, at 12:39 PM, Ruslan Zasukhin wrote: > On 2/15/05 9:37 PM, "Chuck Pelto" wrote: > >>> curs = db.SqlSelect( SELECT RecID, ... FROM T ) >>> >>> curs.ULongField( 1 ).value >> >> It might be. But it certainly isn't (1) blatantly obvious to the >> casual >> observer [or SQL neophyte] and (2) in the V4RB Reference Manual. > > It depend only on your SECLECT list > > SELECT f1, f2, RecId > > Then > > curs.ULongField( 3 ).value > > >> Might want to add a call that it's a bit more easily recognized, e.g., >> curs.Field("rec_id").Value and put it in the reference manual under >> Class VCursor. Or curs.GetRecID(), as in the Class VBaseObject. > > This cannot work, because cursor can be built on few tables. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Tue Feb 15 21:07:51 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 14:08:04 2005 Subject: AW: RecID from Cursor In-Reply-To: <52e10655d93c3855cdbcb045bbcd6977@pcisys.net> Message-ID: > Okay.... > > Suppose I'm not SELECTing on RecID. > > I'm selecting on other data in the table. > > How do I get the record ID in that scenario? > .net/mailman/listinfo/valentina SELECT *,RecID FROM whereever WHERE whatever ... Florian From cbpelto at pcisys.net Tue Feb 15 13:10:27 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 14:10:32 2005 Subject: AW: RecID from Cursor In-Reply-To: References: Message-ID: <1497d4ca4a449a9cff80e87e4e828b27@pcisys.net> On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: > >> Okay.... >> >> Suppose I'm not SELECTing on RecID. >> >> I'm selecting on other data in the table. >> >> How do I get the record ID in that scenario? >> > .net/mailman/listinfo/valentina > > SELECT *,RecID FROM whereever WHERE whatever ... So then, getting the RecID would look like.... recID = curs.ULongField(?).Value() //???? Regards, Chuck From fb at memedia.de Tue Feb 15 21:18:32 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 14:18:34 2005 Subject: AW: AW: RecID from Cursor In-Reply-To: <1497d4ca4a449a9cff80e87e4e828b27@pcisys.net> Message-ID: Don't know. I am not into real basic. But maybe something like Curs.UlongField(curs.count()).value() If you have something like count? > > So then, getting the RecID would look like.... > > recID = curs.ULongField(?).Value() //???? > > Regards, > > Chuck > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From cbpelto at pcisys.net Tue Feb 15 13:19:51 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 14:19:57 2005 Subject: AW: RecID from Cursor In-Reply-To: <1497d4ca4a449a9cff80e87e4e828b27@pcisys.net> References: <1497d4ca4a449a9cff80e87e4e828b27@pcisys.net> Message-ID: <24b8f227bae8f07c497cae7690c39f29@pcisys.net> On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: > > On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: > >> >>> Okay.... >>> >>> Suppose I'm not SELECTing on RecID. >>> >>> I'm selecting on other data in the table. >>> >>> How do I get the record ID in that scenario? >>> >> .net/mailman/listinfo/valentina >> >> SELECT *,RecID FROM whereever WHERE whatever ... > > So then, getting the RecID would look like.... > > recID = curs.ULongField(?).Value() //???? Is the answer to my question "n"? Where n is the last field in all the field found in the SELECT *? Regards, Chuck From fb at memedia.de Tue Feb 15 21:23:36 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 14:23:41 2005 Subject: AW: AW: RecID from Cursor In-Reply-To: <24b8f227bae8f07c497cae7690c39f29@pcisys.net> Message-ID: I guess you got to wait for other (Real Basic) people to start working again. Ruslan is probably out of office (its about 1 am over there) :-) Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] Im Auftrag von Chuck Pelto > Gesendet: Dienstag, 15. Februar 2005 21:20 > An: Valentina Developers > Betreff: Re: AW: RecID from Cursor > > > On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: > > > > > On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: > > > >> > >>> Okay.... > >>> > >>> Suppose I'm not SELECTing on RecID. > >>> > >>> I'm selecting on other data in the table. > >>> > >>> How do I get the record ID in that scenario? > >>> > >> .net/mailman/listinfo/valentina > >> > >> SELECT *,RecID FROM whereever WHERE whatever ... > > > > So then, getting the RecID would look like.... > > > > recID = curs.ULongField(?).Value() //???? > > Is the answer to my question "n"? Where n is the last field in all the > field found in the SELECT *? > > Regards, > > Chuck > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From Claudius at sailer-online.de Tue Feb 15 21:32:30 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 15 14:32:36 2005 Subject: AW: AW: RecID from Cursor In-Reply-To: References: Message-ID: Hi, Am 15. Feb 2005 um 21:23 Uhr schrieb Florian Bogeschdorfer: > I guess you got to wait for other (Real Basic) people to start working > again. Ruslan is probably out of office (its about 1 am over there) :-) > > Florian > >>>>> Okay.... >>>>> >>>>> Suppose I'm not SELECTing on RecID. >>>>> >>>>> I'm selecting on other data in the table. >>>>> >>>>> How do I get the record ID in that scenario? >>>>> >>>> .net/mailman/listinfo/valentina >>>> >>>> SELECT *,RecID FROM whereever WHERE whatever ... >>> >>> So then, getting the RecID would look like.... >>> >>> recID = curs.ULongField(?).Value() //???? >> >> Is the answer to my question "n"? Where n is the last field in all the >> field found in the SELECT *? my usage and my way Dim CurKontoTausch as VCursor Dim field1, field3 as VString Dim field2 as VLong SQLString="select RecID, Konto_Name, Anfangs_Saldo FROM Konten WHERE Konto_Typ=1 ORDER BY Sortierung, Konto_Name" CurKontoTausch=meineDatenbank.SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random) Ende=CurKontoTausch.RecordCount field1=CurKontoTausch.stringfield("RecID") field2=CurKontoTausch.LongField("Anfangs_Saldo") field3=CurKontoTausch.stringfield("Konto_Name") For i=1 to Ende CurKontoTausch.CurrentPosition=i ListBox1.addrow field1.value NeueZeile=ListBox1.LastIndex ListBox1.cell(NeueZeile,1)=field3.getstring ListBox1.cell(NeueZeile,2)=format(KontoStandAlt/100,FormatZahlNegativ) ListBox1.cell(NeueZeile,3)=format(UmrechnungsFaktor,FormatZahlWaehrung) ListBox1.cell(NeueZeile,4)=format((KontoStandAlt*UmrechnungsFaktor)/ 100,FormatZahlNegativ) ListBox1.cell(NeueZeile,5)=format(KontoStandNeu/100,FormatZahlNegativ) ListBox1.cell(NeueZeile,6)=format((ListBox1.cell(NeueZeile,4).cdbl- ListBox1.cell(NeueZeile,5).cdbl),FormatZahlNegativ) next but you can also use Dim RecID as VULong RecID= CurKontoTausch.ULongfield("RecID") or faster coding RecID= CurKontoTausch.ULongfield(1) bye Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From cbpelto at pcisys.net Tue Feb 15 13:35:00 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 14:35:06 2005 Subject: AW: AW: RecID from Cursor In-Reply-To: References: Message-ID: <7e33dd640a85951b7bcabe38a9cb603d@pcisys.net> Maybe not, Florian, This is more like SQL than RB. The question is that with your suggested syntax for the SQL query, SELECT *, RecID..... ...the star means all fields. Right? Putting a comma and "RecID" after the star, seems to me to indicate All Fields + RecID. The placement would be all the fields in the table followed by the RecID field. According to Ruslan's comment about going after the field number where the RecID is found, (1) in his first example and (3) in his second, it seems logical to me that if the RecID is being tacked onto the end of all the other fields, that the value of n could be determined by a call of curs.FieldCount. Then use n in the call of... recID = curs.ULongField(n).Value() Regards, Chuck On Feb 15, 2005, at 1:23 PM, Florian Bogeschdorfer wrote: > I guess you got to wait for other (Real Basic) people to start working > again. Ruslan is probably out of office (its about 1 am over there) :-) > > Florian > >> -----Urspr?ngliche Nachricht----- >> Von: valentina-bounces@lists.macserve.net [mailto:valentina- >> bounces@lists.macserve.net] Im Auftrag von Chuck Pelto >> Gesendet: Dienstag, 15. Februar 2005 21:20 >> An: Valentina Developers >> Betreff: Re: AW: RecID from Cursor >> >> >> On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: >> >>> >>> On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: >>> >>>> >>>>> Okay.... >>>>> >>>>> Suppose I'm not SELECTing on RecID. >>>>> >>>>> I'm selecting on other data in the table. >>>>> >>>>> How do I get the record ID in that scenario? >>>>> >>>> .net/mailman/listinfo/valentina >>>> >>>> SELECT *,RecID FROM whereever WHERE whatever ... >>> >>> So then, getting the RecID would look like.... >>> >>> recID = curs.ULongField(?).Value() //???? >> >> Is the answer to my question "n"? Where n is the last field in all the >> field found in the SELECT *? >> >> Regards, >> >> Chuck >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Tue Feb 15 21:38:47 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 14:38:53 2005 Subject: AW: AW: AW: RecID from Cursor In-Reply-To: <7e33dd640a85951b7bcabe38a9cb603d@pcisys.net> Message-ID: You could also use SELECT RecID, * FROM ... Then it would be first again. Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces+fb=memedia.de@lists.macserve.net [mailto:valentina- > bounces+fb=memedia.de@lists.macserve.net] Im Auftrag von Chuck Pelto > Gesendet: Dienstag, 15. Februar 2005 21:35 > An: Valentina Developers > Betreff: Re: AW: AW: RecID from Cursor > > Maybe not, Florian, > > This is more like SQL than RB. The question is that with your suggested > syntax for the SQL query, SELECT *, RecID..... > > ...the star means all fields. Right? Putting a comma and "RecID" after > the star, seems to me to indicate All Fields + RecID. The placement > would be all the fields in the table followed by the RecID field. > > According to Ruslan's comment about going after the field number where > the RecID is found, (1) in his first example and (3) in his second, it > seems logical to me that if the RecID is being tacked onto the end of > all the other fields, that the value of n could be determined by a call > of curs.FieldCount. Then use n in the call of... > > recID = curs.ULongField(n).Value() > > Regards, > > Chuck > > On Feb 15, 2005, at 1:23 PM, Florian Bogeschdorfer wrote: > > > I guess you got to wait for other (Real Basic) people to start working > > again. Ruslan is probably out of office (its about 1 am over there) :-) > > > > Florian > > > >> -----Urspr?ngliche Nachricht----- > >> Von: valentina-bounces@lists.macserve.net [mailto:valentina- > >> bounces@lists.macserve.net] Im Auftrag von Chuck Pelto > >> Gesendet: Dienstag, 15. Februar 2005 21:20 > >> An: Valentina Developers > >> Betreff: Re: AW: RecID from Cursor > >> > >> > >> On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: > >> > >>> > >>> On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: > >>> > >>>> > >>>>> Okay.... > >>>>> > >>>>> Suppose I'm not SELECTing on RecID. > >>>>> > >>>>> I'm selecting on other data in the table. > >>>>> > >>>>> How do I get the record ID in that scenario? > >>>>> > >>>> .net/mailman/listinfo/valentina > >>>> > >>>> SELECT *,RecID FROM whereever WHERE whatever ... > >>> > >>> So then, getting the RecID would look like.... > >>> > >>> recID = curs.ULongField(?).Value() //???? > >> > >> Is the answer to my question "n"? Where n is the last field in all the > >> field found in the SELECT *? > >> > >> Regards, > >> > >> Chuck > >> _______________________________________________ > >> Valentina mailing list > >> Valentina@lists.macserve.net > >> http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From cbpelto at pcisys.net Tue Feb 15 13:47:42 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Feb 15 14:47:49 2005 Subject: AW: AW: AW: RecID from Cursor In-Reply-To: References: Message-ID: <3c929b3467f90a0dbba7a0314cea03b8@pcisys.net> True...if my understanding is not in error. Regards, Chuck On Feb 15, 2005, at 1:38 PM, Florian Bogeschdorfer wrote: > You could also use > > SELECT RecID, * FROM ... > > Then it would be first again. > > Florian > >> -----Urspr?ngliche Nachricht----- >> Von: valentina-bounces+fb=memedia.de@lists.macserve.net >> [mailto:valentina- >> bounces+fb=memedia.de@lists.macserve.net] Im Auftrag von Chuck Pelto >> Gesendet: Dienstag, 15. Februar 2005 21:35 >> An: Valentina Developers >> Betreff: Re: AW: AW: RecID from Cursor >> >> Maybe not, Florian, >> >> This is more like SQL than RB. The question is that with your >> suggested >> syntax for the SQL query, SELECT *, RecID..... >> >> ...the star means all fields. Right? Putting a comma and "RecID" after >> the star, seems to me to indicate All Fields + RecID. The placement >> would be all the fields in the table followed by the RecID field. >> >> According to Ruslan's comment about going after the field number where >> the RecID is found, (1) in his first example and (3) in his second, it >> seems logical to me that if the RecID is being tacked onto the end of >> all the other fields, that the value of n could be determined by a >> call >> of curs.FieldCount. Then use n in the call of... >> >> recID = curs.ULongField(n).Value() >> >> Regards, >> >> Chuck >> >> On Feb 15, 2005, at 1:23 PM, Florian Bogeschdorfer wrote: >> >>> I guess you got to wait for other (Real Basic) people to start >>> working >>> again. Ruslan is probably out of office (its about 1 am over there) >>> :-) >>> >>> Florian >>> >>>> -----Urspr?ngliche Nachricht----- >>>> Von: valentina-bounces@lists.macserve.net [mailto:valentina- >>>> bounces@lists.macserve.net] Im Auftrag von Chuck Pelto >>>> Gesendet: Dienstag, 15. Februar 2005 21:20 >>>> An: Valentina Developers >>>> Betreff: Re: AW: RecID from Cursor >>>> >>>> >>>> On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: >>>> >>>>> >>>>> On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: >>>>> >>>>>> >>>>>>> Okay.... >>>>>>> >>>>>>> Suppose I'm not SELECTing on RecID. >>>>>>> >>>>>>> I'm selecting on other data in the table. >>>>>>> >>>>>>> How do I get the record ID in that scenario? >>>>>>> >>>>>> .net/mailman/listinfo/valentina >>>>>> >>>>>> SELECT *,RecID FROM whereever WHERE whatever ... >>>>> >>>>> So then, getting the RecID would look like.... >>>>> >>>>> recID = curs.ULongField(?).Value() //???? >>>> >>>> Is the answer to my question "n"? Where n is the last field in all >>>> the >>>> field found in the SELECT *? >>>> >>>> Regards, >>>> >>>> Chuck >>>> _______________________________________________ >>>> Valentina mailing list >>>> Valentina@lists.macserve.net >>>> http://lists.macserve.net/mailman/listinfo/valentina >>> >>> _______________________________________________ >>> Valentina mailing list >>> Valentina@lists.macserve.net >>> http://lists.macserve.net/mailman/listinfo/valentina >>> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Tue Feb 15 21:55:19 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 14:55:26 2005 Subject: AW: AW: AW: AW: RecID from Cursor In-Reply-To: <3c929b3467f90a0dbba7a0314cea03b8@pcisys.net> Message-ID: > > True...if my understanding is not in error. > Well, in Director you would not be in error. Regards, Florian From andrew at learningware.com Tue Feb 15 14:58:49 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Feb 15 14:59:18 2005 Subject: V4MD: Save DB "As" In-Reply-To: <1eb2b61f9758e959f55a7b5e22ba1678@pcisys.net> References: <1eb2b61f9758e959f55a7b5e22ba1678@pcisys.net> Message-ID: <42126289.9050706@learningware.com> A user open up a database and makes a few changes and then decides to do a "Save As". This means that all the changes they have made need to get saved as a NEW database, but the database they have opened needs to remain as was the last time they did a "Save". I can't copy the the db files to a temporary location because they are locked. If I do a Dump() without first doing a Flush(), will the recent changes be included in the Dump()? In otherwords, perhaps I need to do: Dump() LoadDump(dumpFile, NEW_DATABASE_FILE) Should this work? From jda at his.com Tue Feb 15 16:03:49 2005 From: jda at his.com (jda) Date: Tue Feb 15 15:04:07 2005 Subject: AW: RecID from Cursor In-Reply-To: <24b8f227bae8f07c497cae7690c39f29@pcisys.net> References: <1497d4ca4a449a9cff80e87e4e828b27@pcisys.net> <24b8f227bae8f07c497cae7690c39f29@pcisys.net> Message-ID: >>>SELECT *,RecID FROM whereever WHERE whatever ... >> >>So then, getting the RecID would look like.... >> >>recID = curs.ULongField(?).Value() //???? > >Is the answer to my question "n"? Where n is the last field in all >the field found in the SELECT *? > Sorry, I haven't been following this thread too closely. But it seems you just want to get the recID, right? Here's what I do (V4RB): query = "select RecID from myTable where " + search myCursor = myDatabase.SQLselect(query, EVCursorLocation.kServerSide, EVLockType.kReadOnly) ... x = myCursor.Field("recID").value Is that what you are looking for? Jon From fb at memedia.de Tue Feb 15 22:44:05 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 15 15:44:12 2005 Subject: AW: V4MD: Save DB "As" In-Reply-To: <42126289.9050706@learningware.com> Message-ID: I have never seen a database behave like this before, I don't think that is a usual way a database should be treated since it is not like a .psd a single file but actually every record should be considered as a file. However how about the other way round: Before you open the DB, make a copy. This can easily be made. Then if the user choses "save as" you can flush, close the connection and copy the current database again to the new file. If the user decides not to save the original DB, you can restore to the copy you made before opening. If the user selects "save", you can again flush and replace the original DB. Best regards, Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] Im Auftrag von Andrew Sinning > Gesendet: Dienstag, 15. Februar 2005 21:59 > An: Valentina Developers > Betreff: V4MD: Save DB "As" > > A user open up a database and makes a few changes and then decides to do > a "Save As". This means that all the changes they have made need to get > saved as a NEW database, but the database they have opened needs to > remain as was the last time they did a "Save". > > I can't copy the the db files to a temporary location because they are > locked. > > If I do a Dump() without first doing a Flush(), will the recent changes > be included in the Dump()? In otherwords, perhaps I need to do: > > Dump() > LoadDump(dumpFile, NEW_DATABASE_FILE) > > Should this work? > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From ernestogiannotta at tiscalinet.it Tue Feb 15 22:57:44 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Tue Feb 15 15:58:03 2005 Subject: AW: AW: AW: RecID from Cursor In-Reply-To: References: Message-ID: <232155137fef8b1dff728f66b4bdfbf0@tiscalinet.it> Hi, On 15 feb 2005, at 21:38, Florian Bogeschdorfer wrote: > You could also use > > SELECT RecID, * FROM ... > > Then it would be first again. > and if you have a join you could do SELECT a.RecID, b.RecID, a.*, b.* FROM Tbl1 a, Tbl2 b... then you can get RecidOfTbl1 = curs.ULongField(1).Value RecidOfTbl2 = curs.ULongField(2).Value unfortunately V1.x sql doesn't support field alias (as in "a.RecID as RecidOfTbl1") and you can't use curs.Field("RecID") syntax because it can become ambiguos if there's more than one in cursor Cool Runnings, Erne. > Florian > >> -----Urspr?ngliche Nachricht----- >> Von: valentina-bounces+fb=memedia.de@lists.macserve.net >> [mailto:valentina- >> bounces+fb=memedia.de@lists.macserve.net] Im Auftrag von Chuck Pelto >> Gesendet: Dienstag, 15. Februar 2005 21:35 >> An: Valentina Developers >> Betreff: Re: AW: AW: RecID from Cursor >> >> Maybe not, Florian, >> >> This is more like SQL than RB. The question is that with your >> suggested >> syntax for the SQL query, SELECT *, RecID..... >> >> ...the star means all fields. Right? Putting a comma and "RecID" after >> the star, seems to me to indicate All Fields + RecID. The placement >> would be all the fields in the table followed by the RecID field. >> >> According to Ruslan's comment about going after the field number where >> the RecID is found, (1) in his first example and (3) in his second, it >> seems logical to me that if the RecID is being tacked onto the end of >> all the other fields, that the value of n could be determined by a >> call >> of curs.FieldCount. Then use n in the call of... >> >> recID = curs.ULongField(n).Value() >> >> Regards, >> >> Chuck >> >> On Feb 15, 2005, at 1:23 PM, Florian Bogeschdorfer wrote: >> >>> I guess you got to wait for other (Real Basic) people to start >>> working >>> again. Ruslan is probably out of office (its about 1 am over there) >>> :-) >>> >>> Florian >>> >>>> -----Urspr?ngliche Nachricht----- >>>> Von: valentina-bounces@lists.macserve.net [mailto:valentina- >>>> bounces@lists.macserve.net] Im Auftrag von Chuck Pelto >>>> Gesendet: Dienstag, 15. Februar 2005 21:20 >>>> An: Valentina Developers >>>> Betreff: Re: AW: RecID from Cursor >>>> >>>> >>>> On Feb 15, 2005, at 1:10 PM, Chuck Pelto wrote: >>>> >>>>> >>>>> On Feb 15, 2005, at 1:07 PM, Florian Bogeschdorfer wrote: >>>>> >>>>>> >>>>>>> Okay.... >>>>>>> >>>>>>> Suppose I'm not SELECTing on RecID. >>>>>>> >>>>>>> I'm selecting on other data in the table. >>>>>>> >>>>>>> How do I get the record ID in that scenario? >>>>>>> >>>>>> .net/mailman/listinfo/valentina >>>>>> >>>>>> SELECT *,RecID FROM whereever WHERE whatever ... >>>>> >>>>> So then, getting the RecID would look like.... >>>>> >>>>> recID = curs.ULongField(?).Value() //???? >>>> >>>> Is the answer to my question "n"? Where n is the last field in all >>>> the >>>> field found in the SELECT *? >>>> >>>> |er| musical box |ne| a media store From andrew at learningware.com Tue Feb 15 16:42:27 2005 From: andrew at learningware.com (Andrew Sinning) Date: Tue Feb 15 16:42:44 2005 Subject: AW: V4MD: Save DB "As" In-Reply-To: References: Message-ID: <42127AD3.4040807@learningware.com> Florian Bogeschdorfer wrote: Thanks Florian! This is pretty much what I've come up with, too, but the trouble is, it shouldn't go all the way back to how the db was when it was Opened, but rather how it was when the db was last Saved. Of course, ours customers don't care that "this isn't the way dbs work." They want the application to work like all the other applications they have worked with, including earlier versions of this same title. The fact that it uses a db in the backend doesn't concern them. ;-) Andrew (Victor and Corrie: This thread has to do with the Save Library As function.) >I have never seen a database behave like this before, I don't think that is >a usual way a database should be treated since it is not like a .psd a >single file but actually every record should be considered as a file. > >However how about the other way round: > >Before you open the DB, make a copy. This can easily be made. Then if the >user choses "save as" you can flush, close the connection and copy the >current database again to the new file. >If the user decides not to save the original DB, you can restore to the copy >you made before opening. >If the user selects "save", you can again flush and replace the original DB. > >Best regards, Florian > > > > > >>-----Urspr?ngliche Nachricht----- >>Von: valentina-bounces@lists.macserve.net [mailto:valentina- >>bounces@lists.macserve.net] Im Auftrag von Andrew Sinning >>Gesendet: Dienstag, 15. Februar 2005 21:59 >>An: Valentina Developers >>Betreff: V4MD: Save DB "As" >> >>A user open up a database and makes a few changes and then decides to do >>a "Save As". This means that all the changes they have made need to get >>saved as a NEW database, but the database they have opened needs to >>remain as was the last time they did a "Save". >> >>I can't copy the the db files to a temporary location because they are >>locked. >> >>If I do a Dump() without first doing a Flush(), will the recent changes >>be included in the Dump()? In otherwords, perhaps I need to do: >> >>Dump() >>LoadDump(dumpFile, NEW_DATABASE_FILE) >> >>Should this work? >> >>_______________________________________________ >>Valentina mailing list >>Valentina@lists.macserve.net >>http://lists.macserve.net/mailman/listinfo/valentina >> >> > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > > > > From sunshine at public.kherson.ua Wed Feb 16 00:45:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 15 16:45:53 2005 Subject: V4MD: Save DB "As" In-Reply-To: <42126289.9050706@learningware.com> Message-ID: On 2/15/05 10:58 PM, "Andrew Sinning" wrote: Hi Andrew, > A user open up a database and makes a few changes and then decides to do > a "Save As". This means that all the changes they have made need to get > saved as a NEW database, but the database they have opened needs to > remain as was the last time they did a "Save". Andrew, this is NOT database behavior. If you need THIS behavior, I doubt you should use DBMS. User have made changes....he have click OK? Then data are confirmed and go to db files. > I can't copy the the db files to a temporary location because they are > locked. > > If I do a Dump() without first doing a Flush(), will the recent changes > be included in the Dump()? In otherwords, perhaps I need to do: > > Dump() > LoadDump(dumpFile, NEW_DATABASE_FILE) > > Should this 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 ralf at end-if.de Wed Feb 16 00:08:59 2005 From: ralf at end-if.de (Ralf Sander) Date: Tue Feb 15 17:08:50 2005 Subject: searching for date only in datetime field Message-ID: How can I search for a date or date range ignoring the time in a datetime field? Cheers, Ralf From delong at redcort.com Tue Feb 15 15:46:46 2005 From: delong at redcort.com (Keith DeLong) Date: Tue Feb 15 17:47:16 2005 Subject: AW: AW: AW: RecID from Cursor In-Reply-To: <3c929b3467f90a0dbba7a0314cea03b8@pcisys.net> Message-ID: Hi Chuck, You guys are correct, n is the field order in the select statement. As a matter of habit I always select RecID first since the RecID in the cursor has to be accessed using the field number rather then the field name. Otherwise you'll find yourself hard coding the position in the select statement or calculating n using cursor.fieldcount. Either way is extremely fragile and crashes RB if you change your select statement later on and forget to change the RecID order. So if if you always SELECT RecID, Field1, etc., in RB you can use the following with confidence and not worry if you modify the select statement later on: recIDInteger = cursor.ULongField(1).Value or RecIDString = cursor.field(1).getstring Hope this helps, Keith DeLong > True...if my understanding is not in error. > > Regards, > > Chuck > On Feb 15, 2005, at 1:38 PM, Florian Bogeschdorfer wrote: > >> You could also use >> >> SELECT RecID, * FROM ... >> >> Then it would be first again. >> >> Florian >> >>> -----Urspr?ngliche Nachricht----- >>> Von: valentina-bounces+fb=memedia.de@lists.macserve.net >>> [mailto:valentina- >>> bounces+fb=memedia.de@lists.macserve.net] Im Auftrag von Chuck Pelto >>> Gesendet: Dienstag, 15. Februar 2005 21:35 >>> An: Valentina Developers >>> Betreff: Re: AW: AW: RecID from Cursor >>> >>> Maybe not, Florian, >>> >>> This is more like SQL than RB. The question is that with your >>> suggested >>> syntax for the SQL query, SELECT *, RecID..... >>> >>> ...the star means all fields. Right? Putting a comma and "RecID" after >>> the star, seems to me to indicate All Fields + RecID. The placement >>> would be all the fields in the table followed by the RecID field. >>> >>> According to Ruslan's comment about going after the field number where >>> the RecID is found, (1) in his first example and (3) in his second, it >>> seems logical to me that if the RecID is being tacked onto the end of >>> all the other fields, that the value of n could be determined by a >>> call >>> of curs.FieldCount. Then use n in the call of... >>> >>> recID = curs.ULongField(n).Value() >>> >>> Regards, From fb at memedia.de Wed Feb 16 08:14:47 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 16 01:14:54 2005 Subject: AW: AW: V4MD: Save DB "As" In-Reply-To: <42127AD3.4040807@learningware.com> Message-ID: > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] Im Auftrag von Andrew Sinning > Gesendet: Dienstag, 15. Februar 2005 23:42 > An: Valentina Developers > Betreff: Re: AW: V4MD: Save DB "As" > > Florian Bogeschdorfer wrote: > > Thanks Florian! > > This is pretty much what I've come up with, too, but the trouble is, it > shouldn't go all the way back to how the db was when it was Opened, but > rather how it was when the db was last Saved. > Of course. That is why you would replace the "original" copy when the program was started by a new copy. Save: flush, delete first copy, copy current database to a backup file Save As: flush, copy database to a new file, load backup file Quit without saving: load backup file Florian From sunshine at public.kherson.ua Wed Feb 16 10:23:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 02:54:33 2005 Subject: searching for date only in datetime field In-Reply-To: Message-ID: On 2/16/05 1:08 AM, "Ralf Sander" wrote: Hi Ralf, > How can I search for a date or date range ignoring the time in a > datetime field? This should work: WHERE fld > 'd/m/y 00:00:00' Format of date according your current settings -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Wed Feb 16 11:54:55 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 16 04:56:40 2005 Subject: RecID again Message-ID: <028383377603B34D9728A1E80EA9B43B06C710@srv.Logram.local> Hello Ruslan, When deleting records in a database, the positions of remaining records are not corresponding to their recID. So, one can't rely on recID to search records. Is there a way to rebuild table with new recIDs after deletions ? Or a way to use position number in a sql query ? Thanks, Roger; From rjb at robelko.com Wed Feb 16 12:20:38 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Feb 16 05:24:22 2005 Subject: RecID again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C710@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C710@srv.Logram.local> Message-ID: >Hello Ruslan, > >When deleting records in a database, the positions of remaining records >are not corresponding to their recID. >So, one can't rely on recID to search records. >Is there a way to rebuild table with new recIDs after deletions ? >Or a way to use position number in a sql query ? > >Thanks, > >Roger; > You can physically compact your database records by dumping them into xml file and then re-creating the database from that file. When you delete records, Valentina just makes those records available for re-use. This means the recids of remaining records do not change although their position (relative) does. When you add new records, the free records will be re-used, so the physical order of records will not correspond to the order of entries. This contributes a lot to Valentina's speed. Having recids fixed for life for a given record can be advantagous in some applications; for example, they can be used as unique identifier. That is,however, a minus for people who want to rely on physical order of records. In general, it is not a good idea to rely on that. If you need sequencing, you just need to have your own field to handle that. Robert From Roger at logram.com Wed Feb 16 12:30:51 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 16 05:31:24 2005 Subject: RecID again Message-ID: <028383377603B34D9728A1E80EA9B43B06C711@srv.Logram.local> Thank you, Robert. Did you got the files on my ftp ? Nice day, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : mercredi 16 f?vrier 2005 12:21 ? : Valentina Developers Objet : Re: RecID again >Hello Ruslan, > >When deleting records in a database, the positions of remaining records >are not corresponding to their recID. >So, one can't rely on recID to search records. >Is there a way to rebuild table with new recIDs after deletions ? >Or a way to use position number in a sql query ? > >Thanks, > >Roger; > You can physically compact your database records by dumping them into xml file and then re-creating the database from that file. When you delete records, Valentina just makes those records available for re-use. This means the recids of remaining records do not change although their position (relative) does. When you add new records, the free records will be re-used, so the physical order of records will not correspond to the order of entries. This contributes a lot to Valentina's speed. Having recids fixed for life for a given record can be advantagous in some applications; for example, they can be used as unique identifier. That is,however, a minus for people who want to rely on physical order of records. In general, it is not a good idea to rely on that. If you need sequencing, you just need to have your own field to handle that. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From ralf at end-if.de Wed Feb 16 12:39:31 2005 From: ralf at end-if.de (Ralf Sander) Date: Wed Feb 16 05:39:36 2005 Subject: searching for date only in datetime field In-Reply-To: References: Message-ID: <10db3161bf90298cefdb524650c4e2a8@end-if.de> Hi Ruslan, so, if I want to search for the 21/05/2004 it has to be: WHERE fld > '21/05/2004 00:00:00' AND fld < '22/05/2004 00:00:00' ? Cheers, Ralf > On 2/16/05 1:08 AM, "Ralf Sander" wrote: > > Hi Ralf, > >> How can I search for a date or date range ignoring the time in a >> datetime field? > > This should work: > > WHERE fld > 'd/m/y 00:00:00' > > Format of date according your current settings > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Roger at logram.com Wed Feb 16 12:50:13 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 16 05:50:51 2005 Subject: RecID again Message-ID: <028383377603B34D9728A1E80EA9B43B06C712@srv.Logram.local> Hi Robert, I was thinking about your reply to my question regarding the recID. The "Cursor_DeleteRecord" function needs "RecIndex" as 2nd param; I suppose "RecIndex" is the position number. Then, how to delete several records in a loop if I have selected them with a query which is not able to return the position number ? Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Roger Amar Envoy? : mercredi 16 f?vrier 2005 12:31 ? : Valentina Developers Objet : RE: RecID again Thank you, Robert. Did you got the files on my ftp ? Nice day, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : mercredi 16 f?vrier 2005 12:21 ? : Valentina Developers Objet : Re: RecID again >Hello Ruslan, > >When deleting records in a database, the positions of remaining records >are not corresponding to their recID. >So, one can't rely on recID to search records. >Is there a way to rebuild table with new recIDs after deletions ? >Or a way to use position number in a sql query ? > >Thanks, > >Roger; > You can physically compact your database records by dumping them into xml file and then re-creating the database from that file. When you delete records, Valentina just makes those records available for re-use. This means the recids of remaining records do not change although their position (relative) does. When you add new records, the free records will be re-used, so the physical order of records will not correspond to the order of entries. This contributes a lot to Valentina's speed. Having recids fixed for life for a given record can be advantagous in some applications; for example, they can be used as unique identifier. That is,however, a minus for people who want to rely on physical order of records. In general, it is not a good idea to rely on that. If you need sequencing, you just need to have your own field to handle that. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Wed Feb 16 12:46:23 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Feb 16 06:04:08 2005 Subject: RecID again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C711@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C711@srv.Logram.local> Message-ID: >Thank you, Robert. >Did you got the files on my ftp ? > >Nice day, >Roger; Yes and sent email to you directly. Not managed to run the final tests yet, though. Robert From cbpelto at pcisys.net Wed Feb 16 05:39:05 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 06:39:14 2005 Subject: AW: AW: AW: RecID from Cursor In-Reply-To: References: Message-ID: <5370fae966f3bf291db2e7174bf8ce59@pcisys.net> Greetings All, Want to thank everyone for the information provided in response to my question. Regards, Chuck From cbpelto at pcisys.net Wed Feb 16 05:44:51 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 06:44:54 2005 Subject: UpdateRecords Not Updating Message-ID: Okay.... ...next question. Using V4RB. Under what circumstances will the UpdateRecords() call fail to update a record. I'm doing the following... rslt = myDatabase.mTable.GoToRecID(recID) if rslt then myDatabase.mTable.SetBlank() myDatabase.mTable.field1.SetString(theString) myDatabase.mTable.field2.Value = theValue myDatabase.mTable.UpdateRecord() myDatabase.mTable.Flush() end if All this is being done in an method in the table, mTable. I've even tried self instead of myDatabase.mTable, but to no avail. The data is not being changed when I go back to look. Observing the data in the record using the properties views, during the running of the code in debug, it looks like everything should be going properly. The changed data in the record looks like it is properly changed. But, if I go back into the window and go back to the record, the data is not changed. Nor is it changed looking at it from inside VStudio. Regards, Chuck From Roger at logram.com Wed Feb 16 13:59:25 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 16 06:59:58 2005 Subject: RecID again Message-ID: <028383377603B34D9728A1E80EA9B43B06C713@srv.Logram.local> Thanks, but I did not receive your email yet. I was thinking about your reply to my question regarding the recID. The "Cursor_DeleteRecord" function needs "RecIndex" as 2nd param; I suppose "RecIndex" is the position number. Then, how to delete several records in a loop if I have selected them with a query which is not able to return the position number ? Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : mercredi 16 f?vrier 2005 12:46 ? : Valentina Developers Objet : RE: RecID again >Thank you, Robert. >Did you got the files on my ftp ? > >Nice day, >Roger; Yes and sent email to you directly. Not managed to run the final tests yet, though. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Wed Feb 16 15:05:20 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Feb 16 08:06:58 2005 Subject: RecID again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C712@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C712@srv.Logram.local> Message-ID: >Hi Robert, > >I was thinking about your reply to my question regarding the recID. >The "Cursor_DeleteRecord" function needs "RecIndex" as 2nd param; I >suppose "RecIndex" is the position number. >Then, how to delete several records in a loop if I have selected >them with a query which is not able to return the position number ? > >Roger; > Roger, The "Cursor_DeleteRecord" function doesn't need the 2nd param. It is optional. If you don't specify RecIndex, it deletes the current record of the cursor. If you speficy, let's say, 51, it will delete 51st record of the current cursor. This has nothing to do with recId. If you want to delete by recId, simply create a new cursor with that records only and delete the current record. Robert From andrew at learningware.com Wed Feb 16 08:34:38 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Feb 16 08:34:59 2005 Subject: AW: AW: V4MD: Save DB "As" In-Reply-To: References: Message-ID: <421359FE.7020304@learningware.com> I think what you are suggesting is that Flushing the db will un-lock it so that it is possible to make a copy of it. Everything I've tried up until now has stumbled over the locked-db file (can't be copied). I'll give this a try. Thanks! Florian Bogeschdorfer wrote: >Save: flush, delete first copy, copy current database to a backup file > > From andrew at learningware.com Wed Feb 16 09:03:49 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Feb 16 09:04:11 2005 Subject: AW: AW: V4MD: Save DB "As" In-Reply-To: <421359FE.7020304@learningware.com> References: <421359FE.7020304@learningware.com> Message-ID: <421360D5.4080107@learningware.com> In order to copy the db, I have to close the connection, but this turns out to be a pretty straight forward process, and it appears to be very fast. Thanks for your help. I think I am well on my way to having a Save As function. on Save me, makeBackup if IsObject(dbConn) then dbConn.Flush() if makeBackup then -- break dbConn CloseDatabase(dbConn) -- copy files to backup sourceDir = GetContainingPath(dbFile) backupDir = sourceDir&"dbBack"&Slash() baCreateFolder(backupDir) fileRoot = GetLastPathItem(dbFile) repeat with ext in dbExtensions -- [ "vdb", "dat", "ind", "blb"] fileName = fileRoot&"."&ext baCopyFile(sourceDir&fileName, backupDir&fileName, "Always") end repeat -- remake dbConn OpenDatabase(dbConn, dbFile) end if end if end Andrew Sinning wrote: > I think what you are suggesting is that Flushing the db will un-lock > it so that it is possible to make a copy of it. Everything I've tried > up until now has stumbled over the locked-db file (can't be copied). > > I'll give this a try. Thanks! > > Florian Bogeschdorfer wrote: > >> Save: flush, delete first copy, copy current database to a backup file >> >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > From sunshine at public.kherson.ua Wed Feb 16 18:20:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 10:20:50 2005 Subject: UpdateRecords Not Updating In-Reply-To: Message-ID: On 2/16/05 2:44 PM, "Chuck Pelto" wrote: Hi Chuck, > Okay.... > > ...next question. > > Using V4RB. > > Under what circumstances will the UpdateRecords() call fail to update a > record. > > I'm doing the following... > > rslt = myDatabase.mTable.GoToRecID(recID) > > if rslt then > > myDatabase.mTable.SetBlank() > myDatabase.mTable.field1.SetString(theString) > myDatabase.mTable.field2.Value = theValue > > myDatabase.mTable.UpdateRecord() > > myDatabase.mTable.Flush() > > end if If you going update few fields of table, you should not do SetBlank(). Because you erase values of all rest fields. SetBlank() must be called when you going do AddRecord() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 16 18:22:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 10:22:53 2005 Subject: searching for date only in datetime field In-Reply-To: <10db3161bf90298cefdb524650c4e2a8@end-if.de> Message-ID: On 2/16/05 1:39 PM, "Ralf Sander" wrote: > Hi Ruslan, > > so, if I want to search for the 21/05/2004 it has to be: > > WHERE fld > '21/05/2004 00:00:00' AND fld < '22/05/2004 00:00:00' > > ? Hi Ralf, No, this is not good. * well, it is possible to use BaseObject method mFld of type DATE with formula "fld" So this method will have type DATE and extract only date part -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Wed Feb 16 12:32:36 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 13:32:43 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: Hi Ruslan, That does not seem to solve the problem of UpdateRecord() not updating the record. Besides, I was, in my neophytic fashion, updating all the data in all the fields of the record. Regards, Chuck On Feb 16, 2005, at 9:20 AM, Ruslan Zasukhin wrote: > On 2/16/05 2:44 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> Okay.... >> >> ...next question. >> >> Using V4RB. >> >> Under what circumstances will the UpdateRecords() call fail to update >> a >> record. >> >> I'm doing the following... >> >> rslt = myDatabase.mTable.GoToRecID(recID) >> >> if rslt then >> >> myDatabase.mTable.SetBlank() >> myDatabase.mTable.field1.SetString(theString) >> myDatabase.mTable.field2.Value = theValue >> >> myDatabase.mTable.UpdateRecord() >> >> myDatabase.mTable.Flush() >> >> end if > > If you going update few fields of table, you should not do SetBlank(). > Because you erase values of all rest fields. > > SetBlank() must be called when you going do AddRecord() > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Feb 16 21:54:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 13:54:31 2005 Subject: UpdateRecords Not Updating In-Reply-To: Message-ID: On 2/16/05 9:32 PM, "Chuck Pelto" wrote: Hi Chuck, > That does not seem to solve the problem of UpdateRecord() not updating > the record. > > Besides, I was, in my neophytic fashion, updating all the data in all > the fields of the record. Well, may be you have unique field(s) ? And may be you try to save non-unique value. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Wed Feb 16 13:14:50 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 14:14:56 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: <3784975f3a8c81ebb577bc08360a61fc@pcisys.net> How would I recognize that I have establish such, inadvertantly? On Feb 16, 2005, at 12:54 PM, Ruslan Zasukhin wrote: > On 2/16/05 9:32 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> That does not seem to solve the problem of UpdateRecord() not updating >> the record. >> >> Besides, I was, in my neophytic fashion, updating all the data in all >> the fields of the record. > > Well, may be you have unique field(s) ? > > And may be you try to save non-unique value. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Wed Feb 16 14:52:17 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 15:52:24 2005 Subject: UpdateRecords Not Updating In-Reply-To: <3784975f3a8c81ebb577bc08360a61fc@pcisys.net> References: <3784975f3a8c81ebb577bc08360a61fc@pcisys.net> Message-ID: P.S. Just talked with my associate who runs things form the Windows side. He reports that the UpdateRecord() call works fine on his Windows machine, using the files I passed him from my Mac. Have we discovered a 'bug'? On Feb 16, 2005, at 1:14 PM, Chuck Pelto wrote: > How would I recognize that I have establish such, inadvertantly? > > On Feb 16, 2005, at 12:54 PM, Ruslan Zasukhin wrote: > >> On 2/16/05 9:32 PM, "Chuck Pelto" wrote: >> >> Hi Chuck, >> >>> That does not seem to solve the problem of UpdateRecord() not >>> updating >>> the record. >>> >>> Besides, I was, in my neophytic fashion, updating all the data in all >>> the fields of the record. >> >> Well, may be you have unique field(s) ? >> >> And may be you try to save non-unique value. >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: ruslan@paradigmasoft.com >> web: http://www.paradigmasoft.com >> >> To subscribe to the Valentina mail list go to: >> http://lists.macserve.net/mailman/listinfo/valentina >> ------------------------------------------------------------- >> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > From cbpelto at pcisys.net Wed Feb 16 14:57:37 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 15:57:47 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: <3784975f3a8c81ebb577bc08360a61fc@pcisys.net> Message-ID: <6058fef7d5b54132ce4a08f23149cb75@pcisys.net> P.P.S. I'm running on a 450 MHz G4 with Mac OS 10.3.8. On Feb 16, 2005, at 2:52 PM, Chuck Pelto wrote: > P.S. Just talked with my associate who runs things form the Windows > side. He reports that the UpdateRecord() call works fine on his > Windows machine, using the files I passed him from my Mac. > > Have we discovered a 'bug'? > > > On Feb 16, 2005, at 1:14 PM, Chuck Pelto wrote: > >> How would I recognize that I have establish such, inadvertantly? >> >> On Feb 16, 2005, at 12:54 PM, Ruslan Zasukhin wrote: >> >>> On 2/16/05 9:32 PM, "Chuck Pelto" wrote: >>> >>> Hi Chuck, >>> >>>> That does not seem to solve the problem of UpdateRecord() not >>>> updating >>>> the record. >>>> >>>> Besides, I was, in my neophytic fashion, updating all the data in >>>> all >>>> the fields of the record. >>> >>> Well, may be you have unique field(s) ? >>> >>> And may be you try to save non-unique value. >>> >>> >>> -- >>> Best regards, >>> Ruslan Zasukhin [ I feel the need...the need for speed ] >>> ------------------------------------------------------------- >>> e-mail: 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 >>> >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Wed Feb 16 23:42:04 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 16 16:42:18 2005 Subject: AW: AW: AW: V4MD: Save DB "As" In-Reply-To: <421360D5.4080107@learningware.com> Message-ID: Glad to help you Florian > > In order to copy the db, I have to close the connection, but this turns > out to be a pretty straight forward process, and it appears to be very > fast. Thanks for your help. I think I am well on my way to having a > Save As function. > From sunshine at public.kherson.ua Thu Feb 17 01:37:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 16 17:37:21 2005 Subject: UpdateRecords Not Updating In-Reply-To: Message-ID: On 2/16/05 11:52 PM, "Chuck Pelto" wrote: > P.S. Just talked with my associate who runs things form the Windows > side. He reports that the UpdateRecord() call works fine on his Windows > machine, using the files I passed him from my Mac. > > Have we discovered a 'bug'? Well, try to reproduce it in small separate project. I am sure that for many of people this works. You use 1.11 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Wed Feb 16 17:17:47 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Feb 16 18:17:56 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: <1c9ed68d4d99d5ad9ce4d271dc5b630b@pcisys.net> Roger that.... Got a test in mind for tomorrow. Too frazzled to try it tonight. And yes...using 1.11. TO: Others Anyone else here using a Mac and experiencing this sort of malfunction? Regards, Chuck On Feb 16, 2005, at 4:37 PM, Ruslan Zasukhin wrote: > On 2/16/05 11:52 PM, "Chuck Pelto" wrote: > >> P.S. Just talked with my associate who runs things form the Windows >> side. He reports that the UpdateRecord() call works fine on his >> Windows >> machine, using the files I passed him from my Mac. >> >> Have we discovered a 'bug'? > > Well, try to reproduce it in small separate project. > > I am sure that for many of people this works. > > You use 1.11 ? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 andy at foxwerk.de Thu Feb 17 02:40:40 2005 From: andy at foxwerk.de (Andy Fuchs) Date: Wed Feb 16 19:40:50 2005 Subject: UpdateRecords Not Updating In-Reply-To: <1c9ed68d4d99d5ad9ce4d271dc5b630b@pcisys.net> Message-ID: No > From: Chuck Pelto > Reply-To: Valentina Developers > Date: Wed, 16 Feb 2005 17:17:47 -0700 > To: Valentina Developers > Subject: Re: UpdateRecords Not Updating > > Roger that.... > > Got a test in mind for tomorrow. Too frazzled to try it tonight. > > And yes...using 1.11. > > TO: Others > > Anyone else here using a Mac and experiencing this sort of malfunction? > > Regards, > > Chuck > > On Feb 16, 2005, at 4:37 PM, Ruslan Zasukhin wrote: > >> On 2/16/05 11:52 PM, "Chuck Pelto" wrote: >> >>> P.S. Just talked with my associate who runs things form the Windows >>> side. He reports that the UpdateRecord() call works fine on his >>> Windows >>> machine, using the files I passed him from my Mac. >>> >>> Have we discovered a 'bug'? >> >> Well, try to reproduce it in small separate project. >> >> I am sure that for many of people this works. >> >> You use 1.11 ? >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: 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 >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From delong at redcort.com Thu Feb 17 15:56:25 2005 From: delong at redcort.com (Keith DeLong) Date: Thu Feb 17 17:56:54 2005 Subject: Cursor size and memory/speed Message-ID: Ruslan (or anyone who knows this), I am doing a cursor selection and am concerned only eith the final record according to the ORDER BY of my selection (cur.current position = cursor.recordcount) If this is all I am doing with the cursor, does it matter significantly from Valentina's perspective in terms of speed and/or memory use if the cursor is 500 records or 500 thousand records? If it matters alot, I can take the time to put a bottom boundary on my select. If it doesn't matter much, it simplifies my world greatly :-) I don't have any really large database files to test this so I appreciate any feedback. I'm using V4RB 1.11. Thanks, Keith DeLong From sunshine at public.kherson.ua Fri Feb 18 14:53:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 06:53:38 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: On 2/18/05 1:56 AM, "Keith DeLong" wrote: > Ruslan (or anyone who knows this), > > I am doing a cursor selection and am concerned only eith the final record > according to the ORDER BY of my selection (cur.current position = > cursor.recordcount) > > If this is all I am doing with the cursor, does it matter significantly from > Valentina's perspective in terms of speed and/or memory use if the cursor is > 500 records or 500 thousand records? In the second case you will eat 1000 times more RAM. Because cursor is kind of array of RecIDs. The bigger selection the bigger array. 500K recs * 4 bytes = 2MB > If it matters alot, I can take the time to put a bottom boundary on my > select. If it doesn't matter much, it simplifies my world greatly :-) If you can reduce the number of selected records better do this. > I don't have any really large database files to test this so I appreciate > any feedback. I'm using V4RB 1.11. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Fri Feb 18 14:13:46 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Feb 18 07:21:40 2005 Subject: Cursor size and memory/speed In-Reply-To: References: Message-ID: >On 2/18/05 1:56 AM, "Keith DeLong" wrote: > >> Ruslan (or anyone who knows this), >> >> I am doing a cursor selection and am concerned only eith the final record >> according to the ORDER BY of my selection (cur.current position = >> cursor.recordcount) >> >> If this is all I am doing with the cursor, does it matter significantly from >> Valentina's perspective in terms of speed and/or memory use if the cursor is >> 500 records or 500 thousand records? > >In the second case you will eat 1000 times more RAM. >Because cursor is kind of array of RecIDs. >The bigger selection the bigger array. > > 500K recs * 4 bytes = 2MB > >> If it matters alot, I can take the time to put a bottom boundary on my >> select. If it doesn't matter much, it simplifies my world greatly :-) > >If you can reduce the number of selected records better do this. > >> I don't have any really large database files to test this so I appreciate >> any feedback. I'm using V4RB 1.11. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] What about sql option to return only n top records? Robert From sunshine at public.kherson.ua Fri Feb 18 15:26:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 07:26:11 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: On 2/18/05 3:13 PM, "Robert Brenstein" wrote: > What about sql option to return only n top records? If looks deeply, this option really speed up thins or optimise something in very rare cases. In most case you still must build full joins, then do sorting of all records and so on. To really get speed up it needs to write quite special algs for major operations. Not easy task. In 2.0 we support syntax, and probably semantic of this, Just I think it will not give speed up, just correct 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 rjb at robelko.com Fri Feb 18 15:14:33 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Feb 18 08:21:17 2005 Subject: Cursor size and memory/speed In-Reply-To: References: Message-ID: >On 2/18/05 3:13 PM, "Robert Brenstein" wrote: > >> What about sql option to return only n top records? > >If looks deeply, this option really speed up thins or optimise something in >very rare cases. In most case you still must build full joins, then do >sorting of all records and so on. > >To really get speed up it needs to write quite special algs for major >operations. Not easy task. > >In 2.0 we support syntax, and probably semantic of this, >Just I think it will not give speed up, just correct result. > Even if the kernel has to do the same work, the amount of data passed to the caller can be substantially smaller, so for repeat calls (I do such inquires in a loop, for example) there should be overall performance increase (may be less for v4rb but more for vxcmd; even greater when connecting to val server over net). Robert From delong at redcort.com Fri Feb 18 08:47:49 2005 From: delong at redcort.com (Keith DeLong) Date: Fri Feb 18 10:48:18 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: Running a number of experiments on 50,000 record sets, Ruslan confirms my suspicions as to how Valentina obtains and manages the cursor. After thinking about my particular problem for some months, it is good to hear Ruslan say these types of algorithms are much deceptively hard! Thanks for the discussion Guys, Keith > On 2/18/05 3:13 PM, "Robert Brenstein" wrote: > >> What about sql option to return only n top records? > > If looks deeply, this option really speed up thins or optimise something in > very rare cases. In most case you still must build full joins, then do > sorting of all records and so on. > > To really get speed up it needs to write quite special algs for major > operations. Not easy task. > > In 2.0 we support syntax, and probably semantic of this, > Just I think it will not give speed up, just correct result. > From sunshine at public.kherson.ua Fri Feb 18 19:20:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 11:20:45 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: On 2/18/05 6:47 PM, "Keith DeLong" wrote: Hi Keith, > Running a number of experiments on 50,000 record sets, Ruslan confirms my > suspicions as to how Valentina obtains and manages the cursor. > > After thinking about my particular problem for some months, it is good to > hear Ruslan say these types of algorithms are much deceptively hard! What exactly task you have ? Are on on beta list ? Have you see new features of 2.0 ? May be they can help resolve your task better... And may be you will invite few new features as Oliver do last days :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Fri Feb 18 10:19:09 2005 From: delong at redcort.com (Keith DeLong) Date: Fri Feb 18 12:19:15 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: Hi Ruslan, > Hi Keith, > >> Running a number of experiments on 50,000 record sets, Ruslan confirms my >> suspicions as to how Valentina obtains and manages the cursor. >> >> After thinking about my particular problem for some months, it is good to >> hear Ruslan say these types of algorithms are much deceptively hard! > > What exactly task you have ? Same task I've been wrestling with for some months. The tasks is to get the most recent entry in a table for a given worker. I've explored a lot of solutions. For several years I used a separate table to record the last entry. After lots of minor issues with this solution, I experimented using the max function (which is unreliable with doubles if you remember from last fall), and finally settled on just getting all records ordered by date/time (the seconds actually) and using cur.recordcount to access the record. A situation that seemed so straight forward proved to have many issues along the way when one starts editing, deleting, and otherwise managing the data. > Are on on beta list ? Yes. > Have you see new features of 2.0 ? Only from reading what's on the list. I've been busy ;-) My Virtual TimeClock commercial software was delayed for a major update for more than a year through 2003 waiting for the long promised Valentina Server. When our discussions helped me realize I did not need most of the power of a database server, I took about six months in 2004 and wrote my own client-server implementation using sockets in RB 5.5. We ran a beta with a couple dozen clients through the fall and released it last December. Our RB/V4RB 1.11 client-server implementation is working flawlessly :-) As I was working on a minor update release I ran across a customer who was growing a database quite quickly so I was evaluating the solution above with a projected 2-10 years data involved. > May be they can help resolve your task better... > And may be you will invite few new features as Oliver do last days :-) I look forward to exploring the new options available in 2.0. Our new release gives us some breathing room so I plan to take a good look at 2.0 in the next couple of months. Once I am comfortable with the stability and maturity of 2.0, I hope it allows me to update all of my projects. Keith From cbpelto at pcisys.net Fri Feb 18 13:51:57 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 18 14:52:18 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: <621a2b1a7c9cc8f124f7184ff7515de4@pcisys.net> Okay... ....trying different approaches to skin this particular 'cat', I used the cursor technique of cur.Field("my_field").SetString(theString) Then I applied cur.Update(). result = cur.Update() I noticed something. After the call, result was false. So I delved into the VCursor and saw it was READONLY. Looking at the reference material, I could not see anything that gave me the syntax for making a cursor READ-WRITE. WHAT is the call to accomplish that? Regards, Chuck On Feb 16, 2005, at 4:37 PM, Ruslan Zasukhin wrote: > On 2/16/05 11:52 PM, "Chuck Pelto" wrote: > >> P.S. Just talked with my associate who runs things form the Windows >> side. He reports that the UpdateRecord() call works fine on his >> Windows >> machine, using the files I passed him from my Mac. >> >> Have we discovered a 'bug'? > > Well, try to reproduce it in small separate project. > > I am sure that for many of people this works. > > You use 1.11 ? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Feb 18 23:04:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 15:04:29 2005 Subject: Cursor size and memory/speed In-Reply-To: Message-ID: On 2/18/05 8:19 PM, "Keith DeLong" wrote: >> What exactly task you have ? > > Same task I've been wrestling with for some months. The tasks is to get the > most recent entry in a table for a given worker. I've explored a lot of > solutions. For several years I used a separate table to record the last > entry. After lots of minor issues with this solution, I experimented using > the max function (which is unreliable with doubles if you remember from last > fall), and finally settled on just getting all records ordered by date/time > (the seconds actually) and using cur.recordcount to access the record. > > A situation that seemed so straight forward proved to have many issues along > the way when one starts editing, deleting, and otherwise managing the data. Sounds like new Vfield.Find() functions can be useful for you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 18 23:05:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 15:05:26 2005 Subject: UpdateRecords Not Updating In-Reply-To: <621a2b1a7c9cc8f124f7184ff7515de4@pcisys.net> Message-ID: On 2/18/05 10:51 PM, "Chuck Pelto" wrote: > Okay... > > ....trying different approaches to skin this particular 'cat', I used > the cursor technique of cur.Field("my_field").SetString(theString) > > Then I applied cur.Update(). > > result = cur.Update() > > I noticed something. After the call, result was false. > > So I delved into the VCursor and saw it was READONLY. > > Looking at the reference material, I could not see anything that gave > me the syntax for making a cursor READ-WRITE. WHAT is the call to > accomplish that? Looks into docs of db.SqlSelect() It have 3 parameters to control how to create cursor. If your docs do not have this then update 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 cbpelto at pcisys.net Fri Feb 18 14:21:03 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 18 15:21:14 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: On Feb 18, 2005, at 2:05 PM, Ruslan Zasukhin wrote: > > Looks into docs of db.SqlSelect() > > It have 3 parameters to control how to create cursor. > > If your docs do not have this then update docs I can see the three parameters. [inCursorLocation] Location of cusror. Default = kClient [inLockType] Lock type for records of cursor. Default = kReadOnly. [inCursorDirection] Direction of cursor. Default = kForwardOnly. What is the call OTHER THAN "kReadOnly"? Furthermore, where can I find information on all the variants of all teh parameters? Regards, Chuck From sunshine at public.kherson.ua Fri Feb 18 23:28:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 15:28:55 2005 Subject: UpdateRecords Not Updating In-Reply-To: Message-ID: On 2/18/05 11:21 PM, "Chuck Pelto" wrote: > > On Feb 18, 2005, at 2:05 PM, Ruslan Zasukhin wrote: >> >> Looks into docs of db.SqlSelect() >> >> It have 3 parameters to control how to create cursor. >> >> If your docs do not have this then update docs > > I can see the three parameters. > > [inCursorLocation] Location of cusror. Default = kClient > [inLockType] Lock type for records of cursor. Default = kReadOnly. > [inCursorDirection] Direction of cursor. Default = kForwardOnly. > > What is the call OTHER THAN "kReadOnly"? > > Furthermore, where can I find information on all the variants of all > teh parameters? You need SqlSelect( query, kV_Server, kV_ReadWrite, kV_Random ) Also note that you can update cursor only if it is build on single table. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Fri Feb 18 14:44:55 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Feb 18 15:45:06 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: <873780da3d435c3cf71b4d11e1694814@pcisys.net> Thanks. Where can I find ALL the variants for all the parameters? And I am trying to update just one table in this activity. Regards, Chuck On Feb 18, 2005, at 2:28 PM, Ruslan Zasukhin wrote: > On 2/18/05 11:21 PM, "Chuck Pelto" wrote: > >> >> On Feb 18, 2005, at 2:05 PM, Ruslan Zasukhin wrote: >>> >>> Looks into docs of db.SqlSelect() >>> >>> It have 3 parameters to control how to create cursor. >>> >>> If your docs do not have this then update docs >> >> I can see the three parameters. >> >> [inCursorLocation] Location of cusror. Default = kClient >> [inLockType] Lock type for records of cursor. Default = kReadOnly. >> [inCursorDirection] Direction of cursor. Default = kForwardOnly. >> >> What is the call OTHER THAN "kReadOnly"? >> >> Furthermore, where can I find information on all the variants of all >> teh parameters? > > You need > > SqlSelect( query, kV_Server, kV_ReadWrite, kV_Random ) > > Also note that you can update cursor only if it is build on single > table. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat Feb 19 01:10:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 18 17:10:37 2005 Subject: UpdateRecords Not Updating In-Reply-To: <873780da3d435c3cf71b4d11e1694814@pcisys.net> Message-ID: On 2/18/05 11:44 PM, "Chuck Pelto" wrote: > Thanks. > > Where can I find ALL the variants for all the parameters? > > And I am trying to update just one table in this activity. Chuck, V4RBReference.pdf, page 15 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 21 16:11:35 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Feb 21 09:12:05 2005 Subject: (no subject) Message-ID: Hi Ruslan! I am looking for a new programming environment additional to Director and since Valentina is a main point, I would like to know whether the client/server solution is available for all environments listed on the website. I am thinking about .NET and C++. What would you suggest for Windows Only, regarding Valentina? Best regards, Florian From sunshine at public.kherson.ua Mon Feb 21 17:30:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 09:31:01 2005 Subject: clients, choice for windows In-Reply-To: Message-ID: On 2/21/05 5:11 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > I am looking for a new programming environment additional to Director and > since Valentina is a main point, I would like to know whether the > client/server solution is available for all environments listed on the > website. > I am thinking about .NET and C++. What would you suggest for Windows Only, > regarding Valentina? I'd suggest VCOM. It have client, and looks complete. VNET -- no client. And I am not sure I like what I see. I do not know C#. Practically zero. so VNET was job of other developer. he have implement own vision. And again I think I not like this too much. in VNET 2.0 we will do all self regarding new API as we have now V4RB and V4MD 2.0 C++ is ok, although it is more hard language as you know Also exists client for Revolution...but this is if you like 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 cbpelto at pcisys.net Mon Feb 21 08:48:16 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Feb 21 09:48:51 2005 Subject: UpdateRecords Not Updating In-Reply-To: References: Message-ID: <3f81de3e1def16fb3c320c6d9311d40f@pcisys.net> Thanks. Added the parameter and the thing works properly now. Regards, Chuck On Feb 18, 2005, at 4:10 PM, Ruslan Zasukhin wrote: > On 2/18/05 11:44 PM, "Chuck Pelto" wrote: > >> Thanks. >> >> Where can I find ALL the variants for all the parameters? >> >> And I am trying to update just one table in this activity. > > Chuck, > > V4RBReference.pdf, page 15 > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Roger at logram.com Mon Feb 21 17:38:04 2005 From: Roger at logram.com (Roger Amar) Date: Mon Feb 21 10:38:51 2005 Subject: How to sort a cursor ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C72D@srv.Logram.local> Hi Ruslan, How to sort an existing cursor without remove and recreate it ? Thanks in advance, Best regards, Roger; From sunshine at public.kherson.ua Mon Feb 21 19:53:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 21 11:54:11 2005 Subject: How to sort a cursor ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C72D@srv.Logram.local> Message-ID: On 2/21/05 6:38 PM, "Roger Amar" wrote: > Hi Ruslan, > > How to sort an existing cursor without remove and recreate it ? No way, Roger. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Mon Feb 21 19:19:00 2005 From: Roger at logram.com (Roger Amar) Date: Mon Feb 21 12:19:40 2005 Subject: How to sort a cursor ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C72F@srv.Logram.local> Thank you, Ruslan. An "UpdateCursor, theSQL, CursorRef" command could be very useful... Best regards, Roger, -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : lundi 21 f?vrier 2005 18:54 ? : valentina@lists.macserve.net Objet : Re: How to sort a cursor ? On 2/21/05 6:38 PM, "Roger Amar" wrote: > Hi Ruslan, > > How to sort an existing cursor without remove and recreate it ? No way, Roger. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 delong at redcort.com Mon Feb 21 10:25:00 2005 From: delong at redcort.com (Keith DeLong) Date: Mon Feb 21 12:25:45 2005 Subject: How to sort a cursor ? In-Reply-To: Message-ID: > On 2/21/05 6:38 PM, "Roger Amar" wrote: > >> Hi Ruslan, >> >> How to sort an existing cursor without remove and recreate it ? > > No way, Roger. Roger, I have a few selects that I use repeatedly in different sort orders and that are not too large. I've found it occasionally useful in REALbasic to populate either an array or a dictionary of dictionaries with a cursor. I've written a couple of wrappers that (as long as I select the RecID of all tables) I can sort, view and even update records. HTH, Keith DeLong From rjb at robelko.com Mon Feb 21 20:57:23 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Feb 21 14:02:13 2005 Subject: How to sort a cursor ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C72F@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C72F@srv.Logram.local> Message-ID: >Thank you, Ruslan. >An "UpdateCursor, theSQL, CursorRef" command could be very useful... > >Best regards, > >Roger, I am not so sure. Your cursor includes your sort fields, so you can easily resort them anyway you want in Revolution. It does this really fast. Or are we missing some subissue here? Robert From Roger at logram.com Mon Feb 21 22:06:31 2005 From: Roger at logram.com (Roger Amar) Date: Mon Feb 21 15:07:15 2005 Subject: How to sort a cursor ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C730@srv.Logram.local> I am using one main cursor for each table. When I want to use it, I just put its ref into CursorRef. Let us say one of the cursors ref is "cursor1Ref". My column headings are made of buttons used to sort the columns. I must create a cursor with every sort to have the navigation arrows working properly. To do that, I must : (cursor1Ref is put into cursorRef) 1 - ask for the sql string of cursor1Ref 2 - change the "order by" in the sql 3 - remove the cursor - because Valentina does not let me create a cursor with the same query even with a different name. 4 - create a new cursor 5 - save its value into cursor1Ref 6 - put it into CursorRef. Maybe I am doing things in a complicated manner ? Please let me know. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : lundi 21 f?vrier 2005 20:57 ? : Valentina Developers Objet : RE: How to sort a cursor ? >Thank you, Ruslan. >An "UpdateCursor, theSQL, CursorRef" command could be very useful... > >Best regards, > >Roger, I am not so sure. Your cursor includes your sort fields, so you can easily resort them anyway you want in Revolution. It does this really fast. Or are we missing some subissue here? Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Mon Feb 21 22:12:11 2005 From: Roger at logram.com (Roger Amar) Date: Mon Feb 21 15:12:45 2005 Subject: How to sort a cursor ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C731@srv.Logram.local> Hi Keith, Thank you for your suggestion. I just posted a reply to the remark of Robert, with some explanations about my concerns. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Keith DeLong Envoy? : lundi 21 f?vrier 2005 19:25 ? : valentina@lists.macserve.net Objet : Re: How to sort a cursor ? > On 2/21/05 6:38 PM, "Roger Amar" wrote: > >> Hi Ruslan, >> >> How to sort an existing cursor without remove and recreate it ? > > No way, Roger. Roger, I have a few selects that I use repeatedly in different sort orders and that are not too large. I've found it occasionally useful in REALbasic to populate either an array or a dictionary of dictionaries with a cursor. I've written a couple of wrappers that (as long as I select the RecID of all tables) I can sort, view and even update records. HTH, Keith DeLong _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Mon Feb 21 23:59:52 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon Feb 21 17:21:26 2005 Subject: How to sort a cursor ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C730@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C730@srv.Logram.local> Message-ID: >I am using one main cursor for each table. When I want to use it, I >just put its ref into CursorRef. >Let us say one of the cursors ref is "cursor1Ref". >My column headings are made of buttons used to sort the columns. >I must create a cursor with every sort to have the navigation arrows >working properly. > >To do that, I must : >(cursor1Ref is put into cursorRef) > >1 - ask for the sql string of cursor1Ref >2 - change the "order by" in the sql >3 - remove the cursor - because Valentina does not let me create a >cursor with the same query even with a different name. >4 - create a new cursor >5 - save its value into cursor1Ref >6 - put it into CursorRef. > >Maybe I am doing things in a complicated manner ? >Please let me know. >Roger; This of course all depends on the data and program specifics, but in general, you can use SqlSelectRecords instead of SqlSelect, so you have all your display data in a variable, global or local, so it persists. put Valentina("Database_SqlSelectoRecords",dbRef,query) into displayList Then clicking any sort button calls a card handler that redisplays that variable after sorting it by a specific column. on displaySorted sortColumn,sortType set the itemDelimiter to tab sort lines of displayList sortType by item sortColumn of each put displayList into fld "xyz" end displaySorted This is generally simpler than using multiple SQL queries and managing cursors. This also reduces shuffling data through valentina external which ads some pverhead by having to convert values to proper types. BTW, you don't have to use buttons as column headings to achieve the above. You can have a text field and check the clickcharchunk to figure which header (field item) was clicked, then sort accordingly and underline that header to indicate sorting column by setting the textstyle of that item. Robert From fb at memedia.de Tue Feb 22 11:48:01 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 22 04:48:19 2005 Subject: BindField in V4MD Message-ID: Hi everybody, I am trying out bindField and it does not work out. My code: (VALcursors["CAMPAIGNcursor"]).bindField("CAMPAIGN_NAME",member("DIS-CAMPAIG N-NAME")) I get a bindfield.done from Valentina. Now if I step through the cursor, shouldn't the field always display the CAMPAIGN_NAME from the current record? And if I change the member text, shouldn't these changes be saved to the DB immediately? Well, I don't get any field content to even display. What am I missing? Even if I update the record conventionally (updateRecord()), the field is not changed although Valentina gives no error and although it works with the other record fields that are not bound. Any advice? Best regards, Florian From sunshine at public.kherson.ua Tue Feb 22 13:16:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 05:17:05 2005 Subject: BindField in V4MD In-Reply-To: Message-ID: On 2/22/05 12:48 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > I am trying out bindField and it does not work out. > > > > My code: > > > > (VALcursors["CAMPAIGNcursor"]).bindField("CAMPAIGN_NAME",member("DIS-CAMPAIG > N-NAME")) > > > > I get a bindfield.done from Valentina. > > > > Now if I step through the cursor, shouldn't the field always display the > CAMPAIGN_NAME from the current record? Yes it should. Hmm, exmaple "101 complex" have binding. Please check. > And if I change the member text, shouldn't these changes be saved to the DB > immediately? No, you still need say curs.Update(). Benefit is that you do not need copy from EditField into cursor fields. > Well, I don't get any field content to even display. What am I missing? > > Even if I update the record conventionally (updateRecord()), the field is > not changed although Valentina gives no error and although it works with the > other record fields that are not bound. Hmm, I did not check this point far ago, and it seems nobody use this mechanism. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 22 12:59:42 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 22 06:00:00 2005 Subject: AW: BindField in V4MD In-Reply-To: Message-ID: > > Hmm, exmaple "101 complex" have binding. Please check. > Where can I download it? My examples reach to 100 only. Best regards, Florian From sunshine at public.kherson.ua Tue Feb 22 14:09:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 06:10:36 2005 Subject: AW: BindField in V4MD In-Reply-To: Message-ID: On 2/22/05 1:59 PM, "Florian Bogeschdorfer" wrote: >> Hmm, exmaple "101 complex" have binding. Please check. >> > > Where can I download it? My examples reach to 100 only. I mean that 100 example -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Feb 22 13:21:55 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 22 06:24:23 2005 Subject: AW: AW: BindField in V4MD In-Reply-To: Message-ID: <0MKwtQ-1D3Z361da1-0006F4@mrelayeu.kundenserver.de> At least in MX2004 I don't seem to be able to create records at all. Can you check the example please. Best regards, Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net [mailto:valentina- > bounces@lists.macserve.net] Im Auftrag von Ruslan Zasukhin > Gesendet: Dienstag, 22. Februar 2005 13:10 > An: valentina@lists.macserve.net > Betreff: Re: AW: BindField in V4MD > > On 2/22/05 1:59 PM, "Florian Bogeschdorfer" wrote: > > >> Hmm, exmaple "101 complex" have binding. Please check. > >> > > > > Where can I download it? My examples reach to 100 only. > > I mean that 100 example > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Feb 22 14:44:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 06:44:18 2005 Subject: AW: AW: BindField in V4MD In-Reply-To: <0MKwtQ-1D3Z361da1-0006F4@mrelayeu.kundenserver.de> Message-ID: On 2/22/05 2:21 PM, "Florian Bogeschdorfer" wrote: > At least in MX2004 I don't seem to be able to create records at all. > Can you check the example please. Florian, please use for now regular way. Binding is dark side. :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Tue Feb 22 13:45:46 2005 From: Roger at logram.com (Roger Amar) Date: Tue Feb 22 06:46:28 2005 Subject: How to sort a cursor ? Message-ID: <028383377603B34D9728A1E80EA9B43B06C735@srv.Logram.local> Hello Robert, Thank you. I know how to sort fields with Revolution. However, when fields are sorted, the cursor is not, and you can't use navigation arrows to move into. I also often use SQLSelectRecords to get a list in place of a cursor ref. As about buttons as column headings, I reproduced in fact a listManager list with headings which are more convenient and more ergonomic to sort lists than clicking the field. At this time, the main problem which is remaining is the fact that I cannot import anything on the pc. Did you try to do it ? Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : mardi 22 f?vrier 2005 00:00 ? : Valentina Developers Objet : RE: How to sort a cursor ? >I am using one main cursor for each table. When I want to use it, I >just put its ref into CursorRef. >Let us say one of the cursors ref is "cursor1Ref". >My column headings are made of buttons used to sort the columns. >I must create a cursor with every sort to have the navigation arrows >working properly. > >To do that, I must : >(cursor1Ref is put into cursorRef) > >1 - ask for the sql string of cursor1Ref >2 - change the "order by" in the sql >3 - remove the cursor - because Valentina does not let me create a >cursor with the same query even with a different name. >4 - create a new cursor >5 - save its value into cursor1Ref >6 - put it into CursorRef. > >Maybe I am doing things in a complicated manner ? >Please let me know. >Roger; This of course all depends on the data and program specifics, but in general, you can use SqlSelectRecords instead of SqlSelect, so you have all your display data in a variable, global or local, so it persists. put Valentina("Database_SqlSelectoRecords",dbRef,query) into displayList Then clicking any sort button calls a card handler that redisplays that variable after sorting it by a specific column. on displaySorted sortColumn,sortType set the itemDelimiter to tab sort lines of displayList sortType by item sortColumn of each put displayList into fld "xyz" end displaySorted This is generally simpler than using multiple SQL queries and managing cursors. This also reduces shuffling data through valentina external which ads some pverhead by having to convert values to proper types. BTW, you don't have to use buttons as column headings to achieve the above. You can have a text field and check the clickcharchunk to figure which header (field item) was clicked, then sort accordingly and underline that header to indicate sorting column by setting the textstyle of that item. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Tue Feb 22 13:58:29 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 22 06:58:47 2005 Subject: AW: AW: BindField in V4MD In-Reply-To: Message-ID: > > Florian, please use for now regular way. > > Binding is dark side. :-) > > OK, but you should remove it from the docs then. Best regards, Florian From fb at memedia.de Tue Feb 22 14:00:57 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 22 07:01:19 2005 Subject: clients, choice for windows In-Reply-To: Message-ID: <0MKxQS-1D3Zes12fq-0000tF@mrelayeu.kundenserver.de> When would you expect VNET 2.0 ? > > Hi Florian, > > > I am looking for a new programming environment additional to Director > and > > since Valentina is a main point, I would like to know whether the > > client/server solution is available for all environments listed on the > > website. > > > I am thinking about .NET and C++. What would you suggest for Windows > Only, > > regarding Valentina? > > I'd suggest VCOM. It have client, and looks complete. > > VNET -- no client. And I am not sure I like what I see. > I do not know C#. Practically zero. > so VNET was job of other developer. > he have implement own vision. > And again I think I not like this too much. > > in VNET 2.0 we will do all self regarding new API as we have now > V4RB and V4MD 2.0 > > C++ is ok, although it is more hard language as you know > > > Also exists client for Revolution...but this is if you like it. > > From sunshine at public.kherson.ua Tue Feb 22 15:36:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 22 07:36:59 2005 Subject: clients, choice for windows In-Reply-To: <0MKxQS-1D3Zes12fq-0000tF@mrelayeu.kundenserver.de> Message-ID: On 2/22/05 3:00 PM, "Florian Bogeschdorfer" wrote: > When would you expect VNET 2.0 ? April - May -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Tue Feb 22 15:33:45 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue Feb 22 08:45:14 2005 Subject: How to sort a cursor ? In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C735@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C735@srv.Logram.local> Message-ID: >Hello Robert, > >Thank you. >I know how to sort fields with Revolution. I just wanted tto make sure you know of the extra sort options. I have no idea how advanced you are with Rev. >However, when fields are sorted, the cursor is not, and you can't >use navigation arrows to move into. But if you use SelectRecords, you have no cursor to be concerned about. If user selects a line, you just fetch that records to display it. Valentina is so fast that there is no real advantage (in most circumstances) to keep the cursor and keep traversing it. It is as effective to keep refetching the data. >At this time, the main problem which is remaining is the fact that I >cannot import anything on the pc. >Did you try to do it ? Sorry, not yet. A little crisis with a client has to be finished first. Hopefully today. Did you get my direct email (the resend) or are we doomed to talk through the list? Robert From sunshine at public.kherson.ua Wed Feb 23 18:27:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 10:27:22 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 23 17:45:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 10:41:30 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: <000901c519c7$0ee82b90$0100a8c0@BenesServer> Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: From sunshine at public.kherson.ua Wed Feb 23 18:00:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 10:56:23 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: <000801c519c9$2ecf0fd0$0100a8c0@BenesServer> Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: From Roger at logram.com Wed Feb 23 17:56:12 2005 From: Roger at logram.com (Roger Amar) Date: Wed Feb 23 10:57:04 2005 Subject: Updating all records Message-ID: <028383377603B34D9728A1E80EA9B43B06C739@srv.Logram.local> Hello Robert, >However, when fields are sorted, the cursor is not, and you can't use >navigation arrows to move into. >>But if you use SelectRecords, you have no cursor to be concerned about. If user selects a line, you just fetch that records >>to display it. Valentina is so fast that there is no real advantage (in most >>circumstances) to keep the cursor and keep traversing it. It is as effective to keep refetching the data. What about my navigation arrows (first,prev,next,last) ? Just now, I have a new problem : when I attempt to update all the records of a cursor, they are *not* updated. My handler is made like this : on UpdateAllRecords fldName, fldValue CheckdbRef CheckCursor put Valentina("Cursor_SetField",cursorRef,fldName,fldValue) into temp --> returns empty CheckError "UpdateAllRecord", "Cursor_SetField", temp put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp --> returns true CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp put Valentina ("DataBase_Flush",dbRef) into temp --> returns empty CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords What is wrong ?? Thanks again for your help. Roger; From sunshine at public.kherson.ua Wed Feb 23 18:00:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 16:30:24 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: <000b01c519c9$2fc24970$0100a8c0@BenesServer> Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: From sunshine at public.kherson.ua Wed Feb 23 17:45:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 23 17:08:49 2005 Subject: RB 5.5.5fc1 still have not resolve problem of Pluigns + Interfaces Message-ID: <000801c519c7$0e8ff970$0100a8c0@BenesServer> Hi REAL, This is a bug report http://www.realsoftware.com/feedback/viewreport.php?reportid=dmsdqvkp Please everybody who use Valentina, or who develop plugins, add your vote by this link. This is very nasty bug of REALbasic. In fact it is show stopper for use of interfaces in plugins. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: Search the archives of this list here: From Roger at logram.com Thu Feb 24 10:57:40 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 03:58:27 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C73C@srv.Logram.local> Hi Ruslan, May I have a reply about this problem ? I omitted to precise that the cursor was created with the kReadWrite parameter and that Updating *one* record works normally. Thanks, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Roger Amar Envoy? : mercredi 23 f?vrier 2005 17:56 ? : Valentina Developers Objet : Updating all records Hello Robert, >However, when fields are sorted, the cursor is not, and you can't use >navigation arrows to move into. >>But if you use SelectRecords, you have no cursor to be concerned about. If user selects a line, you just fetch that records >>to display it. Valentina is so fast that there is no real advantage (in most >>circumstances) to keep the cursor and keep traversing it. It is as effective to keep refetching the data. What about my navigation arrows (first,prev,next,last) ? Just now, I have a new problem : when I attempt to update all the records of a cursor, they are *not* updated. My handler is made like this : on UpdateAllRecords fldName, fldValue CheckdbRef CheckCursor put Valentina("Cursor_SetField",cursorRef,fldName,fldValue) into temp --> returns empty CheckError "UpdateAllRecord", "Cursor_SetField", temp put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp --> returns true CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp put Valentina ("DataBase_Flush",dbRef) into temp --> returns empty CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords What is wrong ?? Thanks again for your help. Roger; _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Thu Feb 24 11:20:22 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Feb 24 04:27:42 2005 Subject: Updating all records In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C739@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C739@srv.Logram.local> Message-ID: >Hello Robert, > >>However, when fields are sorted, the cursor is not, and you can't use >>navigation arrows to move into. > >>>But if you use SelectRecords, you have no cursor to be concerned >about. If user selects a line, you just fetch that records >>to display >it. Valentina is so fast that there is no real advantage (in most >>>circumstances) to keep the cursor and keep traversing it. It is as >effective to keep refetching the data. > >What about my navigation arrows (first,prev,next,last) ? same. we can discuss this further off the list if you want to. >Just now, I have a new problem : when I attempt to update all the >records of a cursor, they are *not* updated. > > >What is wrong ?? > >Thanks again for your help. > >Roger; There was a thread on this very issue last April. It might solve your poroblem. Search list archives for 'updateallrecords' and look for subject about updateallrecords not working properly. Robert From Roger at logram.com Thu Feb 24 14:02:18 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 07:03:07 2005 Subject: Updating all records Message-ID: <028383377603B34D9728A1E80EA9B43B06C73D@srv.Logram.local> Hello Robert, While searching 'updateallrecords' in the list archive, I found this reply from Ruslan : "You modify NOT first record. You modify just VALUES in RAM buffer. And when you do UpdateAll() all 10 records get that new value" How to modify values in the RAM buffer without modifying records ? Thanks, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : jeudi 24 f?vrier 2005 11:20 ? : Valentina Developers Objet : Re: Updating all records >Hello Robert, > >>However, when fields are sorted, the cursor is not, and you can't use >>navigation arrows to move into. > >>>But if you use SelectRecords, you have no cursor to be concerned >about. If user selects a line, you just fetch that records >>to display >it. Valentina is so fast that there is no real advantage (in most >>>circumstances) to keep the cursor and keep traversing it. It is as >effective to keep refetching the data. > >What about my navigation arrows (first,prev,next,last) ? same. we can discuss this further off the list if you want to. >Just now, I have a new problem : when I attempt to update all the >records of a cursor, they are *not* updated. > > >What is wrong ?? > >Thanks again for your help. > >Roger; There was a thread on this very issue last April. It might solve your poroblem. Search list archives for 'updateallrecords' and look for subject about updateallrecords not working properly. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 24 15:03:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 07:03:44 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C73C@srv.Logram.local> Message-ID: On 2/24/05 11:57 AM, "Roger Amar" wrote: Hi Roger, > Just now, I have a new problem : when I attempt to update all the records of a > cursor, they are *not* updated. > > My handler is made like this : > > on UpdateAllRecords fldName, fldValue > CheckdbRef > CheckCursor > > put Valentina("Cursor_SetField",cursorRef,fldName,fldValue) into temp --> > returns empty > CheckError "UpdateAllRecord", "Cursor_SetField", temp > > put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp --> returns > true > CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp > > put Valentina ("DataBase_Flush",dbRef) into temp --> returns empty > CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords > > What is wrong ?? Looks to be correct. Hmm, you can try to use SQL command UPDATE T SET fldname = value WHERE ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 24 14:53:53 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 07:54:43 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C73F@srv.Logram.local> Hi Ruslan, The SQL command does not work at all. Database_SQLExecute returns the number of raws affected, but no change is made. I checked that I have no "unique" field. At this time I tried all of the suggestions of the archive list with no success. Since updating one record is working, I can update within a loop, but it takes a lot of time. What is wrong at your opinion ? Thanks for your help, Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 14:03 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 11:57 AM, "Roger Amar" wrote: Hi Roger, > Just now, I have a new problem : when I attempt to update all the > records of a cursor, they are *not* updated. > > My handler is made like this : > > on UpdateAllRecords fldName, fldValue > CheckdbRef > CheckCursor > > put Valentina("Cursor_SetField",cursorRef,fldName,fldValue) into > temp --> returns empty > CheckError "UpdateAllRecord", "Cursor_SetField", temp > > put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp --> > returns true > CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp > > put Valentina ("DataBase_Flush",dbRef) into temp --> returns empty > CheckError "UpdateAllRecords", "DataBase_Flush", temp end > UpdateAllRecords > > What is wrong ?? Looks to be correct. Hmm, you can try to use SQL command UPDATE T SET fldname = value WHERE ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 fb at memedia.de Thu Feb 24 14:58:05 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 24 07:58:39 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C73F@srv.Logram.local> Message-ID: Sorry for being late... What platform, what environment? You want to change a field in all records of a cursor? Florian From Roger at logram.com Thu Feb 24 15:10:25 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 08:11:17 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C740@srv.Logram.local> Hello Florian, The platform is Revolution and the environnement is Win XP Pro. Yes, I want to change a field value in all records of a cursor and I can't with UpdateAllRecords even initializing a field to the new value as suggested. What is wrong ? Thanks for your help, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Florian Bogeschdorfer Envoy? : jeudi 24 f?vrier 2005 14:58 ? : 'Valentina Developers' Objet : RE: Updating all records again Sorry for being late... What platform, what environment? You want to change a field in all records of a cursor? Florian _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Thu Feb 24 15:18:14 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 24 08:18:36 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C740@srv.Logram.local> Message-ID: > > What is wrong ? > > Thanks for your help, > > Roger; > Sorry, I am working with Director. There was a bug once with deleteAllRecords() and updateAllRecords() in V4MD, maybe it is similar here Ruslan? Florian From sunshine at public.kherson.ua Thu Feb 24 16:21:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 08:21:50 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C73F@srv.Logram.local> Message-ID: On 2/24/05 3:53 PM, "Roger Amar" wrote: > Hi Ruslan, > > The SQL command does not work at all. > Database_SQLExecute returns the number of raws affected, but no change is > made. Impossible. Open your db in viSLQ, do this UPDATE command, Must work > I checked that I have no "unique" field. > At this time I tried all of the suggestions of the archive list with no > success. > > Since updating one record is working, I can update within a loop, but it takes > a lot of time. Or unique field Or read only cursor because - you have told this in SqlSelect - cursor is on join I do not see other reasons -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Thu Feb 24 15:22:30 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Feb 24 08:26:45 2005 Subject: Updating all records In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C73D@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C73D@srv.Logram.local> Message-ID: >Hello Robert, > >While searching 'updateallrecords' in the list archive, I found this >reply from Ruslan : > >"You modify NOT first record. >You modify just VALUES in RAM buffer. >And when you do UpdateAll() all 10 records get that new value" > >How to modify values in the RAM buffer without modifying records ? > >Thanks, > >Roger; It was explained in one of the posts in that thread how to do it, if I am not mistaken. When you fetch a record, its values are kept in a buffer, just temp memory location. When you do SetField, you are actually modifying the buffer only. It gets transferred to the database upon UpdateRecord or AddRecord. You should be able to just replace UpdateRecord with UpdateAllRecords in your code. If that does not work, it can be a bug in vxmcd. Robert From sunshine at public.kherson.ua Thu Feb 24 16:34:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 08:34:27 2005 Subject: Updating all records In-Reply-To: Message-ID: On 2/24/05 4:22 PM, "Robert Brenstein" wrote: >> Hello Robert, >> >> While searching 'updateallrecords' in the list archive, I found this >> reply from Ruslan : >> >> "You modify NOT first record. >> You modify just VALUES in RAM buffer. >> And when you do UpdateAll() all 10 records get that new value" >> >> How to modify values in the RAM buffer without modifying records ? SetField do this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 24 16:35:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 08:36:16 2005 Subject: Updating all records again In-Reply-To: Message-ID: On 2/24/05 4:18 PM, "Florian Bogeschdorfer" wrote: >> What is wrong ? >> >> Thanks for your help, >> >> Roger; >> > Sorry, I am working with Director. There was a bug once with > deleteAllRecords() and updateAllRecords() in V4MD, maybe it is similar here > Ruslan? Bug was far ago with record locks, if you mean this... Hmm, may be VXCMD was not updated?! But that was bug between 1.10 and 1.11 it seems -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 24 15:43:24 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 08:44:17 2005 Subject: Updating all records Message-ID: <028383377603B34D9728A1E80EA9B43B06C742@srv.Logram.local> Hi Ruslan, That is what I did as you saw in the handler I sent to you. Now, I am going to launch my project on the Mac and keep you informed if the UpdateAllRecords works there. Best regards, Roger; -----Message d'origine----- De : valentina-bounces+roger=logram.com@lists.macserve.net [mailto:valentina-bounces+roger=logram.com@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 15:34 ? : valentina@lists.macserve.net Objet : Re: Updating all records On 2/24/05 4:22 PM, "Robert Brenstein" wrote: >> Hello Robert, >> >> While searching 'updateallrecords' in the list archive, I found this >> reply from Ruslan : >> >> "You modify NOT first record. >> You modify just VALUES in RAM buffer. >> And when you do UpdateAll() all 10 records get that new value" >> >> How to modify values in the RAM buffer without modifying records ? SetField do this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Thu Feb 24 16:17:49 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 09:18:42 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C744@srv.Logram.local> Hi Ruslan, I am sorry to confirm that UpdateAllRecords command *and* the update sql do not work neither on my Macintosh nor on my PC and that they return no error. I confirm that there is *no unique field* in my tables and that all my cursors are created with the kReadWrite parameter. I checked it. I have no reason to doubt that these functions are working on other platforms. If there is one person using a High Level Langage like Revolution on the Windows XP or the MacOS 9.x environnement, who got them working, please just let me know. I am afraid that is a bug of the XCMD version. Thanks again, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 15:21 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 3:53 PM, "Roger Amar" wrote: > Hi Ruslan, > > The SQL command does not work at all. > Database_SQLExecute returns the number of raws affected, but no change > is made. Impossible. Open your db in viSLQ, do this UPDATE command, Must work > I checked that I have no "unique" field. > At this time I tried all of the suggestions of the archive list with > no success. > > Since updating one record is working, I can update within a loop, but > it takes a lot of time. Or unique field Or read only cursor because - you have told this in SqlSelect - cursor is on join I do not see other reasons -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Feb 24 17:50:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 09:50:51 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C744@srv.Logram.local> Message-ID: On 2/24/05 5:17 PM, "Roger Amar" wrote: > Hi Ruslan, > > I am sorry to confirm that UpdateAllRecords command *and* the update sql do > not work neither on my Macintosh nor on my PC and that they return no error. Send me please your db AND your SQ command. Also tell me which versions of VXCMD you use -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 24 17:44:42 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 10:45:34 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74A@srv.Logram.local> Hi Ruslan, The version of VXCMD I am using is 1.11 for both Mac and Windows (this value is returned by the "Version" command ) Here are my handlers : on UpdateAllRecords fldName, fldValue CheckdbRef CheckCursor put Valentina ("Cursor_SetField",cursorRef,fldName,fldValue) into temp CheckError "UpdateAllRecord", "Cursor_SetField", temp put Valentina ("Cursor_GetField",cursorRef,fldName) into tempValue --> just for checking here tempValue = fldValue CheckError "UpdateAllRecord", "Cursor_SetField", tempValue put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp put Valentina ("DataBase_Flush",dbRef) into temp CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords on UpdateAllRecords fldName, fldValue, numVolume CheckdbRef CheckCursor RemoveCursor --> because of error 363 (not documented in the Valentina Database Kernel.pdf) put "update boTitres set" && fldName && "=" && fldValue && "where numeroVolume =" && numVolume into theSQL put theSQL --> to check if it is correct put Valentina ("Database_SQLExecute", dbRef, theSQL) into temp --> here temp = number of records CheckError "UpdateAllRecords", "DataBase_SQLExecute", temp put Valentina ("DataBase_Flush",dbRef) into temp CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords I hope this will help you. Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 16:51 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 5:17 PM, "Roger Amar" wrote: > Hi Ruslan, > > I am sorry to confirm that UpdateAllRecords command *and* the update > sql do not work neither on my Macintosh nor on my PC and that they return no error. Send me please your db AND your SQ command. Also tell me which versions of VXCMD you use -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 24 22:08:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 14:08:28 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74A@srv.Logram.local> Message-ID: On 2/24/05 6:44 PM, "Roger Amar" wrote: > on UpdateAllRecords fldName, fldValue, numVolume > CheckdbRef > CheckCursor > > RemoveCursor --> because of error 363 (not documented in the Valentina > Database Kernel.pdf) 363 -- this is RECORD LOCK error! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 24 22:11:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 24 14:11:23 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74A@srv.Logram.local> Message-ID: On 2/24/05 6:44 PM, "Roger Amar" wrote: > put "update boTitres set" && fldName && "=" && fldValue && "where ^^^^^^^ should be here space ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Thu Feb 24 21:48:59 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 14:49:47 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74B@srv.Logram.local> Yes, && = concatenate with space No erreor is returned regarding the SQL syntax. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 21:11 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 6:44 PM, "Roger Amar" wrote: > put "update boTitres set" && fldName && "=" && fldValue && "where ^^^^^^^ should be here space ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Roger at logram.com Thu Feb 24 21:50:17 2005 From: Roger at logram.com (Roger Amar) Date: Thu Feb 24 14:50:56 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74C@srv.Logram.local> Ruslan, please explain what is "Record lock error" and in what conditions it is returned. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : jeudi 24 f?vrier 2005 21:08 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 6:44 PM, "Roger Amar" wrote: > on UpdateAllRecords fldName, fldValue, numVolume > CheckdbRef > CheckCursor > > RemoveCursor --> because of error 363 (not documented in the > Valentina Database Kernel.pdf) 363 -- this is RECORD LOCK error! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 25 11:36:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 03:48:47 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74C@srv.Logram.local> Message-ID: On 2/24/05 10:50 PM, "Roger Amar" wrote: > Ruslan, please explain what is "Record lock error" and in what conditions it > is returned. > Roger; Hi Roger, Please read Vkernel.pdf pages 37-38 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at robelko.com Fri Feb 25 11:13:27 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Feb 25 04:19:22 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74A@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C74A@srv.Logram.local> Message-ID: >Hi Ruslan, > >The version of VXCMD I am using is 1.11 for both Mac and Windows >(this value is returned by the "Version" command ) >Here are my handlers : > >on UpdateAllRecords fldName, fldValue > CheckdbRef > CheckCursor > > put Valentina ("Cursor_SetField",cursorRef,fldName,fldValue) into temp > CheckError "UpdateAllRecord", "Cursor_SetField", temp > > put Valentina ("Cursor_GetField",cursorRef,fldName) into >tempValue --> just for checking here tempValue = fldValue > CheckError "UpdateAllRecord", "Cursor_SetField", tempValue > > put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp > CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp > > put Valentina ("DataBase_Flush",dbRef) into temp > CheckError "UpdateAllRecords", "DataBase_Flush", temp >end UpdateAllRecords > Roger, have you tried adding answer Valentina("Cursor_GetRecordCount",cursorRef) to check how many records you actually got? Robert From Roger at logram.com Fri Feb 25 12:27:59 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 25 05:29:04 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74D@srv.Logram.local> Hi Robert, Valentina("Cursor_GetRecordCount",cursorRef) returns the right number of records. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : vendredi 25 f?vrier 2005 11:13 ? : Valentina Developers Objet : RE: Updating all records again >Hi Ruslan, > >The version of VXCMD I am using is 1.11 for both Mac and Windows (this >value is returned by the "Version" command ) Here are my handlers : > >on UpdateAllRecords fldName, fldValue > CheckdbRef > CheckCursor > > put Valentina ("Cursor_SetField",cursorRef,fldName,fldValue) into temp > CheckError "UpdateAllRecord", "Cursor_SetField", temp > > put Valentina ("Cursor_GetField",cursorRef,fldName) into tempValue >--> just for checking here tempValue = fldValue > CheckError "UpdateAllRecord", "Cursor_SetField", tempValue > > put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp > CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp > > put Valentina ("DataBase_Flush",dbRef) into temp > CheckError "UpdateAllRecords", "DataBase_Flush", temp end >UpdateAllRecords > Roger, have you tried adding answer Valentina("Cursor_GetRecordCount",cursorRef) to check how many records you actually got? Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Fri Feb 25 12:34:31 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 25 05:35:10 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74E@srv.Logram.local> Thank you, Ruslan. Now I understand the cause of error 363. Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : vendredi 25 f?vrier 2005 10:37 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/24/05 10:50 PM, "Roger Amar" wrote: > Ruslan, please explain what is "Record lock error" and in what > conditions it is returned. > Roger; Hi Roger, Please read Vkernel.pdf pages 37-38 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 25 13:35:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 05:35:58 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74D@srv.Logram.local> Message-ID: On 2/25/05 1:27 PM, "Roger Amar" wrote: > Hi Robert, > > Valentina("Cursor_GetRecordCount",cursorRef) returns the right number of > records. Roger, Once again. * Make db * open it in latest viSQL * do you UPDATE command result ? If wrong then you can send me this db and this query. I will run viSQL and check here. If I also will see problem I will run it under debugger. May be I will find something wrong on your side. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Fri Feb 25 13:56:44 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 25 06:57:45 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C74F@srv.Logram.local> Hi Ruslan, The update sql command works with viSQL on my database. What is your conclusion ? Best regards Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : vendredi 25 f?vrier 2005 12:36 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/25/05 1:27 PM, "Roger Amar" wrote: > Hi Robert, > > Valentina("Cursor_GetRecordCount",cursorRef) returns the right number > of records. Roger, Once again. * Make db * open it in latest viSQL * do you UPDATE command result ? If wrong then you can send me this db and this query. I will run viSQL and check here. If I also will see problem I will run it under debugger. May be I will find something wrong on your side. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 25 15:31:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 25 07:31:30 2005 Subject: Updating all records again In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C74F@srv.Logram.local> Message-ID: On 2/25/05 2:56 PM, "Roger Amar" wrote: > Hi Ruslan, > > The update sql command works with viSQL on my database. > What is your conclusion ? The worse thing I can think about I need try rebuild VXCMD for you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Fri Feb 25 16:08:27 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 25 09:09:12 2005 Subject: Updating all records again Message-ID: <028383377603B34D9728A1E80EA9B43B06C750@srv.Logram.local> Hi Ruslan, I am sorry to give you so much work. But, this will give a great satisfaction to all of the VXCMD users ! Have a nice week-end, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Ruslan Zasukhin Envoy? : vendredi 25 f?vrier 2005 14:31 ? : valentina@lists.macserve.net Objet : Re: Updating all records again On 2/25/05 2:56 PM, "Roger Amar" wrote: > Hi Ruslan, > > The update sql command works with viSQL on my database. > What is your conclusion ? The worse thing I can think about I need try rebuild VXCMD for you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Roger at logram.com Sat Feb 26 01:10:31 2005 From: Roger at logram.com (Roger Amar) Date: Fri Feb 25 18:11:13 2005 Subject: Error 32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C751@srv.Logram.local> Hello, Valentina/Revolution/Win XP When I try to build a standalone for Win32, Valentina ("Database_Open", theFile) returns error 32, while theFile is a correct path to the database. So, I cannot build the standalone. What is the meaning of error 32 ? Thanks for your help, Roger; From delong at redcort.com Fri Feb 25 16:40:42 2005 From: delong at redcort.com (Keith DeLong) Date: Fri Feb 25 18:41:11 2005 Subject: Error 32 In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C751@srv.Logram.local> Message-ID: Hi Roger, I think you'll find on Windows this indicates the database is already open. HTH, Keith DeLong > Hello, > > Valentina/Revolution/Win XP > > When I try to build a standalone for Win32, Valentina ("Database_Open", > theFile) returns error 32, while theFile is a correct path to the > database. > So, I cannot build the standalone. > > What is the meaning of error 32 ? > > Thanks for your help, > > Roger; From cbpelto at pcisys.net Sat Feb 26 02:40:20 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 03:40:44 2005 Subject: Unlisted Error Message-ID: Greetings, I'm having a problem with an SQL search resulting in a VCursor to the table of found records that had been working several days ago. Used to be it would find the record I was looking for. Now I get a nil result. Looking into it via errNumber I'm finding a number of 363. However, looking in the Valentina Kernel list of errors in Appendix A there is no such error number. There IS a 362, Record Not Found. Is there a typo? I thought that if a record was not found you would not get a nil. You'd get 0 records in the found set. Please advise.... Regards, Chuck From sunshine at public.kherson.ua Sat Feb 26 11:44:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 03:44:08 2005 Subject: Unlisted Error In-Reply-To: Message-ID: On 2/26/05 11:40 AM, "Chuck Pelto" wrote: > Greetings, > > I'm having a problem with an SQL search resulting in a VCursor to the > table of found records that had been working several days ago. Used to > be it would find the record I was looking for. Now I get a nil result. > Looking into it via errNumber I'm finding a number of 363. 363 - record is locked -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Sat Feb 26 02:53:15 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 03:53:21 2005 Subject: Unlisted Error In-Reply-To: References: Message-ID: Greetings Ruslan, Thanks for the quick response. Might want to add that to the next release of the Kernel pdf document. It's not in there now. How do I go about 'unlocking' this thing? I don't recall modifying the system in such a manner as to locking either the record or the base object in the first place. Indeed, one record IS being found, as it should be. All other records, in the base object at this time, are not being found. The big difference between them is that the record that is being found has only one word in the field being searched on. All other records have more than one word in them. Field is contructed as fieldName = new VString("xxxx_name", 100) Regards, Chuck On Feb 26, 2005, at 2:44 AM, Ruslan Zasukhin wrote: > On 2/26/05 11:40 AM, "Chuck Pelto" wrote: > >> Greetings, >> >> I'm having a problem with an SQL search resulting in a VCursor to the >> table of found records that had been working several days ago. Used to >> be it would find the record I was looking for. Now I get a nil result. >> Looking into it via errNumber I'm finding a number of 363. > > 363 - record is locked > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Sat Feb 26 02:59:06 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 03:59:11 2005 Subject: Unlisted Error In-Reply-To: References: Message-ID: Ok. I put kV_NoLocks into the SQL search call and I've got control back again. Regards, Chuck P.S. Please include the 363 error code in the next edition of the Kernel pdf document. On Feb 26, 2005, at 2:53 AM, Chuck Pelto wrote: > Greetings Ruslan, > > Thanks for the quick response. > > Might want to add that to the next release of the Kernel pdf document. > It's not in there now. > > How do I go about 'unlocking' this thing? > > I don't recall modifying the system in such a manner as to locking > either the record or the base object in the first place. Indeed, one > record IS being found, as it should be. All other records, in the base > object at this time, are not being found. The big difference between > them is that the record that is being found has only one word in the > field being searched on. All other records have more than one word in > them. > > Field is contructed as > > fieldName = new VString("xxxx_name", 100) > > > Regards, > > Chuck > > On Feb 26, 2005, at 2:44 AM, Ruslan Zasukhin wrote: > >> On 2/26/05 11:40 AM, "Chuck Pelto" wrote: >> >>> Greetings, >>> >>> I'm having a problem with an SQL search resulting in a VCursor to the >>> table of found records that had been working several days ago. Used >>> to >>> be it would find the record I was looking for. Now I get a nil >>> result. >>> Looking into it via errNumber I'm finding a number of 363. >> >> 363 - record is locked >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: 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 >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Sat Feb 26 03:03:46 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 04:03:53 2005 Subject: Unlisted Error In-Reply-To: References: Message-ID: <450c922188ea934bee804ea308ea8d0a@pcisys.net> P.P.S. But the question does haunt me.... ...how did it get 'locked' in the first place if I did not put a lock on it? How does one 'lock' a record? On Feb 26, 2005, at 2:59 AM, Chuck Pelto wrote: > Ok. I put kV_NoLocks into the SQL search call and I've got control > back again. > > Regards, > > Chuck > P.S. Please include the 363 error code in the next edition of the > Kernel pdf document. > > > On Feb 26, 2005, at 2:53 AM, Chuck Pelto wrote: > >> Greetings Ruslan, >> >> Thanks for the quick response. >> >> Might want to add that to the next release of the Kernel pdf >> document. It's not in there now. >> >> How do I go about 'unlocking' this thing? >> >> I don't recall modifying the system in such a manner as to locking >> either the record or the base object in the first place. Indeed, one >> record IS being found, as it should be. All other records, in the >> base object at this time, are not being found. The big difference >> between them is that the record that is being found has only one word >> in the field being searched on. All other records have more than one >> word in them. >> >> Field is contructed as >> >> fieldName = new VString("xxxx_name", 100) >> >> >> Regards, >> >> Chuck >> >> On Feb 26, 2005, at 2:44 AM, Ruslan Zasukhin wrote: >> >>> On 2/26/05 11:40 AM, "Chuck Pelto" wrote: >>> >>>> Greetings, >>>> >>>> I'm having a problem with an SQL search resulting in a VCursor to >>>> the >>>> table of found records that had been working several days ago. Used >>>> to >>>> be it would find the record I was looking for. Now I get a nil >>>> result. >>>> Looking into it via errNumber I'm finding a number of 363. >>> >>> 363 - record is locked >>> >>> -- >>> Best regards, >>> Ruslan Zasukhin [ I feel the need...the need for speed ] >>> ------------------------------------------------------------- >>> e-mail: 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 >>> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat Feb 26 12:21:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 04:21:38 2005 Subject: Unlisted Error In-Reply-To: <450c922188ea934bee804ea308ea8d0a@pcisys.net> Message-ID: On 2/26/05 12:03 PM, "Chuck Pelto" wrote: > P.P.S. But the question does haunt me.... > > ...how did it get 'locked' in the first place if I did not put a lock > on it? How does one 'lock' a record? Because on default cursor lock as READ ONLY. This is describe in the Vkernel.pdf page 37-38 it seems -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Sat Feb 26 03:38:13 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 04:38:22 2005 Subject: Unlisted Error In-Reply-To: References: Message-ID: Hi Again, That's odd. The SQLSelect call was set to be ReadWrite. Here's the syntax that was being used, unsuccessfully..... sqlCntlSrch = "" cntlCursor = nil sqlCntlSrch = "SELECT RecID FROM ControllerList WHERE cntl_name = '" + cntlName + "'" // cntlName is a string parameter passed to the method cntlCursor = dDatabase.SQLSelect(sqlCntlSrch, kV_Server, kV_ReadWrite, kV_Random) As I said, only the record with one word in it would be found. The other records that had more than one word in the field would not be found; a nil cursor. But four days ago, it had been working just fine. And I had made no changes to the base object or methods in between. I had moved on and begun work on other aspects of the application. This included adding two new base objects and beginning to work on the methods to use them. I discovered the problem when I created a new database with the new base objects in it and was going back and building up the data in the system to where it would all work together. [Note: Now I am debugging a problem with one of the new base objects. You may have noticed the crash report I passed to Jochen. Not sure if that issue has any bearing on this one.] Changing the code to read.... cntlCursor = dDatabase.SQLSelect(sqlCntlSrch, kV_Server, kV_NoLocks, kV_Random) ...got it to working properly. This may or may not be significant. You might keep it tucked away for future reference. Thanks for your assistance. Regards, Chuck On Feb 26, 2005, at 3:21 AM, Ruslan Zasukhin wrote: > On 2/26/05 12:03 PM, "Chuck Pelto" wrote: > >> P.P.S. But the question does haunt me.... >> >> ...how did it get 'locked' in the first place if I did not put a lock >> on it? How does one 'lock' a record? > > Because on default cursor lock as READ ONLY. > > This is describe in the Vkernel.pdf page 37-38 it seems > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Sat Feb 26 14:16:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 06:16:36 2005 Subject: Unlisted Error In-Reply-To: Message-ID: On 2/26/05 12:38 PM, "Chuck Pelto" wrote: > Hi Again, > > That's odd. The SQLSelect call was set to be ReadWrite. Aha, but READ WRITE also locks record. Even more strictly. Nobody else can't it not read not write -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Sat Feb 26 17:21:30 2005 From: Roger at logram.com (Roger Amar) Date: Sat Feb 26 10:22:05 2005 Subject: Error 32 Message-ID: <028383377603B34D9728A1E80EA9B43B06C752@srv.Logram.local> Thank you, Keith. Best regards, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Keith DeLong Envoy? : samedi 26 f?vrier 2005 01:41 ? : valentina@lists.macserve.net Objet : Re: Error 32 Hi Roger, I think you'll find on Windows this indicates the database is already open. HTH, Keith DeLong > Hello, > > Valentina/Revolution/Win XP > > When I try to build a standalone for Win32, Valentina > ("Database_Open", > theFile) returns error 32, while theFile is a correct path to the > database. > So, I cannot build the standalone. > > What is the meaning of error 32 ? > > Thanks for your help, > > Roger; _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From Claudius at sailer-online.de Sat Feb 26 17:22:15 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Feb 26 10:22:22 2005 Subject: PerformanceQuestion Message-ID: <1e1f6ca4381960e0e5670d64e2c780c6@sailer-online.de> Hi, I am using following coding to check, whether datas are in an table SQLString="SELECT RecID FROM Konten WHERE Konto_Typ=1" CurCheck= meineDatenbank.SQLselect(SQLString, EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom) Ende=CurCheck.RecordCount is it faster to do it other way? e.g. SQLString="SELECT count(*) FROM Konten WHERE Konto_Typ=1" CurCheck= meineDatenbank.SQLselect(SQLString, EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom) res=CurCheck.firstRecord Number=field(1).value Thanks for help and ideas!! Claudius -- G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0bX Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From cbpelto at pcisys.net Sat Feb 26 09:24:39 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Feb 26 10:24:45 2005 Subject: Unlisted Error In-Reply-To: References: Message-ID: <35182b2994cbec9f30607cf3f68b5717@pcisys.net> Ah tso! Domo Origato, Chuck On Feb 26, 2005, at 5:16 AM, Ruslan Zasukhin wrote: > On 2/26/05 12:38 PM, "Chuck Pelto" wrote: > >> Hi Again, >> >> That's odd. The SQLSelect call was set to be ReadWrite. > > Aha, but READ WRITE also locks record. Even more strictly. > Nobody else can't it not read not write > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Roger at logram.com Sat Feb 26 19:31:12 2005 From: Roger at logram.com (Roger Amar) Date: Sat Feb 26 12:31:51 2005 Subject: Rev standalone with VXCMD Message-ID: <028383377603B34D9728A1E80EA9B43B06C753@srv.Logram.local> Hello, I have a Rev project using VXCMD which works fine. I built standalones for MacOS and Win32. When I launch them, I get a blank dialog with "Execution error" and of course, the standalones do not work. Is there anything special to do with VXCMD before building a Revolution standalone ? Thanks for your help, Roger; -----Message d'origine----- De : valentina-bounces+roger=logram.com@lists.macserve.net [mailto:valentina-bounces+roger=logram.com@lists.macserve.net] De la part de Chuck Pelto Envoy? : samedi 26 f?vrier 2005 17:25 ? : Valentina Developers Objet : Re: Unlisted Error Ah tso! Domo Origato, Chuck On Feb 26, 2005, at 5:16 AM, Ruslan Zasukhin wrote: > On 2/26/05 12:38 PM, "Chuck Pelto" wrote: > >> Hi Again, >> >> That's odd. The SQLSelect call was set to be ReadWrite. > > Aha, but READ WRITE also locks record. Even more strictly. > Nobody else can't it not read not write > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 > _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Sat Feb 26 19:53:21 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Feb 26 13:11:04 2005 Subject: Rev standalone with VXCMD In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C753@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C753@srv.Logram.local> Message-ID: >Hello, > >I have a Rev project using VXCMD which works fine. >I built standalones for MacOS and Win32. >When I launch them, I get a blank dialog with "Execution error" and >of course, the standalones do not work. >Is there anything special to do with VXCMD before building a >Revolution standalone ? > >Thanks for your help, > >Roger; My first guess is that the paths to vxcmd external are different. You may need to set the external property in the startup handler. Since startup is not called in ide, there will be no conflict between development and standalone. Robert From sunshine at public.kherson.ua Sat Feb 26 22:19:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 14:19:33 2005 Subject: Votes for another serious bug in the plugins+interfaces area. Message-ID: Hi All, http://www.realsoftware.com/feedback/viewreport.php?reportid=ccmjfdkx I have submit to REAL bugs another serious bug for plugins + interfaces are. Please averybody who use Valentina and other plugins And who develop plugins self add your vote. Thank you in advance :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 26 22:36:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 26 14:36:40 2005 Subject: PerformanceQuestion In-Reply-To: <1e1f6ca4381960e0e5670d64e2c780c6@sailer-online.de> Message-ID: On 2/26/05 6:22 PM, "Claudius Sailer" wrote: > Hi, > > I am using following coding to check, whether datas are in an table > > SQLString="SELECT RecID FROM Konten WHERE Konto_Typ=1" > CurCheck= meineDatenbank.SQLselect(SQLString, > EVCursorLocation.kServerSide, EVLockType.kNoLocks, > EVCursorDirection.kRandom) > Ende=CurCheck.RecordCount > > is it faster to do it other way? e.g. > > SQLString="SELECT count(*) FROM Konten WHERE Konto_Typ=1" > CurCheck= meineDatenbank.SQLselect(SQLString, > EVCursorLocation.kServerSide, EVLockType.kNoLocks, > EVCursorDirection.kRandom) > res=CurCheck.firstRecord > Number=field(1).value > > > Thanks for help and ideas!! I think the first way is better. And have you note in 2.0 the best way for this task: res = tblKonten.Field("Konto_Typ").ValueExists( 1 ) This is the BEST POSSIBLE step, Claudius. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Roger at logram.com Sat Feb 26 21:38:45 2005 From: Roger at logram.com (Roger Amar) Date: Sat Feb 26 14:39:16 2005 Subject: Rev standalone with VXCMD Message-ID: <028383377603B34D9728A1E80EA9B43B06C755@srv.Logram.local> Thank you, Robert. As regard the MacOS standalone, I found the solution : the CODE resource Valentina was not duplicated in the standalone resource fork by the standalone maker. Adding it manually made standalone working normally. However, the problem with the Win32 standalone is remaining. In my startup handler, the path to "VXCMD_Win_MC.DLL" is relative, so, in theory, it must be found by the standalone. (I was obliged to set a flag in the rev handler SavingStandalone that I added to avoid a double startup with error 32, etc.) In fact, the standalone maker put "VXCMD.dll" in the standalone folder in place of "VXCMD_Win_MC.DLL" and then I get the "Execution error" dialog. (I do not know where "VXCMD.dll" is found !) When I added the "VXCMD_Win_MC.DLL" into the standalone folder, removing or not "VXCMD.dll" , I get a system error "Windows exception not handled" and the standalone does not launch. Do you have any idea ? Thanks in advance, Roger; -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] De la part de Robert Brenstein Envoy? : samedi 26 f?vrier 2005 19:53 ? : Valentina Developers Objet : Re: Rev standalone with VXCMD >Hello, > >I have a Rev project using VXCMD which works fine. >I built standalones for MacOS and Win32. >When I launch them, I get a blank dialog with "Execution error" and of >course, the standalones do not work. >Is there anything special to do with VXCMD before building a Revolution >standalone ? > >Thanks for your help, > >Roger; My first guess is that the paths to vxcmd external are different. You may need to set the external property in the startup handler. Since startup is not called in ide, there will be no conflict between development and standalone. Robert _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From rjb at robelko.com Sun Feb 27 00:42:55 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Feb 26 18:02:06 2005 Subject: Rev standalone with VXCMD In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C755@srv.Logram.local> References: <028383377603B34D9728A1E80EA9B43B06C755@srv.Logram.local> Message-ID: >Thank you, Robert. > >As regard the MacOS standalone, I found the solution : the CODE >resource Valentina was not duplicated in the standalone resource >fork by the standalone maker. Adding it manually made standalone >working normally. Ah, yes, standalone maker does not copy Mac resources. >However, the problem with the Win32 standalone is remaining. >In my startup handler, the path to "VXCMD_Win_MC.DLL" is relative, >so, in theory, it must be found by the standalone. >(I was obliged to set a flag in the rev handler SavingStandalone >that I added to avoid a double startup with error 32, etc.) > >In fact, the standalone maker put "VXCMD.dll" in the standalone >folder in place of "VXCMD_Win_MC.DLL" and then I get the "Execution >error" dialog. (I do not know where "VXCMD.dll" is found !) Compare file info. It may be the same file just renamed. But may be standalone maker pulls some older version out from Rev distro. >When I added the "VXCMD_Win_MC.DLL" into the standalone folder, >removing or not "VXCMD.dll" , I get a system error "Windows >exception not handled" and the standalone does not launch. > >Do you have any idea ? >Thanks in advance, Sorry, no, I am not producing standalones, so my experience here is limited. I suggest you post this problem on rev-use list or search their archive. I recall that being discussed some time ago. Robert From sunshine at public.kherson.ua Sun Feb 27 21:44:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 27 13:44:17 2005 Subject: Need beta tester(s) for RBDB API of Valentina 2.0 Message-ID: Hi All, Anybody, who know this feature good, Can test this in Valentina 2.0 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Mon Feb 28 10:59:18 2005 From: ralf at end-if.de (Ralf Sander) Date: Mon Feb 28 03:59:19 2005 Subject: Loose search In-Reply-To: <35182b2994cbec9f30607cf3f68b5717@pcisys.net> References: <35182b2994cbec9f30607cf3f68b5717@pcisys.net> Message-ID: <3b9b4073b94470efe02ec467d91afda0@end-if.de> Hi list, I am trying to create a very loose search like the one in the Finder: 1. "do" will find "document 23" or "my Doc" or "todo" 2. but "image 34" fill find "iMage 34" and not "34 image" How can this be done in valentiva? using index by words as fieldoption and "=" as operator does only find whole words using "LIKE" is not indexed and hence to slow for me. using "LOCATE" would be the right function, but it seems not to be implemented in 1.0 and it is case sensitiv. Any hints? Thanks, Ralf From ernestogiannotta at tiscalinet.it Mon Feb 28 11:13:18 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 04:13:26 2005 Subject: V4RB2 vTable.id Property Message-ID: Hi Ruslan, I read abbout this new prop: ID as Integer (r/o) Returns the unique identifer of the table. can we use it to retrieve the table? as in tbl = DB.Table(ID) i.e. ID is the index position of Table in DB structure Cool Runnings, Erne. |er| musical box |ne| a media store From ernestogiannotta at tiscalinet.it Mon Feb 28 11:23:00 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 04:23:07 2005 Subject: V4RB2 Recid prop Message-ID: Hi Ruslan, RecID as Integer Returns the RecID of the current record. Range of values is 1..N, 0 - if the current record is undefined. Also you can use this property to change the current record of the Table. In case you try move to not existed record the current record will not be changed. Shouldn't Vale throw an error here? Otherwise we should always check after moving via recid as in tb.Recid = 24 // try to move if tb.Recid <> 24 then // check if success // 24 is not valid Recid end if Cool Runnings, Erne. |er| musical box |ne| a media store From ernestogiannotta at tiscalinet.it Mon Feb 28 11:27:34 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 04:27:39 2005 Subject: V4RB2 table.PhysicalRecordCount prop Message-ID: <3dd19dba9c6972104d49d38c7dbada1b@tiscalinet.it> Hi Ruslan, PhysicalRecordCount as Integer (r/o) Returns the numbers of physical records in the table. physRecCount = table.PhysicalRecordCount does this mean it counts also records marked as deleted? Cool Runnings, Erne. |er| musical box |ne| a media store From ernestogiannotta at tiscalinet.it Mon Feb 28 11:35:19 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Mon Feb 28 04:35:28 2005 Subject: V4RB2 Field.id prop Message-ID: <2682a8ec9136003b21458788b56cb093@tiscalinet.it> Hi Ruslan, in the docs: ID as Integer (r/o) Return the unique identifier of the table. Shouldn't it be "field" here? ^^^^^ id = fld.ID same question as before can we use it to retrieve the field? as in fld = Tbl.Field(ID) i.e. ID is the index position of Field in Table structure Cool Runnings, Erne. |er| musical box |ne| a media store From sunshine at public.kherson.ua Mon Feb 28 14:14:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:15:00 2005 Subject: V4RB2 vTable.id Property In-Reply-To: Message-ID: On 2/28/05 12:13 PM, "erne" wrote: Hi Erne, You should send this beta list. > I read abbout this new prop: > > ID as Integer (r/o) Returns the unique identifer of the table. > > can we use it to retrieve the table? as in > > tbl = DB.Table(ID) This will conflict to Table( Index ). > i.e. > ID is the index position of Table in DB structure In kernel we can do this. It seems for V4RB we will need TableByID( id ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 14:16:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:16:31 2005 Subject: V4RB2 Recid prop In-Reply-To: Message-ID: On 2/28/05 12:23 PM, "erne" wrote: > Hi Ruslan, > > RecID as Integer Returns the RecID of the current record. Range of > values is 1..N, 0 - if the current record is undefined. > Also you can use this property to change the current record of the > Table. > In case you try move to not existed record the current record will not > be changed. > > Shouldn't Vale throw an error here? I am sure it throw. But current record is not changed. Also added Table.RecordExists(RecId) property > Otherwise we should always check after moving via recid as in > > tb.Recid = 24 // try to move > if tb.Recid <> 24 then // check if success > // 24 is not valid Recid > end if -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 14:16:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 06:17:02 2005 Subject: V4RB2 table.PhysicalRecordCount prop In-Reply-To: <3dd19dba9c6972104d49d38c7dbada1b@tiscalinet.it> Message-ID: On 2/28/05 12:27 PM, "erne" wrote: > Hi Ruslan, > > PhysicalRecordCount as Integer (r/o) Returns the numbers of physical > records in the table. > physRecCount = table.PhysicalRecordCount > > does this mean it counts also records marked as deleted? Right! This will be important for BitSet creation. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 28 16:04:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 08:05:30 2005 Subject: Loose search In-Reply-To: <3b9b4073b94470efe02ec467d91afda0@end-if.de> Message-ID: On 2/28/05 11:59 AM, "Ralf Sander" wrote: > Hi list, > > I am trying to create a very loose search like the one in the Finder: > > 1. "do" will find "document 23" or "my Doc" or "todo" > 2. but "image 34" fill find "iMage 34" and not "34 image" > > How can this be done in valentiva? Hi Ralf, If you take a look on V4RB 2.0 beta, you will find exactly such example > using index by words as fieldoption and "=" as operator does only find > whole words > using "LIKE" is not indexed and hence to slow for me. > using "LOCATE" would be the right function, but it seems not to be > implemented in 1.0 and it is case sensitiv. 2.0 have Vfield.Contains() fujction -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 28 17:43:42 2005 From: ralf at end-if.de (Ralf Sander) Date: Mon Feb 28 10:43:26 2005 Subject: Loose search In-Reply-To: References: Message-ID: <85cd664c9cd2b46e85dcd8ee5d4cc0c6@end-if.de> > >> Hi list, >> >> I am trying to create a very loose search like the one in the Finder: >> >> 1. "do" will find "document 23" or "my Doc" or "todo" >> 2. but "image 34" fill find "iMage 34" and not "34 image" >> >> How can this be done in valentiva? > > Hi Ralf, > > If you take a look on V4RB 2.0 beta, > you will find exactly such example Hi Ruslan, not bad! But I am on the SQL way. Any solution for that? Cheers, Ralf From sunshine at public.kherson.ua Mon Feb 28 19:06:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 28 11:06:25 2005 Subject: Loose search In-Reply-To: <85cd664c9cd2b46e85dcd8ee5d4cc0c6@end-if.de> Message-ID: On 2/28/05 6:43 PM, "Ralf Sander" wrote: >> Hi Ralf, >> >> If you take a look on V4RB 2.0 beta, >> you will find exactly such example > Hi Ruslan, > not bad! But I am on the SQL way. Any solution for that? Yes Ralf, In the Exmaple/SQL_way you will find analogs for SQL. And 2.0 will do searches StartWith, EndsWith, Contains Using index if it exists or without otherwise. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Mon Feb 28 11:11:37 2005 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Feb 28 13:11:50 2005 Subject: Rev standalone with VXCMD In-Reply-To: <028383377603B34D9728A1E80EA9B43B06C755@srv.Logram.local> Message-ID: <20050228191137.55978.qmail@web52402.mail.yahoo.com> Hi Roger, I'm not sure if you ever found a response to this question or not, but it has been my experience that in order to make this work you *have* to set the externals property of your stack, even if the external is located relative to your standalone. If that's the case, simply set it to "VXCMD_Win_MC.DLL" with no other path. And Robert is correct in that the VXCMD.dll file that gets copied by the Rev standalone builder is an older file that's included with the Rev distribution. So if you want that updated you'll need to copy the latest file in manually. Just make sure that the name of the file is the same as what's set in the enternals property of your stack. Hope that helps, Chris Sheffield --- Roger Amar wrote: > Thank you, Robert. > > As regard the MacOS standalone, I found the solution > : the CODE resource Valentina was not duplicated in > the standalone resource fork by the standalone > maker. Adding it manually made standalone working > normally. > > However, the problem with the Win32 standalone is > remaining. > In my startup handler, the path to > "VXCMD_Win_MC.DLL" is relative, so, in theory, it > must be found by the standalone. > (I was obliged to set a flag in the rev handler > SavingStandalone that I added to avoid a double > startup with error 32, etc.) > > In fact, the standalone maker put "VXCMD.dll" in the > standalone folder in place of "VXCMD_Win_MC.DLL" and > then I get the "Execution error" dialog. (I do not > know where "VXCMD.dll" is found !) > When I added the "VXCMD_Win_MC.DLL" into the > standalone folder, removing or not "VXCMD.dll" , I > get a system error "Windows exception not handled" > and the standalone does not launch. > > Do you have any idea ? > Thanks in advance, > > Roger; > > > > > > > > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] De la > part de Robert Brenstein > Envoyé : samedi 26 février 2005 19:53 > À : Valentina Developers > Objet : Re: Rev standalone with VXCMD > > >Hello, > > > >I have a Rev project using VXCMD which works fine. > >I built standalones for MacOS and Win32. > >When I launch them, I get a blank dialog with > "Execution error" and of > >course, the standalones do not work. > >Is there anything special to do with VXCMD before > building a Revolution > >standalone ? > > > >Thanks for your help, > > > >Roger; > > My first guess is that the paths to vxcmd external > are different. You may need to set the external > property in the startup handler. Since startup is > not called in ide, there will be no conflict between > development and standalone. > > Robert > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From lists at mangomultimedia.com Mon Feb 28 12:30:18 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Feb 28 14:30:50 2005 Subject: Database becoming corrupted on client computer Message-ID: Hi, In the last several weeks I have received reports from two customers about a problem with some of our software and I am stumped as to what is causing it. The problem only occurs on a screen that accesses the "People" portion of our valentina database (We are using the XCMD with Revolution and the clients are running XP). Our software only reads from the database in the software, no writes at all. Both clients are running Windows XP on P4 with > 3 GHZ processors. One computer has 2 GB of RAM, the other has 4GB of RAM. One is a Dell, the other is AlienWare area-51. I had one of the clients send me his database and a diagnose shows that the "People" table is becoming corrupted on his computer. Below I've included a diagnose from the db we shipped with the product followed by a diagnose of the table form the db the customer sent me. I also included an XML description of the table. The Biography field is saying that it has orphan segments. I remember running into this problem during development if I indexed a field by words but didn't check the index box in the Valentina Carbon app. Does anybody have any idea what might be causing such a problem? I'm wondering if perhaps the >= 2GB of RAM might be the culprit since we have few if any customers that would have that much RAM installed. It is the only thing that really sticks out. Thanks for any insight anyone has. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com =============================== ========== ORIGINAL DIAGNOSE OF DATABASE ============ =============================== ************************************************************************ * BaseObject: "People" ************************************************************************ All right. -----> Field: "SectionAssociations' of type Text All right. -----> Field: "FirstName' of type VarChar All right. -----> Field: "Biography' of type Text All right. -----> Field: "Birth' of type VarChar All right. -----> Field: "Death' of type VarChar All right. -----> Field: "Notes' of type Text All right. -----> Field: "LastName' of type VarChar All right. -----> Field: "ID' of type ULong All right. =============================== ========== DIAGNOSE OF DATABASE FROM CLIENTS COMPUTER ============ =============================== ************************************************************************ * BaseObject: "People" ************************************************************************ Problems found. -----> Field: "SectionAssociations' of type Text All right. -----> Field: "FirstName' of type VarChar All right. -----> Field: "Biography' of type Text Problems found! (!) Minor problem: exists 17 orphan segments.(indicate mistake in algorithm.) -----> Field: "Birth' of type VarChar All right. -----> Field: "Death' of type VarChar All right. -----> Field: "Notes' of type Text All right. -----> Field: "LastName' of type VarChar All right. -----> Field: "ID' of type ULong All right. =============================== ========== XML DESCRIPTION OF TABLE ============ =============================== 8 Text 0 0 0 0 0 ASCII 1024 VarChar 1 0 0 0 0 256 ASCII Text 1 0 0 1 0 ASCII 1024 VarChar 0 0 0 0 0 256 ASCII VarChar 0 0 0 0 0 256 ASCII Text 1 0 0 1 0 ASCII 1024 VarChar 1 0 0 0 0 256 ASCII ULong 1 1 0 0 0 From Roger at logram.com Mon Feb 28 22:24:31 2005 From: Roger at logram.com (Roger Amar) Date: Mon Feb 28 15:25:15 2005 Subject: Question about multiple cursors Message-ID: <028383377603B34D9728A1E80EA9B43B06C75F@srv.Logram.local> Hi Ruslan, I have global variables called CursorRef, TitlesCursorRef, VolumesCursorRef 1st NewCursor command put a cursor ref into TitlesCursorRef 2nd NewCursor command put another cursor ref into VolumesCursorRef And then I change cursor by putting one of them into CursorRef. May I do such thing ? Thank you in advance for your help, Roger; From lists at mangomultimedia.com Mon Feb 28 15:14:35 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Feb 28 17:14:42 2005 Subject: Database becoming corrupted on client computer In-Reply-To: References: Message-ID: <8ee0306cd7bed63cdeee1593b0327549@mangomultimedia.com> On Feb 28, 2005, at 3:06 PM, Ruslan Zasukhin wrote: > On 2/28/05 10:30 PM, "Trevor DeVore" wrote: > > Hi Trevor, > > Have I correctly understand that as "corruption" you mean problem > " Minor problem: exists 17 orphan segments" > ? > > Well, this is NOT fatal problem absolutely! > Database still is alive and can work. OK. I was hoping that would explain why this table was not returning data on these two client computers. Every part of our software works except for the portions that access this table. Like I said, we've only had 2 reports of this so I'm trying to find out what the variable is. > - How you can use this? > > For example you have > > fldBLOB.WriteRecord( data ) > > tbl.AddRecord() << - but this line was not executed. > > May be because of error in other field, may be because you have > some if() around AddRecord. In the db I distribute to customers no writes are done, just reads so I don't know how that error occurred. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From lists at mangomultimedia.com Mon Feb 28 15:54:26 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Feb 28 17:54:35 2005 Subject: Database becoming corrupted on client computer In-Reply-To: References: Message-ID: <881399b33ab93a9f80bb2418a99d5a91@mangomultimedia.com> On Feb 28, 2005, at 3:25 PM, Ruslan Zasukhin wrote: > > Hmm. So you have prepare db and send it to customers? > And this db is NEVER changed? > Then > > 1) I recommend set flag ReadOnly in the Finder or WinOS > > 2) check db on your side. Its diagnose is fine ??? > then it looks somehow db is changed. Sorry, I'm a moron. This software db is modified on the client side (I was thinking of another product), but this table is not modified directly. Should modifying another table in the database possible cause errors in another table? I guess more importantly, could the errors in the "People" table that I included in my first email cause SQL calls to return no records? -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From valentina at panamind.com Mon Feb 28 22:18:01 2005 From: valentina at panamind.com (Gary Edge) Date: Mon Feb 28 21:18:20 2005 Subject: Storing a pdf file. Message-ID: I have a lot of pdf files that I'd like to write an app to manage. What's the best way to store and retrieve a pdf file in a database? When I want to view a file I'd like to just create a temporary pdf from the data stored. I'd like to do it that way to make the files more transportable. Or should I just save relative references to the files. -- Gary -- From valentina at panamind.com Mon Feb 28 23:30:04 2005 From: valentina at panamind.com (Gary Edge) Date: Mon Feb 28 22:30:10 2005 Subject: Storing a pdf file. In-Reply-To: <6.2.0.14.2.20050301164342.037a43f0@pop3.paradise.net.nz> References: <6.2.0.14.2.20050301164342.037a43f0@pop3.paradise.net.nz> Message-ID: <8dbbfae831abaeeab4fa6f7378ab1e6d@panamind.com> > > Which development environment/Valentina API are you using? V4RB, developing for OSX. > > In general, I'd envisage reading in the binary data and storing it in > a blob field with a corresponding varchar field holding the original > document name. When requested, write out the binary data (assigning > necessary creator/type info if needed on a Macintosh - or will the raw > binary be enough to re-create this?) and open/display the file. > I've been using V4RB for a long time now but strangely have never needed a blob field. A blob field will store binary data from a binarystream? Gary