From fb at memedia.de Wed Dec 1 17:19:02 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Dec 1 10:19:15 2004 Subject: V4MD Encryption ... next chapter Message-ID: Hi Igor! I have started working on the encryption of the database again and I found out that no matter what encryption key I use for opening, the database is always opened. Say I encrypted it with "mykey" then you are able to open it with "notmykey" Bug? See code: SetStructureEncryption (VAL[#ID],"sotchi") if ValentinaError()<>0 then VALerror=ValentinaErrorString() alert "Entschl?sselung fehlgeschlagen"&&VALerror.string return -1 end if SetEncryption (VAL[#ID],"notmycode") if ValentinaError()<>0 then VALerror=ValentinaErrorString() alert "Entschl?sselung fehlgeschlagen"&&VALerror.string return -1 end if Message window: * V4MD *: InitValentina...done * V4MD *: ValentinaSetDebugMode...done * V4MD *: new VServer...done * V4MD *: OpenSession...done * V4MD *: GetDatabaseCount...done * V4MD *: CloseSession...done * V4MD *: VServer_Destroy...done * V4MD *: Create_VDataBase...* V4MD *: DB_New...done * V4MD *: DB_SetStructureEncryption...done * V4MD *: ValentinaError...done * V4MD *: DB_SetEncryption...done * V4MD *: ValentinaError...done * V4MD *: OpenDatabase...done I understood that you MUST set the correct encryption key to open an encrypted database? Best regards, Florian From ralf at end-if.de Thu Dec 2 01:29:23 2004 From: ralf at end-if.de (Ralf Sander) Date: Wed Dec 1 18:29:39 2004 Subject: SQL-SELECT with two databases Message-ID: <372DCE44-43F9-11D9-BA50-000A95DF4532@end-if.de> Hi, is it possible to execute a select-command which searches two tables in two different databases? Cheers, Ralf From ralf at end-if.de Thu Dec 2 01:29:28 2004 From: ralf at end-if.de (Ralf Sander) Date: Wed Dec 1 18:29:47 2004 Subject: record locking / Vserver Message-ID: <3A67363E-43F9-11D9-BA50-000A95DF4532@end-if.de> Hi, a read/write cursor automatically locks all records in the cursor for other users, right? But what about the methods of vBaseObject like UpdateRecord? Is it possible to run into problems here, or will it be executed one after another. Example: one user updates a record.This may take some time. Meanwhile another user will update the same record. Will he get an error, or must his process simply wait, until the process of the first user is ready and will be executed after that and no error occures. Thanks Ralf From ralf at end-if.de Thu Dec 2 01:29:32 2004 From: ralf at end-if.de (Ralf Sander) Date: Wed Dec 1 18:29:56 2004 Subject: database structure & speed In-Reply-To: References: Message-ID: <3C90F48B-43F9-11D9-BA50-000A95DF4532@end-if.de> Hi, I want to keep my database customizable through the user, and wonder which is the best way to build it. Some fields are predefined but the user can add additional ones. Using methods to create all fields and access fields through field names is slower than using objects. But if I use a cursor for adding records or changing field values, I have to use field names (or index) instead of objects, too. Will I run into the same speed issues here? Or is it best to create objects for my fixed fields and access the userfields through methods? Thanks, Ralf From sunshine at public.kherson.ua Thu Dec 2 10:05:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 02:06:08 2004 Subject: SQL-SELECT with two databases In-Reply-To: <372DCE44-43F9-11D9-BA50-000A95DF4532@end-if.de> Message-ID: On 12/2/04 2:29 AM, "Ralf Sander" wrote: > Hi, > is it possible to execute a select-command which searches two tables in > two different databases? Hi Ralf, Not works in 1.x -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 2 10:08:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 02:08:38 2004 Subject: database structure & speed In-Reply-To: <3C90F48B-43F9-11D9-BA50-000A95DF4532@end-if.de> Message-ID: On 12/2/04 2:29 AM, "Ralf Sander" wrote: Hi Ralf, > I want to keep my database customizable through the user, and wonder > which is the best way to build it. > Some fields are predefined but the user can add additional ones. > > Using methods to create all fields and access fields through field > names is slower than using objects. You have test this ? > But if I use a cursor for adding > records or changing field values, I have to use field names (or index) > instead of objects, too. Will I run into the same speed issues here? You need write code which will work with any number of fields. And you cannot use access by name because you cannot know names of future fields. You should use access by index. This is quite fast. > Or is it best to create objects for my fixed fields and access the > userfields through methods? In REALBasic ? I wonder, you have test ? You have real problem of speed ? Or you just ASSUME ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 2 10:09:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 02:09:47 2004 Subject: record locking / Vserver In-Reply-To: <3A67363E-43F9-11D9-BA50-000A95DF4532@end-if.de> Message-ID: On 12/2/04 2:29 AM, "Ralf Sander" wrote: Hi Ralf, > a read/write cursor automatically locks all records in the cursor for > other users, right? Yes, this is EXCLUSIVE lock. > But what about the methods of vBaseObject like UpdateRecord? Is it > possible to run into problems here, or will it be executed one after > another. IF you use cursors in your app, then you MUST NOT use BaseObject API. > Example: > one user updates a record.This may take some time. > Meanwhile another user will update the same record. Will he get an > error, or must his process simply wait, until the process of the first > user is ready and will be executed after that and no error occures. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 2 10:11:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 02:11:45 2004 Subject: V4MD Encryption ... next chapter In-Reply-To: Message-ID: On 12/1/04 6:19 PM, "Florian Bogeschdorfer" wrote: > Hi Igor! > > I have started working on the encryption of the database again and I found > out that no matter what encryption key I use for opening, the database is > always opened. > > Say I encrypted it with "mykey" then you are able to open it with "notmykey" > Bug? > > See code: > > SetStructureEncryption (VAL[#ID],"sotchi") > if ValentinaError()<>0 then > VALerror=ValentinaErrorString() > alert "Entschl?sselung fehlgeschlagen"&&VALerror.string > return -1 > end if > SetEncryption (VAL[#ID],"notmycode") > if ValentinaError()<>0 then > VALerror=ValentinaErrorString() > alert "Entschl?sselung fehlgeschlagen"&&VALerror.string > return -1 > end if > > > Message window: > > * V4MD *: InitValentina...done > * V4MD *: ValentinaSetDebugMode...done > * V4MD *: new VServer...done > * V4MD *: OpenSession...done > * V4MD *: GetDatabaseCount...done > * V4MD *: CloseSession...done > * V4MD *: VServer_Destroy...done > * V4MD *: Create_VDataBase...* V4MD *: DB_New...done > * V4MD *: DB_SetStructureEncryption...done > * V4MD *: ValentinaError...done > * V4MD *: DB_SetEncryption...done > * V4MD *: ValentinaError...done > * V4MD *: OpenDatabase...done > > I understood that you MUST set the correct encryption key to open an > encrypted database? Yes, if key is wrong it should return 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 bibiko at eva.mpg.de Thu Dec 2 09:37:24 2004 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Thu Dec 2 02:37:39 2004 Subject: Old question - version 2? Message-ID: <41AED444.3010608@eva.mpg.de> Hi, I know that is an old question, sorry for that, but are there any new information about the coming out date of the version 2, esp. for Macromedia Director? Now I have to decide what version we use in our application which will be published in May 2005 and we need the unicode support in order to avoid making tricky things via Flash. Many thanks in advance Hans P.S. I pursue the Ukrainian occurrences and I hope that the Ukraine will find its own way to solve the problems without to be pressurised by other countries and without any bloodlettings! From sunshine at public.kherson.ua Thu Dec 2 10:44:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 02:45:14 2004 Subject: Old question - version 2? In-Reply-To: <41AED444.3010608@eva.mpg.de> Message-ID: On 12/2/04 10:37 AM, "Hans-Joerg Bibiko" wrote: Hi Hans, > I know that is an old question, sorry for that, but are there any new > information about the coming > out date of the version 2, esp. for Macromedia Director? > Now I have to decide what version we use in our application which will be > published in May 2005 and > we need the unicode support in order to avoid making tricky things via Flash. Then no doubt -- V4MD 2.0. I recommend you subscribe to Valentina beta list. I think in the nearest days we will make public invitation of Valentina developers to beta testing of V4RB and V4MD 2.0 > Many thanks in advance > > Hans > > P.S. > I pursue the Ukrainian occurrences and I hope that the Ukraine will find its > own way to solve the problems without to be pressurised by other countries and > without any bloodlettings! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Thu Dec 2 10:36:57 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Dec 2 03:37:16 2004 Subject: V4MD Encryption ... next chapter In-Reply-To: Message-ID: > > > > I understood that you MUST set the correct encryption key > to open an > > encrypted database? > > Yes, if key is wrong it should return error. After restarting the pc (vServer as service!), it worked as expected while quitting director and resetting the database connection still allowed me to open and browse the db with the wrong encryption key. Bug in Server? Best regards, Florian From sunshine at public.kherson.ua Thu Dec 2 11:44:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 03:45:00 2004 Subject: Old question - version 2? In-Reply-To: <41AED444.3010608@eva.mpg.de> Message-ID: On 12/2/04 10:37 AM, "Hans-Joerg Bibiko" wrote: > > Hi, > > I know that is an old question, sorry for that, but are there any new > information about the coming > out date of the version 2, esp. for Macromedia Director? > Now I have to decide what version we use in our application which will be > published in May 2005 and > we need the unicode support in order to avoid making tricky things via Flash. I was going to ask how you will use unicode in Dorector, But now I see that you talk about Flash > Many thanks 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 ralf at end-if.de Thu Dec 2 10:50:44 2004 From: ralf at end-if.de (Ralf Sander) Date: Thu Dec 2 03:50:56 2004 Subject: SQL-SELECT with two databases In-Reply-To: <20041202084518.245D627EBE3@edison.macserve.net> References: <20041202084518.245D627EBE3@edison.macserve.net> Message-ID: > >> Hi, >> is it possible to execute a select-command which searches two tables >> in >> two different databases? > > Hi Ralf, > > Not works in 1.x Hi Ruslan, does your answer mean, that it will in 2.x? Thanks, Ralf From ralf at end-if.de Thu Dec 2 10:51:48 2004 From: ralf at end-if.de (Ralf Sander) Date: Thu Dec 2 03:51:51 2004 Subject: database structure & speed In-Reply-To: <20041202084518.245D627EBE3@edison.macserve.net> References: <20041202084518.245D627EBE3@edison.macserve.net> Message-ID: Hi Ruslan, > On 12/2/04 2:29 AM, "Ralf Sander" wrote: > > Hi Ralf, > >> I want to keep my database customizable through the user, and wonder >> which is the best way to build it. >> Some fields are predefined but the user can add additional ones. >> >> Using methods to create all fields and access fields through field >> names is slower than using objects. > > You have test this ? >> But if I use a cursor for adding >> records or changing field values, I have to use field names (or index) >> instead of objects, too. Will I run into the same speed issues here? > > You need write code which will work with any number of fields. > And you cannot use access by name because you cannot know names of > future > fields. > You should use access by index. > This is quite fast. I thought, I could use a dictionary with all names, that I store in the database. This makes it easy to assign user-customizable content to each field on record creation. (eg. file creation date to field "userfield 12" I can't imagine how access by index would work here? > >> Or is it best to create objects for my fixed fields and access the >> userfields through methods? > > In REALBasic ? Yes > > I wonder, you have test ? > You have real problem of speed ? > Or you just ASSUME ? I have experienced a little bit with your example files. Its slower, but if this only influences creation/modification of records, I can live with it. There are other processes on creation of a record in my database, that makes the speed of valentina negligible here. > Thanks, Ralf From sunshine at public.kherson.ua Thu Dec 2 12:13:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 04:13:17 2004 Subject: SQL-SELECT with two databases In-Reply-To: Message-ID: On 12/2/04 11:50 AM, "Ralf Sander" wrote: >>> is it possible to execute a select-command which searches two tables >>> in >>> two different databases? >> >> Hi Ralf, >> >> Not works in 1.x > > Hi Ruslan, > does your answer mean, that it will in 2.x? Frankly saying we have not test. Deal is that in 2.0 we will have 3 kinds of links. Only one of them -- relational -- can be applied to tables from different dbs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 2 12:15:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 2 04:15:43 2004 Subject: database structure & speed In-Reply-To: Message-ID: On 12/2/04 11:51 AM, "Ralf Sander" wrote: >> You should use access by index. >> This is quite fast. > I thought, I could use a dictionary with all names, that I store in the > database. This makes it easy to assign user-customizable content to > each field on record creation. (eg. file creation date to field > "userfield 12" > I can't imagine how access by index would work here? Why not simply indexes ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Dec 3 10:37:53 2004 From: ralf at end-if.de (End If Software - Ralf Sander) Date: Fri Dec 3 03:37:54 2004 Subject: database structure & speed Message-ID: Hi Ruslan, >>> You should use access by index. >>> This is quite fast. >> I thought, I could use a dictionary with all names, that I store in the >> database. This makes it easy to assign user-customizable content to >> each field on record creation. (eg. file creation date to field >> "userfield 12" <> I can't imagine how access by index would work here? >Why not simply indexes ? Ok lets assume, the user creates 50 fields. Then I could store the index and what content the user wants to have in the field(i) in another table (e.g. field i=name). But what, if he deletes field 15? The I would have to reorder everything. If I store the names of new fields in a new table, it would be easier to handle. Wouldn't it make more sense to get the indecies on opening the database? I could then fill a dictionary with the fieldnames as key and the index as value. Or will the access to the dictionary values compensate the speed advantages of getting the field by index instead of getting by name? Everything could be more easy, it every field would have a unique id :-) Cheers, Ralf From delong at redcort.com Fri Dec 3 10:32:49 2004 From: delong at redcort.com (Keith DeLong) Date: Fri Dec 3 12:33:03 2004 Subject: [off topic] Congrats to Democracy in Ukraine! Message-ID: Ukraine Court Orders New Run-Off Election By NATASHA LISOVA, Associated Press Writer KIEV, Ukraine - The Supreme Court declared the results of Ukraine's disputed presidential run-off election invalid on Friday and ruled that the run-off should be repeated on Dec. 26, bringing cheers and fireworks from tens of thousands of opposition supporters massed in Kiev's main square. Great news Ruslan! We celebrate with you and your country :-) Keith DeLong From sunshine at public.kherson.ua Fri Dec 3 22:06:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 3 14:06:43 2004 Subject: [off topic] Congrats to Democracy in Ukraine! In-Reply-To: Message-ID: On 12/3/04 8:32 PM, "Keith DeLong" wrote: > Ukraine Court Orders New Run-Off Election > By NATASHA LISOVA, Associated Press Writer > > KIEV, Ukraine - The Supreme Court declared the results of Ukraine's > disputed presidential run-off election invalid on Friday and ruled that the > run-off should be repeated on Dec. 26, bringing cheers and fireworks from > tens of thousands of opposition supporters massed in Kiev's main square. > > n_re_eu/ukraine_election> > > > Great news Ruslan! > > We celebrate with you and your country :-) Yes, this is a first big victory of people! Thank you to all for support! Now we need that our Man have win this THIRD election tour. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 3 22:08:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 3 14:08:24 2004 Subject: database structure & speed In-Reply-To: Message-ID: On 12/3/04 11:37 AM, "End If Software - Ralf Sander" wrote: Hi Ralf, >>>> You should use access by index. >>>> This is quite fast. >>> I thought, I could use a dictionary with all names, that I store in the >>> database. This makes it easy to assign user-customizable content to >>> each field on record creation. (eg. file creation date to field >>> "userfield 12" > <> I can't imagine how access by index would work here? >> Why not simply indexes ? > Ok lets assume, the user creates 50 fields. Then I could store the index and > what content the user wants to have in the field(i) in another table (e.g. > field i=name). But what, if he deletes field 15? The I would have to > reorder everything. Aha, you store name of custom fields in other tables... Well, then right, use names. > If I store the names of new fields in a new table, it would be easier to > handle. yes > Wouldn't it make more sense to get the indecies on opening the database? >From name to get indices? Yes this can work > I could then fill a dictionary with the fieldnames as key and the index as > value. Or will the access to the dictionary values compensate the speed > advantages of getting the field by index instead of getting by name? > > > Everything could be more easy, it every field would have a unique id :-) In Valentina 2.0 we have ID for fields and 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 ralf at end-if.de Tue Dec 7 01:28:19 2004 From: ralf at end-if.de (Ralf Sander) Date: Sun Dec 5 18:26:06 2004 Subject: Many to many relation. How? Message-ID: In FileMaker, a many to many relation can be build by storing many related values in one record separated by returns. e.g. tablea, field "ids" record 1: id1 id2 id3 tableb, field "id" record 1: id1 record 2: id2 record 3: id3 questions: 1. Is this possible in v, too? 2. How will the select statement look like? 3. In FileMaker, there exists a limitation for the lenght of a single relation string (32 bytes, I think) Is there a limitation in Valentina? 4. How can I produce save unique values in a server invironment? You will say: Use object pointers and a third table, but that does not produce save ids. If I delete a record in table b, another record will take it's place, right? Thanks, Ralf From ralf at end-if.de Tue Dec 7 01:28:29 2004 From: ralf at end-if.de (Ralf Sander) Date: Sun Dec 5 18:26:13 2004 Subject: Record locking /Vserver and relations Message-ID: What will happen in the following case: I want to get a read/write cursor for a record that I want to delete. This record has related records (via object pointer) with option "CASCADE" and is in the parent table. One of the related records is in use by another user. Will I get the cursor anyhow and will the parent be deleted and the child not or what will happen? Thanks, Ralf From sunshine at public.kherson.ua Mon Dec 6 10:51:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 02:51:18 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: On 12/7/04 2:28 AM, "Ralf Sander" wrote: Hi Ralf, > In FileMaker, a many to many relation can be build by storing many > related values in one record separated by returns. > > e.g. > tablea, field "ids" > record 1: > id1 > id2 > id3 > > > > > tableb, field "id" > record 1: > id1 > record 2: > id2 > record 3: > id3 > > questions: > > 1. Is this possible in v, too? 1) first of all. This is NOT STANDARD way for Relational model. I mean FileMaker. 2) if you very want you can store several IDs into some field. this can be String, VarChar, BLOB or TEXT field, up to you. > 2. How will the select statement look like? That is the problem. This is not correct way for RDBMS, So there is no query in SQL for this. > 3. In FileMaker, there exists a limitation for the lenght of a single > relation string (32 bytes, I think) Is there a limitation in Valentina? Limitations of each field type describe in the ValentinaKernel.pdf BLOB and TEXT do not have limit on size. > 4. How can I produce save unique values in a server invironment? > You will say: Use object pointers and a third table, but that does not > produce save ids. What you mean "save ids" ? You mean CUSTOM GENERATED values ? Then you should self generate them. > If I delete a record in table b, another record will > take it's place, right? Right. But if you use ObjectPtr with option CASCADE, Then all linked records will be deleted also automatically. So there is no reference integration failure. * Finally, in RDBMS model, to get M : M link you must to have third table. * you can simulate FM way, but then it is your responsibility READ/WRITE/UPDATE this list of linked values. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 6 10:59:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 02:59:50 2004 Subject: Record locking /Vserver and relations In-Reply-To: Message-ID: On 12/7/04 2:28 AM, "Ralf Sander" wrote: > What will happen in the following case: > I want to get a read/write cursor for a record that I want to delete. > This record has related records (via object pointer) with option > "CASCADE" and is in the parent table. One of the related records is in > use by another user. Will I get the cursor anyhow and will the parent > be deleted and the child not or what will happen? Hi Ralf, So you have parent table T1 child table T2 Other user have cursor on T2, so it lock record(s) of T2. You have cursor on T1, so you lock record(s) of T1. Yes you will get cursor on T1 because there is no lock-conflict. If you will try to delete record from t1 which have linked child record in T2 but it is locked by other user then you will get refuse. And any record will not be deleted. Parent record cannot be deleted until at least one child records exists, because you have specify CASCADE. Otherwise we get referential integrity failure. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Tue Dec 7 11:05:25 2004 From: ralf at end-if.de (Ralf Sander) Date: Mon Dec 6 04:03:08 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: <83EF8F99-4837-11D9-AC6D-000A95DF4532@end-if.de> Hi Ruslan, > On 12/7/04 2:28 AM, "Ralf Sander" wrote: > > Hi Ralf, > >> In FileMaker, a many to many relation can be build by storing many >> related values in one record separated by returns. >> >> e.g. >> tablea, field "ids" >> record 1: >> id1 >> id2 >> id3 >> >> >> >> >> tableb, field "id" >> record 1: >> id1 >> record 2: >> id2 >> record 3: >> id3 >> >> questions: >> >> 1. Is this possible in v, too? > > 1) first of all. This is NOT STANDARD way for Relational model. > I mean FileMaker. > > 2) if you very want you can store several IDs into some field. > this can be String, VarChar, BLOB or TEXT field, > up to you. > >> 2. How will the select statement look like? > > That is the problem. This is not correct way for RDBMS, > So there is no query in SQL for this. > >> 3. In FileMaker, there exists a limitation for the lenght of a single >> relation string (32 bytes, I think) Is there a limitation in >> Valentina? > > Limitations of each field type describe in the ValentinaKernel.pdf > BLOB and TEXT do not have limit on size. > >> 4. How can I produce save unique values in a server invironment? > >> You will say: Use object pointers and a third table, but that does not >> produce save ids. > > What you mean "save ids" ? > > You mean CUSTOM GENERATED values ? > Then you should self generate them. Yes, but how can I produce a serial number, that is really unique? May be a silly question, but how can I prevent, that 2 users create the same serial? I could use usernames in the id, but the longer the string the slower operations will be, right? > >> If I delete a record in table b, another record will >> take it's place, right? > > Right. But if you use ObjectPtr with option CASCADE, > Then all linked records will be deleted also automatically. > So there is no reference integration failure. Yes, but I want to keep related records alive. > > * Finally, in RDBMS model, to get M : M link you must to have third > table. OK, lets assume, I have 3 tables. t1: 1 John 2 Bob t2: 1 personid1 taskid1 2 personid1 taskid2 3 personid1 taskid3 t3: 1 task1 2 task2 3 task3 How will the select statement look here, if I want to get all tasks in t3, that are related to record 1 in t1? Thanks, Ralf From sunshine at public.kherson.ua Mon Dec 6 12:38:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 04:38:55 2004 Subject: Many to many relation. How? In-Reply-To: <83EF8F99-4837-11D9-AC6D-000A95DF4532@end-if.de> Message-ID: On 12/7/04 12:05 PM, "Ralf Sander" wrote: >> You mean CUSTOM GENERATED values ? >> Then you should self generate them. > Yes, but how can I produce a serial number, that is really unique? > May be a silly question, but how can I prevent, that 2 users create the > same serial? I could use usernames in the id, but the longer the string > the slower operations will be, right? Note, that it seems only Access and mySQL offer auto-increment. Mature dbs such as Sybase do not have them Develop simple make helper table where keep just 1-2 filed and one or few records table_id next_id t1 546 So you can get value from this table, increment it, and save back 547 546 is the next id for 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 sunshine at public.kherson.ua Mon Dec 6 12:42:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 04:42:56 2004 Subject: Many to many relation. How? In-Reply-To: <83EF8F99-4837-11D9-AC6D-000A95DF4532@end-if.de> Message-ID: On 12/7/04 12:05 PM, "Ralf Sander" wrote: >> * Finally, in RDBMS model, to get M : M link you must to have third >> table. > > OK, lets assume, I have 3 tables. > t1: > 1 John > 2 Bob > > > t2: > 1 personid1 taskid1 > 2 personid1 taskid2 > 3 personid1 taskid3 > > t3: > 1 task1 > 2 task2 > 3 task3 > > How will the select statement look here, if I want to get all tasks in > t3, that are related to record 1 in t1? SELECT t3.*, t1.* FROM T3, T2, T1 WHERE T3.id = T2.taskID AND T2.personID = T1.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 ralf at end-if.de Tue Dec 7 11:52:06 2004 From: ralf at end-if.de (Ralf Sander) Date: Mon Dec 6 04:49:53 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: <094424D5-483E-11D9-978A-000A95DF4532@end-if.de> On 06.12.2004, at 11:38, Ruslan Zasukhin wrote: > On 12/7/04 12:05 PM, "Ralf Sander" wrote: > >>> You mean CUSTOM GENERATED values ? >>> Then you should self generate them. >> Yes, but how can I produce a serial number, that is really unique? >> May be a silly question, but how can I prevent, that 2 users create >> the >> same serial? I could use usernames in the id, but the longer the >> string >> the slower operations will be, right? > > Note, that it seems only Access and mySQL offer auto-increment. > Mature dbs such as Sybase do not have them > > Develop simple make helper table where keep just 1-2 filed and one or > few > records > > table_id next_id > > t1 546 > > So you can get value from this table, increment it, and save back 547 > 546 is the next id for use. > Ok, but can I access this via base objects and with many users, will it be processed one after another without errs or should I use a r/w cursor and write an internal loop to be sure not to get a locked err? Cheers, Ralf From ralf at end-if.de Tue Dec 7 11:53:25 2004 From: ralf at end-if.de (Ralf Sander) Date: Mon Dec 6 04:51:08 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: <3885BD9C-483E-11D9-978A-000A95DF4532@end-if.de> Hi Ruslan, Could you give me a little hint on this issue too, please? > * Finally, in RDBMS model, to get M : M link you must to have third > table. OK, lets assume, I have 3 tables. t1: 1 John 2 Bob t2: 1 personid1 taskid1 2 personid1 taskid2 3 personid1 taskid3 t3: 1 task1 2 task2 3 task3 How will the select statement look here, if I want to get all tasks in t3, that are related to record 1 in t1? Thanks, Ralf From ralf at end-if.de Tue Dec 7 14:17:19 2004 From: ralf at end-if.de (End If Software - Ralf Sander) Date: Mon Dec 6 07:15:05 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: on 06.12.2004 12:11 Uhr, Robert Brenstein wrote: >>> Develop simple make helper table where keep just 1-2 filed and one or few >>> records >>> >>> table_id next_id >>> >>> t1 546 >>> >>> So you can get value from this table, increment it, and save back 547 >>> 546 is the next id for use. >>> >> >> Ok, but can I access this via base objects and with many users, will >> it be processed one after another without errs or should I use a r/w >> cursor and write an internal loop to be sure not to get a locked err? >> >> Cheers, >> Ralf > > Actually, the table should really be used for storing it only through > quits. In other words, when your program launches, it should read the > value from the table into some global (persistent) variable and > handle it through a function. Each time the function is called, it > increases the id counter and saves the new value into the table > before returning the value to caller. Such a single dispatch will > eliminate any race conditions and the value in the table will be > always matching the saved state of the db (regardless whether the > program was properly shut down or crashed). > > Robert Hm, that can't work in a multi user invironment (Vserver). If I store the id local, it will be decreased by other users and I have not the latest in my variable. And all users should have access to the latest id. And the question is still there: If user 1 writes the new id, user 2 can't. So do I have to perform a loop, that looks for a r/w cursor or can I use baseobject and it will be processed one after another automatically or is there another automatic possibility? Cheers, Ralf From lists at innernine.com Mon Dec 6 07:51:56 2004 From: lists at innernine.com (Juergen Schreck) Date: Mon Dec 6 07:52:05 2004 Subject: Many to many relation. How? In-Reply-To: <3885BD9C-483E-11D9-978A-000A95DF4532@end-if.de> References: <3885BD9C-483E-11D9-978A-000A95DF4532@end-if.de> Message-ID: On Dec 7, 2004, at 4:53 AM, Ralf Sander wrote: > OK, lets assume, I have 3 tables. > t1: > 1 John > 2 Bob > > > t2: > 1 personid1 taskid1 > 2 personid1 taskid2 > 3 personid1 taskid3 > > t3: > 1 task1 > 2 task2 > 3 task3 > > How will the select statement look here, if I want to get all tasks in > t3, that are related to record 1 in t1? It's early, but how about so: SELECT * FROM t3, t1, t2 WHERE t2.personid == 1 AND t3.id == t2.taskid HTH, Juergen -- --------------------------------------------------------------------- Innernine http://www.innernine.com Custom Software Solutions 262.781.5295 --------------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Dec 6 14:42:47 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Dec 6 07:55:26 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: > > Actually, the table should really be used for storing it only through >> quits. In other words, when your program launches, it should read the >> value from the table into some global (persistent) variable and >> handle it through a function. Each time the function is called, it >> increases the id counter and saves the new value into the table >> before returning the value to caller. Such a single dispatch will >> eliminate any race conditions and the value in the table will be >> always matching the saved state of the db (regardless whether the >> program was properly shut down or crashed). >> >> Robert >Hm, that can't work in a multi user invironment (Vserver). If I store the id >local, it will be decreased by other users and I have not the latest in my >variable. And all users should have access to the latest id. >And the question is still there: If user 1 writes the new id, user 2 can't. >So do I have to perform a loop, that looks for a r/w cursor or can I use >baseobject and it will be processed one after another automatically or is >there another automatic possibility? > >Cheers, >Ralf Ah, I did not realize that you are talking client-server. A variation of this can still work but details would depend on your specific situation. If your serialization is only to get unique identication, then you could use the recId values that Valentina assigns automatically. If your records are not deleted, these would actually be serial numbers. Robert From ralf at end-if.de Tue Dec 7 15:04:05 2004 From: ralf at end-if.de (End If Software - Ralf Sander) Date: Mon Dec 6 08:01:51 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: on 06.12.2004 14:42 Uhr, Robert Brenstein wrote: >>> Actually, the table should really be used for storing it only through >>> quits. In other words, when your program launches, it should read the >>> value from the table into some global (persistent) variable and >>> handle it through a function. Each time the function is called, it >>> increases the id counter and saves the new value into the table >>> before returning the value to caller. Such a single dispatch will >>> eliminate any race conditions and the value in the table will be >>> always matching the saved state of the db (regardless whether the >>> program was properly shut down or crashed). >>> >>> Robert >> Hm, that can't work in a multi user invironment (Vserver). If I store the id >> local, it will be decreased by other users and I have not the latest in my >> variable. And all users should have access to the latest id. >> And the question is still there: If user 1 writes the new id, user 2 can't. >> So do I have to perform a loop, that looks for a r/w cursor or can I use >> baseobject and it will be processed one after another automatically or is >> there another automatic possibility? >> >> Cheers, >> Ralf > > Ah, I did not realize that you are talking client-server. A variation > of this can still work but details would depend on your specific > situation. If your serialization is only to get unique identication, > then you could use the recId values that Valentina assigns > automatically. If your records are not deleted, these would actually > be serial numbers. > > Robert Unfortunately, records will be delete. So I need ids. Cheers, Ralf From sunshine at public.kherson.ua Mon Dec 6 16:11:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 08:12:08 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: On 12/7/04 3:17 PM, "End If Software - Ralf Sander" wrote: > Hm, that can't work in a multi user invironment (Vserver). If I store the id > local, it will be decreased by other users and I have not the latest in my > variable. And all users should have access to the latest id. > And the question is still there: If user 1 writes the new id, user 2 can't. > So do I have to perform a loop, that looks for a r/w cursor or can I use > baseobject and it will be processed one after another automatically or is > there another automatic possibility? Yes you need loop You should use not BaseObject (with server) but Cursor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Dec 6 15:38:51 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Dec 6 08:55:53 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: > > >> Ah, I did not realize that you are talking client-server. A variation >> of this can still work but details would depend on your specific >> situation. If your serialization is only to get unique identication, >> then you could use the recId values that Valentina assigns >> automatically. If your records are not deleted, these would actually >> be serial numbers. >> >> Robert > >Unfortunately, records will be delete. So I need ids. > >Cheers, >Ralf If you delete, then your ids are not serialized (as in newer not always having a higher number) but you probably timestamp them anyway. So if you do not have the requirement that they keep always increasing, then you can still use the built-in recId as id. Robert From keith.ulrich at verizon.net Mon Dec 6 11:40:22 2004 From: keith.ulrich at verizon.net (Keith Ulrich) Date: Mon Dec 6 10:39:39 2004 Subject: [V4MD] Problem with AVG Message-ID: <5.1.1.6.0.20041206113950.02b287e8@incoming.verizon.net> Hi Ruslan, I'm having trouble with the AVG function. I use it frequently in queries to my database and it almost always works correctly. But for some reason it's failing on my current data. I've pasted the query below. The query returns zero records. If I remove the AVG function from the query, it returns many records. If I substitute SUM for AVG, it still returns nothing. Also, I tried removing all records except one from the PerformanceScore table. When I do that, the query correctly returns a single record. Let me know if you need me to send you my database. The initial problem cropped up in Director MX, but I've doing my experimenting and troubleshooting in ViSQL. I'm using version 1.10 of Valentina. Thanks for your help. Keith Ulrich ===================================== select Class.class_id , Class.name , Session.activity_id , Activity.activity_name , Session.student_id , Student.fname , Student.lname , SessionDetail.sdetail_id , SessionDetail.begin_date , SessionDetail.begin_time , Task.task_name , Task.task_id , ScoreType.score_name , avg(PerformanceScore.value) from Student, Session, Activity, Group, SessionDetail, Task, PerformanceScore, ScoreType, Class, Roster where (Roster.classObjPtr = Class.recID) AND (Roster.studentObjPtr = Student.recID) AND (Session.studentObjPtr = Student.recID) AND (Session.activityObjPtr = Activity.recID) AND (Activity.group_id = Group.group_id) AND (SessionDetail.sessionObjPtr = Session.recID) AND (ScoreType.recID = PerformanceScore.scoreTypeObjPtr) AND (SessionDetail.recID = PerformanceScore.sessionDetailObjPtr) AND (SessionDetail.taskObjPtr = Task.recId) AND (Class.class_ID IN (2)) AND (Group.group_tag = 'PBR') AND (PerformanceScore.value is not NULL) GROUP BY Class.class_id, Class.name, Session.activity_id, Activity.activity_name, Session.student_id, Student.fname, Student.lname, SessionDetail.sdetail_id, SessionDetail.begin_date, SessionDetail.begin_time, Task.task_name, Task.task_id, ScoreType.score_name ORDER BY Class.class_id , Class.name , Session.activity_id , Activity.activity_name , Session.student_id , Student.fname , Student.lname , SessionDetail.sdetail_id , SessionDetail.begin_date , SessionDetail.begin_time , Task.task_name , Task.task_id , ScoreType.score_name From sunshine at public.kherson.ua Mon Dec 6 20:38:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 12:38:49 2004 Subject: [V4MD] Problem with AVG In-Reply-To: <5.1.1.6.0.20041206113950.02b287e8@incoming.verizon.net> Message-ID: On 12/6/04 6:40 PM, "Keith Ulrich" wrote: Hi Keith, Wow, what a huge query :-) It looks to be correct. I do not see mistakes. Yes send me db. > Hi Ruslan, > > I'm having trouble with the AVG function. I use it frequently in queries to > my database and it almost always works correctly. But for some reason it's > failing on my current data. I've pasted the query below. > > The query returns zero records. If I remove the AVG function from the > query, it returns many records. If I substitute SUM for AVG, it still > returns nothing. > > Also, I tried removing all records except one from the PerformanceScore > table. When I do that, the query correctly returns a single record. Let me > know if you need me to send you my database. > > The initial problem cropped up in Director MX, but I've doing my > experimenting and troubleshooting in ViSQL. I'm using version 1.10 of > Valentina. > > Thanks for your help. > > Keith Ulrich > > ===================================== > > select Class.class_id , > Class.name , > Session.activity_id , > Activity.activity_name , > Session.student_id , > Student.fname , > Student.lname , > SessionDetail.sdetail_id , > SessionDetail.begin_date , > SessionDetail.begin_time , > Task.task_name , > Task.task_id , > ScoreType.score_name , > avg(PerformanceScore.value) > from Student, > Session, > Activity, > Group, > SessionDetail, > Task, > PerformanceScore, > ScoreType, > Class, > Roster > where (Roster.classObjPtr = Class.recID) AND > (Roster.studentObjPtr = Student.recID) AND > (Session.studentObjPtr = Student.recID) AND > (Session.activityObjPtr = Activity.recID) AND > (Activity.group_id = Group.group_id) AND > (SessionDetail.sessionObjPtr = Session.recID) AND > (ScoreType.recID = PerformanceScore.scoreTypeObjPtr) AND > (SessionDetail.recID = PerformanceScore.sessionDetailObjPtr) AND > (SessionDetail.taskObjPtr = Task.recId) AND > (Class.class_ID IN (2)) AND > (Group.group_tag = 'PBR') AND > (PerformanceScore.value is not NULL) > GROUP BY Class.class_id, > Class.name, > Session.activity_id, > Activity.activity_name, > Session.student_id, > Student.fname, > Student.lname, > SessionDetail.sdetail_id, > SessionDetail.begin_date, > SessionDetail.begin_time, > Task.task_name, > Task.task_id, > ScoreType.score_name > ORDER BY Class.class_id , > Class.name , > Session.activity_id , > Activity.activity_name , > Session.student_id , > Student.fname , > Student.lname , > SessionDetail.sdetail_id , > SessionDetail.begin_date , > SessionDetail.begin_time , > Task.task_name , > Task.task_id , > ScoreType.score_name -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keith.ulrich at verizon.net Mon Dec 6 14:09:59 2004 From: keith.ulrich at verizon.net (Keith Ulrich) Date: Mon Dec 6 13:09:10 2004 Subject: [V4MD] Problem with AVG In-Reply-To: References: <5.1.1.6.0.20041206113950.02b287e8@incoming.verizon.net> Message-ID: <5.1.1.6.0.20041206140906.02b35e68@incoming.verizon.net> Ruslan, where can I send the db? It's only 36 kb when zipped, but it gets bounced when I send it to this address. Thanks, Keith At 08:38 PM 12/6/2004 +0200, you wrote: >On 12/6/04 6:40 PM, "Keith Ulrich" wrote: > >Hi Keith, > >Wow, what a huge query :-) > >It looks to be correct. I do not see mistakes. >Yes send me db. > > > Hi Ruslan, > > > > I'm having trouble with the AVG function. I use it frequently in queries to > > my database and it almost always works correctly. But for some reason it's > > failing on my current data. I've pasted the query below. > > > > The query returns zero records. If I remove the AVG function from the > > query, it returns many records. If I substitute SUM for AVG, it still > > returns nothing. > > > > Also, I tried removing all records except one from the PerformanceScore > > table. When I do that, the query correctly returns a single record. Let me > > know if you need me to send you my database. > > > > The initial problem cropped up in Director MX, but I've doing my > > experimenting and troubleshooting in ViSQL. I'm using version 1.10 of > > Valentina. > > > > Thanks for your help. > > > > Keith Ulrich > > > > ===================================== > > > > select Class.class_id , > > Class.name , > > Session.activity_id , > > Activity.activity_name , > > Session.student_id , > > Student.fname , > > Student.lname , > > SessionDetail.sdetail_id , > > SessionDetail.begin_date , > > SessionDetail.begin_time , > > Task.task_name , > > Task.task_id , > > ScoreType.score_name , > > avg(PerformanceScore.value) > > from Student, > > Session, > > Activity, > > Group, > > SessionDetail, > > Task, > > PerformanceScore, > > ScoreType, > > Class, > > Roster > > where (Roster.classObjPtr = Class.recID) AND > > (Roster.studentObjPtr = Student.recID) AND > > (Session.studentObjPtr = Student.recID) AND > > (Session.activityObjPtr = Activity.recID) AND > > (Activity.group_id = Group.group_id) AND > > (SessionDetail.sessionObjPtr = Session.recID) AND > > (ScoreType.recID = PerformanceScore.scoreTypeObjPtr) AND > > (SessionDetail.recID = PerformanceScore.sessionDetailObjPtr) AND > > (SessionDetail.taskObjPtr = Task.recId) AND > > (Class.class_ID IN (2)) AND > > (Group.group_tag = 'PBR') AND > > (PerformanceScore.value is not NULL) > > GROUP BY Class.class_id, > > Class.name, > > Session.activity_id, > > Activity.activity_name, > > Session.student_id, > > Student.fname, > > Student.lname, > > SessionDetail.sdetail_id, > > SessionDetail.begin_date, > > SessionDetail.begin_time, > > Task.task_name, > > Task.task_id, > > ScoreType.score_name > > ORDER BY Class.class_id , > > Class.name , > > Session.activity_id , > > Activity.activity_name , > > Session.student_id , > > Student.fname , > > Student.lname , > > SessionDetail.sdetail_id , > > SessionDetail.begin_date , > > SessionDetail.begin_time , > > Task.task_name , > > Task.task_id , > > ScoreType.score_name > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: 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 Dec 6 21:15:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 6 13:16:03 2004 Subject: [V4MD] Problem with AVG In-Reply-To: <5.1.1.6.0.20041206140906.02b35e68@incoming.verizon.net> Message-ID: On 12/6/04 9:09 PM, "Keith Ulrich" wrote: > Ruslan, where can I send the db? It's only 36 kb when zipped, but it gets > bounced when I send it to this address. Of course you must not sent it to list! I have get it already. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 8 02:34:05 2004 From: ralf at end-if.de (Ralf Sander) Date: Mon Dec 6 19:31:50 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: <3F43A6B5-48B9-11D9-9250-000A95DF4532@end-if.de> On 06.12.2004, at 15:38, Robert Brenstein wrote: >> > >>> Ah, I did not realize that you are talking client-server. A >>> variation >>> of this can still work but details would depend on your specific >>> situation. If your serialization is only to get unique identication, >>> then you could use the recId values that Valentina assigns >>> automatically. If your records are not deleted, these would actually >>> be serial numbers. >>> >>> Robert >> >> Unfortunately, records will be delete. So I need ids. >> >> Cheers, >> Ralf > > If you delete, then your ids are not serialized (as in newer not > always having a higher number) but you probably timestamp them anyway. > So if you do not have the requirement that they keep always > increasing, then you can still use the built-in recId as id. > > Robert Hm, not bad. But won't a much longer string decrease speed of queries? The best solution would be an integer, wouldn't it? But then the database could run out anytime. Or do you think of a relation based on more than 2 fields? Cheers, Ralf From rjb at rz.uni-potsdam.de Tue Dec 7 05:20:06 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Dec 6 22:26:22 2004 Subject: Many to many relation. How? In-Reply-To: <3F43A6B5-48B9-11D9-9250-000A95DF4532@end-if.de> References: <3F43A6B5-48B9-11D9-9250-000A95DF4532@end-if.de> Message-ID: >>If you delete, then your ids are not serialized (as in newer not >>always having a higher number) but you probably timestamp them >>anyway. So if you do not have the requirement that they keep always >>increasing, then you can still use the built-in recId as id. >> >>Robert > >Hm, not bad. But won't a much longer string decrease speed of queries? >The best solution would be an integer, wouldn't it? But then the >database could run out anytime. >Or do you think of a relation based on more than 2 fields? > > >Cheers, >Ralf RecId is an integer. So is (at least can be) the timestamp. I would not be concerned about the speed decrease related to having a tad longer query string. The network performance will remain the bottleneck IMHO. Robert From sunshine at public.kherson.ua Tue Dec 7 09:49:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 7 01:49:35 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: On 12/7/04 6:20 AM, "Robert Brenstein" wrote: >> Hm, not bad. But won't a much longer string decrease speed of queries? >> The best solution would be an integer, wouldn't it? But then the >> database could run out anytime. >> Or do you think of a relation based on more than 2 fields? >> >> >> Cheers, >> Ralf > > RecId is an integer. So is (at least can be) the timestamp. I would > not be concerned about the speed decrease related to having a tad > longer query string. The network performance will remain the > bottleneck IMHO. That is right. Also note that TIMESTAMP can be made as ULONG or ULLONG (8 byte) integer value in the format YYYYMMDD HHMMSS -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 8 17:00:53 2004 From: ralf at end-if.de (End If Software - Ralf Sander) Date: Tue Dec 7 09:58:33 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: on 07.12.2004 8:49 Uhr, Ruslan Zasukhin wrote: > On 12/7/04 6:20 AM, "Robert Brenstein" wrote: > >>> Hm, not bad. But won't a much longer string decrease speed of queries? >>> The best solution would be an integer, wouldn't it? But then the >>> database could run out anytime. >>> Or do you think of a relation based on more than 2 fields? >>> >>> >>> Cheers, >>> Ralf >> >> RecId is an integer. So is (at least can be) the timestamp. I would >> not be concerned about the speed decrease related to having a tad >> longer query string. The network performance will remain the >> bottleneck IMHO. > > That is right. > > Also note that TIMESTAMP can be made as ULONG or ULLONG (8 byte) integer > value in the format > > YYYYMMDD HHMMSS OK, let's see, if I got it. I take the current date and time as string and add the recid as string and store it into a LLong val("20041205143211" + str(recid)) And this is really save? Or must the recid filled up with "0" s? val("20041205143211" + "00000000000125") sorry, may be silly, but I and math.... Thanks, Ralf From rjb at rz.uni-potsdam.de Tue Dec 7 17:36:58 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Dec 7 10:57:30 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: > > Also note that TIMESTAMP can be made as ULONG or ULLONG (8 byte) integer >> value in the format >> >> YYYYMMDD HHMMSS > >OK, let's see, if I got it. > >I take the current date and time as string and add the recid as string and >store it into a LLong > >val("20041205143211" + str(recid)) >And this is really save? Or must the recid filled up with "0" s? > >val("20041205143211" + "00000000000125") > >sorry, may be silly, but I and math.... > >Thanks, >Ralf I think you are trying to make it more complicated than needed. It is simpler to just use these fields separately. The timestamp field could be in yyymmddhhmmss format as suggested by Ruslan 20041205143211 or what the seconds function as supplied by the OS returns (a long integer with seconds from some arbitrary point in the past). This might not work, though, if your clients use different OS's since the reference points vary somewhat between OS's if I am not mistaken. RecId field is maintained by Valentina and let it do it for you. You just need to explicitly include it in SQL queries. Like Select recId,* From ... If you want the outcome ordered by the entry time: Select recId,* From ... Ordered by created_timestamp if you need your serial number to have a certain fixed numeric length, you can create an extra field that contains recId+baseOffset (if you want 5 digit numbers, baseOffset would be 10000 for example). In some of my programs (in particular when I need to collect data through a few web views), I create a new record using recId as the item identifier but leaving the "serial number" field empty until all data is there and approved. Only then, I copy the recId (or recId+baseOffset) into that field. This allows me to recycle records with incomplete/abandoned entries without having to do any explicit maintenance. Such a "serial number" field can also be used as a traditional primary key should a need arise. Robert Brenstein From ralf at end-if.de Thu Dec 9 14:37:19 2004 From: ralf at end-if.de (Ralf Sander) Date: Wed Dec 8 07:35:09 2004 Subject: Many to many relation. How? In-Reply-To: References: Message-ID: <72D16BAA-49E7-11D9-A0BF-000A95DF4532@end-if.de> On 07.12.2004, at 17:36, Robert Brenstein wrote: >> > Also note that TIMESTAMP can be made as ULONG or ULLONG (8 byte) >> integer >>> value in the format >>> >>> YYYYMMDD HHMMSS >> >> OK, let's see, if I got it. >> >> I take the current date and time as string and add the recid as >> string and >> store it into a LLong >> >> val("20041205143211" + str(recid)) >> And this is really save? Or must the recid filled up with "0" s? >> >> val("20041205143211" + "00000000000125") >> >> sorry, may be silly, but I and math.... >> >> Thanks, >> Ralf > > I think you are trying to make it more complicated than needed. It is > simpler to just use these fields separately. > > The timestamp field could be in yyymmddhhmmss format as suggested by > Ruslan > > 20041205143211 > > or what the seconds function as supplied by the OS returns (a long > integer with seconds from some arbitrary point in the past). This > might not work, though, if your clients use different OS's since the > reference points vary somewhat between OS's if I am not mistaken. > > RecId field is maintained by Valentina and let it do it for you. You > just need to explicitly include it in SQL queries. Like > > Select recId,* From ... > > If you want the outcome ordered by the entry time: > > Select recId,* From ... Ordered by created_timestamp > > if you need your serial number to have a certain fixed numeric length, > you can create an extra field that contains recId+baseOffset (if you > want 5 digit numbers, baseOffset would be 10000 for example). > > In some of my programs (in particular when I need to collect data > through a few web views), I create a new record using recId as the > item identifier but leaving the "serial number" field empty until all > data is there and approved. Only then, I copy the recId (or > recId+baseOffset) into that field. This allows me to recycle records > with incomplete/abandoned entries without having to do any explicit > maintenance. Such a "serial number" field can also be used as a > traditional primary key should a need arise. > > Robert Brenstein I think the serial number feature is an often needed one and it would be much easier, if Ruslan could add it as a new valentina feature :-) Thanks, Ralf From rjb at rz.uni-potsdam.de Wed Dec 8 15:14:49 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Dec 8 08:35:27 2004 Subject: Many to many relation. How? In-Reply-To: <72D16BAA-49E7-11D9-A0BF-000A95DF4532@end-if.de> References: <72D16BAA-49E7-11D9-A0BF-000A95DF4532@end-if.de> Message-ID: > >I think the serial number feature is an often needed one and it >would be much easier, if Ruslan could add it as a new valentina >feature :-) >Thanks, >Ralf > But recId is a serial number so to speak. It is automatically assigned to each record and certain to be unique. The only thing is that newer records may get lower number of some records were deleted earlier. But for unique identification, recId works just fine. Any other definition of serial number is up to Valentina programmer. What you consider a serial number, I may not. In a program like FileMaker, an explicit serial number feature is needed because as a programmer you have no access to internal numbering. Robert From peter.de.berdt at pandora.be Wed Dec 8 16:19:57 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Wed Dec 8 09:20:06 2004 Subject: Many to many relation. How? In-Reply-To: References: <72D16BAA-49E7-11D9-A0BF-000A95DF4532@end-if.de> Message-ID: <9EEFB496-492C-11D9-A5D0-000393DB2B60@pandora.be> On 8 Dec 2004, at 15:14, Robert Brenstein wrote: >> >> I think the serial number feature is an often needed one and it would >> be much easier, if Ruslan could add it as a new valentina feature :-) >> Thanks, >> Ralf >> > > But recId is a serial number so to speak. It is automatically assigned > to each record and certain to be unique. The only thing is that newer > records may get lower number of some records were deleted earlier. But > for unique identification, recId works just fine. Any other definition > of serial number is up to Valentina programmer. What you consider a > serial number, I may not. In a program like FileMaker, an explicit > serial number feature is needed because as a programmer you have no > access to internal numbering. > Indeed, and in fact, the auto-incrementing serial numbers should not be used to identify a record to the user. If you want to incorporate record numbering, do it yourself, the way you want it to. The fact that you have no immediate access to the recID numbers (i.e. write access) is a good thing, it garantees the uniqueness and integrity of your data. If you implement your own auto-incr. scheme, you can allow the user to change the next ID number for example without every having to fear double IDs. You've taken a step above the "beginners" database, like Filemaker is and have chosen speed and reliabity instead of ease of programming, try to think "non-Filemaker". I started using an SQL database, now I'm back to fulltime Filemaker development in my daytime job, I have found out how easily Filemaker forces you to use non-conventional relationship techniques (I still try to avoid them as much as possible, but sometimes you don't have a choice). Just to say I understand your difficulty adapting to a more uniform and structured way of database design. I don't recall the start of this thread, but many to many relations (that's what I'm reading in the subject) are done best by creating an extra table to hold the recIDs (well, ObjectPtrs actually): TABLE MANYTOMANY MyTable1ObjectPtr (pointing to RecID from table 1) MyTable2ObjectPtr (pointing to RecID from table 2) Example records: MyTable1ObjectPtr MyTable2ObjectPtr 1 1 1 2 1 3 2 1 2 3 3 1 3 2 Best regards Peter De Berdt From sunshine at public.kherson.ua Wed Dec 8 18:04:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 8 10:04:37 2004 Subject: Many to many relation. How? In-Reply-To: Message-ID: On 12/8/04 4:14 PM, "Robert Brenstein" wrote: >> I think the serial number feature is an often needed one and it >> would be much easier, if Ruslan could add it as a new valentina >> feature :-) >> Thanks, >> Ralf >> > > But recId is a serial number so to speak. It is automatically > assigned to each record and certain to be unique. The only thing is > that newer records may get lower number of some records were deleted > earlier. But for unique identification, recId works just fine. Any > other definition of serial number is up to Valentina programmer. What > you consider a serial number, I may not. In a program like FileMaker, > an explicit serial number feature is needed because as a programmer > you have no access to internal numbering. Hi All, Yes we plan to add auto-increment field For better support of Relational model. RecID is more or less feature of Object-Relational model. As I have told in 2.0 we also introduce OID field, This is feature of OO model. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin at kinetix.co.uk Wed Dec 8 19:09:30 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 13:13:21 2004 Subject: Vserver windows 98 In-Reply-To: Message-ID: <20041208191317.8B4D0286451@edison.macserve.net> Hi I need to install multiple instances of Vserver on Windows 98. When I do the 1st service & restart, it works fine. But when I install the 2nd service, the 1st one is stopped. Then when I install the 3rd service, the 2nd one is stopped. It only allows me to have one Vserver service running at a time. Any ideas? Martin From peter.de.berdt at pandora.be Wed Dec 8 20:22:19 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Wed Dec 8 13:22:26 2004 Subject: Vserver windows 98 In-Reply-To: <20041208191317.8B4D0286451@edison.macserve.net> References: <20041208191317.8B4D0286451@edison.macserve.net> Message-ID: <7A6101F9-494E-11D9-9701-000393DB2B60@pandora.be> On 8 Dec 2004, at 20:09, Martin Wright wrote: > Hi > > I need to install multiple instances of Vserver on Windows 98. > When I do the 1st service & restart, it works fine. But when I install > the > 2nd service, the 1st one is stopped. > Then when I install the 3rd service, the 2nd one is stopped. > It only allows me to have one Vserver service running at a time. > Why would you run several VServers? Just host more than one database on one VServer. You're doing two things wrong: 1. Trying to bind different applications to the same port 2. Increasing the memory use while it's not necessary Best regards Peter De Berdt From martin at kinetix.co.uk Wed Dec 8 19:23:51 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 13:27:35 2004 Subject: Vserver windows 98 In-Reply-To: <7A6101F9-494E-11D9-9701-000393DB2B60@pandora.be> Message-ID: <20041208192733.8106328648F@edison.macserve.net> We have 6 completely different products, each needs to run independently. Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Peter De Berdt Sent: 08 December 2004 19:22 To: Valentina Developers Subject: Re: Vserver windows 98 On 8 Dec 2004, at 20:09, Martin Wright wrote: > Hi > > I need to install multiple instances of Vserver on Windows 98. > When I do the 1st service & restart, it works fine. But when I install > the 2nd service, the 1st one is stopped. > Then when I install the 3rd service, the 2nd one is stopped. > It only allows me to have one Vserver service running at a time. > Why would you run several VServers? Just host more than one database on one VServer. You're doing two things wrong: 1. Trying to bind different applications to the same port 2. Increasing the memory use while it's not necessary Best regards Peter De Berdt _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Dec 8 21:38:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 8 13:38:58 2004 Subject: Vserver windows 98 In-Reply-To: <20041208192733.8106328648F@edison.macserve.net> Message-ID: On 12/8/04 9:23 PM, "Martin Wright" wrote: > We have 6 completely different products, each needs to run independently. So what ? You can have single instance of Vserver. Each product use it and have own database which is managed by the same Vserver. IF you VERY VERY want do what you describe, you should note that you need for EACH copy of Vserver specify unique port number (see ini file). And Each client should use corresponded port number. > Martin > > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Peter De Berdt > Sent: 08 December 2004 19:22 > To: Valentina Developers > Subject: Re: Vserver windows 98 > > > On 8 Dec 2004, at 20:09, Martin Wright wrote: > >> Hi >> >> I need to install multiple instances of Vserver on Windows 98. >> When I do the 1st service & restart, it works fine. But when I install >> the 2nd service, the 1st one is stopped. >> Then when I install the 3rd service, the 2nd one is stopped. >> It only allows me to have one Vserver service running at a time. >> > Why would you run several VServers? Just host more than one database on one > VServer. You're doing two things wrong: > 1. Trying to bind different applications to the same port 2. Increasing the > memory use while it's not necessary -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Dec 8 22:31:51 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Dec 8 14:31:59 2004 Subject: Vserver windows 98 References: Message-ID: <002201c4dd64$f33e21e0$3b04a8c0@giv> > > We have 6 completely different products, each needs to run independently. > > So what ? > > You can have single instance of Vserver. > > Each product use it and have own database which is managed by the same > Vserver. > > IF you VERY VERY want do what you describe, you should note that you need > for EACH copy of Vserver specify unique port number (see ini file). And Each > client should use corresponded port number. I'll also add: each service must be named differently. Otherwise will be conflict. The name of the .ini file is used as a basic for the service name. (for example, if you have .ini file named as 'MyService.ini' then the name of the service will be 'MyService') But this is not supported in the current build for Win9x. I need to implement this. And so this can only be available with the next build. VServer (for WinNT) already supports this. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Wed Dec 8 20:34:09 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 14:37:57 2004 Subject: Vserver windows 98 In-Reply-To: <002201c4dd64$f33e21e0$3b04a8c0@giv> Message-ID: <20041208203753.948E7286562@edison.macserve.net> Each of the 6 services have different names, differently named .ini files and use different port numbers - but only one can run at any one time. Is there no work around for this? Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Igor Gomon Sent: 08 December 2004 20:32 To: Valentina Developers Subject: Re: Vserver windows 98 > > We have 6 completely different products, each needs to run independently. > > So what ? > > You can have single instance of Vserver. > > Each product use it and have own database which is managed by the same > Vserver. > > IF you VERY VERY want do what you describe, you should note that you > need for EACH copy of Vserver specify unique port number (see ini > file). And Each > client should use corresponded port number. I'll also add: each service must be named differently. Otherwise will be conflict. The name of the .ini file is used as a basic for the service name. (for example, if you have .ini file named as 'MyService.ini' then the name of the service will be 'MyService') But this is not supported in the current build for Win9x. I need to implement this. And so this can only be available with the next build. VServer (for WinNT) already supports this. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Wed Dec 8 22:57:07 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Dec 8 14:57:12 2004 Subject: Vserver windows 98 References: <20041208203753.948E7286562@edison.macserve.net> Message-ID: <003801c4dd68$7a647e00$3b04a8c0@giv> I repeat: this is not supported in the current build for Win9x VServer. Currently each of these 6 service will use the same registry key to store path to its executable (Software\Microsoft\Windows\CurrentVersion\RunServices, Value=VServer). Of cource, you can create manually 6 different values (in this registry key) and write to them paths to these 6 services. But I believe that you need this from installer. Are you in urgent need of this? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Dec 8 23:07:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 8 15:07:35 2004 Subject: Vserver windows 98 In-Reply-To: <003801c4dd68$7a647e00$3b04a8c0@giv> Message-ID: On 12/8/04 10:57 PM, "Igor Gomon" wrote: > I repeat: this is not supported in the current build for Win9x VServer. > Currently each of these 6 service will use the same registry key to store > path to its executable > (Software\Microsoft\Windows\CurrentVersion\RunServices, Value=VServer). > Of cource, you can create manually 6 different values (in this registry key) > and write to them paths to these 6 services. > But I believe that you need this from installer. > Are you in urgent need of this? Igor, Actually this must be fixed. We have told that developer must be able create own installation of Vserver in such way, that for use everything will looks as MyServerApp. So you need use in registry KEY which is equal to name of service.exe I think. Agree ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Dec 8 23:13:52 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Dec 8 15:13:57 2004 Subject: Vserver windows 98 References: Message-ID: <006101c4dd6a$d1e76050$3b04a8c0@giv> > Igor, > > Actually this must be fixed. > > We have told that developer must be able create > own installation of Vserver in such way, > that for use everything will looks as MyServerApp. > > So you need use in registry KEY which is equal to name of service.exe > I think. > > Agree ? Yes. I told the same. This is simply not yet implemented in VServer for Win9X. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Wed Dec 8 22:03:18 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 16:22:49 2004 Subject: Vserver windows 98 In-Reply-To: <006101c4dd6a$d1e76050$3b04a8c0@giv> Message-ID: <20041208220705.873E1286635@edison.macserve.net> Actually it's really urgent. 4 of the 6 product CD's have already gone to the replicators. I need to tell our client how and when we are going to fix this. The product has 2 installation options, Network Server OR Stand-alone. Only the stand-alone option will be used on Windows 98 though. The Vserver works if the win9X.exe is started manually before the product starts. Could we simply run the win9X.exe with a .bat file when starting our application? If this is a possible, what do I need to put in the .bat file? I'm using Setup Factory for the installer which can modify or add registry values. If this is a better option, please tell me the settings for this as I am not too familiar with it. I've attached a screen-shot of the options I get in Setup Factory Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Igor Gomon Sent: 08 December 2004 21:14 To: Valentina Developers Subject: Re: Vserver windows 98 > Igor, > > Actually this must be fixed. > > We have told that developer must be able create > own installation of Vserver in such way, > that for use everything will looks as MyServerApp. > > So you need use in registry KEY which is equal to name of service.exe > I think. > > Agree ? Yes. I told the same. This is simply not yet implemented in VServer for Win9X. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Dec 9 00:30:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 8 16:30:19 2004 Subject: Vserver windows 98 In-Reply-To: <20041208220705.873E1286635@edison.macserve.net> Message-ID: On 12/9/04 12:03 AM, "Martin Wright" wrote: Hi Martin, > Actually it's really urgent. > 4 of the 6 product CD's have already gone to the replicators. > I need to tell our client how and when we are going to fix this. Igor will try to implement this ASAP. He have start work on this. But !!!!!!! Martin, I do not understand. You say that tomorrow you must make master CD. But you even did not test your solution? You need test it month or so. I think you long time ago did know that you need something special. You was need ask us long time ago: if this is possible? You need test this self, right ? Now you tell us: hey guys, I need solution tomorrow. This is not normal work IMHO. Please in future give more time for testing and for us. :-) > The product has 2 installation options, Network Server OR Stand-alone. > Only the stand-alone option will be used on Windows 98 though. > The Vserver works if the win9X.exe is started manually before the product > starts. Could we simply run the win9X.exe with a .bat file when starting our > application? probably > If this is a possible, what do I need to put in the .bat file? Igor will answer you > I'm using Setup Factory for the installer which can modify or add registry > values. If this is a better option, please tell me the settings for this as > I am not too familiar with it. > I've attached a screen-shot of the options I get in Setup Factory This cannot go to list! Please continue talk with Igor directly. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Wed Dec 8 23:45:20 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Dec 8 16:45:31 2004 Subject: Vserver windows 98 In-Reply-To: <20041208220705.873E1286635@edison.macserve.net> Message-ID: > > The product has 2 installation options, Network Server OR Stand-alone. > Only the stand-alone option will be used on Windows 98 though. > The Vserver works if the win9X.exe is started manually before > the product starts. Could we simply run the win9X.exe with a > .bat file when starting our application? > I don't understand: if Win98 is standalone only, what do you need server services for? With V4MD I would just take 6 applications with 6 Valentina Xtras. Florian From giv at tlc.kherson.ua Thu Dec 9 00:51:58 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Dec 8 16:52:04 2004 Subject: Vserver windows 98 References: <20041208220705.873E1286635@edison.macserve.net> Message-ID: <009e01c4dd78$8642df40$3b04a8c0@giv> > Could we simply run the win9X.exe with a .bat file when starting our > application? Yes, I think so, but I cannot test this right now because I do not have Win98 machine here. > If this is a possible, what do I need to put in the .bat file? Yes. The content of the .bat file could be as follows: @echo off cd "C:\Program Files\Paradigma Software\Valentina Server" VServer_9x Of course, correct the path if it is another on your system. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Wed Dec 8 23:08:28 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 17:12:17 2004 Subject: Vserver windows 98 In-Reply-To: Message-ID: <20041208231212.8D348286855@edison.macserve.net> The product was originaly only a server/client product. The stand-alone was a late request from the client and rather than have 2 different product types to build and maintain, the stand-alone was simply the VServer app plus the product app. Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Florian Bogeschdorfer Sent: 08 December 2004 22:45 To: 'Valentina Developers' Subject: RE: Vserver windows 98 > > The product has 2 installation options, Network Server OR Stand-alone. > Only the stand-alone option will be used on Windows 98 though. > The Vserver works if the win9X.exe is started manually before the > product starts. Could we simply run the win9X.exe with a .bat file > when starting our application? > I don't understand: if Win98 is standalone only, what do you need server services for? With V4MD I would just take 6 applications with 6 Valentina Xtras. Florian _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Wed Dec 8 23:24:21 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Dec 8 17:28:05 2004 Subject: Vserver windows 98 In-Reply-To: Message-ID: <20041208232803.9E18D286879@edison.macserve.net> Hi Ruslan/Igor I'm not suggesting that this is anybody's fault except ours. The products and quality of support we get from you guys is as good as it gets. What is annoying though, we've spent $$$ testing these products over the past 3 months with a test centre and this problem never came up until now. But ultimately it's our responsibility. Thanks Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 08 December 2004 22:30 To: valentina@lists.macserve.net Subject: Re: Vserver windows 98 On 12/9/04 12:03 AM, "Martin Wright" wrote: Hi Martin, > Actually it's really urgent. > 4 of the 6 product CD's have already gone to the replicators. > I need to tell our client how and when we are going to fix this. Igor will try to implement this ASAP. He have start work on this. But !!!!!!! Martin, I do not understand. You say that tomorrow you must make master CD. But you even did not test your solution? You need test it month or so. I think you long time ago did know that you need something special. You was need ask us long time ago: if this is possible? You need test this self, right ? Now you tell us: hey guys, I need solution tomorrow. This is not normal work IMHO. Please in future give more time for testing and for us. :-) > The product has 2 installation options, Network Server OR Stand-alone. > Only the stand-alone option will be used on Windows 98 though. > The Vserver works if the win9X.exe is started manually before the > product starts. Could we simply run the win9X.exe with a .bat file > when starting our application? probably > If this is a possible, what do I need to put in the .bat file? Igor will answer you > I'm using Setup Factory for the installer which can modify or add > registry values. If this is a better option, please tell me the > settings for this as I am not too familiar with it. > I've attached a screen-shot of the options I get in Setup Factory This cannot go to list! Please continue talk with Igor directly. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From wonderfef at noos.fr Thu Dec 9 10:31:51 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Dec 9 03:31:59 2004 Subject: [Vserve+V4RB] several cursor.updates in a go Message-ID: Hello all, I have a loop that updates several records. This loop crashes the app, with no RB IDE debug error, just a Finder error. I tried this is a push button : cursor = theDatabase.SqlSelect("SELECT * FROM myTable WHERE MyField = 'Test1'", 2, 1, 1) if cursor.RecordCount = 1 then v = cursor.Field("MyField").GetString + "***test" cursor.Field(" MyField").SetString v if cursor.Update = false then MsgBox "update failed" end if end if cursor = theDatabase.SqlSelect("SELECT * FROM MyTable WHERE Type = 'Test2'", 2, 1, 1) if cursor.RecordCount = 1 then v = cursor.Field("MyField").GetString + "***test" cursor.Field("MyField").SetString v if cursor.Update = false then MsgBox "update failed" end if end if cursor = theDatabase.SqlSelect("SELECT * FROM MyTable WHERE Type = 'Test3'", 2, 1, 1) if cursor.RecordCount = 1 then v = cursor.Field("MyField").GetString + "***test" cursor.Field("MyField").SetString v if cursor.Update = false then MsgBox "update failed" end if end if theDatabase.Flush The app seems to always crash before the third update. MyField is type text(256), and for some reasons not explained here, I need to retrieve all fields from the table, even if I update only some fields. What's wrong ? Thank you very much for your help. Eric From wonderfef at noos.fr Thu Dec 9 10:50:22 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Dec 9 03:50:35 2004 Subject: [Vserve+V4RB] several cursor.updates in a go - more info In-Reply-To: Message-ID: After having clicked several times on the button that updates 3 records in the same table - the button I was talking about in my previous mail, the IDE finally dropped into the debugger : It seems that the field "MyField" is suddenly NIL in the second update, though it's fine in the first one... Thanks again for your help Eric From sunshine at public.kherson.ua Thu Dec 9 12:11:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 9 04:12:04 2004 Subject: Vserver windows 98 In-Reply-To: <20041208231212.8D348286855@edison.macserve.net> Message-ID: On 12/9/04 1:08 AM, "Martin Wright" wrote: > The product was originaly only a server/client product. The stand-alone was > a late request from the client and rather than have 2 different product > types to build and maintain, the stand-alone was simply the VServer app plus > the product app. Hi Martin, Have you resolve problem using .bat files ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 9 12:13:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 9 04:13:51 2004 Subject: [Vserve+V4RB] several cursor.updates in a go In-Reply-To: Message-ID: On 12/9/04 11:31 AM, "Eric Ferrer" wrote: Hi Eric, > I have a loop that updates several records. > This loop crashes the app, with no RB IDE debug error, just a Finder error. > > I tried this is a push button : > > cursor = theDatabase.SqlSelect("SELECT * FROM myTable WHERE MyField = > 'Test1'", 2, 1, 1) > if cursor.RecordCount = 1 then > v = cursor.Field("MyField").GetString + "***test" > cursor.Field(" MyField").SetString v > if cursor.Update = false then > MsgBox "update failed" > end if > end if Before create new cursor kill the prev cursor = nil > cursor = theDatabase.SqlSelect("SELECT * FROM MyTable WHERE Type = > 'Test2'", 2, 1, 1) > if cursor.RecordCount = 1 then > v = cursor.Field("MyField").GetString + "***test" > cursor.Field("MyField").SetString v > if cursor.Update = false then > MsgBox "update failed" > end if > end if > > cursor = theDatabase.SqlSelect("SELECT * FROM MyTable WHERE Type = > 'Test3'", 2, 1, 1) > if cursor.RecordCount = 1 then > v = cursor.Field("MyField").GetString + "***test" > cursor.Field("MyField").SetString v > if cursor.Update = false then > MsgBox "update failed" > end if > end if > > theDatabase.Flush > > The app seems to always crash before the third update. > > MyField is type text(256), and for some reasons not explained here, I need > to retrieve all fields from the table, even if I update only some fields. > > What's wrong ? > Thank you very much for your help. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Thu Dec 9 11:28:25 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Dec 9 04:28:32 2004 Subject: [Vserve+V4RB] several cursor.updates in a go In-Reply-To: Message-ID: > Before create new cursor kill the prev > > cursor = nil Thank you Ruslan, This trick allows me to click on this test button up to 6/7 times... Then the app crashes again. This is better than crashing at this first click, but this problem does not reassure me. I changed the code in my test button, and it now updates a varchar(256) field 3 times in a go, and I have absolutely no problem. I can click on it dozens of times, even without the 'cursor = nil' trick : the app and Valentina update the records normally. I think there is something wrong with text-typed fields. Maybe I should reconsider my database's structure, but for sure, I have cases where text-types fields cannot be replaced, as far as I know. Thanks again Eric From sunshine at public.kherson.ua Thu Dec 9 13:02:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 9 05:02:15 2004 Subject: FIXED: [V4RB] Two V4RB 1.11 crashing problems -- db attached In-Reply-To: Message-ID: On 12/1/04 10:02 PM, "Keith DeLong" wrote: FIXED BUG. in case sub-query produce NULL value then IN () operator crashes. > Hi Ruslan, > I'm encouraged by the continuing victories being reported in the Ukraine! > :-) > > Attached is a db that demonstrates the crashes I reported. > Here's some example selects that crash ViSQL: > > This works > > SELECT * FROM Employees WHERE Salary IN > (select max(Salary) from Employees WHERE RecID > 40) > > This crashes: > > SELECT * FROM Employees WHERE Salary IN > (select max(Salary) from Employees WHERE RecID > 999) > > > This works: > > Select * FROM timecards > WHERE insecs IN (select max(insecs) from timecards,tasks WHERE Insecs <= > 3190000000 AND EmpPtr = 5 AND Manual = false) > AND EMPPTR = 5 > > Change Manual to False (no records in subselect) and it crashes: > > Select * FROM timecards > WHERE insecs IN (select max(insecs) from timecards,tasks WHERE Insecs <= > 3190000000 AND EmpPtr = 5 AND Manual = true) > AND EMPPTR = 5 > > > It appears any sub-select that results in no records selected crashes. > > Also, in REALbasic, this crashes if there is no recid = 9999: > > VCursor(InDB,"Select * from Employees WHERE RecID = 9999",kV_Server, > kV_NoLocks kV_Random) > > > Thanks Ruslan, > > Keith > > >> On 11/29/04 2:45 AM, "Keith DeLong" wrote: >> >>> Hi Ruslan, >>> >>> Problem #1 >>> V4RB crashes if an invalid RecID is passed. For example: >>> >>> VCursor(InDB,"Select * from Names WHERE RecID = 9999",kV_Server, kV_NoLocks, >>> kV_Random) >>> >>> This crashes the application if 9999 is an invalid recID >>> >>> >>> Problem #2 >>> V4RB crashes if a sub select results in no records selected. For example: >>> >>> SELECT * FROM Employees WHERE Salary IN >>> (select max(Salary) from Employees WHERE Active = false) >>> >>> This crashes the application if all employees are active. >>> >>> I tested and verified both of these bugs using ViSQL. >>> >>> I know you are focused on 2.0 but these are show stopping, deal breaking >>> critical problems. They crash my application without warning or error. >>> >>> How quickly can we get a fix for these? >> >> Hi Keith, >> >> I need to check. >> >> Well, it looks I have 4-5 reports on 1.11 for check. >> I will try to check this in 1-2 days. >> >> If you have db or else to send to me please send/. >> > > > > Scanned by evaluation version of Dr.Web antivirus Daemon > http://drweb.ru/unix/ > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin at kinetix.co.uk Thu Dec 9 11:04:41 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu Dec 9 05:08:29 2004 Subject: Vserver windows 98 In-Reply-To: Message-ID: <20041209110824.E01A6286E3E@edison.macserve.net> Hi Ruslan The .bat file works. We check if its Windows 98 and stand-alone then start the Vserver from our app. Are there any consequences of starting the Vserver multiple times without a computer restart? Thanks Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 09 December 2004 10:12 To: valentina@lists.macserve.net Subject: Re: Vserver windows 98 On 12/9/04 1:08 AM, "Martin Wright" wrote: > The product was originaly only a server/client product. The > stand-alone was a late request from the client and rather than have 2 > different product types to build and maintain, the stand-alone was > simply the VServer app plus the product app. Hi Martin, Have you resolve problem using .bat files ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Dec 9 13:36:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 9 05:36:42 2004 Subject: Vserver windows 98 In-Reply-To: <20041209110824.E01A6286E3E@edison.macserve.net> Message-ID: On 12/9/04 1:04 PM, "Martin Wright" wrote: Hi Martin, > The .bat file works. We check if its Windows 98 and stand-alone then start > the Vserver from our app. Excellent! > Are there any consequences of starting the Vserver multiple times without a > computer restart? You mean start server stop it ? No problems. Server is just app. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Thu Dec 9 13:48:23 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Dec 9 05:48:31 2004 Subject: Vserver windows 98 References: Message-ID: <005501c4dde4$fc7d2b40$3b04a8c0@giv> > > Are there any consequences of starting the Vserver multiple times without a > > computer restart? Actually you can only start 1 instance of VServer on the same port. You should get 'Address already in use' error when attempting to run multiple instances. Of course, you can run multiple instances on the different ports. Also note, that after starting of VServer (with .bat file for example, or by double-clicking its .exe) you cannot stop it any more. To stop it you must restart computer (logoff does not really stop it). Also you don't see it in the process list - because it work as service. Alternative to restart computer can be Shutdown() method of VServer Xtra. > You mean start server stop it ? > > No problems. Server is just app. Actually, this is not completely correct. VServer is not a regular application on Win9X. It is service. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Thu Dec 9 13:53:10 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Dec 9 05:53:15 2004 Subject: Vserver windows 98 References: <005501c4dde4$fc7d2b40$3b04a8c0@giv> Message-ID: <006701c4dde5$a810f770$3b04a8c0@giv> > > No problems. Server is just app. > Actually, this is not completely correct. > VServer is not a regular application on Win9X. > It is service. To be exact: VServer - is specific application, that works as service on 9x. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From martin at kinetix.co.uk Thu Dec 9 12:01:23 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu Dec 9 06:05:11 2004 Subject: Vserver windows 98 In-Reply-To: <006701c4dde5$a810f770$3b04a8c0@giv> Message-ID: <20041209120506.0F461286ECB@edison.macserve.net> So if I start (double-click) the same Win9X app 6 times, are there 6 instances of it running? Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Igor Gomon Sent: 09 December 2004 11:53 To: Valentina Developers Subject: Re: Vserver windows 98 > > No problems. Server is just app. > Actually, this is not completely correct. > VServer is not a regular application on Win9X. > It is service. To be exact: VServer - is specific application, that works as service on 9x. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Thu Dec 9 14:10:42 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Dec 9 06:10:46 2004 Subject: Vserver windows 98 References: <20041209120506.0F461286ECB@edison.macserve.net> Message-ID: <007401c4dde8$1adfeb10$3b04a8c0@giv> > So if I start (double-click) the same Win9X app 6 times, are there 6 > instances of it running? Only first instanse will be running. Other five will end immediately with next error in log: "Address already in use". -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From leo_van_den_brande at wxs.nl Fri Dec 10 19:37:41 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Fri Dec 10 12:35:47 2004 Subject: LoadDump and Windows Message-ID: <41B9ECF5.9060407@wxs.nl> Hi all, I can get Dump XML and LoadDump (Val 1.1, under Mac OS 10.2 with RB 5.2.4). to work well on the Mac, provided I do not use Vdatabase as class but my owm ValDB subclass. I probably misunderstand the Reference manual., but anyhow, it works. However, when my code is compiled on the Mac for Win 32 , a dumped xml file loads well - I can read the current language, edit and reload the file and verify that edititing went well - but on LoadDump no database is created. I get no error message. The code is as follows: (App.mValdb3 = new VDatabase) // Does not work with Mac OS nor with Windows. App.mValdb3 = new ValDB // ValDB is my subclass of Vdatabase. This works well with MacOS. Not with Windows f=GetFolderItem(App.FileSourceNewAbsPath) //This is the path to the edited xml file If f = Nil then MsgBox "Getting the .xml file failed." return End If // Give a slightly modified name DBName = "Vdb Ed " + Mid(App.FileName,4) DBName = Left(DBName,Len(DBName) - 4) + ".vdb" PathDB = App.MyPath + DBName f1 = GetFolderItem(PathDB) App.mValdb3.LoadDump(f,f1,2) What am I doing wrong? In the discussion list, Ruslan mentioned that there are problems on Windows, and a question to Erne if he had a solution. Who can help out here? It will be very much appreciated! Leo From lists at mangomultimedia.com Fri Dec 10 11:25:33 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Dec 10 13:25:38 2004 Subject: Where did my data go? Message-ID: <432EBEEA-4AE1-11D9-9D6F-000D9337CDC8@mangomultimedia.com> I have a project using Valentina 1.10 and Revolution. We encountered a scenario the other day where the data in the database was completely wiped out. I took the database off of the Windows computer and opened it in Valentina. It wasn't diagnosed with any problems and the size of the .dat file makes it appear that the data is still there but no data shows up for any tables when opened in Valentina. Unfortunately I don't have many details on what the user was doing when this happened. I realize this isn't much to go on but I'm wondering if anyone else has encountered this before? -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Fri Dec 10 22:33:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 10 14:33:56 2004 Subject: LoadDump and Windows In-Reply-To: <41B9ECF5.9060407@wxs.nl> Message-ID: On 12/10/04 8:37 PM, "Leo Van den Brande" wrote: Hi Leo, > I can get Dump XML and LoadDump (Val 1.1, under Mac OS 10.2 with RB > 5.2.4). to work well on the Mac, provided I do not use Vdatabase as > class but my owm ValDB subclass. I probably misunderstand the > Reference manual., but anyhow, it works. Right, you should load into dim db as Vdatabse > However, when my code is compiled on the Mac for Win 32 , a dumped xml > file loads well - I can read the current language, edit and reload the > file and verify that edititing went well - but on LoadDump no > database is created. I get no error message. If you try LoadDump on file as is. Without editing. Does it work ? If yes, then I think that your editor change LINE Endings of file -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Dec 10 23:42:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 10 15:42:21 2004 Subject: Where did my data go? In-Reply-To: <432EBEEA-4AE1-11D9-9D6F-000D9337CDC8@mangomultimedia.com> Message-ID: On 12/10/04 9:25 PM, "Trevor DeVore" wrote: Hi Trevor, > I have a project using Valentina 1.10 and Revolution. We encountered a > scenario the other day where the data in the database was completely > wiped out. I took the database off of the Windows computer and opened > it in Valentina. It wasn't diagnosed with any problems and the size of > the .dat file makes it appear that the data is still there but no data > shows up for any tables when opened in Valentina. > > Unfortunately I don't have many details on what the user was doing when > this happened. I realize this isn't much to go on but I'm wondering if > anyone else has encountered this before? Well, only once I have see similar case. And developer self have made call DeleteAllRecords() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From leo_van_den_brande at wxs.nl Sat Dec 11 01:38:15 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Fri Dec 10 18:36:22 2004 Subject: LoadDump and Windows Message-ID: <41BA4177.6060109@wxs.nl> Hi Ruslan, Thanks so much for your suggestions. < Right, you should load into < dim db as Vdatabse Since I have a problem with this, perhaps I should clarify better what I did. You may remember that I had a problem with accented characters. You advised me to move to German from the ASCII that I was using. So, I made a new version of my program in which all language definitions are German. Now I use the old version (ASCII-based) of the program to load an ASCII-based database and make a xml dump of it.. Next I load the xml file in the new version (German-based), replace all language occurrences in the file from ASCII to German, save it and do a LoadDump. On the Mac I do not succeed to perform this LoadDump with Dim db As Vdatabase. Only if I do: Dim db As Valdb //which is my own subclass of Vdatabase, and is German-based since this is in the new version of my program, next: db = New Valdb and next give the full path, the LoadDump works. The resulting db is OK when opened later as Valdb. However this does not work under Windows. < If you try LoadDump on file as is. Without editing. < Does it work ? Yes on the Mac, under Windows, it never works, editing or not. What do you think? Thanks! Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From sunshine at public.kherson.ua Sun Dec 12 09:42:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 12 01:42:19 2004 Subject: [AS] Close database not working for me In-Reply-To: Message-ID: On 12/12/04 7:21 AM, "M Young" wrote: hi Michael, I think this is question to Valentina list but not to vstudio. Please check examples of VAPP. They show create/close/open. Run and check that examples work for you. > AppleScript > > Create() > > tell application "Valentina Carbon" > close database "Macintosh HD:Customers" > end tell > > ---------------------------------------------------------------------------- > on Create() > tell application "Valentina Carbon" > activate > set theDB to make new database with data file "Macintosh HD:Customers" > set Customer to make new base object with properties {name:"Customer"} > at end of theDB > end tell > end Create > > ************************************************************* > > Event Log > tell application "Valentina Carbon" > activate > current application > activate > make new database with data file "Macintosh HD:Customers" > database "Customers" > make new base object with properties {name:"Customer"} at end of database > "Customers" > base object "Customer" of database "Customers" > close database "Macintosh HD:Customers" > "Valentina Carbon got an error: database \"Macintosh HD:Customers\" > doesn't understand the close message." > > ************************************************************* > > Database "Customers" is created in the correct location, however close > database fails. What am I doing wrong? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Dec 12 15:22:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 12 07:22:14 2004 Subject: LoadDump and Windows In-Reply-To: <41BA4177.6060109@wxs.nl> Message-ID: On 12/11/04 2:38 AM, "Leo Van den Brande" wrote: > Hi Ruslan, > > Thanks so much for your suggestions. > > < Right, you should load into > < dim db as Vdatabse > > Since I have a problem with this, perhaps I should clarify better what > I did. > You may remember that I had a problem with accented characters. You > advised me to move to German from the ASCII that I was using. > So, I made a new version of my program in which all language > definitions are German. > Now I use the old version (ASCII-based) of the program to load an > ASCII-based database and make a xml dump of it.. > Next I load the xml file in the new version (German-based), replace > all language occurrences in the file from ASCII to German, save it and > do a LoadDump. > > On the Mac I do not succeed to perform this LoadDump with > Dim db As Vdatabase. > > Only if I do: > Dim db As Valdb //which is my own subclass of Vdatabase, and is > German-based since this is in the new version of my program, next: > db = New Valdb > and next give the full path, the LoadDump works. > The resulting db is OK when opened later as Valdb. > > However this does not work under Windows. > > < If you try LoadDump on file as is. Without editing. > < Does it work ? > > Yes on the Mac, under Windows, it never works, editing or not. > > What do you think? Actually it should be as: 1) you have special function DoXMLLoad dim db as Vdatabase db = new Vdatabase() db.LoadDump( path ) db.Close() end So you will do LoadDump into Vdatabase object. And it die. After that you can make your own OtherFunc db as Valdb db = new Valdb db.Open( path ) End -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From myoung at ieee.org Sun Dec 12 10:24:08 2004 From: myoung at ieee.org (M Young) Date: Sun Dec 12 11:24:17 2004 Subject: [AS] Close database not working for me Message-ID: VAPP example works to create and close database. However when I try to create then close database with full pathname, only the create portion works. The close is probably failing because of the \ marks that are coming from somewhere. The problem appears to be strictly an AppleScript issue, since I get the problem when trying to close files with other applications. I will continue to look for an answer. Michael > hi Michael, > > I think this is question to Valentina list but not to vstudio. > > Please check examples of VAPP. They show create/close/open. > Run and check that examples work for you. > >> AppleScript >> >> Create() >> >> tell application "Valentina Carbon" >> close database "Macintosh HD:Customers" >> end tell >> >> ---------------------------------------------------------------------- >> ------ >> on Create() >> tell application "Valentina Carbon" >> activate >> set theDB to make new database with data file "Macintosh >> HD:Customers" >> set Customer to make new base object with properties >> {name:"Customer"} >> at end of theDB >> end tell >> end Create >> >> ************************************************************* >> >> Event Log >> tell application "Valentina Carbon" >> activate >> current application >> activate >> make new database with data file "Macintosh HD:Customers" >> database "Customers" >> make new base object with properties {name:"Customer"} at end of >> database >> "Customers" >> base object "Customer" of database "Customers" >> close database "Macintosh HD:Customers" >> "Valentina Carbon got an error: database \"Macintosh >> HD:Customers\" >> doesn't understand the close message." >> >> ************************************************************* >> >> Database "Customers" is created in the correct location, however close >> database fails. What am I doing wrong? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] From leo_van_den_brande at wxs.nl Sun Dec 12 19:19:31 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sun Dec 12 12:17:44 2004 Subject: LoadDump and Windows Message-ID: <41BC8BB3.2070405@wxs.nl> Hi Ruslan, < DoXMLLoad < Vdatabase < db = new Vdatabase() < db.LoadDump( path ) < db.Close() Hi Michael, trick is to store the database reference in a property variable prop thedb:"" set thedb to (make new database....|open database ....) and then use the variable to close the db close thedb works like a charm. Best Kurt VAPP example works to create and close database. However when I try to create then close database with full pathname, only the create portion works. The close is probably failing because of the \ marks that are coming from somewhere. The problem appears to be strictly an AppleScript issue, since I get the problem when trying to close files with other applications. I will continue to look for an answer. Michael ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ From sunshine at public.kherson.ua Mon Dec 13 09:45:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 01:45:17 2004 Subject: LoadDump and Windows In-Reply-To: <41BC8BB3.2070405@wxs.nl> Message-ID: On 12/12/04 8:19 PM, "Leo Van den Brande" wrote: > Hi Ruslan, > > < DoXMLLoad > > < Vdatabase > > < db = new Vdatabase() > < db.LoadDump( path ) > > < db.Close() > > I am very confused now! > > - .db.LoadDump( path ) does not compile (wants two arguments). Not > with folderitem, nor with f.Absolute path of xml file. Leo, I just show general idea. Of course you need 1) specify second parameter 2) set the Path variable before to location you need -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 13 09:46:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 01:46:32 2004 Subject: LoadDump and Windows In-Reply-To: <41BC8BB3.2070405@wxs.nl> Message-ID: On 12/12/04 8:19 PM, "Leo Van den Brande" wrote: > Hi Ruslan, > > < DoXMLLoad > > < Vdatabase > > < db = new Vdatabase() > < db.LoadDump( path ) > > < db.Close() > > I am very confused now! > > - .db.LoadDump( path ) does not compile (wants two arguments). Not > with folderitem, nor with f.Absolute path of xml file. > > - If I use, with Vdatabase > > db.LoadDump(f,f1,2) > > in which f is folderitem of xml file - looking good, apparenty no loss > of newlines - and f1 is folderitem (containing the path with new > filename) for the new database, nothing happens, but also no error occurs. > > - Only with dim db as Valdb (my own subclass) and then do LoadDump, > it works on the Mac: I get a well working database with all the data. > > - Not so in project compiled for Windows. Nothing happens but no error > message.. > > I must be making a stupid mistake! Please enlighten me. Thanks, You can send me small xml file, project with one function that do Load -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 13 13:42:58 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 06:43:11 2004 Subject: vServer under XP SP2 very slow Message-ID: Hi everybody. I have a V4MD client/server application running and usually the connect between clients and the server database is very fast. But since my customers installed SP2 on their servers, the connect() and openDatabase() (it might as well be the init()) take very long, about 20 to 30s each... I have freed the port in the windows firewall (on both client and server) and as soon as it has connected, it is as fast and as reliable as before. I wonder if someone else has had this results and whether it has been tested on SP2 already? Best regards, Florian From fb at memedia.de Mon Dec 13 13:43:03 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 06:43:14 2004 Subject: Encryption V4MD Message-ID: Igor have you finished the update? I need it now. Best regards, Florian From giv at tlc.kherson.ua Mon Dec 13 15:05:14 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Dec 13 07:05:15 2004 Subject: Encryption V4MD References: Message-ID: <002c01c4e114$630f9e60$3b04a8c0@giv> > Igor have you finished the update? I need it now. Not yet. We will try to upload fixed version till tomorrow. But, explain us, please, why do you need encryption in VServer? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Mon Dec 13 14:17:16 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 07:17:20 2004 Subject: Encryption V4MD In-Reply-To: <002c01c4e114$630f9e60$3b04a8c0@giv> Message-ID: > > Igor have you finished the update? I need it now. > Not yet. We will try to upload fixed version till tomorrow. > But, explain us, please, why do you need encryption in VServer? > Because I want the data to be as safe as possible. Best regards, Florian From sunshine at public.kherson.ua Mon Dec 13 15:38:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 07:38:40 2004 Subject: Encryption V4MD In-Reply-To: Message-ID: On 12/13/04 3:17 PM, "Florian Bogeschdorfer" wrote: >>> Igor have you finished the update? I need it now. >> Not yet. We will try to upload fixed version till tomorrow. >> But, explain us, please, why do you need encryption in VServer? >> > > Because I want the data to be as safe as possible. Florian, You make some db with data for your users? Or you protected data of your users ? If some company have some server with db files, They encryption protect FILES actually. You think exists chance that somebody will grab db files from that company ? If yes, then right. Encryption can help. If no, i.e. They have security, they have good network with good admin, And files cannot be grabbed then there is no many sense use encryption for db managed by VSErver. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 13 15:39:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 07:39:11 2004 Subject: vServer under XP SP2 very slow In-Reply-To: Message-ID: On 12/13/04 2:42 PM, "Florian Bogeschdorfer" wrote: > Hi everybody. > > I have a V4MD client/server application running and usually the connect > between clients and the server database is very fast. > But since my customers installed SP2 on their servers, the connect() and > openDatabase() (it might as well be the init()) take very long, about 20 to > 30s each... > > I have freed the port in the windows firewall (on both client and server) > and as soon as it has connected, it is as fast and as reliable as before. > > I wonder if someone else has had this results and whether it has been tested > on SP2 already? As far as I understand, Igor also run XP SP2 Yes Igor ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 13 14:40:17 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 07:40:22 2004 Subject: vServer service breakdown Message-ID: HI! I have included a routine to my database browser today, where I included a routine to change a single field of one whole table (like 'name' for example). I am not using changeAllRecords() since I have to calculate some data for specific fields. So I step through every record: repeat with j=1 to c progressSetValue(j) x=VALgotoRecord(VALcursors["KUNDENTableCursor"],j) if x<>1 then progressclose alert "Fehler beim ?berschreiben" exit end if y=VALupdateCurrentRecord(VALcursors["KUNDENTableCursor"],l) if y<>1 then progressclose alert "?berschreiben ist fehlgeschlagen"&&Valentinaerror().string exit end if end repeat progressclose alert "Alle Datens?tze wurden ge?ndert!" VALgotoRecord(oldRecordPos) This works fine for strings and boolean but every time I try birthday (kTypeDate), I get TCP/IP errors after maybe 2000 records, the server service takes 99% of processor power and stopping the service takes 2 minutes. There are no errors in the server log at all. Thats V4MD, vServer a065 Any hints what I should look for? Best regards, Florian From giv at tlc.kherson.ua Mon Dec 13 15:46:42 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Dec 13 07:46:52 2004 Subject: vServer under XP SP2 very slow References: Message-ID: <000201c4e11a$3542b520$3b04a8c0@giv> > As far as I understand, Igor also run XP SP2 > Yes Igor ? No, I'm running WinXP SP1. Actually, I have installed SP2 but then I removed it, because some problems (with debugging Director Xtras, for example and some other) arose. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Mon Dec 13 14:47:18 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 07:47:31 2004 Subject: Encryption V4MD In-Reply-To: Message-ID: > > You think exists chance that somebody will grab db files from > that company ? > If yes, then right. Encryption can help. > If no, i.e. They have security, they have good network with > good admin, And files cannot be grabbed then there is no many > sense use encryption for db managed by VSErver. It is financial data by users and yes - the database might be outsiders. Therefore it must be encryptable. A funny story aside: I installed the software at a client on a special computer without Internet access and on a different PC than that of the manager (both for safety reasons). Kind of "my data is so important, I bought an extra PC for your software, so that my data is protected". Then I turned my laptop on and looked for some WLAN access to fetch my emails and BUM: there I was in my clients network via his totally unprotected WLAN router, able to read all his data from the manager PC :-) Florian From fb at memedia.de Mon Dec 13 14:50:36 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 07:50:39 2004 Subject: vServer under XP SP2 very slow In-Reply-To: <000201c4e11a$3542b520$3b04a8c0@giv> Message-ID: > > > As far as I understand, Igor also run XP SP2 Yes Igor ? > No, I'm running WinXP SP1. > Actually, I have installed SP2 but then I removed it, because > some problems (with debugging Director Xtras, for example and > some other) arose. I ran into several problems with SP2, although I freed the ports, programs, everything. Problems with Valentina, my network dongle, mounted network drives. It is very Microsoft-like to produce a firewall that must be turned off completely to let your network run smooth again... But however I need a solution to these extraordinary connection times. Best regards, Florian From fb at memedia.de Mon Dec 13 14:54:53 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 07:54:57 2004 Subject: vServer service breakdown In-Reply-To: Message-ID: More info: -- 712 * V4MD *: Cursor_GoToRecord...done * V4MD *: ValentinaError...done * V4MD *: Cursor_UpdateRecord...done * V4MD *: ValentinaError...done * V4MD *: Flush...done -- 713 * V4MD *: Cursor_GoToRecord...done * V4MD *: ValentinaError...done * V4MD *: Cursor_UpdateRecord...done * V4MD *: ValentinaError...done * V4MD *: Flush...error 10060 -- 714 * V4MD *: Cursor_GoToRecord...error 10038 * V4MD *: ValentinaError...error 10038 * V4MD *: ValentinaErrorString...done If I try with 400 records, all goes fine. If I try a string field, all is fine as well. ?? Florian From giv at tlc.kherson.ua Mon Dec 13 15:55:49 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Dec 13 07:55:54 2004 Subject: vServer under XP SP2 very slow References: Message-ID: <003301c4e11b$73d1c370$3b04a8c0@giv> Hi Florian, > I have a V4MD client/server application running and usually the connect > between clients and the server database is very fast. > But since my customers installed SP2 on their servers, the connect() and > openDatabase() (it might as well be the init()) take very long, about 20 to > 30s each... Try use DisableDNS=1 option in the VServer's ini-file. Also you can try to connect VServer by its IP-address - not by name. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Mon Dec 13 15:03:33 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 08:03:37 2004 Subject: vServer under XP SP2 very slow In-Reply-To: <003301c4e11b$73d1c370$3b04a8c0@giv> Message-ID: > > Try use DisableDNS=1 option in the VServer's ini-file. > Also you can try to connect VServer by its IP-address - not by name. > I always use IP-adress to connect. I will try the DisableDNS (not before Thursday, I must go to my client first) Florian From fb at memedia.de Mon Dec 13 15:38:18 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Dec 13 08:38:26 2004 Subject: vServer service breakdown In-Reply-To: Message-ID: If I include this line if j=500 or j=1000 or j=1500 or j=2000 or j=2500 or j=3000 or j=3500 or j=4000 then alert "Pause" And therefore make an artificial break in the writing cycle, all is fine. So it might be some kind of buffer overflow or something similar? I am running Valentina with 32*1024*1024 of cache. Now I have increased the cache to 64MB... ...works fine without breaks... Back to 32MB...still working... Maybe the cache is not resetted?... Restarted the service...still working. ...found the problem again... I overwrite all dates with one single date. If you overwrite it with the same date that the records fields already have there is no error (maybe it is actually not overwritten then, I don't know), if you take a different date, the problem is back I tried less cache,once it was ok, second time: failure. Please check. Best regards, Florian From wonderfef at noos.fr Mon Dec 13 16:49:05 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Dec 13 09:49:26 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself Message-ID: Hello all, Maybe my db strucure is poorly designed, but ... I have a PriceLists table that contains BOTH PriceLists Name And Articles Prices I have also an Articles table. I'd like to query the database to search displayable PriceLists name and the corresponding prices Here what I'm trying to do : SELECT N.Name, P.Price FROM PriceLists N, PriceLists P WHERE N.Owners LIKE 'TV' ''this is specific to my app AND N.ParentPriceListID = '' '' to get price list name AND N.ID *= P.ParentPriceListID AND P.ParentArticleID = '123ABC' I'd need the cursor to display 0.00 if no record found for one of the price lists, i.e : SOME ARTICLE NAME HERE 2005 price: 0 (not yet stored) 2004 price: 200 2003 Price: 159 But I can't make this work. Thanks in advance for your help. Eric From sunshine at public.kherson.ua Mon Dec 13 18:02:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 10:02:55 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/13/04 5:49 PM, "Eric Ferrer" wrote: Hi Eric, > Maybe my db strucure is poorly designed, but ... > > I have a PriceLists table that contains BOTH > PriceLists Name > And > Articles Prices > > I have also an Articles table. > > I'd like to query the database to search displayable PriceLists name and the > corresponding prices > > Here what I'm trying to do : > > SELECT > N.Name, P.Price > FROM > PriceLists N, > PriceLists P > WHERE > N.Owners LIKE 'TV' ''this is specific to my app ^^^^^^^^^^^^^^^^^^^^^^^^ this is comment ? Valentina not support comments in SQL query > AND > N.ParentPriceListID = '' '' to get price list name > AND > N.ID *= P.ParentPriceListID > AND > P.ParentArticleID = '123ABC' > > I'd need the cursor to display 0.00 if no record found for one of the price > lists, i.e : > > SOME ARTICLE NAME HERE > 2005 price: 0 (not yet stored) > 2004 price: 200 > 2003 Price: 159 > > But I can't make this work. > Thanks in advance for your help. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Mon Dec 13 17:44:43 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Dec 13 10:44:48 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: Ruslan >> SELECT >> N.Name, P.Price >> FROM >> PriceLists N, >> PriceLists P >> WHERE >> N.Owners LIKE 'TV' ''this is specific to my app > ^^^^^^^^^^^^^^^^^^^^^^^^ this is comment ? > > Valentina not support comments in SQL query Yes, I know ;-) I added this comment in my email just to make my SQL example clearer. Of course, there is no comment nor carriage return in my real SQL statement! > >> AND >> N.ParentPriceListID = '' '' to get price list name >> AND >> N.ID *= P.ParentPriceListID >> AND >> P.ParentArticleID = '123ABC' Eric From sunshine at public.kherson.ua Mon Dec 13 19:28:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 11:28:05 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/13/04 6:44 PM, "Eric Ferrer" wrote: >> Valentina not support comments in SQL query > > Yes, I know ;-) > I added this comment in my email just to make my SQL example clearer. > Of course, there is no comment nor carriage return in my real SQL statement! Aha, then let me take a look again -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 13 19:28:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 13 11:29:00 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/13/04 5:49 PM, "Eric Ferrer" wrote: > > Hello all, > > Maybe my db strucure is poorly designed, but ... > > I have a PriceLists table that contains BOTH > PriceLists Name > And > Articles Prices > > I have also an Articles table. > > I'd like to query the database to search displayable PriceLists name and the > corresponding prices > > Here what I'm trying to do : > > SELECT > N.Name, P.Price > FROM > PriceLists N, > PriceLists P > WHERE > N.Owners LIKE 'TV' ''this is specific to my app > AND > N.ParentPriceListID = '' '' to get price list name > AND > N.ID *= P.ParentPriceListID > AND > P.ParentArticleID = '123ABC' > > I'd need the cursor to display 0.00 if no record found for one of the price > lists, i.e : > > SOME ARTICLE NAME HERE > 2005 price: 0 (not yet stored) > 2004 price: 200 > 2003 Price: 159 > > But I can't make this work. > Thanks in advance for your help. So what is problem? You want get 0, but what you really get ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list3 at mindstarprods.com Mon Dec 13 12:11:03 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Mon Dec 13 13:11:12 2004 Subject: [V4RB] Saving GetSaveInfo Message-ID: Hello, Has anyone successfully been able to save RB's GetSaveInfo into a Varchar field using SQL? The UPDATE SQL command always fails for me when I try. I did try to Escape the string too. I have to store the ShellPath as a workaround. Best regards, Frank Schima From jda at his.com Mon Dec 13 14:19:32 2004 From: jda at his.com (jda) Date: Mon Dec 13 13:19:42 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: References: Message-ID: >Hello, > > >Has anyone successfully been able to save RB's GetSaveInfo into a >Varchar field using SQL? The UPDATE SQL command always fails for me >when I try. I did try to Escape the string too. > >I have to store the ShellPath as a workaround. > Hi Frank, I haven't tried that, but I do store TT's plugin alias information. I use a blob for that, and it works well. JOn From leo_van_den_brande at wxs.nl Mon Dec 13 23:02:24 2004 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Mon Dec 13 16:00:35 2004 Subject: LoadDump and Windows Message-ID: <41BE1170.6050708@wxs.nl> Hi Ruslan, < You can send me small xml file, project with one function that do Load Thanks for this gnerous offer! I have now prepared the material. I will test it tomorrow and send it to you. Kind greetings! Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31)-30-2511767 From frank-list3 at mindstarprods.com Tue Dec 14 00:51:40 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Tue Dec 14 01:51:53 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: References: Message-ID: On Dec 13, 2004, at 12:19 PM, jda wrote: >> Has anyone successfully been able to save RB's GetSaveInfo into a >> Varchar field using SQL? The UPDATE SQL command always fails for me >> when I try. I did try to Escape the string too. >> >> I have to store the ShellPath as a workaround. >> > > Hi Frank, > > I haven't tried that, but I do store TT's plugin alias information. I > use a blob for that, and it works well. I tried using a BLOB with the API and it still won't save. I receive no error, but the data does not get stored in the field. I used WriteRawData. i.e. myDatabase.myTable.BLOBField("MyBlob").WriteRawData sGetSaveInfoString myDatabase.myTable.Update Ruslan? Anyone else? Can Realbasic's GetSaveInfo be stored in a Valentina field somehow? Best regards, Frank Schima From sunshine at public.kherson.ua Tue Dec 14 10:09:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 14 02:09:17 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: Message-ID: On 12/14/04 9:51 AM, "Frank Schima" wrote: >> Hi Frank, >> >> I haven't tried that, but I do store TT's plugin alias information. I >> use a blob for that, and it works well. > > I tried using a BLOB with the API and it still won't save. I receive no > error, but the data does not get stored in the field. I used > WriteRawData. > > i.e. > myDatabase.myTable.BLOBField("MyBlob").WriteRawData sGetSaveInfoString > myDatabase.myTable.Update > > Ruslan? Anyone else? Can Realbasic's GetSaveInfo be stored in a > Valentina field somehow? Frank, If you can put info of GetSaveInfo into RB String, Then I do not see any reason why it cannot be stored in the BLOB -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Tue Dec 14 09:38:26 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Tue Dec 14 02:38:43 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: >> SELECT >> N.Name, P.Price >> FROM >> PriceLists N, >> PriceLists P >> WHERE >> N.Owners LIKE 'TV' ''this is specific to my app >> AND >> N.ParentPriceListID = '' '' to get price list name >> AND >> N.ID *= P.ParentPriceListID >> AND >> P.ParentArticleID = '123ABC' >> >> I'd need the cursor to display 0.00 if no record found for one of the price >> lists, i.e : >> >> SOME ARTICLE NAME HERE >> 2005 price: 0 (not yet stored) >> 2004 price: 200 >> 2003 Price: 159 >> >> But I can't make this work. >> Thanks in advance for your help. > > So what is problem? > > You want get 0, but what you really get ? All prices must exist for all found PriceLists, otherwise I get only 0 (which mean not found, since other prices exists). Another example: If I create a new article in my Articles table, all prices are zeroed for all found pricelists (I'm not displaying all PriceLists stored in the database, this is why I have a Owners LIKE 'TV' in my statement). When I start storing all prices for the displayed PriceLists, I get only zero values until I store ALL prices... Then I have the good values... Thanks for your help Eric From rblists at carsten-friehe.de Tue Dec 14 09:58:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 03:00:15 2004 Subject: Hierachical structures in valentina? Message-ID: <26883301$110301454441beaa9035b261.62576437@config18.schlund.de> Hi! After a long time where I don't had time to do anything in RB (marriage etc. :-)) I have a question reagarding storage of hierachical data in valentina. Maybe someone here has an idea. I am using valentina for a mail- and newsreader. Now I want to store also the threadinfo to display it to the user in a tree structure in a list like the one found eg. in Outlook Express. So normally the user sees the first news/mail of a thread and (s)he can press a triangle to see the comments on this news/mail etc. Now my problem is to mark the news/mails to get them sorted in the correct way. Does anyone else ever used to create such a hierachical structure in valentina (or maybe another Database)? Or does anyone have an idea how to handle this? Thanks in advance! Carsten From rblists at carsten-friehe.de Tue Dec 14 10:04:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 03:04:12 2004 Subject: Sequences? Message-ID: <26883301$110301464141beaaf1b1d6d0.03822420@config15.schlund.de> Hi Ruslan! Is there a possibilty to get something like sequences in valentina? I want that every row in a table gets a identifier which is unique and will never change. In Oracle there are sequences where you call a select and get the next unique number. You can tell a sequence where to start, where to end (or maybe to loop) and which format it should have. Carsten From sunshine at public.kherson.ua Tue Dec 14 13:32:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 14 05:32:33 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/14/04 10:38 AM, "Eric Ferrer" wrote: >>> SELECT >>> N.Name, P.Price >>> FROM >>> PriceLists N, >>> PriceLists P >>> WHERE >>> N.Owners LIKE 'TV' ''this is specific to my app >>> AND >>> N.ParentPriceListID = '' '' to get price list name >>> AND >>> N.ID *= P.ParentPriceListID >>> AND >>> P.ParentArticleID = '123ABC' >>> >>> I'd need the cursor to display 0.00 if no record found for one of the price >>> lists, i.e : >>> >>> SOME ARTICLE NAME HERE >>> 2005 price: 0 (not yet stored) >>> 2004 price: 200 >>> 2003 Price: 159 >>> >>> But I can't make this work. >>> Thanks in advance for your help. >> >> So what is problem? >> >> You want get 0, but what you really get ? > > All prices must exist for all found PriceLists, otherwise I get only 0 > (which mean not found, since other prices exists). > > Another example: > If I create a new article in my Articles table, all prices are zeroed for > all found pricelists (I'm not displaying all PriceLists stored in the > database, this is why I have a Owners LIKE 'TV' in my statement). > When I start storing all prices for the displayed PriceLists, I get only > zero values until I store ALL prices... Then I have the good values... Eric, Such descriptions do not help me. PLEASE give T1 have such few records T2 have such records. I do such query, and get the next result. But I want to get THIS RESULT. You see? Also you can send db to be queried in viSQL. And SQL query , and WHAT YOU SEE and what you want. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 14 13:35:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 14 05:35:20 2004 Subject: Hierachical structures in valentina? In-Reply-To: <26883301$110301454441beaa9035b261.62576437@config18.schlund.de> Message-ID: On 12/14/04 10:58 AM, "Carsten Friehe" wrote: > Hi! > > After a long time where I don't had time to do anything in RB (marriage > etc. :-)) I have a question reagarding storage of hierachical data in > valentina. Maybe someone here has an idea. > > I am using valentina for a mail- and newsreader. Now I want to store > also the threadinfo to display it to the user in a tree structure in a > list like the one found eg. in Outlook Express. So normally the user > sees the first news/mail of a thread and (s)he can press a triangle to > see the comments on this news/mail etc. > > Now my problem is to mark the news/mails to get them sorted in the > correct way. > > Does anyone else ever used to create such a hierachical structure in > valentina (or maybe another Database)? Or does anyone have an idea how > to handle this? Hi Carsten, FIRST OF ALL, I very very recommend you subscribe to Valentina beta list, Download V4RB 2.0 beta. Because 2.0 have a lots of new features regarding to what you ask. It have a lots of new functions and new classes to support links and searches on links. TIP: Any hierarchical structure should be stored with the help of Self - recursive link. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 14 13:37:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 14 05:37:19 2004 Subject: Sequences? In-Reply-To: <26883301$110301464141beaaf1b1d6d0.03822420@config15.schlund.de> Message-ID: On 12/14/04 11:04 AM, "Carsten Friehe" wrote: > Hi Ruslan! > > Is there a possibilty to get something like sequences in valentina? I > want that every row in a table gets a identifier which is unique and > will never change. In Oracle there are sequences where you call a > select and get the next unique number. You can tell a sequence where to > start, where to end (or maybe to loop) and which format it should have. Hi Carsten, Actually you can very easy emulate sequences self. You need make helper table to keep the NEXT ID for some table. Just 2 fields in this helper table TableID NextID And AFAIK in Oracle sequences also use helper table. So you can easy write in your app NextIdOf( TableID ) as Integer And use it in your app. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rblists at carsten-friehe.de Tue Dec 14 12:54:02 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 05:56:13 2004 Subject: Hierachical structures in valentina? Message-ID: <26883301$110302511441bed3da0e3780.54972760@config6.schlund.de> Hi Ruslan! > FIRST OF ALL, I very very recommend you subscribe to Valentina beta list, > Download V4RB 2.0 beta. I know that this is in work but I didn't had the time to look after it. :-) > Because 2.0 have a lots of new features regarding to what you ask. Wow! > It have a lots of new functions and new classes to support links and > searches on links. Yumm, Yumm... > TIP: > Any hierarchical structure should be stored with the help of > Self - recursive link. That sounds interesting! I will take a look! Thank you! Carsten From rblists at carsten-friehe.de Tue Dec 14 12:58:02 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 06:00:16 2004 Subject: Hierachical structures in valentina? Message-ID: <26883301$110302538441bed4e871f5b8.95101775@config2.schlund.de> Hi Ruslan! > FIRST OF ALL, I very very recommend you subscribe to Valentina beta list, I see that I am already subscribed. :-) > Download V4RB 2.0 beta. I searched the archive and found the place. :-) Carsten From martin at kinetix.co.uk Tue Dec 14 12:02:29 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Tue Dec 14 06:06:29 2004 Subject: [Vserver] Windows 2003 service In-Reply-To: <26883301$110302511441bed3da0e3780.54972760@config6.schlund.de> Message-ID: <20041214120625.820EF28C9F9@edison.macserve.net> Hi I'm having problems removing the Vserver service on Windows Server 2003. When I try to remove it using -k and -r, the service status sticks on 'Stopping'. To fully remove the service the server must be restarted or the service process must be ending using task manager. Any ideas? Martin From rblists at carsten-friehe.de Tue Dec 14 13:10:02 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 06:12:10 2004 Subject: Sequences? Message-ID: <26883301$110302604441bed77cb3bf43.86956621@config20.schlund.de> Hi Ruslan! > You need make helper table to keep the NEXT ID for some table. > Just 2 fields in this helper table > TableID NextID Ok. > And AFAIK in Oracle sequences also use helper table. Maybe. > So you can easy write in your app > > NextIdOf( TableID ) as Integer > > And use it in your app. I think NextIdOf will be a method which get the actual value and increments the value inside the table. That will work, I think. Thank you! Carsten From sunshine at public.kherson.ua Tue Dec 14 14:12:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 14 06:12:53 2004 Subject: Hierachical structures in valentina? In-Reply-To: <26883301$110302538441bed4e871f5b8.95101775@config2.schlund.de> Message-ID: On 12/14/04 1:58 PM, "Carsten Friehe" wrote: > Hi Ruslan! > >> FIRST OF ALL, I very very recommend you subscribe to Valentina beta list, > > I see that I am already subscribed. :-) > >> Download V4RB 2.0 beta. > > I searched the archive and found the place. :-) Also note, I think today soon we will upload almost done V4RBReference.pdf For now please check examples. We have 40-50 examples already I think. Especially study Links examples. And self-recursive links. For self-recursion I need yet add example for Class-way, and SQL 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 fb at memedia.de Tue Dec 14 13:14:23 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Dec 14 06:14:29 2004 Subject: [Vserver] Windows 2003 service In-Reply-To: <20041214120625.820EF28C9F9@edison.macserve.net> Message-ID: Most likely, you have mixed up several installations. Remove EVERYTHING manually and try again from the start. I had these problems earlier (mixing custom installer names and valentina) but after I tidied up everthing worked perfect. Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Martin Wright > Sent: Tuesday, December 14, 2004 1:02 PM > To: 'Valentina Developers' > Subject: [Vserver] Windows 2003 service > > Hi > > I'm having problems removing the Vserver service on Windows > Server 2003. > When I try to remove it using -k and -r, the service status > sticks on 'Stopping'. > To fully remove the service the server must be restarted or > the service process must be ending using task manager. > > Any ideas? > > Martin > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From rjb at rz.uni-potsdam.de Tue Dec 14 12:51:13 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Dec 14 06:20:16 2004 Subject: Hierachical structures in valentina? In-Reply-To: <26883301$110301454441beaa9035b261.62576437@config18.schlund.de> References: <26883301$110301454441beaa9035b261.62576437@config18.schlund.de> Message-ID: >Hi! > >After a long time where I don't had time to do anything in RB (marriage >etc. :-)) I have a question reagarding storage of hierachical data in >valentina. Maybe someone here has an idea. > >I am using valentina for a mail- and newsreader. Now I want to store >also the threadinfo to display it to the user in a tree structure in a >list like the one found eg. in Outlook Express. So normally the user >sees the first news/mail of a thread and (s)he can press a triangle to >see the comments on this news/mail etc. > >Now my problem is to mark the news/mails to get them sorted in the >correct way. > >Does anyone else ever used to create such a hierachical structure in >valentina (or maybe another Database)? Or does anyone have an idea how >to handle this? > >Thanks in advance! >Carsten Is what you plan along the lines of the FastMailbase program (a commercial program based on valentina as far as I know)? Robert From giv at tlc.kherson.ua Tue Dec 14 14:23:41 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Dec 14 06:23:43 2004 Subject: vServer service breakdown References: Message-ID: <005201c4e1d7$bf5cba40$3b04a8c0@giv> Hi Florian, As a workaround you can try to change "server response timeout" - by default it is 60 seconds (with setResponseTimeout() method of VDatabase Xtra). But I any case these is not a solution. So, can you send me small test project that reproduces the problem? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Tue Dec 14 14:45:35 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Dec 14 06:46:29 2004 Subject: vServer service breakdown References: <005201c4e1d7$bf5cba40$3b04a8c0@giv> Message-ID: <000201c4e1da$ec742010$3b04a8c0@giv> > But I any case these is not a solution. Ops, I mean "this is" :-) -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From jda at his.com Tue Dec 14 08:01:59 2004 From: jda at his.com (jda) Date: Tue Dec 14 07:02:17 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: References: Message-ID: > >I tried using a BLOB with the API and it still won't save. I receive >no error, but the data does not get stored in the field. I used >WriteRawData. > >i.e. >myDatabase.myTable.BLOBField("MyBlob").WriteRawData sGetSaveInfoString >myDatabase.myTable.Update > Here's mine (V2): myCursor.BlobField(fieldName).WriteRawData(propertyValue) myCursor.updateRecord Here's what I use in V1: prefsDB.prefs.Field(fldToUpdate).SetString(updateInfo) //updateInfo is a variant prefsDB.prefs.updateRecord I've never used table.update -- perhaps db. or myCursor.updateRecord is what you need? Jon From frank-list3 at mindstarprods.com Tue Dec 14 08:34:44 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Tue Dec 14 09:35:00 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: References: Message-ID: On Dec 14, 2004, at 6:01 AM, jda wrote: >> >> I tried using a BLOB with the API and it still won't save. I receive >> no error, but the data does not get stored in the field. I used >> WriteRawData. >> >> i.e. >> myDatabase.myTable.BLOBField("MyBlob").WriteRawData sGetSaveInfoString >> myDatabase.myTable.Update >> > > Here's mine (V2): > > myCursor.BlobField(fieldName).WriteRawData(propertyValue) > myCursor.updateRecord > > Here's what I use in V1: > > prefsDB.prefs.Field(fldToUpdate).SetString(updateInfo) > //updateInfo is a variant > prefsDB.prefs.updateRecord > > I've never used table.update -- perhaps db. or myCursor.updateRecord > is what you need? Thanks for the code samples! I did use UpdateRecord actually. I was just writing psuedo-code off the top of my head showing the method I was using. I'll try your ways now. Best regards, Frank Schima From rblists at carsten-friehe.de Tue Dec 14 18:30:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Tue Dec 14 11:32:13 2004 Subject: Hierachical structures in valentina? Message-ID: <26883301$110304499941bf218745ad83.58043196@config6.schlund.de> Hi Robert! > Is what you plan along the lines of the FastMailbase program (a > commercial program based on valentina as far as I know)? The program is existing since a few years, but it is only used by a few people. It is Freeware and will ever be free. But it is only in german and there is no documentation available. It first was for a german mailbox net named "Maus" and since three years or so we implemented POP3/SMTP and NNTP. The problem is that we (two developers) only have a little sparetime to develop. :-) Carsten From frank-list3 at mindstarprods.com Tue Dec 14 20:23:20 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Tue Dec 14 21:23:37 2004 Subject: [V4RB] Saving GetSaveInfo In-Reply-To: References: Message-ID: Hi Jon and Ruslan, I got it working. It turned out to be a corrupted database problem caused by me mixing BaseObject and Cursor methods! Best regards, Frank Schima On Dec 14, 2004, at 8:34 AM, Frank Schima wrote: > > On Dec 14, 2004, at 6:01 AM, jda wrote: > >>> >>> I tried using a BLOB with the API and it still won't save. I receive >>> no error, but the data does not get stored in the field. I used >>> WriteRawData. >>> >>> i.e. >>> myDatabase.myTable.BLOBField("MyBlob").WriteRawData >>> sGetSaveInfoString >>> myDatabase.myTable.Update >>> >> >> Here's mine (V2): >> >> myCursor.BlobField(fieldName).WriteRawData(propertyValue) >> myCursor.updateRecord >> >> Here's what I use in V1: >> >> prefsDB.prefs.Field(fldToUpdate).SetString(updateInfo) >> //updateInfo is a variant >> prefsDB.prefs.updateRecord >> >> I've never used table.update -- perhaps db. or myCursor.updateRecord >> is what you need? > > Thanks for the code samples! > > I did use UpdateRecord actually. I was just writing psuedo-code off > the top of my head showing the method I was using. > > I'll try your ways now. > > > Best regards, > Frank Schima > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From wonderfef at noos.fr Wed Dec 15 10:59:14 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Dec 15 03:59:52 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: > Such descriptions do not help me. Yes, that's true, I'm not that clear. So Table "Articles" : Field ID = "ART123" Field Name = "My Article" Table "PriceLists" This table contains BOTH Price Lists Name and actual article prices. Some records are the price lists (= catalog), other records are the article prices. Here are 3 Price Lists (not the article prices) : Field ID = "PRC345" Field Name = "2003 Price List" Field ParentPriceListID = "" Field ParentArticleID = "" Field Price = 0 Field Owners = "TV" - Field ID = "PRC456" Field Name = "2003 Price List" Field ParentPriceListID = "" Field ParentArticleID = "" Field Price = 0 Field Owners = "PA" 'note that I won't be able to see this Price List - Field ID = "PRC567" Field Name = "2004 Price List" Field ParentPriceListID = "" Field ParentArticleID = "" Field Price = 0 Field Owners = "TV PA" So, to this point, I have one article and 3 price lists, but I still have no prices stored for this article for all price lists: SELECT N.Name, P.Price FROM PriceLists N, PriceLists P WHERE N.Owners LIKE 'TV' AND N.ParentPriceListID = '' AND N.ID *= P.ParentPriceListID AND P.ParentArticleID = 'ART123' I Get : 2003 Price List 0 2004 Price List 0 ... Which is normal, since I have no prices yet stored for this article. Then I start storing prices for this article, so I add a record in the Table PriceLists. I start with the 2003 prices: Field ID = "PRC678" Field Name = "" Field ParentPriceListID = " PRC345" Field ParentArticleID = " ART123" Field Price = 300 Field Owners = "TV" Performing the same SQL statement above, I still get: 2003 Price List 0 2004 Price List 0 ... Though I need to get: 2003 Price List 300 2004 Price List 0 Now if I add a second record to store the 2004 price : Field ID = "PRC789" Field Name = "" Field ParentPriceListID = " PRC567" Field ParentArticleID = " ART123" Field Price = 310 Field Owners = "TV" Now I get: 2003 Price List 300 2004 Price List 310 SO, the problem is : I can't see my prices until ALL prices are stored in the database. I would like my users to see the prices they store step by step. And they should be able not to stored some prices for too old price lists. Maybe this problem comes from the fact that I should have created two tables, one for the price lists, one for the article prices... Thanks again for your support Eric From mail at mmdev.ch Wed Dec 15 15:01:47 2004 From: mail at mmdev.ch (=?ISO-8859-1?Q?Ren=E9_Alessandri?=) Date: Wed Dec 15 08:01:55 2004 Subject: [V4MD] Serbocroatian (and other east-european languages) Message-ID: Hi First, sorry for my english. I try to import a serbocroatian translation from Excel in Valentina and have not found a way to do this. When i import the records on Windows with a tab delimited csv and move the db to Mac OS X, the special characters are wrong. Is there a simple solution for my problem? I tried it with several different character sets and haven't found a solution. Ren? From fb at memedia.de Wed Dec 15 15:22:29 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Dec 15 08:22:43 2004 Subject: vServer service breakdown In-Reply-To: <005201c4e1d7$bf5cba40$3b04a8c0@giv> Message-ID: > > But I any case these is not a solution. > So, can you send me small test project that reproduces the problem? > Almost impossible. I will try to extract something but most likely I would have to send you the DB... Florian From sunshine at public.kherson.ua Wed Dec 15 16:32:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 15 08:32:38 2004 Subject: vServer service breakdown In-Reply-To: Message-ID: On 12/15/04 4:22 PM, "Florian Bogeschdorfer" wrote: >> But I any case these is not a solution. >> So, can you send me small test project that reproduces the problem? >> > Almost impossible. I will try to extract something but most likely I would > have to send you the DB... Flroian, I think this can be just DB + simple in one function project which do Loop on update -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Dec 15 16:48:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 15 08:48:51 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/15/04 11:59 AM, "Eric Ferrer" wrote: Hi Eric, Try this query SELECT N.Name, P.Price FROM PriceLists N, PriceLists P WHERE N.ID *= P.ParentPriceListID AND (N.Owners LIKE 'TV' AND N.ParentPriceListID = '') AND P.ParentArticleID = 'ART123' -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 15 16:51:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 15 08:51:24 2004 Subject: [V4MD] Serbocroatian (and other east-european languages) In-Reply-To: Message-ID: On 12/15/04 4:01 PM, "Ren? Alessandri" wrote: > Hi > > First, sorry for my english. > > I try to import a serbocroatian translation from Excel in > Valentina and have not found a way to do this. When i import the > records on Windows with a tab delimited csv and move the db > to Mac OS X, the special characters are wrong. Is there a > simple solution for my problem? > > I tried it with several different character sets and haven't > found a solution. Hi Rene, 1) have you set the property Language for a field ? 2) is language serbocroatian from the Western group? does Director itself can port this language? deal is that Valentina use the same algorithm as director. If you not in hurry, then very soon you will be able to use Valentina 2.0, Which have unicode. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From mail at mmdev.ch Wed Dec 15 16:07:30 2004 From: mail at mmdev.ch (=?ISO-8859-1?Q?Ren=E9_Alessandri?=) Date: Wed Dec 15 09:07:29 2004 Subject: [V4MD] Serbocroatian (and other east-european languages) In-Reply-To: References: Message-ID: <0AA1C69B-4EAB-11D9-9F6F-000A959EC030@mmdev.ch> Hi Ruslan > 1) have you set the property Language for a field ? Yes > 2) is language serbocroatian from the Western group? > does Director itself can port this language? > deal is that Valentina use the same algorithm as director. Ok... I made some tests and a ce font support the most characters. Ren? From wgregoire at paris.mediagerance.com Wed Dec 15 16:16:52 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed Dec 15 09:13:22 2004 Subject: [V4MD] Serbocroatian (and other east-european languages) In-Reply-To: Message-ID: <001e01c4e2b9$1b97d920$1d0a11ac@wgregoire> hi the CVS is ansi, you'll loose all the only way I found to import Hungarian (same problem) is Valentina_ODBC import (with Excel) AND the system in Hungarian in Win2000 (yes...in French, i lose all too) WilG -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Ren? Alessandri Envoy? : mercredi 15 d?cembre 2004 15:02 ? : Valentina Developers Objet : [V4MD] Serbocroatian (and other east-european languages) Hi First, sorry for my english. I try to import a serbocroatian translation from Excel in Valentina and have not found a way to do this. When i import the records on Windows with a tab delimited csv and move the db to Mac OS X, the special characters are wrong. Is there a simple solution for my problem? I tried it with several different character sets and haven't found a solution. Ren? _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From wonderfef at noos.fr Wed Dec 15 17:06:37 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Wed Dec 15 10:07:02 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: > Try this query > > SELECT > N.Name, P.Price > FROM > PriceLists N, > PriceLists P > WHERE > N.ID *= P.ParentPriceListID > AND > (N.Owners LIKE 'TV' AND N.ParentPriceListID = '') > AND > P.ParentArticleID = 'ART123' Sorry, I get the same results... Only zero prices until I store ALL prices. I think I should really think about splitting this table into two different ones. Unless someone has another idea. Thank you very much Eric From arthur at visiblearea.com Wed Dec 15 19:34:50 2004 From: arthur at visiblearea.com (Arthur Clemens) Date: Wed Dec 15 12:35:51 2004 Subject: Reserved words for field names? Message-ID: <0110DA91-4EC8-11D9-BFFE-000D93C1AC2A@visiblearea.com> After some hair pulling this afternoon I found out from trial and error that I cannot use the word "from" in a field name. I had modified a table with the new field "derived_from". I could successfully add the field, but I could not query the table for that field. It was there, listed in Valentina Carbon and in ViSQL Carbon, but I got a 602 error when using SELECT on that field. When I changed the field name to "derived" everything worked as should. Is this normal, or is this a bug? Arthur Clemens From sunshine at public.kherson.ua Wed Dec 15 20:55:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 15 13:24:30 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/15/04 6:06 PM, "Eric Ferrer" wrote: >> Try this query >> >> SELECT >> N.Name, P.Price >> FROM >> PriceLists N, >> PriceLists P >> WHERE >> N.ID *= P.ParentPriceListID >> AND >> (N.Owners LIKE 'TV' AND N.ParentPriceListID = '') >> AND >> P.ParentArticleID = 'ART123' > > Sorry, I get the same results... > Only zero prices until I store ALL prices. > > I think I should really think about splitting this table into two different > ones. > Unless someone has another idea. Strange. Seems to be correct. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 15 22:05:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 15 14:05:13 2004 Subject: Reserved words for field names? In-Reply-To: <0110DA91-4EC8-11D9-BFFE-000D93C1AC2A@visiblearea.com> Message-ID: On 12/15/04 8:34 PM, "Arthur Clemens" wrote: Hi Arthur, > After some hair pulling this afternoon I found out from trial and error > that I cannot use the word "from" in a field name. > I had modified a table with the new field "derived_from". I could > successfully add the field, but I could not query the table for that > field. It was there, listed in Valentina Carbon and in ViSQL Carbon, > but I got a 602 error when using SELECT on that field. > > When I changed the field name to "derived" everything worked as should. > > Is this normal, or is this a bug? 1) it is bug because you use devired_from so it is not exact 'from' keyword 2) by SQL standard you cannot use keywords of SQL -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Thu Dec 16 09:40:29 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Thu Dec 16 02:40:45 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: > Strange. Seems to be correct. Ruslan, I think the better for me will be to divide price lists and article prices into 2 different tables, which is more logical. Thanks all for your help Eric From sunshine at public.kherson.ua Thu Dec 16 10:45:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 16 02:46:13 2004 Subject: [Vserver+V4RB] Querying a table JOINed to itself In-Reply-To: Message-ID: On 12/16/04 10:40 AM, "Eric Ferrer" wrote: >> Strange. Seems to be correct. > > Ruslan, > > I think the better for me will be to divide price lists and article prices > into 2 different tables, which is more logical. Hi Eric, I also think so. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Peter.Lindgren at fdt.se Thu Dec 16 13:18:56 2004 From: Peter.Lindgren at fdt.se (Peter Lindgren) Date: Thu Dec 16 06:18:32 2004 Subject: Select top n? Message-ID: Hi, Perhaps this is a FAQ... it's not in the documentation so I'd just ask: Is there a SELECT TOP n feature, like in MS SQL Server? We need to limit the number of rows returned if the user doesn't specify any criteria at all (there are 770,000 rows in the main table). We use C++ SDK for Win32, 1.10. TIA, Peter -- Peter Lindgren, dataingenj?r FDT System AB http://www.fdt.se/ 0920-24 33 00 From sunshine at public.kherson.ua Thu Dec 16 15:07:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 16 07:08:11 2004 Subject: Select top n? In-Reply-To: Message-ID: On 12/16/04 2:18 PM, "Peter Lindgren" wrote: Hi Peter, > Perhaps this is a FAQ... it's not in the documentation so I'd just ask: > Is there a SELECT TOP n feature, like in MS SQL Server? no > We need to limit the > number of rows returned if the user doesn't specify any criteria at all (there > are 770,000 rows in the main table). > > We use C++ SDK for Win32, 1.10. But in Valentina cursor is quite small thing. And selection of ALL records is even faster operation than 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 peter.de.berdt at pandora.be Thu Dec 16 14:20:57 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Thu Dec 16 07:21:19 2004 Subject: Select top n? In-Reply-To: References: Message-ID: <5270FA89-4F65-11D9-81E7-000393DB2B60@pandora.be> On 16 Dec 2004, at 14:07, Ruslan Zasukhin wrote: > On 12/16/04 2:18 PM, "Peter Lindgren" wrote: > > Hi Peter, > >> Perhaps this is a FAQ... it's not in the documentation so I'd just >> ask: >> Is there a SELECT TOP n feature, like in MS SQL Server? > > no > >> We need to limit the >> number of rows returned if the user doesn't specify any criteria at >> all (there >> are 770,000 rows in the main table). >> >> We use C++ SDK for Win32, 1.10. > > But in Valentina cursor is quite small thing. > > And selection of ALL records is even faster operation than search. > Indeed, if you use server side cursors, the fetching of the data itself is only performed when you ask for it. No need for limiting the cursor. This means you can write your classes with a FetchRow event, which then just fetches the row you need, very handy (btw, the DataGrid REALbasic plug-in uses this technique and the speed you achieve on multi-million record tables is unbelievable). Best regards Peter De Berdt From vidal_olivier at yahoo.fr Thu Dec 16 15:43:46 2004 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Dec 16 08:44:44 2004 Subject: valentina 2 Message-ID: Hi Ruslan and list, Valentina 2 beta is it already rather stable to be able to be used? (My program must be ended in March, 2005. I began it with Valentina 1) thank you olivier From sunshine at public.kherson.ua Thu Dec 16 16:50:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 16 08:50:37 2004 Subject: valentina 2 In-Reply-To: Message-ID: On 12/16/04 4:43 PM, "Olivier" wrote: > Hi Ruslan and list, > > Valentina 2 beta is it already rather stable to be able to be used? > (My program must be ended in March, 2005. I began it with Valentina 1) Yes, Olive, You can switch to 2.0 beta if you use V4RB. V4MD new beta will be ready in the nearest 4-6 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 vidal_olivier at yahoo.fr Thu Dec 16 16:23:22 2004 From: vidal_olivier at yahoo.fr (Olivier) Date: Thu Dec 16 09:24:28 2004 Subject: valentina 2 In-Reply-To: References: Message-ID: <6C5D473C-4F76-11D9-AAE9-000D93C35C66@yahoo.fr> > > You can switch to 2.0 beta if you use V4RB. > Perfect. I am going to begin to study the documentation of Valentina 2 and to study the passage of my program of valentina 1 to Valentina 2. There is no explaining documentation main change enters Valentina 1 and 2 ? olivier From sunshine at public.kherson.ua Thu Dec 16 20:19:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 16 12:19:31 2004 Subject: valentina 2 In-Reply-To: <6C5D473C-4F76-11D9-AAE9-000D93C35C66@yahoo.fr> Message-ID: On 12/16/04 5:23 PM, "Olivier" wrote: >> You can switch to 2.0 beta if you use V4RB. >> > > Perfect. > I am going to begin to study the documentation of Valentina 2 and to > study the passage of my program of valentina 1 to Valentina 2. > There is no explaining documentation main change enters Valentina 1 and > 2 ? Not, yet All new features you can see in examples. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Sat Dec 18 03:25:13 2004 From: ralf at end-if.de (Ralf Sander) Date: Thu Dec 16 20:23:06 2004 Subject: valentina 2 In-Reply-To: References: Message-ID: <0C09F55C-509C-11D9-B11A-000A95DF4532@end-if.de> Hi Ruslan, V4RB 2 beta and Vserver 2 beta are available? Where is the downlaod lin? I have frequently checked : http://www.paradigmasoft.com/files/v4rb_beta.html but I have only found 2.0a65. Ralf From smorse at rtpi.org Fri Dec 17 02:38:44 2004 From: smorse at rtpi.org (Solon Morse) Date: Fri Dec 17 01:39:11 2004 Subject: V4WS 1.11 SQLExecute Update problem In-Reply-To: References: Message-ID: On Nov 9, 2004, at 12:52 PM, erne wrote: > I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) > > when I try to do something like > i = SqlExecute("Update BO Set fld = 0") > i holds the correct number of records > but values are not updated I have exactly the same problem with V4WS 1.11 -- also worked (more or less) in 1.10 but I couldn't update fields to null w/ 1.10 -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From r.hildebrandt at sbt.fr Fri Dec 17 08:55:45 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Fri Dec 17 01:54:14 2004 Subject: V4WS 1.11 SQLExecute Update problem References: Message-ID: <000b01c4e40d$d079af80$3a01a8c0@sbt> Hi all, We've got similar problem in V4MD 1.11 an update which includes a lots of records does'nt work. We use a line to line update in a loop as workaround. This works fine. We use 4 files crypted DB and director 8.51 on windows. We haven't tested this on with XTRA 1.10. Best regards Roland Hildebrandt ----- Original Message ----- From: "Solon Morse" To: "Valentina Developers" Sent: Friday, December 17, 2004 8:38 AM Subject: V4WS 1.11 SQLExecute Update problem > > On Nov 9, 2004, at 12:52 PM, erne wrote: > > > I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) > > > > when I try to do something like > > i = SqlExecute("Update BO Set fld = 0") > > i holds the correct number of records > > but values are not updated > > I have exactly the same problem with V4WS 1.11 -- also worked (more or > less) in 1.10 but I couldn't update fields to null w/ 1.10 > > -- > Solon Morse > Assistant Director of Education > Roger Tory Peterson Institute > 311 Curtis Street > Jamestown, NY 14701 > Jamestown: (716) 665-2473 ext 243 > Buffalo: (716) 886-1920 > smorse@rtpi.org > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From ernestogiannotta at tiscalinet.it Fri Dec 17 09:24:33 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Fri Dec 17 02:25:15 2004 Subject: V4WS 1.11 SQLExecute Update problem In-Reply-To: Message-ID: on 17-12-2004 8:38, Solon Morse at smorse@rtpi.org wrote: > > On Nov 9, 2004, at 12:52 PM, erne wrote: > >> I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) >> >> when I try to do something like >> i = SqlExecute("Update BO Set fld = 0") >> i holds the correct number of records >> but values are not updated > > I have exactly the same problem with V4WS 1.11 -- also worked (more or > less) in 1.10 but I couldn't update fields to null w/ 1.10 > this hurts! I'm about to release an app and I'm forced back to 1.10 I know focus is on 2.0 but it's not Ruslan style to leave us in the cold for such a long time Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From wonderfef at noos.fr Fri Dec 17 12:24:29 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Fri Dec 17 05:24:43 2004 Subject: [Vserve+V4RB] Weird concatenated fields behaviour in searches Message-ID: Hello all, Maybe this is normal, but it looks weird to me: I have these tables : FAXES ID Subject ParentRecipientID PEOPLE ID FirstName LastName AllNames METHOD( CONCAT(FirstName, ' ', UPPER(LastName)) ) Note that Faxes may not have a 'ParentRecipientID', where the recipient is unknown (field is empty). When I want to display a list of faxes : SELECT Subject, ParentRecipientID, People.AllNames FROM Faxes, People WHERE Faxes.ParentRecipientID *= People.ID Valentina always tries to fill 'AllNames' with a value, even if ParentRecipientID is empty : Untitled fax PPL123 John SMITH // this one is good Untiltled fax 2 John SMITH // John again ! Untitled fax 3 John SMITH // argh ! Him again ! Untitled fax 4 PPL234 Mary GLUCK // ok for this one Untitled fax 5 Mary GLUCK // Mary again ! If the first found record has no ParentRecipientID, Valentina seems to "pick up randomly" someone in the People table : Untitled fax Alfred SCHOPF // why him ? Untiltled fax 2 Alfred SCHOPF // again ! Untitled fax 3 Alfred SCHOPF // again ! Untitled fax 4 PPL234 Mary GLUCK // ok for this one Untitled fax 5 Mary GLUCK // mary again ! If I test with this query : SELECT Subject, ParentRecipientID, People.FirstName, People.LastName, People.AllNames FROM Faxes, People WHERE Faxes.ParentRecipientID *= People.ID I get good results, except for "AllNames" field : fax1 Alfred SCHOPF fax2 PPL123 John Smith John SMITH fax3 John SMITH fax4 PPL234 Mary Gluck Mary GLUCK fax5 Mary GLUCK fax6 Mary GLUCK Thanks in advance for your help Eric From erichg at mcmm.com Fri Dec 17 22:36:34 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Dec 17 16:13:22 2004 Subject: vServer under XP SP2 very slow In-Reply-To: References: Message-ID: >Hi everybody. > >I have a V4MD client/server application running and usually the connect >between clients and the server database is very fast. >But since my customers installed SP2 on their servers, the connect() and >openDatabase() (it might as well be the init()) take very long, about 20 to >30s each... > >I have freed the port in the windows firewall (on both client and server) >and as soon as it has connected, it is as fast and as reliable as before. > >I wonder if someone else has had this results and whether it has been tested >on SP2 already? > >Best regards, Florian Interesting. After the SP2 upgrade I seemed to get no connection to the database. So I opened the port used by the server and it worked again. I admit I did not wait for 20 or more seconds so I may have overseen that there is a connect later... We have advised our customers to open the database port in the firewall. Anything wrong with that? Regards Erich From sunshine at public.kherson.ua Sat Dec 18 00:54:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 17 16:54:49 2004 Subject: V4WS 1.11 SQLExecute Update problem In-Reply-To: Message-ID: On 12/17/04 10:24 AM, "erne" wrote: >>> I found a bug in SQLExecute V4RB 1.11 (it works fine in 1.10) >>> >>> when I try to do something like >>> i = SqlExecute("Update BO Set fld = 0") >>> i holds the correct number of records >>> but values are not updated >> >> I have exactly the same problem with V4WS 1.11 -- also worked (more or >> less) in 1.10 but I couldn't update fields to null w/ 1.10 >> > > this hurts! > > I'm about to release an app and I'm forced back to 1.10 > > I know focus is on 2.0 but it's not Ruslan style to leave us in the cold for > such a long time I will test your project, Erne. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 18 00:56:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 17 16:56:29 2004 Subject: vServer under XP SP2 very slow In-Reply-To: Message-ID: On 12/17/04 11:36 PM, "Erich Geiersberger" wrote: > Interesting. > After the SP2 upgrade I seemed to get no connection to the database. > So I opened the port used by the server and it worked again. I admit > I did not wait for 20 or more seconds so I may have overseen that > there is a connect later... > > We have advised our customers to open the database port in the > firewall. Anything wrong with that? Nothing wrong, Erich, IMHO As I understand, if port is closed by firewall, then no way to access VServer -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 18 01:02:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 17 17:02:35 2004 Subject: [Vserve+V4RB] Weird concatenated fields behaviour in searches In-Reply-To: Message-ID: On 12/17/04 1:24 PM, "Eric Ferrer" wrote: Hi Eric, > Maybe this is normal, but it looks weird to me: > > I have these tables : > > FAXES > ID > Subject > ParentRecipientID > PEOPLE > ID > FirstName > LastName > AllNames METHOD( CONCAT(FirstName, ' ', UPPER(LastName)) ) > > Note that Faxes may not have a 'ParentRecipientID', where the recipient is > unknown (field is empty). More correct to say NULL, right ? > When I want to display a list of faxes : > > SELECT Subject, ParentRecipientID, People.AllNames > FROM Faxes, People > WHERE Faxes.ParentRecipientID *= People.ID May be I ma wrong, but it seems you need right outer =* Check just in case. > Valentina always tries to fill 'AllNames' with a value, even if > ParentRecipientID is empty : > > Untitled fax PPL123 John SMITH // this one is good > Untiltled fax 2 John SMITH // John again ! > Untitled fax 3 John SMITH // argh ! Him again ! > Untitled fax 4 PPL234 Mary GLUCK // ok for this one > Untitled fax 5 Mary GLUCK // Mary again ! > > If the first found record has no ParentRecipientID, Valentina seems to "pick > up randomly" someone in the People table : > > Untitled fax Alfred SCHOPF // why him ? > Untiltled fax 2 Alfred SCHOPF // again ! > Untitled fax 3 Alfred SCHOPF // again ! > Untitled fax 4 PPL234 Mary GLUCK // ok for this one > Untitled fax 5 Mary GLUCK // mary again ! > > > If I test with this query : > SELECT Subject, ParentRecipientID, > People.FirstName, People.LastName, People.AllNames > FROM Faxes, People > WHERE Faxes.ParentRecipientID *= People.ID > > I get good results, except for "AllNames" field : > > fax1 Alfred SCHOPF > fax2 PPL123 John Smith John SMITH > fax3 John SMITH > fax4 PPL234 Mary Gluck Mary GLUCK > fax5 Mary GLUCK > fax6 Mary GLUCK > > Thanks in advance for your help If still problems please send me your db + query text -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Sat Dec 18 02:28:20 2004 From: ralf at end-if.de (Ralf Sander) Date: Fri Dec 17 19:26:37 2004 Subject: Index of fields In-Reply-To: References: Message-ID: <19BC9182-5094-11D9-9F65-000A95DF4532@end-if.de> Hi Ruslan, sometime ago we talked about the index of fields and how to access. Your hint with the loop through the works, but is not really fast, if there are a lot of records. And the index is already there. Isn't there a way to get the content of the index directly? Woudn't this be a nice feature? It would be a great help to have realtime access to all values of a field. Cheers, Ralf Sander PS. May be you have overseen my mail depending the beta download because of a wrong date setting of my mac: > V4RB 2 beta and Vserver 2 beta are available? > Where is the downlaod lin? > > I have frequently checked : > http://www.paradigmasoft.com/files/v4rb_beta.html > but I have only found 2.0a65. > On 11/16/04 1:34 AM, "End If Software - Ralf Sander" DO.T de> wrote: > > Hi Ralf, > > >>> How can I get the index (the index used for find and sort, not the > id) > >>> of a field or method as a string. > >>> Like "Show Index" in filemaker > >> I have not understand a question. > > > > sorry, starting with the wrong subject makes confusion complete. > > > > I'll try to explain better: > > > > assume a field name with 3 records:+ > > 1. Ralf > > 2. Ruslan > > 3. Someone else > > > > > > The index of the this field should contain > > "Ralf > > Ruslan > > Someone else" > > separated by returns > > That's how I know it from filemaker, and I thought, its the same in > > Valentina. > > Hmm, I never have hear about such "feature" of FileMaker. > > And I am sure this is NOT normal for most DBMS. > > > Now i want to get this complete index as a string: > > "Ralf > > Ruslan > > Someone else" > > > This would be much more easy (and faster) than getting all values, > and > > removing duplicates. Possible? > > > By the way, there is a function in Filemaker to get all values of a > field in > > a cursor as a string : > > assume a field "name" with 5 records in a cursor: > > > > > > 1. Ralf > > 2. Ruslan > > 3. Someone else > > 4. Ruslan > > 5. Ruslan > > > > > > This function returns the result: > > "Ralf > > Ruslan > > Someone else > > Ruslan > > Ruslan" > > > > Possible, too? > > Ralf, > > You work in REALbasic ? > > You can and you should make this self in one small function which in > loop > iterate records and build string in ANY format you want. > > Do not worry about speed. Valentina in any case will be MUCH faster of > FM. > > About duplicates. You need do next: > > curs = db.SqlSelect( "SELECT DISTINCT name from T" ) > > Now you have cursor with list of names that do not have duplicates. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] From sunshine at public.kherson.ua Sat Dec 18 10:13:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 02:13:24 2004 Subject: Index of fields In-Reply-To: <19BC9182-5094-11D9-9F65-000A95DF4532@end-if.de> Message-ID: On 12/18/04 3:28 AM, "Ralf Sander" wrote: Hi Ralf, Wait a moment. My last advice was to use query with DISTINCT. curs = db.SqlSelect( "SELECT DISTINCT name from T" ) Now you get cursor with unique vales from field. Sorted btw. So no need to loop > Hi Ruslan, > > sometime ago we talked about the index of fields and how to access. > Your hint with the loop through the works, but is not really fast, if > there are a lot of records. And the index is already there. Isn't there > a way to get the content of the index directly? Woudn't this be a nice > feature? It would be a great help to have realtime access to all values > of a field. > > Cheers, > Ralf Sander > > PS. May be you have overseen my mail depending the beta download > because of a wrong date setting of my mac: > >> V4RB 2 beta and Vserver 2 beta are available? >> Where is the downlaod lin? >> >> I have frequently checked : >> http://www.paradigmasoft.com/files/v4rb_beta.html >> but I have only found 2.0a65. > > > > > > > > >> On 11/16/04 1:34 AM, "End If Software - Ralf Sander" > DO.T de> wrote: >> >> Hi Ralf, >> >>>>> How can I get the index (the index used for find and sort, not the >> id) >>>>> of a field or method as a string. >>>>> Like "Show Index" in filemaker >>>> I have not understand a question. >>> >>> sorry, starting with the wrong subject makes confusion complete. >>> >>> I'll try to explain better: >>> >>> assume a field name with 3 records:+ >>> 1. Ralf >>> 2. Ruslan >>> 3. Someone else >>> >>> >>> The index of the this field should contain >>> "Ralf >>> Ruslan >>> Someone else" >>> separated by returns >>> That's how I know it from filemaker, and I thought, its the same in >>> Valentina. >> >> Hmm, I never have hear about such "feature" of FileMaker. >> >> And I am sure this is NOT normal for most DBMS. >> >>> Now i want to get this complete index as a string: >>> "Ralf >>> Ruslan >>> Someone else" >> >>> This would be much more easy (and faster) than getting all values, >> and >>> removing duplicates. Possible? >> >>> By the way, there is a function in Filemaker to get all values of a >> field in >>> a cursor as a string : >>> assume a field "name" with 5 records in a cursor: >>> >>> >>> 1. Ralf >>> 2. Ruslan >>> 3. Someone else >>> 4. Ruslan >>> 5. Ruslan >>> >>> >>> This function returns the result: >>> "Ralf >>> Ruslan >>> Someone else >>> Ruslan >>> Ruslan" >>> >>> Possible, too? >> >> Ralf, >> >> You work in REALbasic ? >> >> You can and you should make this self in one small function which in >> loop >> iterate records and build string in ANY format you want. >> >> Do not worry about speed. Valentina in any case will be MUCH faster of >> FM. >> >> About duplicates. You need do next: >> >> curs = db.SqlSelect( "SELECT DISTINCT name from T" ) >> >> Now you have cursor with list of names that do not have duplicates. >> >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Sat Dec 18 14:27:46 2004 From: ralf at end-if.de (Ralf Sander) Date: Sat Dec 18 07:25:59 2004 Subject: Index of fields In-Reply-To: References: Message-ID: <9A9BA3E8-50F8-11D9-A637-000A95DF4532@end-if.de> Hi Ruslan, yes, but but nevertheless I have a lot of records to loop through. What I have in mind: I want to create a visual representation of record creation dates and times. This could be a lot of values and creating this chart could take some time. Accessing the values in the index would be much faster, I think. The need for speed, you know ;-) Cheers, Ralf > On 12/18/04 3:28 AM, "Ralf Sander" wrote: > > Hi Ralf, > > Wait a moment. My last advice was to use query with DISTINCT. > > curs = db.SqlSelect( "SELECT DISTINCT name from T" ) > > Now you get cursor with unique vales from field. Sorted btw. > > So no need to loop > > >> Hi Ruslan, >> >> sometime ago we talked about the index of fields and how to access. >> Your hint with the loop through the works, but is not really fast, if >> there are a lot of records. And the index is already there. Isn't >> there >> a way to get the content of the index directly? Woudn't this be a nice >> feature? It would be a great help to have realtime access to all >> values >> of a field. >> >> Cheers, >> Ralf Sander >> >> PS. May be you have overseen my mail depending the beta download >> because of a wrong date setting of my mac: >> >>> V4RB 2 beta and Vserver 2 beta are available? >>> Where is the downlaod lin? >>> >>> I have frequently checked : >>> http://www.paradigmasoft.com/files/v4rb_beta.html >>> but I have only found 2.0a65. >> >> >> >> >> >> >> >> >>> On 11/16/04 1:34 AM, "End If Software - Ralf Sander" >> DO.T de> wrote: >>> >>> Hi Ralf, >>> >>>>>> How can I get the index (the index used for find and sort, not the >>> id) >>>>>> of a field or method as a string. >>>>>> Like "Show Index" in filemaker >>>>> I have not understand a question. >>>> >>>> sorry, starting with the wrong subject makes confusion complete. >>>> >>>> I'll try to explain better: >>>> >>>> assume a field name with 3 records:+ >>>> 1. Ralf >>>> 2. Ruslan >>>> 3. Someone else >>>> >>>> >>>> The index of the this field should contain >>>> "Ralf >>>> Ruslan >>>> Someone else" >>>> separated by returns >>>> That's how I know it from filemaker, and I thought, its the same in >>>> Valentina. >>> >>> Hmm, I never have hear about such "feature" of FileMaker. >>> >>> And I am sure this is NOT normal for most DBMS. >>> >>>> Now i want to get this complete index as a string: >>>> "Ralf >>>> Ruslan >>>> Someone else" >>> >>>> This would be much more easy (and faster) than getting all values, >>> and >>>> removing duplicates. Possible? >>> >>>> By the way, there is a function in Filemaker to get all values of a >>> field in >>>> a cursor as a string : >>>> assume a field "name" with 5 records in a cursor: >>>> >>>> >>>> 1. Ralf >>>> 2. Ruslan >>>> 3. Someone else >>>> 4. Ruslan >>>> 5. Ruslan >>>> >>>> >>>> This function returns the result: >>>> "Ralf >>>> Ruslan >>>> Someone else >>>> Ruslan >>>> Ruslan" >>>> >>>> Possible, too? >>> >>> Ralf, >>> >>> You work in REALbasic ? >>> >>> You can and you should make this self in one small function which in >>> loop >>> iterate records and build string in ANY format you want. >>> >>> Do not worry about speed. Valentina in any case will be MUCH faster >>> of >>> FM. >>> >>> About duplicates. You need do next: >>> >>> curs = db.SqlSelect( "SELECT DISTINCT name from T" ) >>> >>> Now you have cursor with list of names that do not have duplicates. >>> >>> >>> >>> -- >>> Best regards, >>> Ruslan Zasukhin [ I feel the need...the need for speed ] >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ralf at end-if.de Sat Dec 18 14:29:40 2004 From: ralf at end-if.de (Ralf Sander) Date: Sat Dec 18 07:27:50 2004 Subject: Version 2 beta Message-ID: Hi, where can I find the v4rb and vserver 2 beta? I have frequently checked : http://www.paradigmasoft.com/files/v4rb_beta.html but I have only found 2.0a65 for several weeks Thanks, Ralf From sunshine at public.kherson.ua Sat Dec 18 15:31:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 07:31:18 2004 Subject: Index of fields In-Reply-To: <9A9BA3E8-50F8-11D9-A637-000A95DF4532@end-if.de> Message-ID: On 12/18/04 3:27 PM, "Ralf Sander" wrote: Hi Ralf, > Hi Ruslan, > yes, but but nevertheless I have a lot of records to loop through. I do not understand about which loop you talk here ? > What I have in mind: > I want to create a visual representation of record creation dates and > times. This could be a lot of values and creating this chart could take > some time. > Accessing the values in the index would be much faster, I > think. NO. Index is complex structure. It is hidden even from C++ developers. NO WAY. And values are not listed in the index one by one. They are spread in the whole index. > The need for speed, you know ;-) > > Cheers, > Ralf > > >> On 12/18/04 3:28 AM, "Ralf Sander" wrote: >> >> Hi Ralf, >> >> Wait a moment. My last advice was to use query with DISTINCT. >> >> curs = db.SqlSelect( "SELECT DISTINCT name from T" ) >> >> Now you get cursor with unique vales from field. Sorted btw. >> >> So no need to loop -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 18 15:33:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 07:33:54 2004 Subject: Version 2 beta In-Reply-To: Message-ID: On 12/18/04 3:29 PM, "Ralf Sander" wrote: > Hi, > > where can I find the v4rb and vserver 2 beta? If you are not subscribed to list beta, Then please subscribe. In the invite letter will be URL. Vserver 2.0 is not yet uploaded (but in nearest days will be) Only V4RB. > I have frequently checked : > http://www.paradigmasoft.com/files/v4rb_beta.html > but I have only found 2.0a65 for several weeks -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 18 13:48:53 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Dec 18 14:49:07 2004 Subject: Related Record Count Syntax Please Message-ID: <3A5DA017-5136-11D9-BFD6-00306549C134@pcisys.net> What is the sequence of calls and the syntax thereof for getting the number of related records found in a child data file? I see RecordCount but in every example used in the reference, it only describes the data in the BaseObject. Not any related BaseOjbect. Thanks, Chuck From peter.de.berdt at pandora.be Sat Dec 18 22:10:58 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Sat Dec 18 15:11:13 2004 Subject: Related Record Count Syntax Please In-Reply-To: <3A5DA017-5136-11D9-BFD6-00306549C134@pcisys.net> References: <3A5DA017-5136-11D9-BFD6-00306549C134@pcisys.net> Message-ID: <4FEE9736-5139-11D9-9B6D-000393DB2B60@pandora.be> On 18 Dec 2004, at 21:48, Chuck Pelto wrote: > What is the sequence of calls and the syntax thereof for getting the > number of related records found in a child data file? > > I see RecordCount but in every example used in the reference, it only > describes the data in the BaseObject. Not any related BaseOjbect. > As soon as you query the related BaseObject, the database will return the "related records" Example SELECT * FROM MasterTable, RelatedTable WHERE ... Will return the related records, together with all the fields from the master table (which will be the same in all the records) Alternatively, you could use SELECT Count(*) FROM MasterTable, RelatedTable WHERE ... Then you can take the ULongValue from the first field and you'll have the number of records. Ruslan will be able to tell you which one of the two is the most performant (in a multi-user environment, you'd better use a server side cursor in the first option). Best regards Peter De Berdt From cbpelto at pcisys.net Sat Dec 18 14:15:30 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Dec 18 15:15:38 2004 Subject: Related Record Count Syntax Please In-Reply-To: <4FEE9736-5139-11D9-9B6D-000393DB2B60@pandora.be> References: <3A5DA017-5136-11D9-BFD6-00306549C134@pcisys.net> <4FEE9736-5139-11D9-9B6D-000393DB2B60@pandora.be> Message-ID: Hi Peter, Is there any way to do this WITHOUT going to an SQL search? There IS the call for RecordCount in the reference manual. Is there a way to use BaseObject pointers and achieve this? Regards, Chuck On Dec 18, 2004, at 2:10 PM, Peter De Berdt wrote: > > On 18 Dec 2004, at 21:48, Chuck Pelto wrote: > >> What is the sequence of calls and the syntax thereof for getting the >> number of related records found in a child data file? >> >> I see RecordCount but in every example used in the reference, it only >> describes the data in the BaseObject. Not any related BaseOjbect. >> > As soon as you query the related BaseObject, the database will return > the "related records" > > Example > > SELECT * FROM MasterTable, RelatedTable WHERE ... > > Will return the related records, together with all the fields from the > master table (which will be the same in all the records) > > Alternatively, you could use > > SELECT Count(*) FROM MasterTable, RelatedTable WHERE ... > > Then you can take the ULongValue from the first field and you'll have > the number of records. > > Ruslan will be able to tell you which one of the two is the most > performant (in a multi-user environment, you'd better use a server > side cursor in the first option). > > Best regards > > Peter De Berdt > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From peter.de.berdt at pandora.be Sat Dec 18 22:18:44 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Sat Dec 18 15:18:48 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: <3A5DA017-5136-11D9-BFD6-00306549C134@pcisys.net> <4FEE9736-5139-11D9-9B6D-000393DB2B60@pandora.be> Message-ID: <66307A85-513A-11D9-9B6D-000393DB2B60@pandora.be> On 18 Dec 2004, at 22:15, Chuck Pelto wrote: > Hi Peter, > > Is there any way to do this WITHOUT going to an SQL search? > > There IS the call for RecordCount in the reference manual. Is there a > way to use BaseObject pointers and achieve this? > A RecordCount is ALWAYS a property of a cursor. In fact, when you ask for the RecordCount of a BaseObject, it's as if you would do a "SELECT * FROM Table". Why do you want to avoid querying the database? Best regards Peter De Berdt From sunshine at public.kherson.ua Sat Dec 18 23:21:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 15:21:48 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/18/04 11:15 PM, "Chuck Pelto" wrote: Hi Chuck, RIGHT NOW I am finishing docs on new functions of Valentina 2.0 :-) In 2.0 we have VERY EFFECTIVE, SIMPLE and NICE solution for your task, chuck. We introduce new functions that you can use in SQL or in methods. This is part of docs: --------------------- COUNT_LINKED( TABLE_NAME, LINK_NAME, [DIRECTION = ToChild] ) Returns the count of records linked to a record of the table TABLE_NAME by link with name LINK_NAME. It never returns NULL. --------------------- So I will recommend to switch step by step to Valentina 2.0. V4RB 2.0 beta is quite stable now. It is time to start guys! :-) > Hi Peter, > > Is there any way to do this WITHOUT going to an SQL search? > > There IS the call for RecordCount in the reference manual. Is there a > way to use BaseObject pointers and achieve this? > > Regards, > > Chuck > > > On Dec 18, 2004, at 2:10 PM, Peter De Berdt wrote: > >> >> On 18 Dec 2004, at 21:48, Chuck Pelto wrote: >> >>> What is the sequence of calls and the syntax thereof for getting the >>> number of related records found in a child data file? >>> >>> I see RecordCount but in every example used in the reference, it only >>> describes the data in the BaseObject. Not any related BaseOjbect. >>> >> As soon as you query the related BaseObject, the database will return >> the "related records" >> >> Example >> >> SELECT * FROM MasterTable, RelatedTable WHERE ... >> >> Will return the related records, together with all the fields from the >> master table (which will be the same in all the records) >> >> Alternatively, you could use >> >> SELECT Count(*) FROM MasterTable, RelatedTable WHERE ... >> >> Then you can take the ULongValue from the first field and you'll have >> the number of records. >> >> Ruslan will be able to tell you which one of the two is the most >> performant (in a multi-user environment, you'd better use a server >> side cursor in the first option). -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 18 23:27:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 15:27:33 2004 Subject: Related Record Count Syntax Please In-Reply-To: <66307A85-513A-11D9-9B6D-000393DB2B60@pandora.be> Message-ID: On 12/18/04 11:18 PM, "Peter De Berdt" wrote: >> Hi Peter, >> >> Is there any way to do this WITHOUT going to an SQL search? >> >> There IS the call for RecordCount in the reference manual. Is there a >> way to use BaseObject pointers and achieve this? >> > A RecordCount is ALWAYS a property of a cursor. In fact, when you ask > for the RecordCount of a BaseObject, it's as if you would do a "SELECT > * FROM Table". Why do you want to avoid querying the database? To warm interest to 2.0 more. In Valentina 2.0 we open to V4RB and V4MD developers a new unique API to be able do all work with no SQL. In other words now C++, V4RB and V4MD developers, using v2.0 can do ANY database task without SQL at all. Of course if you not use SQL then you do not get access to its feature as Join, GROUP BY. But C++ developers will be able do even join without SQL :-) May be future we will open this API to V4RB and V4MD also. We do this not because we do not like SQL. Of course no. Just Valentina now give you 2 complete ways to resolve tasks. Choose any you like...or even mix them. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Dec 18 16:51:35 2004 From: jda at his.com (jda) Date: Sat Dec 18 15:51:47 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: >So I will recommend to switch step by step to Valentina 2.0. >V4RB 2.0 beta is quite stable now. > >It is time to start guys! :-) > I agree, Ruslan. What about putting the link to the the V2.x beta on the regular Paradigma V4RB beta downloads page (http://paradigmasoft.com/files/v4rb_beta.html) and opening it up to everyone? Jon From cbpelto at pcisys.net Sat Dec 18 14:58:34 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat Dec 18 15:58:41 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: Sounds interesting. When is this due out? And when for Realbasic? But back to the original question.... [1] It sounds like I have to delve into SQL, for the time being, to get the count of related records. The follow-on question is.... How do I retrieve data from fields of a child data file? Specifically, I'm working on Valentina Tutorial #3; modifying it. I have added a ListBox to the RB Window 1 that shows the data from the Task data file that relate to the parent record. The first part was to determine the count of related records, which must, apparently, be done using SQL. The next part is to extract the related record data to be displayed in the rows of the listbox. Could I have an example of the syntax to accomplish this? Regards, Chuck On Dec 18, 2004, at 2:27 PM, Ruslan Zasukhin wrote: > On 12/18/04 11:18 PM, "Peter De Berdt" > wrote: > >>> Hi Peter, >>> >>> Is there any way to do this WITHOUT going to an SQL search? >>> >>> There IS the call for RecordCount in the reference manual. Is there a >>> way to use BaseObject pointers and achieve this? >>> >> A RecordCount is ALWAYS a property of a cursor. In fact, when you ask >> for the RecordCount of a BaseObject, it's as if you would do a "SELECT >> * FROM Table". Why do you want to avoid querying the database? > > To warm interest to 2.0 more. > > In Valentina 2.0 we open to V4RB and V4MD developers > a new unique API to be able do all work with no SQL. > > In other words > > now C++, V4RB and V4MD developers, using v2.0 > can do ANY database task without SQL at all. > > Of course if you not use SQL then you do not get access to its feature > as > Join, GROUP BY. But C++ developers will be able do even join without > SQL :-) > May be future we will open this API to V4RB and V4MD also. > > > We do this not because we do not like SQL. > Of course no. Just Valentina now give you 2 complete ways to resolve > tasks. > Choose any you like...or even mix them. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Dec 19 00:07:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 16:07:49 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/18/04 11:51 PM, "jda" wrote: >> So I will recommend to switch step by step to Valentina 2.0. >> V4RB 2.0 beta is quite stable now. >> >> It is time to start guys! :-) >> > > I agree, Ruslan. What about putting the link to the the V2.x beta on > the regular Paradigma V4RB beta downloads page > (http://paradigmasoft.com/files/v4rb_beta.html) and opening it up to > everyone? The real official invite will be few days later. We want yet to upload V4MD MAC. Vserver win And may be Vserver mac. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Dec 19 00:10:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 16:10:58 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/18/04 11:58 PM, "Chuck Pelto" wrote: > Sounds interesting. When is this due out? And when for Realbasic? For REALBasic -- right now. Go to beta list, get URL, download V4RB 2.0 b32 and enjoy. > But back to the original question.... > > [1] It sounds like I have to delve into SQL, for the time being, to get > the count of related records. Just you can do this in a little simple way. Let you have some record in T1. You know its RecID. So you can do SQL quyry curs = SELECT RecID FRON T2 WHERE Ptr = recid res = curs.RecordCont > The follow-on question is.... > > How do I retrieve data from fields of a child data file? Specifically, > I'm working on Valentina Tutorial #3; modifying it. I have added a > ListBox to the RB Window 1 that shows the data from the Task data file > that relate to the parent record. > > The first part was to determine the count of related records, which > must, apparently, be done using SQL. The next part is to extract the > related record data to be displayed in the rows of the listbox. > > Could I have an example of the syntax to accomplish this? Above SQL query do exactly what you want. > Regards, > > Chuck > > On Dec 18, 2004, at 2:27 PM, Ruslan Zasukhin wrote: > >> On 12/18/04 11:18 PM, "Peter De Berdt" >> wrote: >> >>>> Hi Peter, >>>> >>>> Is there any way to do this WITHOUT going to an SQL search? >>>> >>>> There IS the call for RecordCount in the reference manual. Is there a >>>> way to use BaseObject pointers and achieve this? >>>> >>> A RecordCount is ALWAYS a property of a cursor. In fact, when you ask >>> for the RecordCount of a BaseObject, it's as if you would do a "SELECT >>> * FROM Table". Why do you want to avoid querying the database? >> >> To warm interest to 2.0 more. >> >> In Valentina 2.0 we open to V4RB and V4MD developers >> a new unique API to be able do all work with no SQL. >> >> In other words >> >> now C++, V4RB and V4MD developers, using v2.0 >> can do ANY database task without SQL at all. >> >> Of course if you not use SQL then you do not get access to its feature >> as >> Join, GROUP BY. But C++ developers will be able do even join without >> SQL :-) >> May be future we will open this API to V4RB and V4MD also. >> >> >> We do this not because we do not like SQL. >> Of course no. Just Valentina now give you 2 complete ways to resolve >> tasks. >> Choose any you like...or even mix them. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ralf at end-if.de Sat Dec 18 23:19:45 2004 From: ralf at end-if.de (Ralf Sander) Date: Sat Dec 18 16:18:00 2004 Subject: Version 2 beta In-Reply-To: References: Message-ID: Hi Ruslan, I tried it again, just to be shure, but there is no url. Cheers, Ralf > Welcome to the Valentina-beta@lists.macserve.net mailing list! > > To post to this list, send your email to: > > valentina-beta@lists.macserve.net > > General information about the mailing list is at: > > http://lists.macserve.net/mailman/listinfo/valentina-beta > > If you ever want to unsubscribe or change your options (eg, switch to > or from digest mode, change your password, etc.), visit your > subscription page at: > > > http://lists.macserve.net/mailman/options/valentina-beta/ralf%40end- > if.de > > > You can also make such adjustments via email by sending a message to: > > Valentina-beta-request@lists.macserve.net > > with the word `help' in the subject or body (don't include the > quotes), and you will get back a message with instructions. > > You must know your password to change your options (including changing > the password, itself) or to unsubscribe. It is: > > > > Normally, Mailman will remind you of your lists.macserve.net mailing > list passwords once every month, although you can disable this if you > prefer. This reminder will also include instructions on how to > unsubscribe or change your account options. There is also a button on > your options page that will email your current password to you. On 12/18/04 3:29 PM, "Ralf Sander" wrote: > >> Hi, >> >> where can I find the v4rb and vserver 2 beta? > > If you are not subscribed to list beta, > Then please subscribe. > > In the invite letter will be URL. > > > Vserver 2.0 is not yet uploaded (but in nearest days will be) > Only V4RB. > > >> I have frequently checked : >> http://www.paradigmasoft.com/files/v4rb_beta.html >> but I have only found 2.0a65 for several weeks > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Dec 19 00:31:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 18 16:31:18 2004 Subject: Version 2 beta In-Reply-To: Message-ID: On 12/19/04 12:19 AM, "Ralf Sander" wrote: > Hi Ruslan, > > I tried it again, just to be shure, but there is no url. Aha, wrong settings in list. Fixed. Thank you Ralf. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Dec 19 12:51:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 19 04:51:36 2004 Subject: FIXED: V4RB 1.11 SQLExecute UpdateAll bug In-Reply-To: <8532CDC4-3292-11D9-8C3C-003065514D2E@apimac.com> Message-ID: On 11/9/04 11:01 PM, "erne" wrote: Hi Erne, FIXED. I will upload now new build of 1.11. So archive must have date of Dec. > Hi Ruslan, > > here we go > Steps to reporduce: > > Add a blank record > Fill the fields with some values > Update Cursor > > Repeat the above steps several times > > Select a field in the Popup menu > Enter a value in the adjacent Value field > Update All > > the value entered into the Value field should be replaced in all records > > it works in V4RB 1.10 but not in 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 fvanlerberghe at freegates.be Sun Dec 19 22:05:07 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Sun Dec 19 15:05:35 2004 Subject: FIXED: V4RB 1.11 SQLExecute UpdateAll bug In-Reply-To: Message-ID: le 19/12/04 11:51, Ruslan Zasukhin a ?crit?: > I will upload now new build of 1.11. > So archive must have date of Dec. Hello Ruslan, I just try the new release. It seems something is broken in this release when there is a single quote in the field name. To reproduce, create a new database with one baseobject named "boTest". In the bo create one field with the name "Unite d'achat". Now try this SQL query : SELECT [Unite d'achat] FROM boTest and you'll get an error (601 "FROM keyword expected"). It would be nice if you can fix this. Thank you in advance. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Sun Dec 19 23:19:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 19 15:19:40 2004 Subject: FIXED: V4RB 1.11 SQLExecute UpdateAll bug In-Reply-To: Message-ID: On 12/19/04 11:05 PM, "Francois Van Lerberghe" wrote: > le 19/12/04 11:51, Ruslan Zasukhin a ?crit?: > >> I will upload now new build of 1.11. >> So archive must have date of Dec. > > Hello Ruslan, > > I just try the new release. > It seems something is broken in this release when there is a single quote in > the field name. > > To reproduce, create a new database with one baseobject named "boTest". > In the bo create one field with the name "Unite d'achat". > > Now try this SQL query : > > SELECT [Unite d'achat] FROM boTest > > and you'll get an error (601 "FROM keyword expected"). > > It would be nice if you can fix this. Thank you in advance. Ok, I will check ASAP. Ivan, please make sure that in 2.0 tests we have fields with such names. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list3 at mindstarprods.com Sun Dec 19 17:24:21 2004 From: frank-list3 at mindstarprods.com (Frank Schima) Date: Sun Dec 19 18:24:30 2004 Subject: FIXED: V4RB 1.11 SQLExecute UpdateAll bug In-Reply-To: References: Message-ID: <7EBBC352-521D-11D9-B678-0003939246BC@mindstarprods.com> Hi Ruslan, Excellent. This version fixes the problem I was seeing with UPDATE in SQL too. Best regards, Frank Schima On Dec 19, 2004, at 3:51 AM, Ruslan Zasukhin wrote: > On 11/9/04 11:01 PM, "erne" wrote: > > Hi Erne, > > FIXED. > > I will upload now new build of 1.11. > So archive must have date of Dec. > >> Hi Ruslan, >> >> here we go >> Steps to reporduce: >> >> Add a blank record >> Fill the fields with some values >> Update Cursor >> >> Repeat the above steps several times >> >> Select a field in the Popup menu >> Enter a value in the adjacent Value field >> Update All >> >> the value entered into the Value field should be replaced in all >> records >> >> it works in V4RB 1.10 but not in 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 > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From wonderfef at noos.fr Mon Dec 20 11:51:47 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Dec 20 04:52:04 2004 Subject: [Vserve+V4RB] Weird concatenated fields behaviour in searches In-Reply-To: Message-ID: Ruslan, Thanks for your answer. >> Note that Faxes may not have a 'ParentRecipientID', where the recipient is >> unknown (field is empty). > > More correct to say NULL, right ? Yes. >> SELECT Subject, ParentRecipientID, People.AllNames >> FROM Faxes, People >> WHERE Faxes.ParentRecipientID *= People.ID > > May be I ma wrong, but it seems you need right outer =* > Check just in case. This "skips" Faxes that have no ParentRecipientID (null value), which is not good for me. > If still problems please send me your db + query text I will prepare this as soon as possible. Thank you again Eric From rjb at rz.uni-potsdam.de Mon Dec 20 12:09:45 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Dec 20 05:25:38 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: > >To warm interest to 2.0 more. > >In Valentina 2.0 we open to V4RB and V4MD developers >a new unique API to be able do all work with no SQL. > >In other words > > now C++, V4RB and V4MD developers, using v2.0 > can do ANY database task without SQL at all. > >Of course if you not use SQL then you do not get access to its feature as >Join, GROUP BY. But C++ developers will be able do even join without SQL :-) >May be future we will open this API to V4RB and V4MD also. > > >We do this not because we do not like SQL. >Of course no. Just Valentina now give you 2 complete ways to resolve tasks. >Choose any you like...or even mix them. > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Any plans to offer it further in vxcmd? Robert From sunshine at public.kherson.ua Mon Dec 20 13:38:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 20 05:38:19 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/20/04 1:09 PM, "Robert Brenstein" wrote: >> To warm interest to 2.0 more. >> >> In Valentina 2.0 we open to V4RB and V4MD developers >> a new unique API to be able do all work with no SQL. >> >> In other words >> >> now C++, V4RB and V4MD developers, using v2.0 >> can do ANY database task without SQL at all. >> >> Of course if you not use SQL then you do not get access to its feature as >> Join, GROUP BY. But C++ developers will be able do even join without SQL :-) >> May be future we will open this API to V4RB and V4MD also. >> >> >> We do this not because we do not like SQL. >> Of course no. Just Valentina now give you 2 complete ways to resolve tasks. >> Choose any you like...or even mix them. >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > > Any plans to offer it further in vxcmd? Hi Robert, I have told that plan is: we ship C++, V4RB, V4MD and Vserver 2.0 right after this we all start develop VXCMD and VCOM so next month after 2.0 release VXCMD and VCOM will be ready. Yes all products will add all new functionality. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gaseous1 at mac.com Mon Dec 20 14:45:40 2004 From: gaseous1 at mac.com (Eric Werner, MD) Date: Mon Dec 20 14:46:05 2004 Subject: vServer Message-ID: <1C3DD268-52C8-11D9-9F8A-0003938BD0E2@mac.com> Ruslan, What are vServer?s owner, group and permissions values, when installed in /Library? Can one register databases from the command line? I?m not yet able to open a database I have registered either by using vStudio or an REALbasic project. Regards, Eric From sunshine at public.kherson.ua Mon Dec 20 22:54:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 20 14:54:21 2004 Subject: vServer In-Reply-To: Message-ID: On 12/20/04 10:43 PM, "Eric Werner, MD" wrote: Hi Eric, > What are vServer?s owner, group and permissions values, when installed in > /Library? Hmm. Good question. I did copy files from my computer into package. And during year this did work for all developers. You have any problems ? > Can one register databases from the command line? No. 2 ways. 1) API of client (e.g. V4RB client) 2) Vstudio. Command line way will not work in any case. Assume Vserver run day after day. Then how you will do that? Vstudio is made to control Vserver. > I?m not yet able to open a database > I have registered either by using vStudio or an REALbasic project. What happens ? Please do next: * STOP Vserver * open in Vstudio the masterdb as LOCAL db, simply by OPEN command. * check here what you see about db registrations. compare NAMES of db, and paths. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gaseous1 at mac.com Tue Dec 21 07:21:41 2004 From: gaseous1 at mac.com (Eric Werner, MD) Date: Tue Dec 21 07:22:22 2004 Subject: vServer In-Reply-To: References: Message-ID: <4098CCBA-5353-11D9-9B9C-0003938BD0E2@mac.com> Ruslan, The vServer installer creates a folder with an owner name from an old user, now inactive, and the group ?unknown.? When the vServer initially starts it is a ?root? process. vStudio cannot connect to it. My REALbasic project cannot connect to it. These are the contents: Database Table master /Library/ValentinaServer/Databases/master.vdb ericsdb /Library/ValentinaServer/Databases/EricsDB.vdb my addresses /Library/ValentinaServer/Databases/My Addresses.vdb User Table sa sa 0 eric eric 0 Note that if I change the vServer owner to ?root? and group to ?admin? that I can then connect. However, I have not been able to view a database in either vStudio or the REALbasic vServer Administrator project. In REALbasic, I?ve been able to track a consistent crash to the call for the vDatabase.SchemaVersion, where vDatabase is a database registered with vServer and called in the appropriate fashion. I?d appreciate any insights into this flaky behavior. Regards, Eric On Dec 20, 2004, at 2:54 PM, Ruslan Zasukhin wrote: > On 12/20/04 10:43 PM, "Eric Werner, MD" wrote: > > Hi Eric, > >> What are vServer?s owner, group and permissions values, when >> installed in >> /Library? > > Hmm. Good question. > > I did copy files from my computer into package. > And during year this did work for all developers. > You have any problems ? > >> Can one register databases from the command line? > > No. 2 ways. > > 1) API of client (e.g. V4RB client) > > 2) Vstudio. > > Command line way will not work in any case. > > Assume Vserver run day after day. Then how you will do that? > Vstudio is made to control Vserver. > > >> I?m not yet able to open a database >> I have registered either by using vStudio or an REALbasic project. > > What happens ? > > Please do next: > > * STOP Vserver > * open in Vstudio the masterdb as LOCAL db, simply by OPEN command. > * check here what you see about db registrations. > compare NAMES of db, and paths. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > From gaseous1 at mac.com Tue Dec 21 07:34:27 2004 From: gaseous1 at mac.com (Eric Werner, MD) Date: Tue Dec 21 07:34:51 2004 Subject: vServer In-Reply-To: <4098CCBA-5353-11D9-9B9C-0003938BD0E2@mac.com> References: <4098CCBA-5353-11D9-9B9C-0003938BD0E2@mac.com> Message-ID: <093A4478-5355-11D9-9B9C-0003938BD0E2@mac.com> Ruslan, How does one check that one has a valid connection to vServer? The following code from the vServer Utility project , included with the v4RB_Client, fails to recognize that the vServer is not running: myHost=me.editFieldHost.text myPassword=me.editFieldPassword.text myUserName=me.editFieldUserName.text myPort=val(me.editFieldPort.text)\1 ValentinaServer= new VServer(myHost, myUserName, myPassword, myPort) if ValentinaServer<>nil then ValentinaServer.OpenSession ShowServerStats SetButtonState(kConnected) else msgBox "Couldn't create a VServer object." end if It seems that ValentinaServer is not nil, even if the vServer is not running! If I run the project in the IDE, and click the Connect button, then the program activates all the inactive controls, just as if the vServer has been connected to, but the vServer is not running (in this case). Should vServer return a success code if a connection is successful? Is this quirk a function of the IDE? Regards, Eric On Dec 21, 2004, at 7:21 AM, Eric Werner, MD wrote: > Ruslan, > > The vServer installer creates a folder with an owner name from an old > user, now inactive, and the group ?unknown.? > > When the vServer initially starts it is a ?root? process. vStudio > cannot connect to it. My REALbasic project cannot connect to it. > > These are the contents: > > Database Table > master /Library/ValentinaServer/Databases/master.vdb > ericsdb /Library/ValentinaServer/Databases/EricsDB.vdb > my addresses /Library/ValentinaServer/Databases/My Addresses.vdb > > User Table > sa sa 0 > eric eric 0 > > Note that if I change the vServer owner to ?root? and group to ?admin? > that I can then connect. However, I have not been able to view a > database in either vStudio or the REALbasic vServer Administrator > project. In REALbasic, I?ve been able to track a consistent crash to > the call for the vDatabase.SchemaVersion, where vDatabase is a > database registered with vServer and called in the appropriate > fashion. > > I?d appreciate any insights into this flaky behavior. > > Regards, > > Eric > On Dec 20, 2004, at 2:54 PM, Ruslan Zasukhin wrote: > >> On 12/20/04 10:43 PM, "Eric Werner, MD" wrote: >> >> Hi Eric, >> >>> What are vServer?s owner, group and permissions values, when >>> installed in >>> /Library? >> >> Hmm. Good question. >> >> I did copy files from my computer into package. >> And during year this did work for all developers. >> You have any problems ? >> >>> Can one register databases from the command line? >> >> No. 2 ways. >> >> 1) API of client (e.g. V4RB client) >> >> 2) Vstudio. >> >> Command line way will not work in any case. >> >> Assume Vserver run day after day. Then how you will do that? >> Vstudio is made to control Vserver. >> >> >>> I?m not yet able to open a database >>> I have registered either by using vStudio or an REALbasic project. >> >> What happens ? >> >> Please do next: >> >> * STOP Vserver >> * open in Vstudio the masterdb as LOCAL db, simply by OPEN command. >> * check here what you see about db registrations. >> compare NAMES of db, and paths. >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: 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 Tue Dec 21 10:40:55 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Dec 21 11:41:10 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: <77C3B84A-5377-11D9-BFD6-00306549C134@pcisys.net> Morning Ruslan, On Dec 18, 2004, at 3:10 PM, Ruslan Zasukhin wrote: >> [1] It sounds like I have to delve into SQL, for the time being, to >> get >> the count of related records. > > Just you can do this in a little simple way. > Let you have some record in T1. You know its RecID. > > So you can do SQL quyry > > curs = SELECT RecID FRON T2 WHERE Ptr = recid > res = curs.RecordCont > Pursuing this activity I added three lines of code to Window 1's PopulatePanes() method. dim tCursor as integer currRecID = mDataBase.mPerson.GetRecID() // get record ID for the current parent record tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID // mPersonPtr is the field in the boTask that holds the pointer to the related parent record in boPerson. I'm getting a syntax error on the last line. * Syntax error in Window1.PopulatePanes, line 24: tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID So what is wrong with this? Thanks, Chuck From sunshine at public.kherson.ua Tue Dec 21 19:49:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 21 11:50:11 2004 Subject: Related Record Count Syntax Please In-Reply-To: <77C3B84A-5377-11D9-BFD6-00306549C134@pcisys.net> Message-ID: On 12/21/04 7:40 PM, "Chuck Pelto" wrote: >> Just you can do this in a little simple way. >> Let you have some record in T1. You know its RecID. >> >> So you can do SQL quyry >> >> curs = SELECT RecID FRON T2 WHERE Ptr = recid >> res = curs.RecordCont >> > > Pursuing this activity I added three lines of code to Window 1's > PopulatePanes() method. > > dim tCursor as integer > > currRecID = mDataBase.mPerson.GetRecID() // get record ID for the > current parent record > > tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID // > mPersonPtr is the field in the boTask that holds the pointer to the > related parent record in boPerson. > > I'm getting a syntax error on the last line. > > * Syntax error in Window1.PopulatePanes, line 24: > tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID > > So what is wrong with this? Chuck, Argh. I did show just pseudo code. An idea. The correct code must be query = " SELECT * FROM Person, Task WHERE mPersonPtr = " + Str(currRecID) tCursor = mDatabase.SqlSelect( query ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 21 11:22:36 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Dec 21 12:22:43 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: <4A01B26D-537D-11D9-BFD6-00306549C134@pcisys.net> Hi Ruslan, That seems to work. At least as far as compiling. Thanks for your patience. Merry Christmas, Chuck On Dec 21, 2004, at 10:49 AM, Ruslan Zasukhin wrote: > On 12/21/04 7:40 PM, "Chuck Pelto" wrote: > >>> Just you can do this in a little simple way. >>> Let you have some record in T1. You know its RecID. >>> >>> So you can do SQL quyry >>> >>> curs = SELECT RecID FRON T2 WHERE Ptr = recid >>> res = curs.RecordCont >>> >> >> Pursuing this activity I added three lines of code to Window 1's >> PopulatePanes() method. >> >> dim tCursor as integer >> >> currRecID = mDataBase.mPerson.GetRecID() // get record ID for the >> current parent record >> >> tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID // >> mPersonPtr is the field in the boTask that holds the pointer to the >> related parent record in boPerson. >> >> I'm getting a syntax error on the last line. >> >> * Syntax error in Window1.PopulatePanes, line 24: >> tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID >> >> So what is wrong with this? > > Chuck, > > Argh. I did show just pseudo code. An idea. > > The correct code must be > > query = " SELECT * FROM Person, Task WHERE mPersonPtr = " > + Str(currRecID) > > tCursor = mDatabase.SqlSelect( query ) > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Beatrice.Engemann at gmx.de Wed Dec 22 14:00:25 2004 From: Beatrice.Engemann at gmx.de (Beatrice Engemann) Date: Wed Dec 22 07:00:50 2004 Subject: Visual Browser and Editor References: <4A01B26D-537D-11D9-BFD6-00306549C134@pcisys.net> Message-ID: <002001c4e826$3532cee0$ae0e06d5@scorpion> Hi, i want to use a visual Browser and Editor for Valentina. But by vlaentina downloads for Mac. Give it for Windows to design structure of my database by Relations Diagram? B. Engemann From peter.de.berdt at pandora.be Wed Dec 22 14:52:19 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Wed Dec 22 07:52:35 2004 Subject: Visual Browser and Editor In-Reply-To: <002001c4e826$3532cee0$ae0e06d5@scorpion> References: <4A01B26D-537D-11D9-BFD6-00306549C134@pcisys.net> <002001c4e826$3532cee0$ae0e06d5@scorpion> Message-ID: On 22 Dec 2004, at 14:00, Beatrice Engemann wrote: > Hi, > > i want to use a visual Browser and Editor for Valentina. > But by vlaentina downloads for Mac. > Give it for Windows to design structure of my database by Relations > Diagram? > Me not understanding you very question well :-), but I'm guessing you're asking for a Windows version of the Valentina Application? To my knowledge, there isn't one. You could write one yourself of course or use viSQL to do it with SQL queries. Best regards Peter De Berdt From sunshine at public.kherson.ua Wed Dec 22 16:00:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 22 08:00:56 2004 Subject: Visual Browser and Editor In-Reply-To: Message-ID: On 12/22/04 3:52 PM, "Peter De Berdt" wrote: >> Hi, >> >> i want to use a visual Browser and Editor for Valentina. >> But by vlaentina downloads for Mac. >> Give it for Windows to design structure of my database by Relations >> Diagram? >> > Me not understanding you very question well :-), but I'm guessing > you're asking for a Windows version of the Valentina Application? To my > knowledge, there isn't one. You could write one yourself of course or > use viSQL to do it with SQL queries. Peter, For Windows exists Valentina Studio. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 22 16:03:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 22 08:03:29 2004 Subject: Visual Browser and Editor In-Reply-To: <002001c4e826$3532cee0$ae0e06d5@scorpion> Message-ID: On 12/22/04 3:00 PM, "Beatrice Engemann" wrote: > Hi, > > i want to use a visual Browser and Editor for Valentina. > But by vlaentina downloads for Mac. > Give it for Windows to design structure of my database by Relations Diagram? Beatrice, Valentina Studio http://www.valentina-db.de/en/downloads/downvstd.shtml Developer is from Germany btw. You can subscribe to Valentina Studio list to talk with Jochen. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From peter.de.berdt at pandora.be Wed Dec 22 15:16:54 2004 From: peter.de.berdt at pandora.be (Peter De Berdt) Date: Wed Dec 22 08:16:59 2004 Subject: Visual Browser and Editor In-Reply-To: References: Message-ID: <2168AC88-5424-11D9-8CAB-000393DB2B60@pandora.be> On 22 Dec 2004, at 15:03, Ruslan Zasukhin wrote: > On 12/22/04 3:00 PM, "Beatrice Engemann" > wrote: > >> Hi, >> >> i want to use a visual Browser and Editor for Valentina. >> But by vlaentina downloads for Mac. >> Give it for Windows to design structure of my database by Relations >> Diagram? > > Beatrice, > > Valentina Studio > > http://www.valentina-db.de/en/downloads/downvstd.shtml > > Developer is from Germany btw. > > You can subscribe to Valentina Studio list to talk with Jochen. > Right, totally forgot about Valentina Studio, sorry. Best regards Peter De Berdt From cbpelto at pcisys.net Wed Dec 22 09:45:54 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Dec 22 10:46:03 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: It's bad penny time, again.... For some reason, this code is not returning a valid cursor. tQuery = "SELECT * FROM Person, Task WHERE mPersonPtr = " + Str(currRecID) tCursor = mDataBase.SQLSelect(tQuery) I'm getting "nil" for tCursor, as the second line is executed. The currRecID is valid. The tCursor is dim'd as a VCursor at the top of the method and is a property in Window 1 as well. The syntax of the SQL query looks valid to me. The tutorial app developed up to this point works fine. What could be causing this malfunction? Regards, Chuck On Dec 21, 2004, at 10:49 AM, Ruslan Zasukhin wrote: > On 12/21/04 7:40 PM, "Chuck Pelto" wrote: > >>> Just you can do this in a little simple way. >>> Let you have some record in T1. You know its RecID. >>> >>> So you can do SQL quyry >>> >>> curs = SELECT RecID FRON T2 WHERE Ptr = recid >>> res = curs.RecordCont >>> >> >> Pursuing this activity I added three lines of code to Window 1's >> PopulatePanes() method. >> >> dim tCursor as integer >> >> currRecID = mDataBase.mPerson.GetRecID() // get record ID for the >> current parent record >> >> tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID // >> mPersonPtr is the field in the boTask that holds the pointer to the >> related parent record in boPerson. >> >> I'm getting a syntax error on the last line. >> >> * Syntax error in Window1.PopulatePanes, line 24: >> tCursor = SELECT * FROM Person, Task WHERE mPersonPtr = currRecID >> >> So what is wrong with this? > > Chuck, > > Argh. I did show just pseudo code. An idea. > > The correct code must be > > query = " SELECT * FROM Person, Task WHERE mPersonPtr = " > + Str(currRecID) > > tCursor = mDatabase.SqlSelect( query ) > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Dec 22 19:04:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 22 11:04:11 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/22/04 6:45 PM, "Chuck Pelto" wrote: Hi Chuck, > It's bad penny time, again.... > > For some reason, this code is not returning a valid cursor. > > tQuery = "SELECT * FROM Person, Task WHERE mPersonPtr = " + > Str(currRecID) > tCursor = mDataBase.SQLSelect(tQuery) err = db.ErrorNumber > I'm getting "nil" for tCursor, as the second line is executed. The > currRecID is valid. The tCursor is dim'd as a VCursor at the top of the > method and is a property in Window 1 as well. Check error code after this > The syntax of the SQL query looks valid to me. The tutorial app > developed up to this point works fine. > > What could be causing this malfunction? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 22 10:35:16 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Dec 22 11:35:27 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: Hi Ruslan, Err = 616 Where can I find the meaning of these error numbers? They are not in the V4RB Reference material. Regards, Chuck P.S. The call should be err = db.ErrNumber; not ErrorNumber. On Dec 22, 2004, at 10:04 AM, Ruslan Zasukhin wrote: > On 12/22/04 6:45 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> It's bad penny time, again.... >> >> For some reason, this code is not returning a valid cursor. >> >> tQuery = "SELECT * FROM Person, Task WHERE mPersonPtr = " + >> Str(currRecID) >> tCursor = mDataBase.SQLSelect(tQuery) > > err = db.ErrorNumber > >> I'm getting "nil" for tCursor, as the second line is executed. The >> currRecID is valid. The tCursor is dim'd as a VCursor at the top of >> the >> method and is a property in Window 1 as well. > > Check error code after this > >> The syntax of the SQL query looks valid to me. The tutorial app >> developed up to this point works fine. >> >> What could be causing this malfunction? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Dec 22 19:45:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 22 11:45:38 2004 Subject: Related Record Count Syntax Please In-Reply-To: Message-ID: On 12/22/04 7:35 PM, "Chuck Pelto" wrote: > Hi Ruslan, > > Err = 616 616 -- wrong expression. Asume you get query as: tQuery = "SELECT * FROM Person, Task WHERE mPersonPtr = 5" Do you really have field with name mPersonPtr ? May be it is PersonPtr ? > Where can I find the meaning of these error numbers? They are not in > the V4RB Reference material. ValentinaKernel.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cbpelto at pcisys.net Wed Dec 22 12:10:20 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Dec 22 13:10:29 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: <1FB403C4-544D-11D9-BFD6-00306549C134@pcisys.net> Hi Ruslan, There was a field named mPersonPtr. I've changed it to PersonPtr and dropped the preceeding "m" from all the other fields in the boTask data file. Modified the rest of the code in the TestApp to reflect the change. Re-ran the application and TestAddRecords. Still getting the 616 error. Looking at the database with Valentina Carbon, I see the to BaseObject files; Person and Task. Data seems fine. Relationship is properly established, according to V-Carbon. I thought it could be the SQL query is poorly crafted? I've tried a number of variations on that idea, but no joy. Therefore, it seems to be something to do with the call setting the tCursor. I've tried a number of variations on the theme, to no avail. Would it make a difference if the call, tCusor = mDataBase.SQLSelect(Whatever), is looking for data in the child database? mDataBase works for the parent file. Does looking the child make any difference? I had tried removing the word "Person," from the SQL search language, but again no luck. Regards, Chuck On Dec 22, 2004, at 10:45 AM, Ruslan Zasukhin wrote: > On 12/22/04 7:35 PM, "Chuck Pelto" wrote: > >> Hi Ruslan, >> >> Err = 616 > > 616 -- wrong expression. > > Asume you get query as: > > tQuery = "SELECT * FROM Person, Task WHERE mPersonPtr = 5" > > Do you really have field with name mPersonPtr ? > May be it is PersonPtr ? > > >> Where can I find the meaning of these error numbers? They are not in >> the V4RB Reference material. > > ValentinaKernel.pdf > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Dec 23 00:25:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 22 16:25:43 2004 Subject: Related Record Count Syntax Please In-Reply-To: <1FB403C4-544D-11D9-BFD6-00306549C134@pcisys.net> Message-ID: On 12/22/04 9:10 PM, "Chuck Pelto" wrote: Hi Chuck, > There was a field named mPersonPtr. I've changed it to PersonPtr and > dropped the preceeding "m" from all the other fields in the boTask data > file. Modified the rest of the code in the TestApp to reflect the > change. > > Re-ran the application and TestAddRecords. Still getting the 616 error. > Looking at the database with Valentina Carbon, I see the to BaseObject > files; Person and Task. Data seems fine. Relationship is properly > established, according to V-Carbon. I recommend you download Valentina Studio. Using it you can do the same as in VAPP, plus you can simply execute SQL query. So please enter your query and see what Vstuio says. If also error, send me db files and query text. > I thought it could be the SQL query is poorly crafted? I've tried a > number of variations on that idea, but no joy. > > Therefore, it seems to be something to do with the call setting the > tCursor. I've tried a number of variations on the theme, to no avail. > Would it make a difference if the call, tCusor = > mDataBase.SQLSelect(Whatever), is looking for data in the child > database? mDataBase works for the parent file. Does looking the child > make any difference? I had tried removing the word "Person," from the > SQL search language, but again no luck. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Dec 23 10:25:58 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Thu Dec 23 00:26:16 2004 Subject: Add a field to a table Message-ID: <20041223062558.23342@smtp.wanadoo.fr> Hello, I have a base in three files: vdb, dat and ind (under REALBASIC and V4RB 1.x). I want to add a field to a table. The following method seems to work. Is it correct? 1?, With Valentina, I add the field to the end of the table in the file base.vdb. 2 ? And, in the program, I make also in the concerned table (vBaseObjet). My question : During an update of my program, can I ask my customers to replace only the old file (base.vdb) by the new ? Thank you and merry Christmas -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Thu Dec 23 09:59:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 23 01:59:37 2004 Subject: Add a field to a table In-Reply-To: <20041223062558.23342@smtp.wanadoo.fr> Message-ID: On 12/23/04 8:25 AM, "Thierry Nauze" wrote: Hi Thierry, > Hello, > > I have a base in three files: vdb, dat and ind (under REALBASIC and V4RB 1.x). > > I want to add a field to a table. > > The following method seems to work. Is it correct? > > > 1?, With Valentina, I add the field to the end of the table in the file > base.vdb. > > 2 ? And, in the program, I make also in the concerned table (vBaseObjet). > > My question : > > During an update of my program, can I ask my customers to replace only > the old file (base.vdb) by the new ? No. 1) You need write in your app special function Upgrade_1_2 dim db as Vdatabase db.open db.TAble("t").CreateField db.SchemaVersion = 2 db.close end 2) you should call this function in case db.SchemaVersion = 1. yes you should add this check also. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Dec 23 12:14:28 2004 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Thu Dec 23 02:14:40 2004 Subject: Add a field to a table Message-ID: <20041223081428.1189@smtp.wanadoo.fr> sunshine@public.kherson.ua a ?crit le 23/12/04 : >On 12/23/04 8:25 AM, "Thierry Nauze" wrote: > >Hi Thierry, > >> Hello, >> >> I have a base in three files: vdb, dat and ind (under REALBASIC and >V4RB 1.x). >> >> I want to add a field to a table. >> >> The following method seems to work. Is it correct? >> >> >> 1?, With Valentina, I add the field to the end of the table in the file >> base.vdb. >> >> 2 ? And, in the program, I make also in the concerned table (vBaseObjet). >> >> My question : >> >> During an update of my program, can I ask my customers to replace only >> the old file (base.vdb) by the new ? > >No. > >1) You need write in your app special function > >Upgrade_1_2 > dim db as Vdatabase > > db.open > > db.TAble("t").CreateField > > db.SchemaVersion = 2 > > db.close > >end > > >2) you should call this function in case db.SchemaVersion = 1. > yes you should add this check also. > OK Thanks -- Thierry Nauze Saint-Denis de la R?union From cbpelto at pcisys.net Thu Dec 23 02:23:36 2004 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Dec 23 03:23:44 2004 Subject: Related Record Count Syntax Please In-Reply-To: References: Message-ID: <52E9C7C5-54C4-11D9-BFD6-00306549C134@pcisys.net> Resolved: The problem is that the field is known as person_ptr in Valentina. It is known as PersonPtr in REALbasic. On Dec 22, 2004, at 3:25 PM, Ruslan Zasukhin wrote: > On 12/22/04 9:10 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> There was a field named mPersonPtr. I've changed it to PersonPtr and >> dropped the preceeding "m" from all the other fields in the boTask >> data >> file. Modified the rest of the code in the TestApp to reflect the >> change. >> >> Re-ran the application and TestAddRecords. Still getting the 616 >> error. >> Looking at the database with Valentina Carbon, I see the to BaseObject >> files; Person and Task. Data seems fine. Relationship is properly >> established, according to V-Carbon. > > I recommend you download Valentina Studio. Using it you can do the > same as > in VAPP, plus you can simply execute SQL query. > > So please enter your query and see what Vstuio says. > If also error, send me db files and query text. > >> I thought it could be the SQL query is poorly crafted? I've tried a >> number of variations on that idea, but no joy. >> >> Therefore, it seems to be something to do with the call setting the >> tCursor. I've tried a number of variations on the theme, to no avail. >> Would it make a difference if the call, tCusor = >> mDataBase.SQLSelect(Whatever), is looking for data in the child >> database? mDataBase works for the parent file. Does looking the child >> make any difference? I had tried removing the word "Person," from the >> SQL search language, but again no luck. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 smorse at rtpi.org Sun Dec 26 02:48:07 2004 From: smorse at rtpi.org (Solon Morse) Date: Sun Dec 26 01:48:28 2004 Subject: FIXED: V4RB 1.11 SQLExecute UpdateAll bug In-Reply-To: References: Message-ID: <7BA63821-5712-11D9-AB14-000393C7EB96@rtpi.org> Any chance of a fix for V4WS 1.11? Thanks. -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From delong at redcort.com Sun Dec 26 21:05:18 2004 From: delong at redcort.com (Keith DeLong) Date: Sun Dec 26 23:05:48 2004 Subject: [off] Congrats on the Election, Ruslan Message-ID: Ukraine's Yushchenko Declares Victory By ALEKSANDAR VASOVIC, Associated Press Writer "There is news: It's over. Now, today, the Ukrainian people have won. I congratulate you," he told the festive crowd in Kiev's central Independence Square, the center of weeks of protests after the fraudulent and now-annulled Nov. 21 ballot in which Prime Minister Viktor Yanukovych had been declared the winner. "We have been independent for 14 years but we were not free," Yushchenko said. "Now we can say this is a thing of the past. Now we are facing an independent and free Ukraine." Yushchenko spoke after three exit polls and partial results projected him winning an easy victory over rival Viktor Yanukovych. Congratulations Ruslan. Our best to the people of Ukraine! Wishing you a happy and safe New Year, Keith DeLong From sunshine at public.kherson.ua Tue Dec 28 00:10:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 27 16:10:38 2004 Subject: [off] Congrats on the Election, Ruslan In-Reply-To: Message-ID: On 12/27/04 7:05 AM, "Keith DeLong" wrote: Thank you, Keith. Yes it seems this time we have honest election, And as result, Yushchenko have won. 52% against 44%. > Ukraine's Yushchenko Declares Victory > By ALEKSANDAR VASOVIC, Associated Press Writer > > "There is news: It's over. Now, today, the Ukrainian people have won. I > congratulate you," he told the festive crowd in Kiev's central Independence > Square, the center of weeks of protests after the fraudulent and > now-annulled Nov. 21 ballot in which Prime Minister Viktor Yanukovych had > been declared the winner. > > "We have been independent for 14 years but we were not free," Yushchenko > said. "Now we can say this is a thing of the past. Now we are facing an > independent and free Ukraine." > > Yushchenko spoke after three exit polls and partial results projected him > winning an easy victory over rival Viktor Yanukovych. > > > > Congratulations Ruslan. Our best to the people of Ukraine! > > Wishing you a happy and safe New Year, > > Keith DeLong -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 28 17:36:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 09:36:22 2004 Subject: AW: Problem with VBaseObject In-Reply-To: <7F5BBC3B7975A94F9844614AB95C3755035BCE@srvex01.se-dd.local> Message-ID: On 12/28/04 4:14 PM, "Tomas Dikk" wrote: > Hi > thanks for your fast answer! > ok here some more details! > important: the DB is created statically with vstudio, i want to use > it now, from lock.vdb, and not to create it at runtime. First of all this is not correct step if you going to use classes. Problem is that ORDER of classes in your code MUST be exactly the same as order of tables in system tables. It is very easy made mistake. So this is not good way. We plan add to Vstudio sources generator, then this will be excellent way. So if you make in any case your own classes, there is no any problem later create db by YOUR code! mydb = new MyDatabase mydb.Create() This 2 lines of code will create on disk db with all your tables and fields. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From realbasic at datalinesolutions.net Tue Dec 28 17:57:37 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Tue Dec 28 10:58:01 2004 Subject: SetMethod Message-ID: <93B56A32-58F1-11D9-8FCD-00039368E70A@datalinesolutions.net> Hello, I see that it is very calm on the Valentina list the last weeks This may mean that Valentina works just fine and there is enough information. So I'm going to ask something that I don't need now but that I am interested in. What things can you do with SetMethod. I already found upper,lower and concat. I expect something more spectacular to do with SetMethod. Greetings, Aldwin From lists at mostrom.pp.se Tue Dec 28 18:11:37 2004 From: lists at mostrom.pp.se (Jan Erik =?iso-8859-1?Q?Mostr=F6m?=) Date: Tue Dec 28 11:11:46 2004 Subject: Question about best style Message-ID: A few questions about "style" when using Valentina. I'm for the first time developing a "more than trivial" application using Valentina and there are a few things that I'm wondering about: + Valentina has a kind of OO approach but my problem is that the way I model the objects in my app has little to do with how I design the database. This means that I would have to "double" the number of classes to do the design and then move the data from the "valentina objects" to "my objects". This has resulted in that I've been using SQL to do all the "database talking" with Valentina. Is there any kind of "penelty" for doing things with SQL directly (speed etc)? + Second problem is "escaping characters", for example if I have question select somedata from sometable where x = y and y comes from user input, is there some way of escaping the content of y (so that the content doesn't interfer with the SQL question). I've been looking in the manual but I couldn't find anything, am I missing something or how do I handle this in the best way? jem -- Jan Erik Mostr?m www.mostrom.pp.se From sunshine at public.kherson.ua Tue Dec 28 19:47:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 11:47:28 2004 Subject: SetMethod In-Reply-To: <93B56A32-58F1-11D9-8FCD-00039368E70A@datalinesolutions.net> Message-ID: On 12/28/04 6:57 PM, "Aldwin Pollefeyt" wrote: Hi Aldwin, > I see that it is very calm on the Valentina list the last weeks This > may mean that Valentina works just fine and there is enough > information. > So I'm going to ask something that I don't need now but > that I am interested in. > What things can you do with SetMethod. I > already found upper,lower and concat. I expect something more > spectacular to do with SetMethod. * full list you can find in ValentinaSql.pdf * SetMethod you can use when you create new field to make it calculated. * and you can use it to CHANGE the text of method for EXISTED calculated field. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Dec 28 19:49:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 11:49:10 2004 Subject: Question about best style In-Reply-To: Message-ID: On 12/28/04 7:11 PM, "Jan Erik Mostr?m" wrote: Hi Jan, > A few questions about "style" when using Valentina. I'm for the first time > developing a "more than trivial" application using Valentina and there are a > few things that I'm wondering about: Jan, IF you just start application I very very very recommend you subscribe to Valentina beta list and get V4RB 2.0 beta A lots of new features. And in the OO approach also. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 28 20:00:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 12:00:29 2004 Subject: Question about best style // OO In-Reply-To: Message-ID: On 12/28/04 7:11 PM, "Jan Erik Mostr?m" wrote: > A few questions about "style" when using Valentina. I'm for the first time > developing a "more than trivial" application using Valentina and there are a > few things that I'm wondering about: > > + Valentina has a kind of OO approach but my problem is that the > way I model the objects in my app has little to do with how I design > the database. This means that I would have to "double" the > number of classes to do the design and then move the data from > the "valentina objects" to "my objects". This has resulted in > that I've been using SQL to do all the "database talking" with > Valentina. > Is there any kind of "penelty" for doing things with SQL > directly (speed etc)? Again a little advertise of 2.0 :-) 1) in 2.0 we have improve A LOTS API of V4B. I claim that in V4RB 2.0 you can solve ANY database task without SQL. In the same time you get the full SQL92(+) 2) YES SQL way is always slower than API way of Navigational model. this is far known in the DB world. SQL have on the other hand advantage on client/server solutions. and it reduce the coding....but it is usually slower. Nevertheless SQL have win the war. :-) but MOST Valentina developers now are mainly APPLICATION developers. And this make difference. You already are used to do coding. So we think that Valentina 2.0 can give serious strike to SQL. (but we still love and improve SQL :-) 3) so I think that you can do next: - you have own classes as you need - you do not make own classes around Valentina, i.e. You use so called API-way, but not Classes-way. - and using API way you will be able do any searches you need and manage db not using SQL. 4) in the same time, I believe you still can create OWN classes around Valentina for RB classes, and put them into YOUR classes. so YOUR classes when need something from DB will access not Vdatabase, Vtable, but MyDatabase, tblPerson, and so on. You see? Just Classes-way give you DIRECT pointers to ache object of database. In the API way you will need each time ask for a table or a field. In both cases 3) or 4) you will have own classes, and database will be hidden behind of this fa?ade. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 28 20:01:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 12:01:13 2004 Subject: Question about best style // escape In-Reply-To: Message-ID: On 12/28/04 7:11 PM, "Jan Erik Mostr?m" wrote: > + Second problem is "escaping characters", for example if I > have question > > select somedata from sometable where x = y > > and y comes from user input, is there some way of escaping > the content of y (so that the content doesn't interfer > with the SQL question). I've been looking in the manual > but I couldn't find anything, am I missing something or > how do I handle this in the best way? Exists function ValentinaEscapeString() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 28 23:42:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 15:42:38 2004 Subject: I want to make Class/Control that join few controls Message-ID: Hi Guys, I have ask self. Can I create in REALbasic some class, which joins several other controls (buttons, radio, check boxes, edit fields...) And then DECLARE this as SINGLE control ? I.e. I want to be able 1) to have this control on the tool panel. 2) to drag and drop it from tools panel to Window. 3) to see that dragged control on window.... 4) move this control as group. 5) edit its properties in the property window. Can I do this ? If no then Hmm, why? Visual BASIC allow me such tricks. I can create new control using VB itself. There is no need do C++ development. And I believe VB allow me even inherit from one such control and extend its features to create even more smart one. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 28 23:54:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 28 15:54:20 2004 Subject: I want to make Class/Control that join few controls In-Reply-To: <6DC6AC42-591A-11D9-A586-000A95A9544A@shaw.ca> Message-ID: On 12/28/04 11:50 PM, "Norman Palardy" wrote: >> Hi Guys, >> >> I have ask self. Can I create in REALbasic some class, >> which joins several other controls >> (buttons, radio, check boxes, edit fields...) >> >> And then DECLARE this as SINGLE control ? >> >> I.e. I want to be able >> >> 1) to have this control on the tool panel. >> 2) to drag and drop it from tools panel to Window. >> 3) to see that dragged control on window.... >> 4) move this control as group. >> 5) edit its properties in the property window. >> >> Can I do this ? >> >> If no then Hmm, why? >> Visual BASIC allow me such tricks. >> I can create new control using VB itself. >> There is no need do C++ development. >> And I believe VB allow me even inherit from one such control and >> extend its >> features to create even more smart one. >> > Check out the embeddable window which allows you to do this sort of > thing Excellent Norman! Thank you for point. So only RB 6 will have such feature... embeddable window have ALL properties that I have list above? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From james.milne at mac.com Tue Dec 28 22:06:46 2004 From: james.milne at mac.com (James Milne) Date: Tue Dec 28 16:06:57 2004 Subject: I want to make Class/Control that join few controls In-Reply-To: References: Message-ID: On 28 Dec, 2004, at 21:54, Ruslan Zasukhin wrote: > On 12/28/04 11:50 PM, "Norman Palardy" wrote: > >>> Hi Guys, >>> >>> I have ask self. Can I create in REALbasic some class, >>> which joins several other controls >>> (buttons, radio, check boxes, edit fields...) >>> >>> And then DECLARE this as SINGLE control ? >>> >>> I.e. I want to be able >>> >>> 1) to have this control on the tool panel. >>> 2) to drag and drop it from tools panel to Window. >>> 3) to see that dragged control on window.... >>> 4) move this control as group. >>> 5) edit its properties in the property window. >>> >>> Can I do this ? >>> >>> If no then Hmm, why? >>> Visual BASIC allow me such tricks. >>> I can create new control using VB itself. >>> There is no need do C++ development. >>> And I believe VB allow me even inherit from one such control and >>> extend its >>> features to create even more smart one. >>> >> Check out the embeddable window which allows you to do this sort of >> thing > > Excellent Norman! > Thank you for point. > > So only RB 6 will have such feature... > > embeddable window have ALL properties that I have list above? Yes. You can even add methods, properties, events to an embeddable window, and they will be available in the windows that you 'drop' the embeddable window into. You can also create an instance of an embeddable window in code, and set its top, left, width and height, etc. However, you will not be able to implement its events if you create it with code. I have a feeling that there might be appear mechanism in RB6 that would solve that problem, though :-) -- Kind Regards, James Milne From realbasic at datalinesolutions.net Wed Dec 29 17:52:15 2004 From: realbasic at datalinesolutions.net (Aldwin Pollefeyt) Date: Wed Dec 29 10:52:24 2004 Subject: SetMethod In-Reply-To: References: Message-ID: Thanks, Let's see if it is useful, because mostly I use those functions of Realbasic before writing the data into Valentina. But I'll try it out anyway. Aldwin On Dec 28, 2004, at 18:47, Ruslan Zasukhin wrote: > On 12/28/04 6:57 PM, "Aldwin Pollefeyt" > > wrote: > > Hi Aldwin, > >> I see that it is very calm on the Valentina list the last weeks This >> may mean that Valentina works just fine and there is enough >> information. > >> So I'm going to ask something that I don't need now but >> that I am interested in. > >> What things can you do with SetMethod. I >> already found upper,lower and concat. I expect something more >> spectacular to do with SetMethod. > > * full list you can find in ValentinaSql.pdf > > * SetMethod you can use when you create new field to make it > calculated. > > * and you can use it to CHANGE the text of method for EXISTED > calculated > field. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Wed Dec 29 21:14:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 29 13:15:10 2004 Subject: SetMethod In-Reply-To: Message-ID: On 12/29/04 6:52 PM, "Aldwin Pollefeyt" wrote: > Thanks, > > Let's see if it is useful, because mostly I use those functions of > Realbasic before writing the data into Valentina. But I'll try it out > anyway. Exists great difference. If you use BaseObject method (calculated field) then you can have index on it, i.e. Get search in tens times faster. You see? All advantages of Methods are considered in the Valentina Kernel.pdf Another one: with methods you get more logic on side of database. so you can get access to THIS logic from other APIs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Dec 31 18:54:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 31 10:55:05 2004 Subject: Vserver a66 for MAC and WIN uploaded Message-ID: Hi All, Fixed small problem with information about connected clients. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Dec 31 19:12:03 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Dec 31 12:12:26 2004 Subject: Vserver a66 for MAC and WIN uploaded In-Reply-To: Message-ID: What about the encryption bugs? Florian PS: Happy and successfull new year > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Friday, December 31, 2004 5:55 PM > To: Jochen Peters; valentina@lists.macserve.net > Subject: Vserver a66 for MAC and WIN uploaded > > Hi All, > > Fixed small problem with information about connected clients. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Dec 31 20:44:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 31 12:44:51 2004 Subject: Vserver a66 for MAC and WIN uploaded In-Reply-To: Message-ID: On 12/31/04 8:12 PM, "Florian Bogeschdorfer" wrote: > What about the encryption bugs? As far as I know solved Florian, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------