From sunshine at public.kherson.ua Sat May 1 20:26:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 1 12:26:53 2004 Subject: VSRV, new demo license files for May uploaded Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From listmail at gearyweb.com Sat May 1 21:01:08 2004 From: listmail at gearyweb.com (michael geary) Date: Sat May 1 22:01:22 2004 Subject: val. App: a real annoyance Message-ID: Hi Folks, so, it is a true nuisance that the R.B. Valentina application, which is otherwise very useful, simply WILL NOT open anything that isn't a TEXT file type, regardless of the true contents of the file. Can you please tweak it such that WE, who are after all developers that know somewhat what we are doing, can choose any file to import? Also, it is very inconvenient that we cannot re-order the fields in a table once created. In almost all of my projects, my clients supply the data, and they keep moving things around. It would make my life much easier if I could simply reorder the fields in the table. Just a couple of pleas. Thanks, michael From sunshine at public.kherson.ua Sun May 2 09:02:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 01:04:02 2004 Subject: val. App: a real annoyance In-Reply-To: Message-ID: On 5/2/04 6:01 AM, "michael geary" wrote: Hi Michael, > so, it is a true nuisance that the R.B. Valentina application, which is > otherwise very useful, simply WILL NOT open anything that isn't a TEXT > file type, regardless of the true contents of the file. Can you please > tweak it such that WE, who are after all developers that know somewhat > what we are doing, can choose any file to import? I wonder if you can switch to Valentina Studio for this tasks? > Also, it is very inconvenient that we cannot re-order the fields in a > table once created. Well, such feature have only FileMaker I think. Something similar have probably mySQL. We also going to implement this functionality in Valentina 2.0 kernel And therefore in Valentina Studio based on 2.0 > In almost all of my projects, my clients supply the > data, and they keep moving things around. It would make my life much > easier if I could simply reorder the fields in the table. You always can use Select f4, f2, f6, f1 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun May 2 09:59:21 2004 From: rblists at carsten-friehe.de (Carsten Friehe) Date: Sun May 2 02:59:38 2004 Subject: Changes in 1.10 Message-ID: Hi all! I know that it has been asked a thousand times because it is really long time ago. There are changes in Valentina since 1.9.8b8 for Valentina Server. We have to change the syntax slightly. But I didn't had the time to change the syntax in may application and so I am stuck with 1.9.8b8. Can someone point me to a place where this changes are documented? What Do I have to do to make my application work as before? Thank you! Carsten From Claudius at sailer-online.de Sun May 2 10:43:07 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 2 03:43:19 2004 Subject: Changes in 1.10 In-Reply-To: References: Message-ID: Hi Carsten, Am 02. Mai 2004 um 09:59 Uhr schrieb Carsten Friehe: > I know that it has been asked a thousand times because it is really > long > time ago. > There are changes in Valentina since 1.9.8b8 for Valentina Server. We > have > to change the syntax slightly. But I didn't had the time to change the > syntax in may application and so I am stuck with 1.9.8b8. > Can someone point me to a place where this changes are documented? > What Do > I have to do to make my application work as before? When I am right CurEx=meineDatenbank.SQLselect(SQLString, kV_Server, kV_NoLocks) --> kV_Server, kV_NoLocks is what I use there is the most important change. Everything else should work as before. bye Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage From Claudius at sailer-online.de Sun May 2 10:54:46 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 2 03:54:57 2004 Subject: Valentina 2.0 Message-ID: <5C827600-9C16-11D8-90A4-00039365848C@sailer-online.de> Hi, I won't kidding anything but I have some questions to the next Valentina-Version. In my point of view it would be nocve to get the following informations with the next Version. Can 2.0 the same as 1.10.0 and more Can 2.0. the less as 1.10.0 but in other point more Can 2.0 only the same as 1.10.0 The reason is, is it neccessary to check 2.0beta and I have also to change all SQL-Statements? Is it possible to get a list with the Beta which shows what wouldn't run from 1.10.0 in 2.0? I know the old database isn't usable with 2.0 and I have to use the dump and reload functionality, but whats happen with the other SQL- and Database-statements? bye and thanks Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage From sunshine at public.kherson.ua Sun May 2 14:33:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 06:33:46 2004 Subject: Changes in 1.10 In-Reply-To: Message-ID: On 5/2/04 11:43 AM, "Claudius Sailer" wrote: > Hi Carsten, > > Am 02. Mai 2004 um 09:59 Uhr schrieb Carsten Friehe: > >> I know that it has been asked a thousand times because it is really >> long >> time ago. >> There are changes in Valentina since 1.9.8b8 for Valentina Server. We >> have >> to change the syntax slightly. But I didn't had the time to change the >> syntax in may application and so I am stuck with 1.9.8b8. >> Can someone point me to a place where this changes are documented? >> What Do >> I have to do to make my application work as before? > > When I am right > > CurEx=meineDatenbank.SQLselect(SQLString, kV_Server, kV_NoLocks) > > --> kV_Server, kV_NoLocks is what I use there > > is the most important change. Everything else should work as before. More correctly add Random yet SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random ) Having this magic combination, you get THE SAME behavior as in 1.9.8 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun May 2 13:37:23 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 2 06:37:40 2004 Subject: Changes in 1.10 In-Reply-To: References: Message-ID: <1459FD54-9C2D-11D8-90A4-00039365848C@sailer-online.de> Am 02. Mai 2004 um 13:33 Uhr schrieb Ruslan Zasukhin: > More correctly add Random yet > > SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random ) > > Having this magic combination, you get THE SAME behavior as in 1.9.8 Ups, whats the influences of kV_Random? bye Claudius From sunshine at public.kherson.ua Sun May 2 14:47:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 06:47:34 2004 Subject: Changes in 1.10 In-Reply-To: <1459FD54-9C2D-11D8-90A4-00039365848C@sailer-online.de> Message-ID: On 5/2/04 2:37 PM, "Claudius Sailer" wrote: > Am 02. Mai 2004 um 13:33 Uhr schrieb Ruslan Zasukhin: > >> More correctly add Random yet >> >> SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random ) >> >> Having this magic combination, you get THE SAME behavior as in 1.9.8 > > > Ups, whats the influences of kV_Random? It means that you can do for cursor Goto and Rev() Otherwise you get ForwardOnly 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 sunshine at public.kherson.ua Sun May 2 14:52:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 06:54:13 2004 Subject: Valentina 2.0 In-Reply-To: <5C827600-9C16-11D8-90A4-00039365848C@sailer-online.de> Message-ID: On 5/2/04 11:54 AM, "Claudius Sailer" wrote: Hi Claudius, > I won't kidding anything but I have some questions to the next > Valentina-Version. > > In my point of view it would be nocve to get the following informations > with the next Version. > > Can 2.0 the same as 1.10.0 and more This is a target. > Can 2.0. the less as 1.10.0 but in other point more May be only if we will be not in time. But the next free update will add missing features ASAP. I still hope we will go by way 1 > Can 2.0 only the same as 1.10.0 no > The reason is, is it neccessary to check 2.0beta and I have also to > change all SQL-Statements? Is it possible to get a list with the Beta > which shows what wouldn't run from 1.10.0 in 2.0? Of course it is better to participate in beta testing. Yes we going to have small but important changes. Mainly according to languages in strings. Yes, we will prepare list of CHANGES: for example, LIKE must be replaced on REGEX. because LIKE now will work in SQL92 standard way. > I know the old database isn't usable with 2.0 and I have to use the > dump and reload functionality, but whats happen with the other SQL- and > Database-statements? I hope 95% will be the same. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun May 2 08:52:11 2004 From: jda at his.com (jda) Date: Sun May 2 07:52:19 2004 Subject: Valentina 2.0 In-Reply-To: References: Message-ID: > > I know the old database isn't usable with 2.0 and I have to use the >> dump and reload functionality, but whats happen with the other SQL- and >> Database-statements? > >I hope 95% will be the same. > Still on track for first beta release on May 10-12? Jon From sunshine at public.kherson.ua Sun May 2 16:44:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 08:44:57 2004 Subject: Valentina 2.0 In-Reply-To: Message-ID: On 5/2/04 3:52 PM, "jda" wrote: >>> I know the old database isn't usable with 2.0 and I have to use the >>> dump and reload functionality, but whats happen with the other SQL- and >>> Database-statements? >> >> I hope 95% will be the same. >> > > Still on track for first beta release on May 10-12? Yes, at least will be the first example with ValentinaInit() ValentinaShutdown() :-) It already works. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rblists at carsten-friehe.de Sun May 2 15:48:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Sun May 2 08:50:12 2004 Subject: Changes in 1.10 Message-ID: <26883301$10835055574094fb9599f669.38164736@config6.schlund.de> Hi Ruslan! Thank you and Claudius for your answers! > SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random ) > > Having this magic combination, you get THE SAME behavior as in 1.9.8 That is great to know. Later I will change my selects in the way that will be better for them and to use the new features. Carsten From idevaney at mac.com Sun May 2 18:17:31 2004 From: idevaney at mac.com (Ian Devaney) Date: Sun May 2 12:18:10 2004 Subject: HELP: Query Advice In-Reply-To: <20040502075953.37C3D10F602@edison.macserve.net> References: <20040502075953.37C3D10F602@edison.macserve.net> Message-ID: <987D09BC-9C5C-11D8-94C3-000A9566DC14@mac.com> A bit brain-dead today - I think this should be really simple! I have 3 tables. Contacts, Contact_Groups and Lists. These are linked via object pointers. The main Contact record holds only 1 pointer to the Contact_Groups table but several to the Lists table. The Lists table contains stuff like Prefix, Suffix, Country. 2 questions: 1, How do I structure the SQL to get all the data? 2, Once I have a cursor with all the data what is the best way to deal with it? In Valentina I can't say: "lists.list_value as Prefix, lists.list_value as Suffix, lists.list_value as Country" So what do most people do in this situation? Cheers, Ian From sunshine at public.kherson.ua Sun May 2 20:26:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 12:27:31 2004 Subject: HELP: Query Advice In-Reply-To: <987D09BC-9C5C-11D8-94C3-000A9566DC14@mac.com> Message-ID: On 5/2/04 8:17 PM, "Ian Devaney" wrote: Hi Ian, > A bit brain-dead today - I think this should be really simple! > > I have 3 tables. Contacts, Contact_Groups and Lists. > > These are linked via object pointers. > > The main Contact record holds only 1 pointer to the Contact_Groups > table but several to the Lists table. The Lists table contains stuff > like Prefix, Suffix, Country. > > 2 questions: > > 1, How do I structure the SQL to get all the data? I think you need to use table aliases select from Contacts, Contact_Groups, Lists a, lists b, lists c WHERE ... > 2, Once I have a cursor with all the data what is the best way to deal > with it? > In Valentina I can't say: > > "lists.list_value as Prefix, lists.list_value as Suffix, > lists.list_value as Country" > So what do most people do in this situation? You can use index to get field. field(1) Also I wonder: do you have strong reasons to keep in the same column 'Value' data of different types? May be better to use 3 tables ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun May 2 21:03:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 13:04:00 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: <76389EEE-6BBB-11D8-A255-003065BB0634@desuetude.com> Message-ID: On 3/1/04 10:03 PM, "Charles Yeomans" wrote: Hi Charles, So you prefer, ValentinaInit( s ) real_size = ValentinaCacheSize(); What other people think? I agree that for GUI tools it is good to have function ValentinaCacheSize() >>>> ValentinaIit() now returns the actual size of cache that Valentina have >>>> allocate. >>>> >>>> >>>> NOTE: for modern OS that have virtual file system, even if you ask 100MB >>>> for cache, OS can satisfy your request. But Valentina self can decide that >>>> you ask too big cache size and allocate smaller cache. >>>> >>>> In case of any problems, ValentinaInit() will return ZERO. >>>> >>> >>> Again, why return this value? This is old C-style design. Instead, >>> why not have a separate function ValentinaCacheSize() as Integer? >> >> 1) ValentinaInit() can fail. > > This is what exceptions are for. >> >> if return nothing, then you need ask ValentinaError >> and we need add one more error code. >> >> 2) it can allocate less than you ask. >> >> one more function... >> >> >> One return value solve 2 tasks at once. > > And this is what I'm complaining about. I think that it's simpler to > have two things (functions, properties, etc), each of which solves one > task. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From idevaney at mac.com Sun May 2 20:25:34 2004 From: idevaney at mac.com (Ian Devaney) Date: Sun May 2 14:26:10 2004 Subject: 363 Error & Design Confusion Message-ID: <7BA5FE56-9C6E-11D8-A375-000A9566DC14@mac.com> I am working on a new project with vServer. I decided to change the design a little from my previous projects. For example, I am using a "contact" class that has a vCursor property. This is a similar idea to the contacts example from the Valentina web site in that the class moves the cursor to certain positions for editing, viewing etc. I figured cutting down on queries in a server situation would be a good thing. Anyway, it seems this raises serious problems. A "Contact" contains data from 3 related tables. When the contact needs to be edited, for example, my edit window needs to query the database to build popup menus etc. that represent data in the related tables. However, since my "contact" class now has a persistent vCursor property, I just get 363 errors when I try to do this. From what I can gather, this is because a cursor referencing the same data is still in existence. Is my design idea complete bollocks or is there an elegant way around this? Cheers, Ian From idevaney at mac.com Sun May 2 20:37:19 2004 From: idevaney at mac.com (Ian Devaney) Date: Sun May 2 14:37:53 2004 Subject: HELP: Query Advice In-Reply-To: <20040502172749.31C5B10FCFA@edison.macserve.net> References: <20040502172749.31C5B10FCFA@edison.macserve.net> Message-ID: <2014DE55-9C70-11D8-9468-000A9566DC14@mac.com> On 2 May 2004, at 6:27 pm, valentina-request@lists.macserve.net wrote: >> >> >> 2 questions: >> >> 1, How do I structure the SQL to get all the data? > > I think you need to use table aliases > > select > from Contacts, Contact_Groups, Lists a, lists b, lists c > WHERE ... > Oops! Didn't know you could do this! Thanks. > >> 2, Once I have a cursor with all the data what is the best way to deal >> with it? > > >> In Valentina I can't say: >> >> "lists.list_value as Prefix, lists.list_value as Suffix, >> lists.list_value as Country" > >> So what do most people do in this situation? > > You can use index to get field. > > field(1) Just wondered if there was a better way. Will this be improved in later versions? > > Also I wonder: > do you have strong reasons to keep in the same column 'Value' > data of different types? May be better to use 3 tables ? You could be right. Just thought it might be tidier. I use a list table with key-value pairs: contactPrefix - Mr. contactPrefix - Mrs. country - Ireland country - UK etc. This works really well for most things and is very simple for editing etc.. Thanks, Ian From sunshine at public.kherson.ua Sun May 2 23:02:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 15:02:11 2004 Subject: HELP: Query Advice In-Reply-To: <2014DE55-9C70-11D8-9468-000A9566DC14@mac.com> Message-ID: On 5/2/04 10:37 PM, "Ian Devaney" wrote: >>> 2, Once I have a cursor with all the data what is the best way to deal >>> with it? >> >> >>> In Valentina I can't say: >>> >>> "lists.list_value as Prefix, lists.list_value as Suffix, >>> lists.list_value as Country" >> >>> So what do most people do in this situation? >> >> You can use index to get field. >> >> field(1) > > Just wondered if there was a better way. Will this be improved in later > versions? Yes. Valentina 2.0 can do select fld as alias >> Also I wonder: >> do you have strong reasons to keep in the same column 'Value' >> data of different types? May be better to use 3 tables ? > > You could be right. Just thought it might be tidier. I use a list table > with key-value pairs: > > contactPrefix - Mr. > contactPrefix - Mrs. > > country - Ireland > country - UK > > etc. > > This works really well for most things and is very simple for editing > etc.. > > Thanks, > > Ian > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 3 00:41:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 2 16:41:34 2004 Subject: 363 Error & Design Confusion In-Reply-To: <7BA5FE56-9C6E-11D8-A375-000A9566DC14@mac.com> Message-ID: On 5/2/04 10:25 PM, "Ian Devaney" wrote: > I am working on a new project with vServer. I decided to change the > design a little from my previous projects. > > For example, I am using a "contact" class that has a vCursor property. > This is a similar idea to the contacts example from the Valentina web > site in that the class moves the cursor to certain positions for > editing, viewing etc. I figured cutting down on queries in a server > situation would be a good thing. > > Anyway, it seems this raises serious problems. > > A "Contact" contains data from 3 related tables. When the contact needs > to be edited, for example, my edit window needs to query the database > to build popup menus etc. that represent data in the related tables. > However, since my "contact" class now has a persistent vCursor > property, I just get 363 errors when I try to do this. From what I can > gather, this is because a cursor referencing the same data is still in > existence. You can use in persistent cursor NoLock property > Is my design idea complete bollocks or is there an elegant way around > this? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon May 3 12:16:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 3 04:16:23 2004 Subject: Mach-O target issue In-Reply-To: Message-ID: On 4/29/04 2:08 PM, "MKB" wrote: > Hi Ruslan > > The library (VSD_LIB) does build to give out the .lib file, but the > functions do not get imported on linking. I get the same set of errors. Will > it be possible for you to try this from your side on CW 9.x? > > With regards > > Murali Kishan Bhat Hi Murali, You can find now on this page http://paradigmasoft.com/files/vsdk.html Archive with VSDK CW9 libs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From aaronbratcher at abdatatools.com Mon May 3 14:39:37 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Mon May 3 13:39:44 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: References: Message-ID: <3B144BC0-9D31-11D8-BD2F-000A959E9B12@abdatatools.com> I tend to agree with Charles. I am going to assign a cache that I think is appropriate, but realistically what are my chances of checking for the real cache size? If I want it, I will ask for it. Looking at the subject, does this mean a beta for REALbasic users is available or is it still in-process? -- Aaron Bratcher On-Target Reports, Inc. On May 2, 2004, at 2:03 PM, Ruslan Zasukhin wrote: > On 3/1/04 10:03 PM, "Charles Yeomans" wrote: > > Hi Charles, > > So you prefer, > > ValentinaInit( s ) > real_size = ValentinaCacheSize(); > > What other people think? From sunshine at public.kherson.ua Mon May 3 21:46:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 3 13:46:44 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: <3B144BC0-9D31-11D8-BD2F-000A959E9B12@abdatatools.com> Message-ID: On 5/3/04 9:39 PM, "Aaron Bratcher" wrote: > I tend to agree with Charles. I am going to assign a cache that I > think is appropriate, but realistically what are my chances of checking > for the real cache size? If I want it, I will ask for it. > > Looking at the subject, does this mean a beta for REALbasic users is > available or is it still in-process? In process. I think I will upload archives for V4RB may be even tomorrow. I want developers become used to new design of plugin. And must be ready first 2 simplest 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 sunshine at public.kherson.ua Mon May 3 23:06:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 3 15:06:45 2004 Subject: ODBC Connection for Valentina In-Reply-To: <000801c43149$31e01840$6701a8c0@kent> Message-ID: On 5/3/04 10:59 PM, "Simon White" wrote: > Hi Ruslan > > Thanks it works fine now I understand it properly. Hi Simon, Cool! So you can now connect to Valentina Server from FoxPro IDE ? Great! I think it will be good if you share you experience to Valentina list. What you do, and why. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Mon May 3 14:22:10 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon May 3 16:22:18 2004 Subject: VXCMD and binding Message-ID: <20040503212210.81703.qmail@web20420.mail.yahoo.com> How do I implement binding with the VXCMD version of Valentina? I know I need a query like "INSERT INTO Table1 VALUES(:1,:2,:3)", and then I need an array of values. What I can't figure out is how to pass that array of values to my query. Do I include it as a parameter of the Database_SQLExecute function? If so, that doesn't seem to work. It crashes my application. Any help would be appreciated. Thanks in advance, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From sunshine at public.kherson.ua Tue May 4 00:25:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 3 16:25:28 2004 Subject: VXCMD and binding In-Reply-To: <20040503212210.81703.qmail@web20420.mail.yahoo.com> Message-ID: On 5/4/04 12:22 AM, "Chris Sheffield" wrote: > How do I implement binding with the VXCMD version of > Valentina? I know I need a query like "INSERT INTO > Table1 VALUES(:1,:2,:3)", and then I need an array of > values. What I can't figure out is how to pass that > array of values to my query. Do I include it as a > parameter of the Database_SQLExecute function? If so, > that doesn't seem to work. It crashes my application. > Any help would be appreciated. I think VXCMD docs must have example. Yes, as parameter. And that must be array. So it can be used in MC or Revolution only. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From philip at accessitsoftware.com Tue May 4 10:30:59 2004 From: philip at accessitsoftware.com (Phil) Date: Mon May 3 17:31:07 2004 Subject: How to create primary keys, constraints in 2.x...? Message-ID: <4096C823.1020100@accessitsoftware.com> Hi, I'm getting started with Valentina, trying to convert a large-ish database schema to be compatible with Valentina. It isn't far off... However something I haven't got going yet is when doing a create table, after creating the columns what is the correct syntax for creating primary keys and constraints? I saw in a message from 3-4 months ago that constraints & primary keys will be in 2.0 (seems they weren't in 1.x?). Also I have a ValentinaSQL.pdf file but it seems quite out-of-date... is there any recent documentation about SQL syntax in Valentina? I'm using XP SP1, Valentina Server (2.0a62, Protocol 1.1, Kernel 1.10), Valentina C++ Client SDK 2.0a62 (Win32) Thanks From sunshine at public.kherson.ua Tue May 4 09:19:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 4 01:19:31 2004 Subject: How to create primary keys, constraints in 2.x...? In-Reply-To: <4096C823.1020100@accessitsoftware.com> Message-ID: On 5/4/04 1:30 AM, "Phil" wrote: Hi Phil, > Hi, I'm getting started with Valentina, trying to convert a large-ish > database schema to be compatible with Valentina. It isn't far off... > > However something I haven't got going yet is when doing a create table, > after creating the columns what is the correct syntax for creating > primary keys and constraints? > I saw in a message from 3-4 months ago that constraints & primary keys > will be in 2.0 (seems they weren't in 1.x?). In Valentina 1.x we have no RDBMS Primary Key. Instead we have RecID + ObjectPtr functionality. This way eat less disk space, require less developer work, and works 4 times faster of RDB way. In Valentina 2.0 yes, we have add Sql92 Primary and Foreign key. Syntax as EXACTLY according to SQL92 standard. But if your task allow, then still you may prefer to use ObjectPtrs. Here you can see grammar of Valentina 2.0 http://paradigmasoft.com/VSQL_Parser.html > Also I have a ValentinaSQL.pdf file but it seems quite out-of-date... is > there any recent documentation about SQL syntax in Valentina? It is not out of date. It corresponds to Valentina 1.10 > I'm using XP SP1, Valentina Server (2.0a62, Protocol 1.1, Kernel 1.10), > Valentina C++ Client SDK 2.0a62 (Win32) Please note, Valentina Server based on 1.x kernel means yet Valentina 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 tjames1 at bigpond.net.au Tue May 4 19:33:00 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Tue May 4 04:31:43 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: References: Message-ID: <090781AE-9DAE-11D8-9C16-000A95A4D918@bigpond.net.au> Well I tried this and no luck- some pointers appear to get confused or at least I had some finger trouble However I still have the field in the table defined as string(40) indexed where if I insert into a previously deleted recid it does not alter the fields value but keeps the value of the previously deleted field However if I update the record after this the field is changed and is accessible, indexed etc Doesn't this look like a bug rather than a db corruption ? I am still facing an overnight stay at my client for a dumpxml/loaddump if I can't find a solution quickly (I am currently remotely fixing any errors that occurred during the day each night !!) TIA On 29/04/2004, at 5:05 PM, Ruslan Zasukhin wrote: > On 4/29/04 6:32 AM, "Tim James" wrote: > >> I started to loaddump and it appears it will take 24 hours to complete >> >> Would it be possible to >> >> 1.export all tables to files >> >> 2.delete all records from all tables >> >> 3.dump db via dumpxml >> >> 4.reload dump.xml to create a clean new empty DB >> >> 5. import all tables back into the new DB >> >> >> (I presume (hope) that import doesn't look at OBjptrs or changes >> recids) >> >> Is this a safe way to proceed ?? > > Yes! > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue May 4 13:17:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 4 05:17:19 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <090781AE-9DAE-11D8-9C16-000A95A4D918@bigpond.net.au> Message-ID: On 5/4/04 12:33 PM, "Tim James" wrote: Hi Tim, > Well I tried this and no luck- some pointers appear to get confused or > at least I had some finger trouble > > However I still have the field in the table defined as string(40) > indexed where if I insert into a previously deleted recid it does not > alter the fields value but keeps the value of the previously deleted > field > > However if I update the record after this the field is changed and is > accessible, indexed etc > > Doesn't this look like a bug rather than a db corruption ? May be record locks prevent ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 4 13:20:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 4 05:20:24 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <090781AE-9DAE-11D8-9C16-000A95A4D918@bigpond.net.au> Message-ID: On 5/4/04 12:33 PM, "Tim James" wrote: > Well I tried this and no luck- some pointers appear to get confused or > at least I had some finger trouble > > However I still have the field in the table defined as string(40) > indexed where if I insert into a previously deleted recid it does not > alter the fields value but keeps the value of the previously deleted > field > > However if I update the record after this the field is changed and is > accessible, indexed etc > > Doesn't this look like a bug rather than a db corruption ? If you have problem only in single table, Then you can 1) write own function, which will iterate each record and COPY record by records into new mirror table. After you will copy all records, you need Delete old table, and rename mirror table. As result you will get fresh table in the same db. You need copy records preserving RecID numbers. ------- 2) do you use ObjectPtr fields, yes? Another way import/export only this table Is that you create tmp RDB ULONG field. Set values == to ObjectPtr values. Export table. Drop old table. Import new table back. Use Convert RDB to ObjectPtr SQL command Remove RDB tmp field. TMP field must be made for each ObjectPtr 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 kray at sonsothunder.com Tue May 4 11:05:23 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue May 4 11:07:13 2004 Subject: Changing a Field's Type? Message-ID: <011b01c431f1$9f768300$6601a8c0@precision340> I'd like to know if there's a way to change a VarChar field to a UShort in code without having to go to VAPP to do it. I know I can delete the VarChar field and recreate a new field that's UShort, but I'll lose all the data currently in that field of the table when I do it, right? Any suggestions would be appreciated, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Tue May 4 19:22:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 4 11:22:58 2004 Subject: Changing a Field's Type? In-Reply-To: <011b01c431f1$9f768300$6601a8c0@precision340> Message-ID: On 5/4/04 7:05 PM, "Ken Ray" wrote: > I'd like to know if there's a way to change a VarChar field to a UShort in > code without having to go to VAPP to do it. I know I can delete the VarChar > field and recreate a new field that's UShort, but I'll lose all the data > currently in that field of the table when I do it, right? > > Any suggestions would be appreciated, BaseObject "class" have function changeType In VXCMD something as BaseObject_changeType() I am not sure if you loose data on string to numeric conversion. May be no. You can check this in VAPP on test db -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tjames1 at bigpond.net.au Wed May 5 09:49:42 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Tue May 4 18:48:23 2004 Subject: SQL code to select duplicates Message-ID: I have a table that has had duplicates (that is rows with a key indexed field the same) added to it due to erroneously turning off a unique flag. Is there some neat/simple way to select all duplicates in one select ? TIA From sunshine at public.kherson.ua Wed May 5 08:24:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 00:24:20 2004 Subject: SQL code to select duplicates In-Reply-To: Message-ID: On 5/5/04 2:49 AM, "Tim James" wrote: > I have a table that has had duplicates (that is rows with a key indexed > field the same) added to it due to erroneously turning off a unique > flag. > > Is there some neat/simple way to select all duplicates in one select ? Hi Tim, Exists workaround: select count(*) from T GROUP BY f1, f,2 ... fn ORDER BY 1 So you will get cursor where first records will have bigger count(*) Now you can iterate it ntil you meet count(*) == 1 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed May 5 08:24:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 00:24:58 2004 Subject: SQL code to select duplicates In-Reply-To: Message-ID: On 5/5/04 8:24 AM, "Ruslan Zasukhin" wrote: > On 5/5/04 2:49 AM, "Tim James" wrote: > >> I have a table that has had duplicates (that is rows with a key indexed >> field the same) added to it due to erroneously turning off a unique >> flag. >> >> Is there some neat/simple way to select all duplicates in one select ? > > Hi Tim, > > Exists workaround: > > select count(*) > from T > GROUP BY f1, f,2 ... fn > ORDER BY 1 Although faster use in GROUP BY only few fields. > So you will get cursor where first records will have bigger count(*) > Now you can iterate it ntil you meet count(*) == 1 > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Wed May 5 12:00:39 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed May 5 05:03:21 2004 Subject: Changing a Field's Type? In-Reply-To: <011b01c431f1$9f768300$6601a8c0@precision340> References: <011b01c431f1$9f768300$6601a8c0@precision340> Message-ID: >I'd like to know if there's a way to change a VarChar field to a UShort in >code without having to go to VAPP to do it. I know I can delete the VarChar >field and recreate a new field that's UShort, but I'll lose all the data >currently in that field of the table when I do it, right? > >Any suggestions would be appreciated, > >Ken Ray Ken, you won't loose data if you first create a new field, then copy all data from old to new, and then delete. Concerting directly does not work for all fields and usually data is lost (it is kept reliably only when converting to string/varchar). I have once investigated this in detail but it was a few years a go and a few versions of Valentina back. Robert From sunshine at public.kherson.ua Wed May 5 15:31:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 07:32:13 2004 Subject: Changing a Field's Type? In-Reply-To: Message-ID: On 5/5/04 1:00 PM, "Robert Brenstein" wrote: >> I'd like to know if there's a way to change a VarChar field to a UShort in >> code without having to go to VAPP to do it. I know I can delete the VarChar >> field and recreate a new field that's UShort, but I'll lose all the data >> currently in that field of the table when I do it, right? >> >> Any suggestions would be appreciated, >> >> Ken Ray > > Ken, you won't loose data if you first create a new field, then copy > all data from old to new, and then delete. Concerting directly does > not work for all fields and usually data is lost (it is kept reliably > only when converting to string/varchar). I have once investigated > this in detail but it was a few years a go and a few versions of > Valentina back. Actually data are lost (zeroed) ONLY if conversion between types do not have sense. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Wed May 5 14:49:45 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed May 5 07:49:52 2004 Subject: Problems with vServer Xtra 4MD SOLVED Message-ID: I think I got it. I did a lot of changes and what might have happened is: I did not close the VserverXtra connection correctly. In runtime this leads to an error when stopping the movie. Maybe you can fix that since the error has no obvious relation to Valentina and in the log is an "unknown server error". But in the end it is my fault too for not closing the connection correctly. I still wonder why this error has appeared even before stopping the movie but I am just happy that all is working now. Best regards, Florian From sunshine at public.kherson.ua Wed May 5 15:54:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 07:55:01 2004 Subject: Problems with vServer Xtra 4MD SOLVED In-Reply-To: Message-ID: On 5/5/04 3:49 PM, "Florian Bogeschdorfer" wrote: > I think I got it. I did a lot of changes and what might have happened is: > > I did not close the VserverXtra connection correctly. In runtime this leads > to an error when stopping the movie. Maybe you can fix that since the error > has no obvious relation to Valentina and in the log is an "unknown server > error". > > But in the end it is my fault too for not closing the connection correctly. > I still wonder why this error has appeared even before stopping the movie > but I am just happy that all is working now. I am too happy, Florian. For 2.0 version we hoing to create a lots of small examples for V4RB, V4md ,... So we will tests features much better -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Wed May 5 14:35:51 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed May 5 13:35:38 2004 Subject: [V4Rb] error -39 Message-ID: <09350B0E-9EC3-11D8-9A7B-003065BB0634@desuetude.com> It looks like I have a corrupted database; the corruption may have occurred upon adding a VFixedBinary field, and then modifying its length. The result is a table with an error -39 problem. Does this sound familiar to anyone? -------------- Charles Yeomans From sunshine at public.kherson.ua Wed May 5 23:38:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 15:38:12 2004 Subject: 13 technocal questions about your product "valentina" In-Reply-To: Message-ID: On 5/5/04 7:52 PM, "Olivier cedric WAHL" wrote: Hi Oliver, You make good questions, so I have CC answers to Valentina list. > Hello, I am conducting some research on embedded databases and how they > could serve as cache-memory management tools in some of our applications. > > There is abundant description of your product "Valentina", but i cannot > find the direct answers to the following questions. > I would like to know : > > > 1/ Is Valentina available as an in-memory/memory resident/main memory > database? could it be used as such? Valentina 1.10 no. It is true DISK-based database. But it have good caching. IF you make cache big enough, you get a lots of data in the RAM. If you was impressed by digits that RAM-based dbs are "3000" times faster of disk-based dbs...well :-) there was reports of some Valentina users that Valentina beat in speed that RAM based dbs (at least that which was tests, I remember Panorama). Nevertheless, Valentina 2.0 will be able create and use RAM based databases. As well as in the disk-based db you an create RAM-based tables. > 2/ Does Valentina provide logging or backing structures with different > configuration parameters? Right now no. We plan this for Valentina 2.5 release > 3/ Is Valentina a database that is available as a nimble database, (i.e. a > component that directly links into an application) thus avoiding IPC and > subsequent performance issues? If you mean Valentina C++, then YES. If you talk about Valentina for RB, then V4RB this is PLUGIN, so exists some overhead of course. Oliver, if you worry about performance, then I think it is better just try Valentina instead discuss and compare this "technical issue" which means not many. Valentina uses quite unique algorithms to get great performance. > 4/ Is it, on the contrary, a client/server product with IPC or network > communication? is it available with both options? Both options. > 5/ In the case it can be used as a memory-resident database, is the > dataset size constrained by > the OS, and limited under 2-3GB ? Yes. For Valentina 2.0 > 6/ to what extent does Valentina support transactions? No transactions now. > 7/ what kind of cache structuring is provided > (Btree?Htable?indexes?Queues)? what kind of indexes do you provide? This is secret. > 8/ if there is a standalone mode, is there an undo/redo functionnality > provided? (Undo/Redo is distinct from rollforward/rollback in the sense > that one can rollback and rollforward a number of consistent modifications) no > 9/ in the case Valentina is available as a nimble database such as in > question(2) is multithread supported? multiprocess? Valentina can be used in Multi-threaded apps. Multi-process must work as clients to Valentina Server. > 10/ what kind of query/data access/language infrastructure is provided ? > SQL? > OQL? Xpath/XQuery? key/value pairs ? la sleepycat? other programmatic > tools? SQL In C++ exists low level access to do operations without SQL. > 11/ with what language are your APIs available? C++? Java? Other? This is listed on site. C/C++, Java, REALbaic, Director, PHP, VB, COM, C#, xCards > 12/ do you provide tools to extract information from a different datasource > (file based or other RDBMS)? yes > 13/ what platform are supported? Linux? windows ? UNIX (what flavors of > UNIX?) Windows and MacOS. Linux planed future. > I thank you in advance for your answers. > Regards, > C?dric Wahl, > Research Engineer, Dassault Syst?mes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 5 23:47:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 5 15:47:45 2004 Subject: [V4Rb] error -39 In-Reply-To: <09350B0E-9EC3-11D8-9A7B-003065BB0634@desuetude.com> Message-ID: On 5/5/04 9:35 PM, "Charles Yeomans" wrote: > It looks like I have a corrupted database; the corruption may have > occurred upon adding a VFixedBinary field, and then modifying its > length. The result is a table with an error -39 problem. Does this > sound familiar to anyone? No Charles, FixedBinary is rare for use field type, Than more changing of its length. Although internally it is based simply of String field type. Which is tested very good. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Wed May 5 17:22:33 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed May 5 16:22:16 2004 Subject: [V4Rb] error -39 In-Reply-To: References: Message-ID: <5271CD64-9EDA-11D8-A555-003065BB0634@desuetude.com> On May 5, 2004, at 4:47 PM, Ruslan Zasukhin wrote: > On 5/5/04 9:35 PM, "Charles Yeomans" wrote: > >> It looks like I have a corrupted database; the corruption may have >> occurred upon adding a VFixedBinary field, and then modifying its >> length. The result is a table with an error -39 problem. Does this >> sound familiar to anyone? > > No Charles, > > FixedBinary is rare for use field type, > Than more changing of its length. > > Although internally it is based simply of String field type. > Which is tested very good. > I was able to fix the problem by dumping the db to XML and rebuilding it. Charles Yeomans From devlist at mono.info Thu May 6 16:08:57 2004 From: devlist at mono.info (Paul Gaspar) Date: Thu May 6 09:11:04 2004 Subject: Diagnose Error: Big or small problem? In-Reply-To: References: Message-ID: Hi Ruslan, this a diagnose of a customer: ************************************************************************ * BaseObject: "sysItem" ************************************************************************ Problems found. -----> Field: "ItemDescrPtr' of type ObjectPtr Problems found! (!) Table has 8224 physical records but field has 8448 -----> Field: "Value' of type VarChar All right. -----> Field: "TextValue' of type Text All right. -----> Field: "ParentPtr' of type ObjectPtr Problems found! (!) Table has 8224 physical records but field has 8448 ----- A XML-Dump does NOT help (same result). What can I do? Paul From sunshine at public.kherson.ua Thu May 6 17:13:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 6 09:13:56 2004 Subject: Diagnose Error: Big or small problem? In-Reply-To: Message-ID: On 5/6/04 5:08 PM, "Paul Gaspar" wrote: Hi Paul, Is your db encrypted? If yes, then diagnose say not true sometimes. > this a diagnose of a customer: > > ************************************************************************ > * BaseObject: "sysItem" > ************************************************************************ > Problems found. > > -----> Field: "ItemDescrPtr' of type ObjectPtr > Problems found! > > (!) Table has 8224 physical records but field has 8448 > > > -----> Field: "Value' of type VarChar > All right. > > -----> Field: "TextValue' of type Text > All right. > > -----> Field: "ParentPtr' of type ObjectPtr > Problems found! > > (!) Table has 8224 physical records but field has 8448 > > > ----- > > A XML-Dump does NOT help (same result). > > What can I do? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From devlist at mono.info Thu May 6 22:31:24 2004 From: devlist at mono.info (Paul Gaspar) Date: Thu May 6 15:33:29 2004 Subject: Diagnose Error: Big or small problem? In-Reply-To: References: Message-ID: <578E9C76-9F9C-11D8-9B33-000A95A60398@mono.info> > Is your db encrypted? > > If yes, then diagnose say not true sometimes. Yes, it is. But how can I find out if the diagnose tells the truth?? Paul From sunshine at public.kherson.ua Fri May 7 00:53:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 6 16:54:04 2004 Subject: Diagnose Error: Big or small problem? In-Reply-To: <578E9C76-9F9C-11D8-9B33-000A95A60398@mono.info> Message-ID: On 5/6/04 11:31 PM, "Paul Gaspar" wrote: >> Is your db encrypted? >> >> If yes, then diagnose say not true sometimes. > > Yes, it is. But how can I find out if the diagnose tells the truth?? Well, for encrypted db no way. Although it say wrong things about length only. If you see other errors then exists real problems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From philip at accessitsoftware.com Fri May 7 16:39:43 2004 From: philip at accessitsoftware.com (Phil) Date: Thu May 6 23:39:53 2004 Subject: Questions re. Data Rows, Transactions In-Reply-To: <20040506215423.33456116CD1@edison.macserve.net> References: <20040506215423.33456116CD1@edison.macserve.net> Message-ID: <409B130F.50100@accessitsoftware.com> Hi, I'm a bit of a Valentina newbie.... 1) I was wondering if there is such an object (or concept) as a 'DataRow' in Valentina. I.e perform a query, get back a VDKC_Cursor. If that Cursor contains multiple rows, can I treat each row as some sort of Valentina DataRow object? Each time I want to call 'NextRecord()' and treat it as an entire row (and for example pass the entire row around the application by reference), not as a whole lot of fields within that row. 2) If there is such a thing as a DataRow object, can I then perform an update on it? I.e if I have a row with 10 fields, ANY of which may have changed, I don't want to have to write a whole lot of SQL saying "if this field changed, update it" and "if that field changed, update it", etc etc. I'd like to be able to change the field(s) as I choose, then tell Valentina to take the row and perform updates if necessary. I admit there are times when this would be difficult or impossible, such as when the row contains results from multiple tables, or concatenated columns... 3) I also saw in todays messages that transactions are not supported. Is there any plan to implement this? Help! If not, this'll have a major impact on our SQL complexity and the way in which we write our application. Thanks, Phil From sunshine at public.kherson.ua Fri May 7 09:55:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 7 01:56:12 2004 Subject: Questions re. Data Rows, Transactions In-Reply-To: <409B130F.50100@accessitsoftware.com> Message-ID: On 5/7/04 7:39 AM, "Phil" wrote: Hi Phil, > Hi, I'm a bit of a Valentina newbie.... > > 1) I was wondering if there is such an object (or concept) as a > 'DataRow' in Valentina. I.e perform a query, get back a VDKC_Cursor. If > that Cursor contains multiple rows, can I treat each row as some sort of > Valentina DataRow object? > Each time I want to call 'NextRecord()' and treat it as an entire row > (and for example pass the entire row around the application by > reference), not as a whole lot of fields within that row. I see. No we do not have such object. You think this will be useful? At last of end you can very easy implement this self! You can make small class which will copy VDK_Cursor field values of The current record. You can in subclass of VDK_Cursor overrdide SqlSelect() to return not VDK_Cursor but your wrapper or subclass of VDK_Cursor which will collaborate with that DataRow. Right? > 2) If there is such a thing as a DataRow object, can I then perform an > update on it? I.e if I have a row with 10 fields, ANY of which may have > changed, I don't want to have to write a whole lot of SQL saying "if > this field changed, update it" and "if that field changed, update it", > etc etc. And Valentina's cursors allow you do exactly this easy. Phil, in Valentina this work in this way: 1) let you have VDK_Cursor curs; which have 10 fields. 2) now you can change only 2 fields: curs.Get_Field("f1").SetString("aaa") curs.Get_Field("f6").SetString("bbb") Now fields know that they are dirty. 3) you can now without ANY SQL simply say curs.Update() DONE. Cursors in Valentina are VERY SMART. And We do not use DataRow on this reason. Oh! idea. I think that you can simply send by reference VDK_Cursor itself. How this will differ from DataRow ??? Using DataRow in some functions you still will need iterate in loop fields of DataRow, right? So what difference? Just thank about VDK_Cursor as about DataRow. > I'd like to be able to change the field(s) as I choose, then tell > Valentina to take the row and perform updates if necessary. No problems, you can do this using API of VDK_Cursor class. No need to build SQL string. > I admit > there are times when this would be difficult or impossible, such as when > the row contains results from multiple tables, or concatenated columns... Right. Cursor can be updated only if it is for single table. VDK_Cursor even have such functions for check if you can modify records. > 3) I also saw in todays messages that transactions are not supported. Is > there any plan to implement this? Yes of course. > Help! If not, this'll have a major impact on our SQL complexity and the > way in which we write our application. I think you worry in the first turn about LOGICAL rollback, yes? When we will ship Valentina 2.0, our immediate major tasks will be a) port to Linux b) transactions AT LEAST for logical rollback. may be also for recovery after system failure. So I think this will take yet 4-6 months from now. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Fri May 7 09:44:24 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri May 7 11:44:37 2004 Subject: VXCMD and binding In-Reply-To: Message-ID: <20040507164424.74015.qmail@web20413.mail.yahoo.com> Hi Ruslan, I've tried this and I just can't make it work. There is a general example in the ValentinaSQL.pdf doc, but not the VXCMD doc. I don't suppose you, or someone else, could give me a working example? My code right now simply looks like: get Valentina("SQLExecute", gDBID, tQuery, tFieldArray) But this does not work. Any ideas? Thanks. --- Ruslan Zasukhin wrote: > On 5/4/04 12:22 AM, "Chris Sheffield" > wrote: > > > How do I implement binding with the VXCMD version > of > > Valentina? I know I need a query like "INSERT > INTO > > Table1 VALUES(:1,:2,:3)", and then I need an array > of > > values. What I can't figure out is how to pass > that > > array of values to my query. Do I include it as a > > parameter of the Database_SQLExecute function? If > so, > > that doesn't seem to work. It crashes my > application. > > Any help would be appreciated. > > I think VXCMD docs must have example. > > Yes, as parameter. And that must be array. > So it can be used in MC or Revolution only. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From keatk at comcast.net Fri May 7 18:03:09 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Fri May 7 13:03:21 2004 Subject: V4RB 1.1 & Encoding Message-ID: <050720041803.23229.409BCF5B00026FDD00005ABD2200748184FF9B938D9088D29E9E@comcast.net> I Am wrtting what was supposed to be a quick small DB app to help process/compile some data at work. I tried the new RealDB in 5.5.2b4 but I get the IDE and built App quitting without even an RB exception on the Mac (I get the report to apple dialog) and troubleshooting it is taking too long... So I want to go back to valentina - but I've not used it in awhile.. What to I have to watchout for encoding wise using V4RB 1.1 with RB 5.5.* as it's default strings are now UTF8... So what are the pitfalls? Do I have to convert everything to ASCII type encoding including VObject names and SQL command strings (not just the data to be stored), before passing it to V4RB methods? Actually my data originates on Win32 so for the Data I an using ISOLatin1. Thanks, - karen From yeomans at desuetude.com Fri May 7 16:22:04 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri May 7 15:21:54 2004 Subject: V4RB 1.1 & Encoding In-Reply-To: <050720041803.23229.409BCF5B00026FDD00005ABD2200748184FF9B938D9088D29E9E@comcast.net> References: <050720041803.23229.409BCF5B00026FDD00005ABD2200748184FF9B938D9088D29E9E@comcast.net> Message-ID: <348D43BA-A064-11D8-8C45-003065BB0634@desuetude.com> On May 7, 2004, at 2:03 PM, keatk@comcast.net wrote: > I Am wrtting what was supposed to be a quick small DB app to help > process/compile some data at work. > > I tried the new RealDB in 5.5.2b4 but I get the IDE and built App > quitting without even an RB exception on the Mac (I get the report to > apple dialog) and troubleshooting it is taking too long... > > So I want to go back to valentina - but I've not used it in awhile.. > What to I have to watchout for encoding wise using V4RB 1.1 with RB > 5.5.* as it's default strings are now UTF8... > > So what are the pitfalls? > > Do I have to convert everything to ASCII type encoding including > VObject names and SQL command strings (not just the data to be > stored), before passing it to V4RB methods? > > Actually my data originates on Win32 so for the Data I an using > ISOLatin1. > Currently you do need to convert the encoding for text storage; I just use Encodings.SystemDefault and it appears to work well enough. Since ASCII is a subset of UTF-8, you shouldn't have any problems with VBaseObject names etc. as long as you use ASCII strings. -------------- Charles Yeomans From sunshine at public.kherson.ua Fri May 7 23:42:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 7 15:42:56 2004 Subject: [FAQ] ODBC Connection for Valentina In-Reply-To: <001e01c4346d$d5e01a90$6701a8c0@kent> Message-ID: On 5/7/04 10:59 PM, "Simon White" wrote: Hi Simon, > Hi Ruslan > > What is the difference between VBaseObject and VCursor when a VCursor is > created using oDatabase.SQLSelect("Select RecID,* From myBaseObject",2,3,2) VBaseObject -- Is abstraction of TABLE in the database. i.e. It contains ALL records and ALL fields. Vcursor -- is abstraftion of record set. it can be build on one or __few__ tables. it can select only few records and fields of table(s). > and why does the IVCursor not have a GotoRecID Function? Because cursor can be built on SEVERAL tables. > Since the IVCursor does not have a GotoRecID how can you randomly move > around in the cursor? Cursor have similar function: GoToPosition(). > The reason of these questions is that I created all my cursors with "Select > RecID,* From myBaseObject" and then used the ExportText method to create > text files which I then import into a matching VFP table. This works fine. Frankly saying I think this is not the best way. Assume you have select 100,000 records. IT will take MANY TIME to load them to text file, then import to DBF. It is better use Server Side cursor, load records from server by 10-20 at once. > Now I want to write back the changes made in the VFP tables to the VCursor > object in Valentina. My idea was to goto a particular RecID and update the > cursor buffer with the new values and then use UpdateRecord to write the > changes back to the baseobject. You can simply go to Nth record of cursor and do what you want. RecID even is not needed as I see. > Rather than go through each record > individually I was planning only to update the records that had been > changed. The fastest way to do this was to use the GotoRecID method. > > Perhaps you have a better technique to write changes from VFP Table to a > VCursor. > > Thanks > Simon White -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 7 23:46:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 7 15:47:11 2004 Subject: Suggestion for new Feature In-Reply-To: <003501c43471$80236a90$6701a8c0@kent> Message-ID: On 5/7/04 11:25 PM, "Simon White" wrote: > Hi Ruslan > > I do alot of work dynamically generating web sites from VFP Tables. Often > there is a need to dynamically create drop down lists using the HTML Select > control. This requires writing code that wraps data from a table in > something like the code below. > > Function CreateDropDown > Local lcHTML > lcHTML="" > Scan > lcHTML=lcHTML+[] > EndScan > Return lcHTML > EndFunc > > My thought was that the IVCursor and IVBaseObject needed a similar method > that could quickly return the HTML code something like. > > oVCursor.GetHTML_List(inIDField,inDescField,inSelectedItemID) As String > > Where > inIDField was the field name used in for the Value > inDescField was the field name used for the visible text > inSelectedItemID was the RecID of the item to be marked as selected > > This would allows rapid creation of drop down list from data in Valentina Well, Simon. May be. For example, Valentina Application (VAPP) which was oritneted few years ago for use on WEB have had "format" fucntion to produce HTML output. On the other hand, Valentina engine itself is not oriented only on WEB. You idea can be implemented as not part of Vcursor, but simply as library of some functions. I wonder, what worry you: You think about better speed if this will be written in C++, Or you simply want avoid such code in VFP ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 7 23:47:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 7 15:48:07 2004 Subject: VXCMD and binding In-Reply-To: <20040507164424.74015.qmail@web20413.mail.yahoo.com> Message-ID: On 5/7/04 7:44 PM, "Chris Sheffield" wrote: > Hi Ruslan, > > I've tried this and I just can't make it work. There > is a general example in the ValentinaSQL.pdf doc, but > not the VXCMD doc. I don't suppose you, or someone > else, could give me a working example? > > My code right now simply looks like: > > get Valentina("SQLExecute", gDBID, tQuery, > tFieldArray) > > But this does not work. Any ideas? I need to check sources, Chris. I believe that binding EXISTS in VXCMD, because it was implemented in the first draft by Tuviah (Revolution developer). -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 8 10:06:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 8 02:07:02 2004 Subject: [FAQ] ODBC Connection for Valentina In-Reply-To: <000b01c43499$3293bc80$6301a8c0@braysfuels.com> Message-ID: On 5/8/04 4:09 AM, "Simon White" wrote: Hi Simon, > I understood the difference between a BaseObject and a Cursor. My question > was is there any real difference if the cursor is created by taking all the > fields from only one baseObject. Visually no. But as I remember you use VCOM Client, yes? I.e. You work with Valentina Serve. Only Cursor can work remotely. BaseObject API allow work with LOCAL database only. BTW, if you have in table e.g. 20 fields, but in cursor you select only 4 fields, then such cursor really will work about 5 times faster! > I have not seen any reference to the GoToPosition() method in the PDF files > I downloaded. In VCOM it is probably is PROPERTY of class, not a method. I think it can have names c.Postion or c.Index -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Sat May 8 17:33:40 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Sat May 8 08:33:54 2004 Subject: Which is the best structure ... In-Reply-To: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> References: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> Message-ID: <511A3C24-A0F4-11D8-AE86-000A95BA5A32@wanadoo.fr> Which is the best structure, knowing that less than 25 % of fields 'texte' will not be empty. First case: TABLE sources id UMedium idX UMedium idY UMedium texte VarChar(1016,'French') Second case: TABLE sources id UMedium idX UMedium idY UMedium IDTexte UMEDIUM TABLE textes idTexte UMedium texte VarChar(1016,'French') Thanks -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Sat May 8 17:01:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 8 09:01:49 2004 Subject: Which is the best structure ... In-Reply-To: <511A3C24-A0F4-11D8-AE86-000A95BA5A32@wanadoo.fr> Message-ID: On 5/8/04 4:33 PM, "Thierry Nauze" wrote: > Which is the best structure, knowing that less than 25 % of fields > 'texte' will not be empty. > > First case: > TABLE sources > id UMedium > idX UMedium > idY UMedium > texte VarChar(1016,'French') > > > Second case: > TABLE sources > id UMedium > idX UMedium > idY UMedium > IDTexte UMEDIUM > > TABLE textes > idTexte UMedium > texte VarChar(1016,'French') In Valentina there is no need move out big fields into second table. So you can use the first case. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Sat May 8 18:12:46 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Sat May 8 09:12:58 2004 Subject: Which is the best structure ... In-Reply-To: References: Message-ID: Le 8 mai 04, ? 18:01, Ruslan Zasukhin a ?crit : > On 5/8/04 4:33 PM, "Thierry Nauze" wrote: > >> Which is the best structure, knowing that less than 25 % of fields >> 'texte' will not be empty. >> ... > In Valentina there is no need move out big fields into second table. > > So you can use the first case. Thank you very much -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Sun May 9 09:41:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 9 01:42:14 2004 Subject: Suggestion for new Feature. Valentina Server + Foxpro In-Reply-To: <000f01c43562$9f5dac80$6301a8c0@braysfuels.com> Message-ID: On 5/9/04 4:09 AM, "Simon White" wrote: Hi Simon, > Yes I can read/write data from VCursor to VFP IDE. However, that means I > lose the data handling features that VFP has regarding tables. This is > major loss because VFP is very fast and flexible in what can be done with > tables. Interesting, have you ever compare speed of Fox tables to native Valentina db? I have hear many good words about Fox, its speed and flexibility, But it is DBF a last of end, and regular index format. So I can expect that Valentina beat Fox. > It was for this reason that MS developed the CursorAdapter class. It > converts data from ODBC, ADO and XML backends into VFP tables so that your > program can work exactly as if the data existed natively in VFP tables. I see, but any import/export means DOUBLE copying of data. So this is always slower way. > The > CursorAdapter class is bound to a VFP table and the changes made to the > table are automatically sent back to the server. The SQL > Update/Insert/Delete commands can be customized so you can make it work just > aboout any way you please. So in a sense you get the best of both worlds. Looks to be buffered-query > You can have a robust, secure data server and use VFP to manipulate the data > in VFP tables. That is why I began investigating Valentina with this same > technique. I see. But let query finds 100,000 records. I think you are not going LOAD 100,000 records from remote robust server? Such operation will take minutes because of network bottleneck. > Having experimented with Valentina I understand how to use it in an Object > Oriented way without VFP tables which provides another approach that I might > consider. It would help greatly if a VFP listbox could be bound to a > VCursor so that you could use it to navigate through a cursor. Right! I am shure that Visual BASIC have such conception as DataSource VB developer can easy in 5 minutes define DataSource around Vcursor, And all VB controls wil get data from this DataSource. May be Fox also have something similar -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon May 10 16:27:47 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 07:28:09 2004 Subject: Crash or Error 1 ? In-Reply-To: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> References: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> Message-ID: <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> This routine provokes an crash after the update of the base where the field 'type' was added. zeBase.mEvenNoms.setBlank zeBase.mEvenNoms.id.value=id zeBase.mEvenNoms.nom.value = "nom" zeBase.mEvenNoms.type.value = "type" zeBase.mEvenNoms.AddRecord The responsible line is: zeBase.mEvenNoms.type.value = "type" On the other hand, after the creation of a new database, it works correctly. The following routine, makes the waited work but it produces an error (=1). dim travail as string travail="INSERT INTO evenNoms (id,type,nom) VALUES ("+str(id)+",'"+type+"','"+nom+"' )" erreur=zeBase.sqlExecute(travail) msgbox str(erreur) Why? -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon May 10 15:35:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 10 07:36:02 2004 Subject: Crash or Error 1 ? In-Reply-To: <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> Message-ID: On 5/10/04 3:27 PM, "Thierry Nauze" wrote: > This routine provokes an crash after the update of the base where the > field 'type' was added. > zeBase.mEvenNoms.setBlank > zeBase.mEvenNoms.id.value=id > zeBase.mEvenNoms.nom.value = "nom" > zeBase.mEvenNoms.type.value = "type" > zeBase.mEvenNoms.AddRecord > > The responsible line is: zeBase.mEvenNoms.type.value = "type" > > > On the other hand, after the creation of a new database, it works > correctly. > > > The following routine, makes the waited work but it produces an error > (=1). > > dim travail as string > travail="INSERT INTO evenNoms (id,type,nom) VALUES > ("+str(id)+",'"+type+"','"+nom+"' )" > erreur=zeBase.sqlExecute(travail) > msgbox str(erreur) > > Why? What platform OS? What language? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Mon May 10 08:52:36 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Mon May 10 07:52:42 2004 Subject: Crash or Error 1 ? In-Reply-To: <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> References: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> Message-ID: On May 10, 2004, at 8:27 AM, Thierry Nauze wrote: > The following routine, makes the waited work but it produces an error > (=1). > > dim travail as string > travail="INSERT INTO evenNoms (id,type,nom) VALUES > ("+str(id)+",'"+type+"','"+nom+"' )" > erreur=zeBase.sqlExecute(travail) > msgbox str(erreur) > > Why? That's not an error. SQLExecute returns the number of records effected. So it looks like it worked because 1 record was INSERTed. Best regards, Frank From huancaya at wanadoo.fr Mon May 10 17:12:14 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 08:21:39 2004 Subject: Crash or Error 1 ? In-Reply-To: References: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> Message-ID: Le 10 mai 04, ? 16:52, Frank Schima a ?crit : > That's not an error. SQLExecute returns the number of records > effected. So it looks like it worked because 1 record was INSERTed. > Thank you very much. It does not say why there is a crash but totally reassures me on the used solution. I am going to pass in the continuation... Best regards, -- Thierry Nauze Saint-Denis de la R?union From huancaya at wanadoo.fr Mon May 10 16:40:27 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 08:21:45 2004 Subject: Crash or Error 1 ? In-Reply-To: References: Message-ID: <36BD695C-A27F-11D8-BBA0-000A95BA5A32@wanadoo.fr> Le 10 mai 04, ? 16:35, Ruslan Zasukhin a ?crit : > What platform OS? > What language? MacOS X 1.03.3 REALBasic 5.51 -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon May 10 16:29:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 10 08:33:13 2004 Subject: Crash or Error 1 ? In-Reply-To: <722ADD94-A27D-11D8-BBA0-000A95BA5A32@wanadoo.fr> Message-ID: On 5/10/04 3:27 PM, "Thierry Nauze" wrote: > This routine provokes an crash after the update of the base where the > field 'type' was added. > zeBase.mEvenNoms.setBlank > zeBase.mEvenNoms.id.value=id > zeBase.mEvenNoms.nom.value = "nom" > zeBase.mEvenNoms.type.value = "type" > zeBase.mEvenNoms.AddRecord > > The responsible line is: zeBase.mEvenNoms.type.value = "type" May be you have forget change of RB variable zeBase.mEvenNoms.type ? > On the other hand, after the creation of a new database, it works > correctly. > > > The following routine, makes the waited work but it produces an error > (=1). > > dim travail as string > travail="INSERT INTO evenNoms (id,type,nom) VALUES > ("+str(id)+",'"+type+"','"+nom+"' )" > erreur=zeBase.sqlExecute(travail) > msgbox str(erreur) > > Why? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon May 10 17:58:47 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 08:59:17 2004 Subject: Crash or Error 1 ? In-Reply-To: References: Message-ID: <28761020-A28A-11D8-9ABF-000A95BA5A32@wanadoo.fr> Le 10 mai 04, ? 17:29, Ruslan Zasukhin a ?crit : > On 5/10/04 3:27 PM, "Thierry Nauze" wrote: > >> This routine provokes an crash after the update of the base where the >> field 'type' was added. >> zeBase.mEvenNoms.setBlank >> zeBase.mEvenNoms.id.value=id >> zeBase.mEvenNoms.nom.value = "nom" >> zeBase.mEvenNoms.type.value = "type" >> zeBase.mEvenNoms.AddRecord >> >> The responsible line is: zeBase.mEvenNoms.type.value = "type" > > May be you have forget change of RB variable zeBase.mEvenNoms.type ? In the boEvenNoms class, there is the property : type as vString The boEvenNoms method is : name = "evenNoms" id = new vUMedium("id",kV_Unique) nom = new vVarChar("nom",96,"French") type= new vString("type",4,"ASCII") FOR THE UPDATE : In a method, the update (to add the field) : ... champ= new vField champ=zeBase.mEvenNoms.CreateField("type", kv_TypeString,4,"ASCII") in next method, ... curseur.StringField("type").value="xxx" res=curseur.Update() works fine And in the next method, ... zeBase.mEvenNoms.type.value="type" crash ! Why ? -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon May 10 17:17:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 10 09:18:11 2004 Subject: Crash or Error 1 ? In-Reply-To: <28761020-A28A-11D8-9ABF-000A95BA5A32@wanadoo.fr> Message-ID: On 5/10/04 4:58 PM, "Thierry Nauze" wrote: >> May be you have forget change of RB variable zeBase.mEvenNoms.type ? > > > In the boEvenNoms class, there is the property : > type as vString > The boEvenNoms method is : > name = "evenNoms" > id = new vUMedium("id",kV_Unique) > nom = new vVarChar("nom",96,"French") > type= new vString("type",4,"ASCII") ok > FOR THE UPDATE : > In a method, the update (to add the field) : > ... > champ= new vField > champ=zeBase.mEvenNoms.CreateField("type", > kv_TypeString,4,"ASCII") Hmm, you try create second field with name "type" ? This is mistake > in next method, > ... > curseur.StringField("type").value="xxx" > res=curseur.Update() > works fine > > And in the next method, > ... > zeBase.mEvenNoms.type.value="type" > crash ! > > Why ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon May 10 18:32:10 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 09:32:33 2004 Subject: Crash or Error 1 ? In-Reply-To: References: Message-ID: Le 10 mai 04, ? 18:17, Ruslan Zasukhin a ?crit : >> >> In the boEvenNoms class, there is the property : >> type as vString > >> The boEvenNoms method is : >> name = "evenNoms" >> id = new vUMedium("id",kV_Unique) >> nom = new vVarChar("nom",96,"French") >> type= new vString("type",4,"ASCII") > > > ok > >> FOR THE UPDATE : >> In a method, the update (to add the field) : >> ... >> champ= new vField >> champ=zeBase.mEvenNoms.CreateField("type", >> kv_TypeString,4,"ASCII") > > Hmm, you try create second field with name "type" ? > This is mistake Then, how to modifiy a database ? The opened database does not contain the field 'type'. It was defined with name = "evenNoms" id = new vUMedium("id",kV_Unique) nom = new vVarChar("nom",96,"French") It must be updated for contain the field 'type'. How to create this field ? Best regards, -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Mon May 10 17:51:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 10 09:52:46 2004 Subject: Crash or Error 1 ? In-Reply-To: Message-ID: On 5/10/04 5:32 PM, "Thierry Nauze" wrote: >> Hmm, you try create second field with name "type" ? >> This is mistake > > Then, how to modifiy a database ? Please check Example (8) Upgrade of schema > The opened database does not contain the field 'type'. > It was defined with > name = "evenNoms" > id = new vUMedium("id",kV_Unique) > nom = new vVarChar("nom",96,"French") > > It must be updated for contain the field 'type'. > How to create this 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 May 11 00:17:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 10 17:52:21 2004 Subject: Valentina 2.0 for REALbasic b1 Message-ID: Hi All, http://paradigmasoft.com/download/v2_beta/v2_beta.html Here you will find links and instructions how to download and work with Our first beta of Valentina 2.0 for REALbasic (OS X) I think tomorrow, we will upload V4MD (Win). ---------- Please do not expect too many from this first beta !!! We have made and test only first 2 examples. Now will continue create more and more examples. Before we upload an example that demonstrate some feature and say that it works on our side, please do not complain that something not works. Ok? I ask you first of all to see how Valentina 2.0 will looks on HDD. I ask you take in part in the discussion of new functions, changes and so on. I ask you give comments about our examples. We try now build system of examples that will be 100% the same to all Valentina products. And which will totally complete from point of view demonstration of features. We going to have A LOTS of small examples, and each example demonstrate SINGLE and separate feature of Valentina. ---------- This is the first and last notification to Valentina list, All next letters will go only to Valentina-beta list. So if you are not yet subscribed but you going take part in beta testing please subscribe. ----------- I am not sure that it is good to use "beta" for this versions. May be more correct to say alpha. Also we will need synchronize in future Valentina Server numeration to Valentina engine 2.0, when we will switch Vserver to a new engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Mon May 10 21:54:02 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Mon May 10 17:52:23 2004 Subject: Crash or Error 1 ? In-Reply-To: References: Message-ID: <05724F9D-A2AB-11D8-9ABF-000A95BA5A32@wanadoo.fr> Le 10 mai 04, ? 18:51, Ruslan Zasukhin a ?crit : >> >> Then, how to modifiy a database ? > > Please check > > Example (8) Upgrade of schema Thank you very much... The problem is solved. Best regards, -- Thierry Nauze Saint-Denis de la R?union From timdavis at amug.org Mon May 10 16:46:50 2004 From: timdavis at amug.org (Tim Davis) Date: Mon May 10 18:47:12 2004 Subject: sql bug? Message-ID: <4EEAD9C4-A2DC-11D8-8801-000A95D87648@amug.org> Is this an error in the sql parser? SELECT tblA.col1, tblB.col1 FROM tblA, tblB WHERE tblA.recid = tblB.tblAptr and NOT tblA.col1 = tblB.col1 ... returns the same results as ... SELECT tblA.col1, tblB.col1 FROM tblA, tblB WHERE tblA.recid = tblB.tblAptr and tblA.col1 = tblB.col1 ... in other words the NOT is ignored. Thanks, Tim Davis From sunshine at public.kherson.ua Tue May 11 09:01:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 01:01:38 2004 Subject: sql bug? In-Reply-To: <4EEAD9C4-A2DC-11D8-8801-000A95D87648@amug.org> Message-ID: On 5/11/04 2:46 AM, "Tim Davis" wrote: > Is this an error in the sql parser? > > SELECT tblA.col1, tblB.col1 > FROM tblA, tblB > WHERE tblA.recid = tblB.tblAptr > and NOT tblA.col1 = tblB.col1 > > ... returns the same results as ... > > SELECT tblA.col1, tblB.col1 > FROM tblA, tblB > WHERE tblA.recid = tblB.tblAptr > and tblA.col1 = tblB.col1 > > ... in other words the NOT is ignored. Hi Tim, Valentina 1.x do not support joins based on 2+ 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 guillermo at parsec.info Tue May 11 12:10:58 2004 From: guillermo at parsec.info (Guillermo) Date: Tue May 11 05:11:33 2004 Subject: [V4RB] Valentina 2.0 installation Message-ID: <7F470D70-A333-11D8-9F3E-000393D43560@parsec.info> One cuestion: Will the final version of Valentina 2.0 require the installation of several components? or will be possible to pack all in the application executable? One of the advantages of the current version of V4RB is that it not requiere any installation in the final user computer. Guillermo From sunshine at public.kherson.ua Tue May 11 13:57:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 06:12:23 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <7F470D70-A333-11D8-9F3E-000393D43560@parsec.info> Message-ID: On 5/11/04 1:10 PM, "Guillermo" wrote: Hi Guilermo, > One cuestion: Will the final version of Valentina 2.0 require the > installation of several components? or will be possible to pack all in > the application executable? Valentina 2.0 will looks as V4RB plguin + Vcomponents folder. Your final application will look now as app.exe + Vcomponents folder. Valentina 2.0 is much more complex by structure, So it is many advantages to keep components separately. Valentina 2.0 have own plugin system. > One of the advantages of the current > version of V4RB is that it not requiere any installation in the final > user computer. This was true only for V4RB MAC. Right? Even V4RB WIN have install dll into users' system. V4MD developers even do not pack Xtras into projectors, Xtras always are separate DLLs in Director. The same is true for Visual BASIC and so on. Keep all inside of one file is not so great idea actually. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 14:24:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 06:33:00 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: Message-ID: On 5/11/04 2:21 PM, "jda" wrote: >> Your final application will look now as >> >> app.exe + Vcomponents folder. >> > > Can Vcomponents be in the same folder as the final application? Yes! It MUST BE there. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 16:00:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 08:03:46 2004 Subject: Registering Database - (VServer/PC/Director) In-Reply-To: Message-ID: On 5/11/04 3:30 PM, "kirk@kinetix.co.uk" wrote: > Name: kirk goble > > Question regarding: v4md Hi Kirk, > Ruslan > > When trying to register a datebase I get the error 10038. My database is > called 'Planner7.vdb' and in the databases folder. > > Do I need to use opensession/closesession to use registerdatabase ? > > Do you have a more extensive list of error codes - that includes 10038 etc ? > > The following come up with the same error : what is the correct syntax ? > > vs = new(xtra"VServer", "localhost", "sa", > "sa") > > vs.registerdatabase("Planner7") Yes of course you MUST open session before you start work. 10038, this is standard Win socket error: operation on non-socket. > vs.registerdatabase("Planner7.vdb") > > vs.registerdatabase("Databases\Planner7.vdb") > > vs.registerdatabase("Databases/Planner7.vdb") > > vs.registerdatabase("Planner7", "Planner7.vdb") > > vs.registerdatabase("Planner7", "Databases/Planner7.vdb") > > vs.registerdatabase("Planner7", "Databases\Planner7.vdb") > > vs.registerdatabase("Planner7",syscatalog+"Planner7.vdb") > > Also is it possible to register a database without having to use > director/studio ie commandline so I can register it during installation ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bmurf at comcast.net Tue May 11 10:05:00 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Tue May 11 10:05:07 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <20040511130349.ADDE1120390@edison.macserve.net> References: <20040511130349.ADDE1120390@edison.macserve.net> Message-ID: <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> Ruslan Zasukhin responded: >> One cuestion: Will the final version of Valentina 2.0 require the >> installation of several components? or will be possible to pack all in >> the application executable? > > Valentina 2.0 will looks as > > V4RB plguin + Vcomponents folder. > > Your final application will look now as > > app.exe + Vcomponents folder. > > > Valentina 2.0 is much more complex by structure, > So it is many advantages to keep components separately. > Valentina 2.0 have own plugin system. Please explain in more detail, what are these advantages? I want to use 2.0 as I use 1.10 today as a totally embedded system within my application. Having a separate folder next to my application is just another support hassle I would rather avoid. >> One of the advantages of the current >> version of V4RB is that it not requiere any installation in the final >> user computer. > > This was true only for V4RB MAC. Right? > Even V4RB WIN have install dll into users' system. Under Win32 it is done automatically for us by the RS runtime library! When it is done, it removes them. Without further explanation of the benefits for you, my first inclination is to say thumbs down on a separate components folder. Adding complexity for my end users is not a feature in my eyes. I don't want a plugin system with Valentina! This is a form of dll hell for my end users. Very bad idea if this architecture is "forced" upon us. You need to give us an option where it will be all self contained in the application if we choose so. From huancaya at wanadoo.fr Tue May 11 19:12:58 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Tue May 11 10:13:10 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> References: <20040511130349.ADDE1120390@edison.macserve.net> <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: Le 11 mai 04, ? 19:05, Brendan Murphy a ?crit : > Ruslan Zasukhin responded: >>> One cuestion: Will the final version of Valentina 2.0 require the >>> installation of several components? or will be possible to pack all >>> in >>> the application executable? >> >> Valentina 2.0 will looks as >> >> V4RB plguin + Vcomponents folder. >> >> Your final application will look now as >> >> app.exe + Vcomponents folder. >> >> >> Valentina 2.0 is much more complex by structure, >> So it is many advantages to keep components separately. >> Valentina 2.0 have own plugin system. > > Please explain in more detail, what are these advantages? I want > to use 2.0 as I use 1.10 today as a totally embedded system within > my application. Having a separate folder next to my application is > just another support hassle I would rather avoid. > >>> One of the advantages of the current >>> version of V4RB is that it not requiere any installation in the >>> final >>> user computer. >> >> This was true only for V4RB MAC. Right? >> Even V4RB WIN have install dll into users' system. > > Under Win32 it is done automatically for us by the RS runtime > library! When it is done, it removes them. > > Without further explanation of the benefits for you, my first > inclination is to say thumbs down on a separate components folder. > Adding complexity for my end users is not a feature in my eyes. > > I don't want a plugin system with Valentina! This is a form of dll > hell for my end users. Very bad idea if this architecture is > "forced" upon us. You need to give us an option where it will be > all self contained in the application if we choose so. I agree ! -- Thierry Nauze Saint-Denis de la R?union From Claudius at sailer-online.de Tue May 11 17:43:13 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 11 10:43:26 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: References: <20040511130349.ADDE1120390@edison.macserve.net> <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: Am 11. Mai 2004 um 17:12 Uhr schrieb Thierry Nauze: >> I don't want a plugin system with Valentina! This is a form of dll >> hell for my end users. Very bad idea if this architecture is >> "forced" upon us. You need to give us an option where it will be >> all self contained in the application if we choose so. > > I agree ! same to me Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Tue May 11 17:57:57 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 11 10:58:07 2004 Subject: Valentina 2.0 for REALbasic b1 In-Reply-To: References: Message-ID: Am 10. Mai 2004 um 23:17 Uhr schrieb Ruslan Zasukhin: > Hi All, > > http://paradigmasoft.com/download/v2_beta/v2_beta.html > > Here you will find links and instructions how to download and work with > Our first beta of Valentina 2.0 for REALbasic (OS X) I have [localhost:/Library/CFMSupport] claudius$ ls -l total 1744 -rwxrwxrwx 1 root admin 844355 13 Jan 15:21 HotSync Libraries* drwxrwxr-x 4 root admin 136 16 Dec 19:06 StuffItEngineShell.cfm/ drwxr-xr-x 20 claudius admin 680 11 May 17:48 VComponents/ and [localhost:/Library/CFMSupport] claudius$ ls -l VComponents/ total 20080 -rwxr-xr-x 1 claudius admin 1414 10 May 22:57 Components_Readme.txt* drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 Indexes/ drwxr-xr-x 4 claudius admin 136 11 May 17:38 VEngine/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 compressors/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 encryptors/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 fields/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 functions/ -rwxr-xr-x 1 claudius admin 8414176 3 Feb 20:26 icudt26b.dat* -rwxr-xr-x 1 claudius admin 304 20 Feb 22:16 icudt26b_cw.shlb* -rwxr-xr-x 1 claudius admin 963627 21 Feb 16:55 icuin26_cw.shlb* -rwxr-xr-x 1 claudius admin 869106 21 Feb 16:54 icuuc26_cw.shlb* drwxr-xr-x 2 claudius admin 68 25 Feb 13:00 importers/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:38 libs_antlr/ drwxr-xr-x 3 claudius admin 102 28 Feb 15:32 libs_icu/ drwxr-xr-x 2 claudius admin 68 25 Feb 13:37 libs_pictures/ drwxr-xr-x 6 claudius admin 204 25 Feb 13:05 resources/ drwxr-xr-x 5 claudius admin 170 25 Feb 13:05 script_languages/ it seems that everything is correct. Project tells me, that nothing is there. e.g. * This method or property does not exist in TestApplication.Close, line 4: ValentinaShutDown is it neccessary to restart MacOS X? bye Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From yeomans at desuetude.com Tue May 11 12:03:37 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue May 11 11:03:11 2004 Subject: Valentina 2.0 for REALbasic b1 In-Reply-To: References: Message-ID: On May 11, 2004, at 11:57 AM, Claudius Sailer wrote: > > Am 10. Mai 2004 um 23:17 Uhr schrieb Ruslan Zasukhin: > >> Hi All, >> >> http://paradigmasoft.com/download/v2_beta/v2_beta.html >> >> Here you will find links and instructions how to download and work >> with >> Our first beta of Valentina 2.0 for REALbasic (OS X) > > I have > > [localhost:/Library/CFMSupport] claudius$ ls -l > total 1744 > -rwxrwxrwx 1 root admin 844355 13 Jan 15:21 HotSync Libraries* > drwxrwxr-x 4 root admin 136 16 Dec 19:06 > StuffItEngineShell.cfm/ > drwxr-xr-x 20 claudius admin 680 11 May 17:48 VComponents/ > > and > > [localhost:/Library/CFMSupport] claudius$ ls -l VComponents/ > total 20080 > -rwxr-xr-x 1 claudius admin 1414 10 May 22:57 > Components_Readme.txt* > drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 Indexes/ > drwxr-xr-x 4 claudius admin 136 11 May 17:38 VEngine/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 compressors/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 encryptors/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 fields/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:01 functions/ > -rwxr-xr-x 1 claudius admin 8414176 3 Feb 20:26 icudt26b.dat* > -rwxr-xr-x 1 claudius admin 304 20 Feb 22:16 icudt26b_cw.shlb* > -rwxr-xr-x 1 claudius admin 963627 21 Feb 16:55 icuin26_cw.shlb* > -rwxr-xr-x 1 claudius admin 869106 21 Feb 16:54 icuuc26_cw.shlb* > drwxr-xr-x 2 claudius admin 68 25 Feb 13:00 importers/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:38 libs_antlr/ > drwxr-xr-x 3 claudius admin 102 28 Feb 15:32 libs_icu/ > drwxr-xr-x 2 claudius admin 68 25 Feb 13:37 libs_pictures/ > drwxr-xr-x 6 claudius admin 204 25 Feb 13:05 resources/ > drwxr-xr-x 5 claudius admin 170 25 Feb 13:05 script_languages/ > > it seems that everything is correct. > Project tells me, that nothing is there. e.g. > > * This method or property does not exist in TestApplication.Close, > line 4: > ValentinaShutDown > > is it neccessary to restart MacOS X? Take Kernel_Carbon_Debug.shlb out of the folder VEngine; its parent should be VComponents. Charles Yeomans From Claudius at sailer-online.de Tue May 11 18:05:37 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 11 11:05:43 2004 Subject: Valentina 2.0 for REALbasic b1 In-Reply-To: References: Message-ID: <0A82C303-A365-11D8-90C2-00039365848C@sailer-online.de> Am 11. Mai 2004 um 18:03 Uhr schrieb Charles Yeomans: >> is it neccessary to restart MacOS X? > > Take Kernel_Carbon_Debug.shlb out of the folder VEngine; its parent > should be VComponents. Thanks I found it. Now the App starts and stops. Nothing else. in compiled app and in DebugModus. Start and stop without error message or something like that. I never see a window. bye Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue May 11 20:05:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 12:05:16 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: On 5/11/04 6:05 PM, "Brendan Murphy" wrote: > I don't want a plugin system with Valentina! This is a form of dll > hell for my end users. Very bad idea if this architecture is > "forced" upon us. You need to give us an option where it will be > all self contained in the application if we choose so. Guys, Do not forget that this is not Microsoft but Paradigma :-) We will make sure that everything will be easy and good. Also note, that in 2.0 itself we will NOT have yet true plugins. We just prepare mechanisms for this. ATTENTION: PLEASE PLEASE PLEASE. ask any questions about 2.0 on Valentina-beta list. http://lists.macserve.net/mailman/listinfo/valentina-beta ------------------------------------------------------- -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue May 11 20:06:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 12:07:01 2004 Subject: Valentina 2.0 for REALbasic b1 In-Reply-To: <0A82C303-A365-11D8-90C2-00039365848C@sailer-online.de> Message-ID: On 5/11/04 7:05 PM, "Claudius Sailer" wrote: > > Am 11. Mai 2004 um 18:03 Uhr schrieb Charles Yeomans: > >>> is it neccessary to restart MacOS X? >> >> Take Kernel_Carbon_Debug.shlb out of the folder VEngine; its parent >> should be VComponents. > > Thanks I found it. Now the App starts and stops. Nothing else. in > compiled app and in DebugModus. Start and stop without error message or > something like that. I never see a window. Claudius, Please go to Valentina-beta list. http://lists.macserve.net/mailman/listinfo/valentina-beta P.S. I have told on Valentina beta list that I have found problem why I not starts. I will fix ASAP. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 20:27:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 12:27:18 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <92F7E1A4-A35C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: On 5/11/04 6:05 PM, "Brendan Murphy" wrote: ATTENTION: Please go to Valentina-beta list for 2.0 discussion http://lists.macserve.net/mailman/listinfo/valentina-beta ------------------------ >> Valentina 2.0 is much more complex by structure, >> So it is many advantages to keep components separately. >> Valentina 2.0 have own plugin system. > > Please explain in more detail, what are these advantages? I want > to use 2.0 as I use 1.10 today as a totally embedded system within > my application. Having a separate folder next to my application is > just another support hassle I would rather avoid. I believe that we get problems similar to DLL hell, Only if installation of Vcomponents folder is made into some __central__ place on computer. But IF Valentina developer will put Vcomponents folder into app folder, Then no problems. On the same computer can live SEVERAL Valentina-made applications and they will not conflict in any case, even if they will use different versions of Valentina. IF you SELF will not distribute separate .dlls from Vcomponents folder to your users then also no problems. If you decide to provide your users with some updates then this is up to you. You can make installer to do that. >>> One of the advantages of the current >>> version of V4RB is that it not requiere any installation in the final >>> user computer. >> >> This was true only for V4RB MAC. Right? >> Even V4RB WIN have install dll into users' system. > > Under Win32 it is done automatically for us by the RS runtime > library! When it is done, it removes them. As I have see .DLL stay in the Windows folder. > Without further explanation of the benefits for you, my first > inclination is to say thumbs down on a separate components folder. > Adding complexity for my end users is not a feature in my eyes. Where you see complexity? Explain me please. And I can say we have no other way. Because Valentina 2.0 is SEVERAL times more complex projects of Valentina 1.x. Valentina 2.0 depend on several BIG third party libraries. The main problem that NOT all libraries allow link them, they are build only in the form of DLLs. For example IBM ICU library or ImageMagic. Even if assume we can link all in one, then we will get V4RB plugin for single platform about 12-15MB of size. As you know REALbasic require that all 3 or even 4 plugins for each platform was inside of single plugin file. Image the size of this V4RB plugin! Close to 50MB. Yes this will affect only you Brendan, but not your users. Although your users also will get always YOUR APP with size your size + 15MB of Valentina size. Although Valentina 2.0 itself is only 3.5MB. ----------- We believe that it is much better to have component based system. At last of end look around. Where you have see complex systems ALL IN ONE? Why all big systems use CORBA, COM, .NET ? Just because when system grow to some level it is not possible and not effective keep all in one. Component system in ideal must allow YOU to skip some parts of system which you do not use. For example, if you not use Pictures, then simply remove from YOUR Vcomponents folder the image library. If you want VERY VERY small and simple database without SQL then remove HUGE SQL parser and executor overhead, remove ANTLR.dll and make Valentina engine 2 times smaller for your users. Can you do such tricks if all in one ? ------------ And we believe (hope) that if Valentina will have own plugin system, Then third party talented C++ developers will be able develop own versions of fields, functions, indexes, importers, compressors ... How many people dream about DBF import/export. But we want not able yet implement it. No time. With plugin system this can do somebody else. We believe that OPEN SYSTEM grow faster of closed private one. And so on and so on. ------------- I was sure that everybody on this list have told: we want better SQL parser we want better SQL commands more features -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Tue May 11 10:48:58 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 12:49:07 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <01bb01c43780$3d4b40a0$0200a8c0@SCOTT3> I'm using setMedia in Director to place #text members into BLOB fields. It works fine about 98% of the time, but a small percentage of the time it fails. There is no error reported upon setMedia or getMedia, but when I use getMedia there is just nothing there sometimes. These failures are totally unpredictable. One time I will loop through 250 #text members and put them all into the database, and certain ones (5 to 10 of them) will be missing. The next time, it will be a different set, and ones that were fine are no longer there. These are pretty small #text members, less than a page, nothing fancy, Arial, no tables or anything. Other times there will be one or two members that crash Director completely when I try to use getMedia on them (DMX, Windows XP). I seem to be able to fix both problems by using setMedia again directly on the problematic item (as opposed to my loop below). The code is the same, however, except for the looping part. For the cursor locktype for setMedia, I have tried readwrite (3) and nolock (1) and both have the same problem. The BLOB field settings are segment size 128, no encryption, not indexed, not unique, not nullable, not compressed. Here's my code for setMedia: sql = "select * from sa where year = " & whichYear goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 1, 2) yearCount = getRecordCount(goCursor) repeat with x = 1 to yearCount goToRecord(goCursor, x) critiqueMemberName = "SAC-" & string(whichYear) & "-" & string(pad(x)) SetMedia (goCursor, "mediac", member critiqueMemberName) put valentinaError() UpdateRecord(goCursor) end repeat Flush( goDB ) Here's my code for getMedia: cursor = new(Xtra "VCursor", GetRef(pDB), sql, 2, 2, 2) GetMedia (cursor, "mediac", member "TEXT:Current Critique" ) -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From Claudius at sailer-online.de Tue May 11 20:11:42 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 11 13:11:51 2004 Subject: Valentina 2.0 for REALbasic b1 In-Reply-To: References: Message-ID: Ruslan, Am 11. Mai 2004 um 19:06 Uhr schrieb Ruslan Zasukhin: >> Am 11. Mai 2004 um 18:03 Uhr schrieb Charles Yeomans: >> >>>> is it neccessary to restart MacOS X? >>> >>> Take Kernel_Carbon_Debug.shlb out of the folder VEngine; its parent >>> should be VComponents. >> >> Thanks I found it. Now the App starts and stops. Nothing else. in >> compiled app and in DebugModus. Start and stop without error message >> or >> something like that. I never see a window. > > Claudius, > > Please go to Valentina-beta list. > > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > P.S. I have told on Valentina beta list that I have found problem why > I not > starts. I will fix ASAP. Sorry about that. I thought I subscribed to BetaList, but now I saw that I didn't. Thats the reason why I posted becuase I thought I post in the correct List. bye Claudius From sunshine at public.kherson.ua Tue May 11 21:23:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 13:24:00 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <518A4F24-A376-11D8-986B-000A95BE1A8E@mindstarprods.com> Message-ID: On 5/11/04 9:09 PM, "Frank Schima" wrote: >> I believe that we get problems similar to DLL hell, >> Only if installation of Vcomponents folder is made into some >> __central__ place on computer. >> >> But IF Valentina developer will put Vcomponents folder into app folder, >> Then no problems. On the same computer can live SEVERAL Valentina-made >> applications and they will not conflict in any case, even if they will >> use >> different versions of Valentina. > > The problem is that now we cannot make a Valentina app that is a > standalone file. Now we have to create a folder for our Valentina app > and place this VComponents folder inside it. Now users will wonder what > that is. > > I think we need to be able to optionally hide this folder from the user > in some way. Maybe allow it to be in the "Application Support" folder > (either from /Library or ~/Library) for the application? You talk about central place. > Also, I would rather be able to just add the VComponents inside my > Realbasic app so it is not visible at all! Is this possible, at least > as an option? As you know, a Mac OS X application is simply a folder. I > know it will make the RB (or whatever) app much bigger, but I'm not too > worried about that sometimes. > > So can we somehow have these 4 options (1. Your original method - in > /Library/CFMSupport/), 2. Your proposal - Inside the same folder as the > application, 3. Inside the "Application Support" folder, 4. Inside the > app itself)? NO PROBLEMS, Frank. Yes we can make this easy. For this we will have 1) auto-search of Vcomponents folder in expected places 2) Valentina developer will get function to say DIRECTLY where it is located. btw, this is nice to do in Valentina module Valentina.VComponentsPath = ... Valentina.icu8mbfilepath = ... Valentina.Init( cache, mac serial, win, ... ) --------- Another note. I have say that central place is bad idea. But not always. If developer develop some solution in RB and Driector Then using central place for Vcomponents folder he will reduce total size of solution. The right way to do this: - create folder "MyCompany support" - keep here Vcomponents folder So your Vcomponents folder will not conflict to others. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue May 11 21:26:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 13:26:28 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <518A4F24-A376-11D8-986B-000A95BE1A8E@mindstarprods.com> Message-ID: On 5/11/04 9:09 PM, "Frank Schima" wrote: > Also, I would rather be able to just add the VComponents inside my > Realbasic app so it is not visible at all! Is this possible, at least > as an option? As you know, a Mac OS X application is simply a folder. I > know it will make the RB (or whatever) app much bigger, but I'm not too > worried about that sometimes. ......... >> Where you see complexity? >> Explain me please. > > Most users expect a single clickable app. But honestly, many important > Mac applications are complex like this: Bias Peak, Adobe Photoshop, > Illustrator, InDesign, ok... every Adobe app :^). Btw, Adobe also use ICU and ACE frameworks. Guys, look on Valentina Studio for OS X. It Is made as package. Inside exists many folders. So do not worry. We will have nice MAC - way. And exactly as Apple propose -- using app packages. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bmurf at comcast.net Tue May 11 13:50:31 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Tue May 11 13:50:40 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <20040511172724.E1DBF120C71@edison.macserve.net> References: <20040511172724.E1DBF120C71@edison.macserve.net> Message-ID: <13F6576F-A37C-11D8-9ECB-0003935B6750@comcast.net> Ruslan, you are making the some the same mistakes here that RS has made in the past. They choose an implementation without regard to how it impacts the customers since it serves their perspective. WE NEED this component architecture to be an option! Having files spread out all over the place is an invitation to a support nightmare. End user's screw with their systems is a plain fact of life. The more split up an application is, the more possible points of failure you have. If a customer sees the component folder one day and says, "What's this?" and decides to do some creative deleting or updating, suddenly my application doesn't work and I get a call. This cost me money!!! If you don't do something to solve this problem, I will be a very pissed off customer and I am sure there are a few others out there who will feel the same way. I can't express what a negative feeling in me this component architecture creates since you are making unilateral design decision for my product. Bad idea. Very bad idea! I offer to you an idea for you to implement your component idea and satisfy those who need an all in one plugin. Create a helper application that will take the contents of the components folder etc. and package them into one plugin. So when I download the V4RB SDK, I will customize my components folder and then run the helper application which will produce a V4RB plugin that I will use in RB. This way I control what my end user sees and you get to have your component architecture. Problem solved. From maxprog at mac.com Tue May 11 21:16:43 2004 From: maxprog at mac.com (Stan Busk) Date: Tue May 11 14:17:01 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <13F6576F-A37C-11D8-9ECB-0003935B6750@comcast.net> References: <20040511172724.E1DBF120C71@edison.macserve.net> <13F6576F-A37C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: I second this. All my Valentina-based apps are currently compact and self contained. With v2 the only external libraries will be Valentina's! Why? Why can't I continue creating compact products? Why don't RB starts doing the same with plugins... this would be a nightmare.... BIG MISTAKE RUSLAN! VERY BIG! That is Mac not Windows. For external junk lets do Window... ~/Stan > Ruslan, you are making the some the same mistakes here that RS has > made in the past. They choose an implementation without regard to > how it impacts the customers since it serves their perspective. > > WE NEED this component architecture to be an option! Having files > spread out all over the place is an invitation to a support > nightmare. End user's screw with their systems is a plain fact of > life. The more split up an application is, the more possible > points of failure you have. If a customer sees the component > folder one day and says, "What's this?" and decides to do some > creative deleting or updating, suddenly my application doesn't > work and I get a call. This cost me money!!! > > If you don't do something to solve this problem, I will be a very > pissed off customer and I am sure there are a few others out there > who will feel the same way. I can't express what a negative > feeling in me this component architecture creates since you are > making unilateral design decision for my product. Bad idea. Very > bad idea! > > I offer to you an idea for you to implement your component idea > and satisfy those who need an all in one plugin. Create a helper > application that will take the contents of the components folder > etc. and package them into one plugin. So when I download the V4RB > SDK, I will customize my components folder and then run the helper > application which will produce a V4RB plugin that I will use in > RB. This way I control what my end user sees and you get to have > your component architecture. Problem solved. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Tue May 11 22:26:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:26:21 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <01bb01c43780$3d4b40a0$0200a8c0@SCOTT3> Message-ID: On 5/11/04 8:48 PM, "Scott Runkel" wrote: Hi Scott, 1) a couple of times such strange glitches was caused by corrupted Director projector. Director have someway to repair it seems. Please check this point. 2) this is exactly not an issue with locks. Because most records work correctly and there is no 363 error code. 3) I wonder why you store into BLOB but not into TEXT field? > I'm using setMedia in Director to place #text members into BLOB fields. It > works > fine about 98% of the time, but a small percentage of the time it fails. There > is no error reported upon setMedia or getMedia, but when I use getMedia there > is > just nothing there sometimes. These failures are totally unpredictable. One > time > I will loop through 250 #text members and put them all into the database, and > certain ones (5 to 10 of them) will be missing. The next time, it will be a > different set, and ones that were fine are no longer there. These are pretty > small #text members, less than a page, nothing fancy, Arial, no tables or > anything. > > Other times there will be one or two members that crash Director completely > when > I try to use getMedia on them (DMX, Windows XP). > > I seem to be able to fix both problems by using setMedia again directly on the > problematic item (as opposed to my loop below). The code is the same, however, > except for the looping part. > > For the cursor locktype for setMedia, I have tried readwrite (3) and nolock > (1) > and both have the same problem. > > The BLOB field settings are segment size 128, no encryption, not indexed, not > unique, not nullable, not compressed. > > Here's my code for setMedia: > > sql = "select * from sa where year = " & whichYear > > goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 1, 2) > > yearCount = getRecordCount(goCursor) > > repeat with x = 1 to yearCount > goToRecord(goCursor, x) > > critiqueMemberName = "SAC-" & string(whichYear) & "-" & string(pad(x)) > > SetMedia (goCursor, "mediac", member critiqueMemberName) > put valentinaError() > > UpdateRecord(goCursor) > end repeat > Flush( goDB ) > > Here's my code for getMedia: > > cursor = new(Xtra "VCursor", GetRef(pDB), sql, 2, 2, 2) > GetMedia (cursor, "mediac", member "TEXT:Current Critique" ) > > -SR -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 22:29:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:29:53 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: Message-ID: On 5/11/04 10:16 PM, "Stan Busk" wrote: Stan, Brandan, I wonder if you have read suggestion of Frank (which work in Apple as I know) and my answer: that you will be able provide to your users SINGLE FILE of application as Package. This is a MODERN WAY of Apple and MAC today. What problems guys ??? Yes, this will require A LITTLE more work from YOU as developer. > I second this. All my Valentina-based apps are currently compact and > self contained. With v2 the only external libraries will be > Valentina's! Why? Why can't I continue creating compact products? Why > don't RB starts doing the same with plugins... this would be a > nightmare.... BIG MISTAKE RUSLAN! VERY BIG! That is Mac not Windows. > For external junk lets do Window... > > ~/Stan > > >> Ruslan, you are making the some the same mistakes here that RS has >> made in the past. They choose an implementation without regard to >> how it impacts the customers since it serves their perspective. >> >> WE NEED this component architecture to be an option! Having files >> spread out all over the place is an invitation to a support >> nightmare. End user's screw with their systems is a plain fact of >> life. The more split up an application is, the more possible >> points of failure you have. If a customer sees the component >> folder one day and says, "What's this?" and decides to do some >> creative deleting or updating, suddenly my application doesn't >> work and I get a call. This cost me money!!! >> >> If you don't do something to solve this problem, I will be a very >> pissed off customer and I am sure there are a few others out there >> who will feel the same way. I can't express what a negative >> feeling in me this component architecture creates since you are >> making unilateral design decision for my product. Bad idea. Very >> bad idea! >> >> I offer to you an idea for you to implement your component idea >> and satisfy those who need an all in one plugin. Create a helper >> application that will take the contents of the components folder >> etc. and package them into one plugin. So when I download the V4RB >> SDK, I will customize my components folder and then run the helper >> application which will produce a V4RB plugin that I will use in >> RB. This way I control what my end user sees and you get to have >> your component architecture. Problem solved. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Tue May 11 12:34:07 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 14:34:18 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <02a501c4378e$ed90a5a0$0200a8c0@SCOTT3> Hi Ruslan, Thanks for the reply. > 1) a couple of times such strange glitches was caused by corrupted Director > projector. Director have someway to repair it seems. Please check this > point. I'm in Authoring, not Projector. If it's corrupted, there are no other signs. Everything else works perfectly all the time. All #text member media can be retrieved with getMedia(), as long as it was correctly set into the database to begin with (those that work, always work). > 2) this is exactly not an issue with locks. > Because most records work correctly and there is no 363 error code. OK. > 3) I wonder why you store into BLOB but not into TEXT field? I'm using BLOB so that I can retain all of the #text members' properties: scrollType, font, fontsize, superscripts, tables, hyperlinks, colors, etc. (You may know, Director has #text members and #field members; #text members can take a lot more formatting and such.) This decision was made after discussions on this list where various options were considered. I do have a TEXT field as well in the database, just to store the text of the member for searching. But that's no good for actually bringing up the #text member. When it works, it works perfectly, and very fast. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue May 11 22:36:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:36:14 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <13F6576F-A37C-11D8-9ECB-0003935B6750@comcast.net> Message-ID: On 5/11/04 9:50 PM, "Brendan Murphy" wrote: > Ruslan, you are making the some the same mistakes here that RS has > made in the past. They choose an implementation without regard to > how it impacts the customers since it serves their perspective. > > WE NEED this component architecture to be an option! Having files > spread out all over the place is an invitation to a support > nightmare. End user's screw with their systems is a plain fact of > life. The more split up an application is, the more possible > points of failure you have. If a customer sees the component > folder one day and says, "What's this?" and decides to do some > creative deleting or updating, suddenly my application doesn't > work and I get a call. This cost me money!!! > > If you don't do something to solve this problem, I will be a very > pissed off customer and I am sure there are a few others out there > who will feel the same way. I can't express what a negative > feeling in me this component architecture creates since you are > making unilateral design decision for my product. Bad idea. Very > bad idea! No, not bad idea. Again, you need listen me, Apple, ... Have you see Valentina Studio? Or have you see iTunes, iMovie, Acrobat Read for OS X? Please go and look how they are look. Then we will continue discussion. Okay? Please read what is PACKAGE for application. Please read how modern OS X application must look by Apple guidelines. Okay? > I offer to you an idea for you to implement your component idea > and satisfy those who need an all in one plugin. Create a helper > application that will take the contents of the components folder > etc. and package them into one plugin. So when I download the V4RB > SDK, I will customize my components folder and then run the helper > application which will produce a V4RB plugin that I will use in > RB. This way I control what my end user sees and you get to have > your component architecture. Problem solved. You are almost right here. Look, Really correct and right way to do what you want is you should simply use APPLE way to make single file application which INSIDE contain a lots of dlls, resources, pictures, ... Please make self familiar to PACKAGES. You will see that there is no any problems. Do not worry. :-) All will be all right. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue May 11 22:40:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:40:59 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <02a501c4378e$ed90a5a0$0200a8c0@SCOTT3> Message-ID: On 5/11/04 10:34 PM, "Scott Runkel" wrote: >> 3) I wonder why you store into BLOB but not into TEXT field? > > I'm using BLOB so that I can retain all of the #text members' properties: > scrollType, font, fontsize, superscripts, tables, hyperlinks, colors, etc. > (You > may know, Director has #text members and #field members; #text members can > take > a lot more formatting and such.) This decision was made after discussions on > this list where various options were considered. > > I do have a TEXT field as well in the database, just to store the text of the > member for searching. But that's no good for actually bringing up the #text > member. > > When it works, it works perfectly, and very fast. I see. Just if you'd use text it is possible to open db in Valentina Studio to see if text is really there. This could help isolate if problem with Set or Get. --- Well, I really have no idea, why it happens. Than more on random basic. Try add into your loop flush after EACH or after each 10th, 50th record. May be problem in RAM somehow. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 22:41:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:41:47 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: Message-ID: On 5/11/04 10:09 PM, "jda" wrote: > I'm redirecting this to the betas list, where it belongs. I once again have sent this to Valentina list Because it seems Brendan still not subscribed to beta list. Brendan? >> Ruslan, you are making the some the same mistakes here that RS has >> made in the past. They choose an implementation without regard to >> how it impacts the customers since it serves their perspective. >> >> WE NEED this component architecture to be an option! Having files >> spread out all over the place is an invitation to a support >> nightmare. End user's screw with their systems is a plain fact of >> life. The more split up an application is, the more possible >> points of failure you have. If a customer sees the component >> folder one day and says, "What's this?" and decides to do some >> creative deleting or updating, suddenly my application doesn't >> work and I get a call. This cost me money!!! >> >> If you don't do something to solve this problem, I will be a very >> pissed off customer and I am sure there are a few others out there >> who will feel the same way. I can't express what a negative >> feeling in me this component architecture creates since you are >> making unilateral design decision for my product. Bad idea. Very >> bad idea! > > Ruslan has already said you'll have an option, so relax. And frankly, > I don't think it's a bad idea at all. Speaking from a Mac-centric > point of view at least. Lots of apps (including mine) have shared > libraries and resources. They reside in the same folder as the app. I > have *never* had anyone complain about this, and *never* had a tech > support problem with it in three years (and thousands of users). The > only issue I see is one of scattered files across the system if one > removes the app. But that's not a problem if they are all in the same > folder. The sky is not falling. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Tue May 11 12:46:35 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 14:46:43 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <030701c43790$ab46f8f0$0200a8c0@SCOTT3> > Try add into your loop flush after EACH or after each 10th, 50th record. > May be problem in RAM somehow. I'll try that. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From srunkel at hypix.com Tue May 11 12:50:46 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 14:50:52 2004 Subject: [V4MD] Intermittent setMedia References: <030701c43790$ab46f8f0$0200a8c0@SCOTT3> Message-ID: <034b01c43791$40ba18e0$0200a8c0@SCOTT3> > > Try add into your loop flush after EACH or after each 10th, 50th record. > > May be problem in RAM somehow. That seemed to work! I added flush after each setField() and all of them are in there. Thanks, Ruslan. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue May 11 22:58:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 14:58:48 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <034b01c43791$40ba18e0$0200a8c0@SCOTT3> Message-ID: On 5/11/04 10:50 PM, "Scott Runkel" wrote: >>> Try add into your loop flush after EACH or after each 10th, 50th record. >>> May be problem in RAM somehow. > > That seemed to work! I added flush after each setField() and all of them are > in there. Good. Although it must work without Flush also. May be you have small cache size? Use 8-20 MB Also for BLOB you use 128 bytes segment. It should be close to AVERAGE size of BLOB data. You have told about PAGE of text. This is 2KB. Plus you store style info and other. I think you can easy play with 1-2 KB segment size To see if it is better (by speed and file size) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 23:02:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 15:03:11 2004 Subject: RB, how to define system volume? Message-ID: Anybody know if we can in REALbasic get the name of system OS X volume? I.e. I ask about function getSystemVolume() That returns "MacOS X" name? Or folder item for it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bmurf at comcast.net Tue May 11 15:12:23 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Tue May 11 15:12:34 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <20040511192950.B1EC9120E94@edison.macserve.net> References: <20040511192950.B1EC9120E94@edison.macserve.net> Message-ID: <839133BC-A387-11D8-9ECB-0003935B6750@comcast.net> Ruslan Zasukhin wrote: > Stan, Brandan, > > I wonder if you have read suggestion of Frank (which work in Apple as I > know) and my answer: that you will be able provide to your users > > SINGLE FILE of application as Package. > > This is a MODERN WAY of Apple and MAC today. > > What problems guys ??? > > Yes, this will require A LITTLE more work from YOU as developer. We all know about packages. I am developing in a cross platform environment (OS X and Win32). I need a solution for both. Building the package requires extra work every time I build the application. I don't want my developers to be doing this. I want to customize the V4RB plugin once and then drop a plugin in the RB folder and go. You need to step up to the plate and provide a solution that is a cross platform solution. It is way to early to decide if I am going to purchase licenses for 2.0. The code bloat and your response to this issue are not encouraging. It appears to me that version 1.10 has taken on a value of it's own in comparison to version 2.0 since version's 1.10 all in one capability actually becomes a feature compared to 2.0. For me, the functionality of version 1.10 satisfies all my needs for now and in the foreseeable future. The only question I have is, will 1.10 be maintained so that it keeps functioning with new releases of RB? I am not asking for new features, but just for maintenance releases. It is up to you Ruslan if you want to go the extra mile and provide an end-to-end solution if you want to encourage customers to upgrade to 2.0. Valentina should serve our application, and not the other way around. From srunkel at hypix.com Tue May 11 13:12:43 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 15:12:56 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <040e01c43794$51f191d0$0200a8c0@SCOTT3> > May be you have small cache size? > Use 8-20 MB I seem to be using 4 MB, for no particular reason... I'll increase that to 20 MB when I'm adding items to the db. Question -- will a 20 MB cache require the end user to have a faster computer? More RAM? Etc. Another question -- should the cache be 8-20 MB just when I'm adding items, or also 8-20 MB for playback on the user's computer? The database will always be ReadOnly for playback. I want it to be as fast as possible, we're searching >1000 fairly long articles (many pages each). > Also for BLOB you use 128 bytes segment. > It should be close to AVERAGE size of BLOB data. > You have told about PAGE of text. This is 2KB. > Plus you store style info and other. Good point. I looked at some of the #text members in Director and they are around 5 or 6KB each. This is BEFORE they are put into Valentina. When I retrieve them with getMedia(), the resulting #text member reports its size around 278 or 279 KB (!). Not sure what's going on there. > I think you can easy play with 1-2 KB segment size > To see if it is better (by speed and file size) I'll try 5KB since that's the average. Any downside there? -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue May 11 22:51:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 15:17:31 2004 Subject: [V4RB] Valentina 2.0 installation // RESUME. In-Reply-To: <04CDE382-A379-11D8-90C2-00039365848C@sailer-online.de> Message-ID: On 5/11/04 9:28 PM, "Claudius Sailer" wrote: > When I can generate an app and also hold the VComponents in the > Application Folder, than I can say to the users this is necessary that > this is all together, but when they have to install something in > /Library/CFMSupport this will be a little bit a problem, because it > brings much more possible problems to me to support users by handling > their problems. > > But to shorten this discussion, the best solution would be a > description what possibilities would work. For me as an Single-User-App > Programmer it is necessary that as less as possible files the user need > to handle und install. > At the moment he has only to unpack a file and move it to the place he > wants. Klick on the Icon and it works. Moves the folder to an other > place and it works. Easy handling. I believe!! Okay guys: RESUME: We will have at least 3 options A) install Vcomponents folder into app folder. but note this is old OS 9 way. Apple for OS X have invent new way - Packages. So B) PACKAGES. If somebody do now know what is this then please do next: find app Valentina Studio, or iTunes or iMovie or REALbasic 5.5 itself click by mouse on app to open context menu choose here item "Show package context" you will see a miracle :-) file of application will become a folder. go inside of that folder and you will find here how modern Apple Application must looks. Btw, if talk about Packages. It is task of REALbasic to build applications as packages. If REALbasic 5.5 cannot do that then we all must press them to implement this feature. CodeWarrior and xCode do this. C) Vcomponents folder is in some central places. Some developers/app/solutions may find this better. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue May 11 23:19:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 15:19:50 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <040e01c43794$51f191d0$0200a8c0@SCOTT3> Message-ID: On 5/11/04 11:12 PM, "Scott Runkel" wrote: >> May be you have small cache size? >> Use 8-20 MB > > I seem to be using 4 MB, for no particular reason... I'll increase that to 20 > MB when I'm adding items to the db. > > Question -- will a 20 MB cache require the end user to have a faster computer? > More RAM? Etc. Of course he must have enough RAM, your app eat RAM cache eat RAM Valentina algorithms eat RAM > Another question -- should the cache be 8-20 MB just when I'm adding items, or > also 8-20 MB for playback on the user's computer? The database will always be > ReadOnly for playback. I want it to be as fast as possible, we're searching Cache affect everything. And it CAN and often will make searches faster, Because data will be already in RAM. >> 1000 fairly long articles (many pages each). > >> Also for BLOB you use 128 bytes segment. >> It should be close to AVERAGE size of BLOB data. >> You have told about PAGE of text. This is 2KB. >> Plus you store style info and other. > > Good point. I looked at some of the #text members in Director and they are > around 5 or 6KB each. This is BEFORE they are put into Valentina. When I > retrieve them with getMedia(), the resulting #text member reports its size > around 278 or 279 KB (!). Not sure what's going on there. Really interesting! >> I think you can easy play with 1-2 KB segment size >> To see if it is better (by speed and file size) > > I'll try 5KB since that's the average. Any downside there? You can try add one record, or 100 records, And check file .blb to see how big it is And calculate disk usage per record. Downside can be if you in 5KB segment store only 1KB data. Then you lost 4KB on disk. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 11 23:26:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 15:50:51 2004 Subject: [V4RB] Valentina 2.0 installation In-Reply-To: <839133BC-A387-11D8-9ECB-0003935B6750@comcast.net> Message-ID: On 5/11/04 11:12 PM, "Brendan Murphy" wrote: >> Stan, Brandan, >> >> I wonder if you have read suggestion of Frank (which work in Apple as I >> know) and my answer: that you will be able provide to your users >> >> SINGLE FILE of application as Package. >> >> This is a MODERN WAY of Apple and MAC today. >> >> What problems guys ??? >> >> Yes, this will require A LITTLE more work from YOU as developer. > > We all know about packages. I am developing in a cross platform > environment (OS X and Win32). I need a solution for both. > > Building the package requires extra work every time I build the > application. I don't want my developers to be doing this. I want > to customize the V4RB plugin once and then drop a plugin in the RB > folder and go. This will not work. Because inside of RB plugin there is no way keep DLLs. And REALbasic will NOT copy them for you. You must do that self. REALbasic must support creation of packages as this do xcode and CodeWarrior, then you will be able configure your project once and get your dream. You see? > You need to step up to the plate and provide a > solution that is a cross platform solution. Let's think about this, but again, REALbasic is limitation. I cannot jump over them. Right? So press REAL to implement auto-PACKAGES. It is their task. > It is way to early to decide if I am going to purchase licenses > for 2.0. The code bloat and your response to this issue are not > encouraging. It appears to me that version 1.10 has taken on a > value of it's own in comparison to version 2.0 since version's > 1.10 all in one capability actually becomes a feature compared to > 2.0. No problems. I think we will not kill Valentina 1.10 And will keep it on ftp some time for e.g. Classic direction. > For me, the functionality of version 1.10 satisfies all my needs > for now and in the foreseeable future. The only question I have > is, will 1.10 be maintained so that it keeps functioning with new > releases of RB? I am not asking for new features, but just for > maintenance releases. In fact during 4 years we have NO NEED to fix anything. Each new REALBasic version was able work with older plugins. Right? And as I see we do not expect from REALBasic revolution here. They already have change format of plugins a lots. > It is up to you Ruslan if you want to go the extra mile and > provide an end-to-end solution if you want to encourage customers > to upgrade to 2.0. Valentina should serve our application, and not > the other way around. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed May 12 00:53:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 16:53:26 2004 Subject: FW: realbasic-nug Digest, Vol 2, Issue 71 In-Reply-To: <20040511214210.CB5C9149441@lists.realsoftware.com> Message-ID: Claudius already have got answer from REAL on this question. ------ Forwarded Message From: realbasic-nug-request@lists.realsoftware.com Reply-To: realbasic-nug@lists.realsoftware.com Date: Tue, 11 May 2004 16:42:10 -0500 (CDT) To: realbasic-nug@lists.realsoftware.com Subject: realbasic-nug Digest, Vol 2, Issue 71 Message: 9 Subject: Re: Making Packages From: "Joseph J. Strout" Date: Tue, 11 May 2004 15:19:22 -0500 At 10:00 PM +0200 5/11/04, Claudius Sailer wrote: >I want to make packages out of my application. What do I have to do, >that my Application looks like a package, like other MacOS X >Applications. Is there any description online? Any link? Or is this >impossible with RB-Applications? If you make a Mach-O app, then it's a package already. If you make a PEF app, then you have to do it yourself. One easy way to do that is to first make a Mach-O app, then reach into it and replace the executable with your PEF version. Another way is to use Thomas Reed's AppBundler (that's from memory, hopefully I got it right!). Finally, of course, you could just do it manually based on Apple's docs -- it's just a little folder hierarchy with a certain structure. Best, - Joe ------ End of Forwarded Message From srunkel at hypix.com Tue May 11 15:06:46 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 11 17:06:55 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <052601c437a4$406b3af0$0200a8c0@SCOTT3> > You can try add one record, or 100 records, > And check file .blb to see how big it is > And calculate disk usage per record. Can I use ChangeFieldType() on an existing BLOB field (with data) to change the segmentSize? Any problems there? ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096) Is there any other way to change the segmentSize of existing BLOB field that has data in it? (Vstudio doesn't seem to do it). -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Wed May 12 01:27:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 11 17:28:09 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <052601c437a4$406b3af0$0200a8c0@SCOTT3> Message-ID: On 5/12/04 1:06 AM, "Scott Runkel" wrote: >> You can try add one record, or 100 records, >> And check file .blb to see how big it is >> And calculate disk usage per record. > > Can I use ChangeFieldType() on an existing BLOB field (with data) to change > the segmentSize? Any problems there? NO! Segment size cannot be changed. > ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096) > > Is there any other way to change the segmentSize of existing BLOB field that > has data in it? (Vstudio doesn't seem to do it). Only XML dump, Then in xML file edit segment size and load back. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Tue May 11 22:36:49 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 00:38:33 2004 Subject: SetStructureEncryption ... Message-ID: <200405120530.i4C5Um56032566@practicetopass.com> Good Day, The SetStructureEncryption does not generate a ValentinaError() when wrong key is sent. This is straight from the Examples ... Notice I set encryption key to "abrakadabra2". Database made with "abrakadabra" ------ Code Snippet from example shipping with 1.10 on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. SetStructureEncryption( gDB, "abrakadabra2" ) openDatabase(gDB, the moviePath & "test.vdb", 4) end CreateDB ---- End Code Snippet. Go to examples, Structure Encryption. Change password on openDB. Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? But ValentinaError() returns 0 ... no error reported. Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Wed May 12 08:53:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 00:53:53 2004 Subject: SetStructureEncryption ... In-Reply-To: <200405120530.i4C5Um56032566@practicetopass.com> Message-ID: On 5/12/04 8:36 AM, "Gunnar Swan" wrote: > Good Day, > > The SetStructureEncryption does not generate a ValentinaError() when wrong key > is sent. > > This is straight from the Examples ... > Notice I set encryption key to "abrakadabra2". > Database made with "abrakadabra" > > ------ Code Snippet from example shipping with 1.10 > on OpenDB > global gDB > > set gDB = new(xtra"VDataBase") > > -- BEFORE we open database we need tell to database object the encryption key. > SetStructureEncryption( gDB, "abrakadabra2" ) > openDatabase(gDB, the moviePath & "test.vdb", 4) > > end CreateDB > ---- End Code Snippet. > > > Go to examples, Structure Encryption. Change password on openDB. > > Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? > But ValentinaError() returns 0 ... no error reported. Jochen, I wonder, in Valentina Studio this works for you? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Tue May 11 23:01:41 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:03:27 2004 Subject: SetStructureEncryption ... Message-ID: <200405120555.i4C5teXO003910@practicetopass.com> I don't use the studio. All I use is the Director Xtra and Lingo. >> Go to examples, Structure Encryption. Change password on openDB. >> >> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >> But ValentinaError() returns 0 ... no error reported. > >Jochen, > >I wonder, in Valentina Studio this works for you? > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From gunnarswan at PracticeToPass.com Tue May 11 23:05:03 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:06:48 2004 Subject: Example 007 - Encryption Message-ID: <200405120559.i4C5x2l2004145@practicetopass.com> Hello Again. Different issue. >From your example .... --Start Code Snippet on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. --SetEncryption( gDB, "abrakadabra2" ) openDatabase(gDB, the moviePath & "test.vdb", 4) end CreateDB -- End Code snippet. Here, we don't SetEncryption. It's remarked out. Stop the code after openDatabase. then .. put ValentinaError() ValentinaError() reports 0 ... no error. But in fact, how can encrypted database open ( and not generate error), when no key supplied ? Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From prez at write-brain.com Tue May 11 23:06:57 2004 From: prez at write-brain.com (prez@write-brain.com) Date: Wed May 12 01:07:07 2004 Subject: Autoreply: Valentina Digest, Vol 17, Issue 12 Message-ID: I will be out of the office from May 12th - 30th and to avoid having thousands of spam emails to wade through upon my return, this email address will NOT be accepting any email during that time. If this is a business matter you can email support@write-brain.com or sales@write-brain.com and they can help you or direct you to the appropriate person. If it is a personal matter then you can resend the email to KenInCannes@write-brain.com though I don't know for sure how much access I will have while I'm there. I apologize for any inconvenience. - Ken Schafer Your message reads: Received: from woz.macserve.net (unverified [216.52.182.70]) by mail2.intermedia.net (Rockliffe SMTPRA 4.5.6) with ESMTP id for ; Tue, 11 May 2004 23:06:57 -0700 Received: from edison.macserve.net (macserve20.august.net [216.87.133.20]) by woz.macserve.net (Postfix) with ESMTP id 4A5D330D4DA; Wed, 12 May 2004 01:06:55 -0500 (CDT) Received: from macserve20.august.net (localhost [127.0.0.1]) by edison.macserve.net (Postfix) with ESMTP id E8E2C121848; Wed, 12 May 2004 01:06:54 -0500 (CDT) From: valentina-request@lists.macserve.net Subject: Valentina Digest, Vol 17, Issue 12 To: valentina@lists.macserve.net Reply-To: valentina@lists.macserve.net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: valentina@lists.macserve.net X-Mailman-Version: 2.1.2 Precedence: list List-Id: Valentina Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: valentina-bounces@lists.macserve.net Errors-To: valentina-bounces@lists.macserve.net Message-Id: <20040512060654.E8E2C121848@edison.macserve.net> Date: Wed, 12 May 2004 01:06:54 -0500 (CDT) Send Valentina mailing list submissions to valentina@lists.macserve.net To subscribe or unsubscribe via the World Wide Web, visit http://lists.macserve.net/mailman/listinfo/valentina or, via email, send a message with subject or body 'help' to valentina-request@lists.macserve.net You can reach the person managing the list at valentina-owner@lists.macserve.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Valentina digest..." Today's Topics: 1. Re: [V4RB] Valentina 2.0 installation // RESUME. (Ruslan Zasukhin) 2. Re: [V4MD] Intermittent setMedia (Ruslan Zasukhin) 3. Re: [V4RB] Valentina 2.0 installation (Ruslan Zasukhin) 4. FW: realbasic-nug Digest, Vol 2, Issue 71 (Ruslan Zasukhin) 5. Re: [V4MD] Intermittent setMedia (Scott Runkel) 6. Re: [V4MD] Intermittent setMedia (Ruslan Zasukhin) 7. SetStructureEncryption ... (Gunnar Swan) 8. Re: SetStructureEncryption ... (Ruslan Zasukhin) 9. Re: SetStructureEncryption ... (Gunnar Swan) 10. Example 007 - Encryption (Gunnar Swan) ---------------------------------------------------------------------- Message: 1 Date: Tue, 11 May 2004 22:51:41 +0300 From: Ruslan Zasukhin Subject: Re: [V4RB] Valentina 2.0 installation // RESUME. To: , Message-ID: Content-Type: text/plain; charset="US-ASCII" On 5/11/04 9:28 PM, "Claudius Sailer" wrote: > When I can generate an app and also hold the VComponents in the > Application Folder, than I can say to the users this is necessary that > this is all together, but when they have to install something in > /Library/CFMSupport this will be a little bit a problem, because it > brings much more possible problems to me to support users by handling > their problems. > > But to shorten this discussion, the best solution would be a > description what possibilities would work. For me as an Single-User-App > Programmer it is necessary that as less as possible files the user need > to handle und install. > At the moment he has only to unpack a file and move it to the place he > wants. Klick on the Icon and it works. Moves the folder to an other > place and it works. Easy handling. I believe!! Okay guys: RESUME: We will have at least 3 options A) install Vcomponents folder into app folder. but note this is old OS 9 way. Apple for OS X have invent new way - Packages. So B) PACKAGES. If somebody do now know what is this then please do next: find app Valentina Studio, or iTunes or iMovie or REALbasic 5.5 itself click by mouse on app to open context menu choose here item "Show package context" you will see a miracle :-) file of application will become a folder. go inside of that folder and you will find here how modern Apple Application must looks. Btw, if talk about Packages. It is task of REALbasic to build applications as packages. If REALbasic 5.5 cannot do that then we all must press them to implement this feature. CodeWarrior and xCode do this. C) Vcomponents folder is in some central places. Some developers/app/solutions may find this better. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------------------------------ Message: 2 Date: Tue, 11 May 2004 23:19:40 +0300 From: Ruslan Zasukhin Subject: Re: [V4MD] Intermittent setMedia To: Message-ID: Content-Type: text/plain; charset="US-ASCII" On 5/11/04 11:12 PM, "Scott Runkel" wrote: >> May be you have small cache size? >> Use 8-20 MB > > I seem to be using 4 MB, for no particular reason... I'll increase that to 20 > MB when I'm adding items to the db. > > Question -- will a 20 MB cache require the end user to have a faster computer? > More RAM? Etc. Of course he must have enough RAM, your app eat RAM cache eat RAM Valentina algorithms eat RAM > Another question -- should the cache be 8-20 MB just when I'm adding items, or > also 8-20 MB for playback on the user's computer? The database will always be > ReadOnly for playback. I want it to be as fast as possible, we're searching Cache affect everything. And it CAN and often will make searches faster, Because data will be already in RAM. >> 1000 fairly long articles (many pages each). > >> Also for BLOB you use 128 bytes segment. >> It should be close to AVERAGE size of BLOB data. >> You have told about PAGE of text. This is 2KB. >> Plus you store style info and other. > > Good point. I looked at some of the #text members in Director and they are > around 5 or 6KB each. This is BEFORE they are put into Valentina. When I > retrieve them with getMedia(), the resulting #text member reports its size > around 278 or 279 KB (!). Not sure what's going on there. Really interesting! >> I think you can easy play with 1-2 KB segment size >> To see if it is better (by speed and file size) > > I'll try 5KB since that's the average. Any downside there? You can try add one record, or 100 records, And check file .blb to see how big it is And calculate disk usage per record. Downside can be if you in 5KB segment store only 1KB data. Then you lost 4KB on disk. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------------------------------ Message: 3 Date: Tue, 11 May 2004 23:26:22 +0300 From: Ruslan Zasukhin Subject: Re: [V4RB] Valentina 2.0 installation To: Message-ID: Content-Type: text/plain; charset="US-ASCII" On 5/11/04 11:12 PM, "Brendan Murphy" wrote: >> Stan, Brandan, >> >> I wonder if you have read suggestion of Frank (which work in Apple as I >> know) and my answer: that you will be able provide to your users >> >> SINGLE FILE of application as Package. >> >> This is a MODERN WAY of Apple and MAC today. >> >> What problems guys ??? >> >> Yes, this will require A LITTLE more work from YOU as developer. > > We all know about packages. I am developing in a cross platform > environment (OS X and Win32). I need a solution for both. > > Building the package requires extra work every time I build the > application. I don't want my developers to be doing this. I want > to customize the V4RB plugin once and then drop a plugin in the RB > folder and go. This will not work. Because inside of RB plugin there is no way keep DLLs. And REALbasic will NOT copy them for you. You must do that self. REALbasic must support creation of packages as this do xcode and CodeWarrior, then you will be able configure your project once and get your dream. You see? > You need to step up to the plate and provide a > solution that is a cross platform solution. Let's think about this, but again, REALbasic is limitation. I cannot jump over them. Right? So press REAL to implement auto-PACKAGES. It is their task. > It is way to early to decide if I am going to purchase licenses > for 2.0. The code bloat and your response to this issue are not > encouraging. It appears to me that version 1.10 has taken on a > value of it's own in comparison to version 2.0 since version's > 1.10 all in one capability actually becomes a feature compared to > 2.0. No problems. I think we will not kill Valentina 1.10 And will keep it on ftp some time for e.g. Classic direction. > For me, the functionality of version 1.10 satisfies all my needs > for now and in the foreseeable future. The only question I have > is, will 1.10 be maintained so that it keeps functioning with new > releases of RB? I am not asking for new features, but just for > maintenance releases. In fact during 4 years we have NO NEED to fix anything. Each new REALBasic version was able work with older plugins. Right? And as I see we do not expect from REALBasic revolution here. They already have change format of plugins a lots. > It is up to you Ruslan if you want to go the extra mile and > provide an end-to-end solution if you want to encourage customers > to upgrade to 2.0. Valentina should serve our application, and not > the other way around. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------------------------------ Message: 4 Date: Wed, 12 May 2004 00:53:09 +0300 From: Ruslan Zasukhin Subject: FW: realbasic-nug Digest, Vol 2, Issue 71 To: , Message-ID: Content-Type: text/plain; charset="US-ASCII" Claudius already have got answer from REAL on this question. ------ Forwarded Message From: realbasic-nug-request@lists.realsoftware.com Reply-To: realbasic-nug@lists.realsoftware.com Date: Tue, 11 May 2004 16:42:10 -0500 (CDT) To: realbasic-nug@lists.realsoftware.com Subject: realbasic-nug Digest, Vol 2, Issue 71 Message: 9 Subject: Re: Making Packages From: "Joseph J. Strout" Date: Tue, 11 May 2004 15:19:22 -0500 At 10:00 PM +0200 5/11/04, Claudius Sailer wrote: >I want to make packages out of my application. What do I have to do, >that my Application looks like a package, like other MacOS X >Applications. Is there any description online? Any link? Or is this >impossible with RB-Applications? If you make a Mach-O app, then it's a package already. If you make a PEF app, then you have to do it yourself. One easy way to do that is to first make a Mach-O app, then reach into it and replace the executable with your PEF version. Another way is to use Thomas Reed's AppBundler (that's from memory, hopefully I got it right!). Finally, of course, you could just do it manually based on Apple's docs -- it's just a little folder hierarchy with a certain structure. Best, - Joe ------ End of Forwarded Message ------------------------------ Message: 5 Date: Tue, 11 May 2004 15:06:46 -0700 From: "Scott Runkel" Subject: Re: [V4MD] Intermittent setMedia To: "Valentina Developers" Message-ID: <052601c437a4$406b3af0$0200a8c0@SCOTT3> Content-Type: text/plain; charset="iso-8859-1" > You can try add one record, or 100 records, > And check file .blb to see how big it is > And calculate disk usage per record. Can I use ChangeFieldType() on an existing BLOB field (with data) to change the segmentSize? Any problems there? ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096) Is there any other way to change the segmentSize of existing BLOB field that has data in it? (Vstudio doesn't seem to do it). -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 ------------------------------ Message: 6 Date: Wed, 12 May 2004 01:27:58 +0300 From: Ruslan Zasukhin Subject: Re: [V4MD] Intermittent setMedia To: Message-ID: Content-Type: text/plain; charset="US-ASCII" On 5/12/04 1:06 AM, "Scott Runkel" wrote: >> You can try add one record, or 100 records, >> And check file .blb to see how big it is >> And calculate disk usage per record. > > Can I use ChangeFieldType() on an existing BLOB field (with data) to change > the segmentSize? Any problems there? NO! Segment size cannot be changed. > ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096) > > Is there any other way to change the segmentSize of existing BLOB field that > has data in it? (Vstudio doesn't seem to do it). Only XML dump, Then in xML file edit segment size and load back. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------------------------------ Message: 7 Date: Tue, 11 May 2004 22:36:49 -0700 From: Gunnar Swan Subject: SetStructureEncryption ... To: valentina@lists.macserve.net Message-ID: <200405120530.i4C5Um56032566@practicetopass.com> Content-Type: text/plain; charset="us-ascii" Good Day, The SetStructureEncryption does not generate a ValentinaError() when wrong key is sent. This is straight from the Examples ... Notice I set encryption key to "abrakadabra2". Database made with "abrakadabra" ------ Code Snippet from example shipping with 1.10 on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. SetStructureEncryption( gDB, "abrakadabra2" ) openDatabase(gDB, the moviePath & "test.vdb", 4) end CreateDB ---- End Code Snippet. Go to examples, Structure Encryption. Change password on openDB. Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? But ValentinaError() returns 0 ... no error reported. Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com ------------------------------ Message: 8 Date: Wed, 12 May 2004 08:53:43 +0300 From: Ruslan Zasukhin Subject: Re: SetStructureEncryption ... To: , Jochen Peters Message-ID: Content-Type: text/plain; charset="US-ASCII" On 5/12/04 8:36 AM, "Gunnar Swan" wrote: > Good Day, > > The SetStructureEncryption does not generate a ValentinaError() when wrong key > is sent. > > This is straight from the Examples ... > Notice I set encryption key to "abrakadabra2". > Database made with "abrakadabra" > > ------ Code Snippet from example shipping with 1.10 > on OpenDB > global gDB > > set gDB = new(xtra"VDataBase") > > -- BEFORE we open database we need tell to database object the encryption key. > SetStructureEncryption( gDB, "abrakadabra2" ) > openDatabase(gDB, the moviePath & "test.vdb", 4) > > end CreateDB > ---- End Code Snippet. > > > Go to examples, Structure Encryption. Change password on openDB. > > Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? > But ValentinaError() returns 0 ... no error reported. Jochen, I wonder, in Valentina Studio this works for you? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- ------------------------------ Message: 9 Date: Tue, 11 May 2004 23:01:41 -0700 From: Gunnar Swan Subject: Re: SetStructureEncryption ... To: Valentina Developers Message-ID: <200405120555.i4C5teXO003910@practicetopass.com> Content-Type: text/plain; charset="us-ascii" I don't use the studio. All I use is the Director Xtra and Lingo. >> Go to examples, Structure Encryption. Change password on openDB. >> >> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >> But ValentinaError() returns 0 ... no error reported. > >Jochen, > >I wonder, in Valentina Studio this works for you? > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com ------------------------------ Message: 10 Date: Tue, 11 May 2004 23:05:03 -0700 From: Gunnar Swan Subject: Example 007 - Encryption To: Valentina Developers Message-ID: <200405120559.i4C5x2l2004145@practicetopass.com> Content-Type: text/plain; charset="us-ascii" Hello Again. Different issue. >From your example .... --Start Code Snippet on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. --SetEncryption( gDB, "abrakadabra2" ) openDatabase(gDB, the moviePath & "test.vdb", 4) end CreateDB -- End Code snippet. Here, we don't SetEncryption. It's remarked out. Stop the code after openDatabase. then .. put ValentinaError() ValentinaError() reports 0 ... no error. But in fact, how can encrypted database open ( and not generate error), when no key supplied ? Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com ------------------------------ _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina End of Valentina Digest, Vol 17, Issue 12 ***************************************** From j.peters at valentina-db.de Wed May 12 08:07:35 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed May 12 01:07:43 2004 Subject: SetStructureEncryption ... In-Reply-To: References: <200405120530.i4C5Um56032566@practicetopass.com> Message-ID: <49066.62.154.199.179.1084342055.squirrel@webmail3.server-einstellung.de> Hi Ruslan! >> The SetStructureEncryption does not generate a ValentinaError() when >> wrong key >> is sent. >> >> This is straight from the Examples ... >> Notice I set encryption key to "abrakadabra2". >> Database made with "abrakadabra" >> >> ------ Code Snippet from example shipping with 1.10 >> on OpenDB >> global gDB >> >> set gDB = new(xtra"VDataBase") >> >> -- BEFORE we open database we need tell to database object the >> encryption key. >> SetStructureEncryption( gDB, "abrakadabra2" ) >> openDatabase(gDB, the moviePath & "test.vdb", 4) >> >> end CreateDB >> ---- End Code Snippet. >> >> >> Go to examples, Structure Encryption. Change password on openDB. >> >> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >> But ValentinaError() returns ... no error reported. > > Jochen, > > I wonder, in Valentina Studio this works for you? Yes - this works without problems. In C++ i get an exception in this case. Maybe your ValentinaError method does not handle this? -- Best regards, Jochen Peters PIIT GmbH ------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Wed May 12 09:12:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 01:12:20 2004 Subject: SetStructureEncryption ... In-Reply-To: <49066.62.154.199.179.1084342055.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/12/04 9:07 AM, "Jochen Peters" wrote: Hi Jochen >>> Go to examples, Structure Encryption. Change password on openDB. >>> >>> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >>> But ValentinaError() returns ... no error reported. >> >> Jochen, >> >> I wonder, in Valentina Studio this works for you? > Yes - this works without problems. > In C++ i get an exception in this case. Maybe your ValentinaError method > does not handle this? It must, because it is universal. I need check V4MD sources then. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed May 12 09:16:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 01:16:36 2004 Subject: SetStructureEncryption ... In-Reply-To: <200405120555.i4C5teXO003910@practicetopass.com> Message-ID: On 5/12/04 9:01 AM, "Gunnar Swan" wrote: > I don't use the studio. All I use is the Director Xtra and Lingo. Gunnar, just in Vstudio this works. I have make sure of that. Btw, have you see Vstudio? It can be useful. >>> Go to examples, Structure Encryption. Change password on openDB. >>> >>> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >>> But ValentinaError() returns 0 ... no error reported. >> >> Jochen, >> >> I wonder, in Valentina Studio this works for you? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Tue May 11 23:19:03 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:20:48 2004 Subject: SetStructureEncryption ... Message-ID: <200405120613.i4C6D33P005593@practicetopass.com> >> I don't use the studio. All I use is the Director Xtra and Lingo. > >Gunnar, just in Vstudio this works. >I have make sure of that. > >Btw, have you see Vstudio? >It can be useful. > Only ODBC_Valentina.exe for import/export. Our program is not used internally. It's sold retail. So we don't have opportunity or need. One day I'll try. From sunshine at public.kherson.ua Wed May 12 09:30:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 01:30:49 2004 Subject: SetStructureEncryption ... In-Reply-To: <17795.62.154.199.179.1084342980.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/12/04 9:23 AM, "Jochen Peters" wrote: > Hi Ruslan, > >>>> I wonder, in Valentina Studio this works for you? >>> Yes - this works without problems. >>> In C++ i get an exception in this case. Maybe your ValentinaError method >>> does not handle this? >> >> It must, because it is universal. >> >> I need check V4MD sources then. > This is problem on Mac or on Windows? > I have had a simular problem when deeling with the "shared library" > configuration on Windows - with the wrong configuration Valentina > has not generated an exception - as you remember. Gunnar? You work on windows? > But well - you use it as a static lib in V4MD, right? yes > Maybe you have used static kernel lib build with CW8 - and V4MD build > with CW9? This would also cause this kind of problem... No, V4MD WIN both in Visual -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 12 09:31:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 01:31:39 2004 Subject: SetStructureEncryption ... In-Reply-To: <200405120613.i4C6D33P005593@practicetopass.com> Message-ID: On 5/12/04 9:19 AM, "Gunnar Swan" wrote: >>> I don't use the studio. All I use is the Director Xtra and Lingo. >> >> Gunnar, just in Vstudio this works. >> I have make sure of that. >> >> Btw, have you see Vstudio? >> It can be useful. >> > > Only ODBC_Valentina.exe for import/export. > > Our program is not used internally. It's sold retail. > So we don't have opportunity or need. > One day I'll try. Valentina Studio will help you as developer -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Tue May 11 23:30:13 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:31:59 2004 Subject: SetStructureEncryption ... Message-ID: <200405120624.i4C6OCVC006802@practicetopass.com> > >>>> Go to examples, Structure Encryption. Change password on openDB. >>>> >>>> Should ValentinaError() generate a 326 ... Wrong Encryption Key ?? >>>> But ValentinaError() returns 0 ... no error reported. As it stands today, there is no way to determine if key is correct or incorrect ? We have this code encapsulated ... Should I do a simple operation (like try to open cursor)to determine if encrypted database opened correctly? Our next version of application has high opportunity for wrong encryption key to occur. Best Regards, Gunnar Swan Practice To Pass http://www.PracticeToPass.Com From gunnarswan at PracticeToPass.com Tue May 11 23:33:03 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:34:48 2004 Subject: SetStructureEncryption ... Message-ID: <200405120627.i4C6R3Ob007210@practicetopass.com> > >Gunnar? > >You work on windows? Yes. > >> But well - you use it as a static lib in V4MD, right? V4MD.x32 only. > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From j.peters at valentina-db.de Wed May 12 08:36:24 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed May 12 01:36:35 2004 Subject: SetStructureEncryption ... In-Reply-To: References: <17795.62.154.199.179.1084342980.squirrel@webmail3.server-einstellung.de> Message-ID: <30388.62.154.199.179.1084343784.squirrel@webmail3.server-einstellung.de> Hi Ruslan, Hi Gunnar, >> This is problem on Mac or on Windows? >> I have had a simular problem when deeling with the "shared library" >> configuration on Windows - with the wrong configuration Valentina >> has not generated an exception - as you remember. > > Gunnar? > > You work on windows? > >> But well - you use it as a static lib in V4MD, right? > > yes > >> Maybe you have used static kernel lib build with CW8 - and V4MD build >> with CW9? This would also cause this kind of problem... > > No, V4MD WIN both in Visual Ok - then problem must be in other aerea! Gunnar - what about other errors? Do you get ANY error from ValentinaError()? I ask because if you get always 0 from ValentinaError then there is problem with exceptions - otherwise problem must be elsewhere.. -- Best regards, Jochen Peters PIIT GmbH ------------------------ http://www.valentina-db.de From e.wyber at murdoch.edu.au Wed May 12 14:45:39 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed May 12 01:40:35 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <01bb01c43780$3d4b40a0$0200a8c0@SCOTT3> References: <01bb01c43780$3d4b40a0$0200a8c0@SCOTT3> Message-ID: On 12/05/2004, at 1:48 AM, Scott Runkel wrote: > I'm using setMedia in Director to place #text members into BLOB > fields. It works > fine about 98% of the time, but a small percentage of the time it > fails. There > is no error reported upon setMedia or getMedia, but when I use > getMedia there is > just nothing there sometimes. These failures are totally unpredictable. May or may not be relevant, but a few years ago I had something similar - turned out that a corrupt flash asset was causing the NEXT scene update to fail...anyway, re-importing the corrupted flash asset made the loading weirdness go away...could this apply in your case? HTH Elias. You only have the rights you defend in others. From gunnarswan at PracticeToPass.com Tue May 11 23:50:10 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:51:55 2004 Subject: SetStructureEncryption ... Message-ID: <200405120644.i4C6iAMM008896@practicetopass.com> >Gunnar - what about other errors? Do you get ANY error from >ValentinaError()? No. ValentinaError() in both cases returns 0. Valentina thinks all is ok, so I continue on with code. Best Regards, Gunnar Swan From gunnarswan at PracticeToPass.com Tue May 11 23:52:06 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 01:53:51 2004 Subject: [V4MD] Intermittent setMedia Message-ID: <200405120646.i4C6k6K8009105@practicetopass.com> > >> I'm using setMedia in Director to place #text members into BLOB >> fields. It works >> fine about 98% of the time, but a small percentage of the time it >> fails. There >> is no error reported upon setMedia or getMedia, but when I use >> getMedia there is >> just nothing there sometimes. These failures are totally unpredictable. > Why not put RTF of member into field ? If you put the member into blob, you are putting binary into blob. Best Regards, Gunnar Swan From gunnarswan at PracticeToPass.com Wed May 12 00:37:38 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 02:39:25 2004 Subject: Two different issues with Encryption - ValentinaError() Message-ID: <200405120731.i4C7Vdsk012720@practicetopass.com> To recap ... Windows - Director 8.5. - V4MD.x32 only (1) SetEncryption (2) SetStructureEncryption Both occur in examples that ship with Valentina. (1) SetEncryption --Start Code Snippet on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. --SetEncryption( gDB, "abrakadabra" ) - openDatabase(gDB, the moviePath & "test.vdb", 4) put ValentinaError() end CreateDB -- End Code snippet. The ValentinaError() should return an error and does not. The SetEncryption is REMMED out. (2) SetStructureEncryption. ------ Code Snippet from example shipping with 1.10 on OpenDB global gDB set gDB = new(xtra"VDataBase") -- BEFORE we open database we need tell to database object the encryption key. SetStructureEncryption( gDB, "abrakadabra2" ) openDatabase(gDB, the moviePath & "test.vdb", 4) end CreateDB ---- End Code Snippet. Here, ValentinaError() should return an error and does not. The SetStructureEncryption has the wrong password. For now, I will do a simple operation on the database to determine if the encrypted database opened correctly. Best Regards, Gunnar Swan -------- End of forwarded message -------- Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Wed May 12 12:09:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 04:10:15 2004 Subject: SetStructureEncryption ... In-Reply-To: <200405120644.i4C6iAMM008896@practicetopass.com> Message-ID: On 5/12/04 9:50 AM, "Gunnar Swan" wrote: >> Gunnar - what about other errors? Do you get ANY error from >> ValentinaError()? > > No. ValentinaError() in both cases returns 0. > > Valentina thinks all is ok, so I continue on with code. Jochen have ask you if in other functions and other cases ValentinaError returns something. I believe yes, because otherwise all V4MD developers have to complain. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Wed May 12 09:28:02 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 12 11:28:16 2004 Subject: [V4MD] Intermittent setMedia References: <200405120646.i4C6k6K8009105@practicetopass.com> Message-ID: <08c901c4383e$19235410$0200a8c0@SCOTT3> > Why not put RTF of member into field ? Hyperlink data is not preserved via RTF. Try it. And HTML hardly works at all -- formatting gets all off, fonts change, and hyperlinks go away. > If you put the member into blob, you are putting binary into blob. I don't grasp your point here -- yes, it's putting binary into blob. Doesn't BLOB stand for Binary Large Object? -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From srunkel at hypix.com Wed May 12 09:54:23 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 12 11:54:32 2004 Subject: [V4MD] Intermittent setMedia References: <200405120646.i4C6k6K8009105@practicetopass.com> <08c901c4383e$19235410$0200a8c0@SCOTT3> Message-ID: <08f901c43841$c6fe70d0$0200a8c0@SCOTT3> > > Why not put RTF of member into field ? > > Hyperlink data is not preserved via RTF. Try it. And HTML hardly works at all -- > formatting gets all off, fonts change, and hyperlinks go away. > > > If you put the member into blob, you are putting binary into blob. > > I don't grasp your point here -- yes, it's putting binary into blob. Doesn't > BLOB stand for Binary Large Object? I want to elaborate a bit further here. The 2nd paragraph of the V4MD Reference states that you can use Valentina to manage "...any type of media that Director can store in its members." Ruslan -- or anyone -- is there some better way to store Director's #Text members, complete with all formatting, hyperlinks, HTML, RTF, image, and other attributes that #Text members contain? Is there some secret that I'm missing? In fact, is there *any* other way to store a #Text member, other than BLOB, without breaking it apart into RTF, HTML, and its hyperlinks data and then recompositing them later? I want to be doing what makes sense, and when BLOB works for member.media, it works perfectly. Thanks. Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From gunnarswan at PracticeToPass.com Wed May 12 09:57:59 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 11:59:45 2004 Subject: SetStructureEncryption ... Message-ID: <200405121652.i4CGq3J2025534@practicetopass.com> > >Jochen have ask you if in other functions and other cases >ValentinaError returns something. > >I believe yes, because otherwise all V4MD developers have to complain. > In other cases, ValentinaError() returns error code as it should. Best Regards, Gunnar Swan From sunshine at public.kherson.ua Wed May 12 20:06:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 12:06:11 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <08f901c43841$c6fe70d0$0200a8c0@SCOTT3> Message-ID: On 5/12/04 7:54 PM, "Scott Runkel" wrote: >>> Why not put RTF of member into field ? >> >> Hyperlink data is not preserved via RTF. Try it. And HTML hardly works at > all -- >> formatting gets all off, fonts change, and hyperlinks go away. >> >>> If you put the member into blob, you are putting binary into blob. >> >> I don't grasp your point here -- yes, it's putting binary into blob. Doesn't >> BLOB stand for Binary Large Object? > > I want to elaborate a bit further here. The 2nd paragraph of the V4MD > Reference > states that you can use Valentina to manage "...any type of media that > Director > can store in its members." Ruslan -- or anyone -- is there some better way to > store Director's #Text members, complete with all formatting, hyperlinks, > HTML, > RTF, image, and other attributes that #Text members contain? No. Only limitation in usage of SetMedia() is that such data can be read back only by Director. Not rEALbasic not Valentina studio will not read them.s > Is there some secret that I'm missing? > In fact, is there *any* other way to store a #Text > member, other than BLOB, without breaking it apart into RTF, HTML, and its > hyperlinks data and then recompositing them later? I want to be doing what > makes > sense, and when BLOB works for member.media, it works perfectly. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 12 19:06:47 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed May 12 13:07:41 2004 Subject: [V4MD] Xtras In-Reply-To: Message-ID: <20040512180736.10F56122117@edison.macserve.net> Hi After installing the latest Xtra, V4MD_Client.x32 (version 2.0.0.0), nothing works anymore. I'm not using Vserver yet, does this xtra only work with Vserver? Martin From sunshine at public.kherson.ua Wed May 12 21:12:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 13:12:30 2004 Subject: [V4MD] Xtras In-Reply-To: <20040512180736.10F56122117@edison.macserve.net> Message-ID: On 5/12/04 9:06 PM, "Martin Wright" wrote: > Hi > > After installing the latest Xtra, V4MD_Client.x32 (version 2.0.0.0), nothing > works anymore. > I'm not using Vserver yet, does this xtra only work with Vserver? Yes it is. You need use V4MD local. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 12 19:42:38 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed May 12 13:43:29 2004 Subject: VServer In-Reply-To: Message-ID: <20040512184323.B4B97122182@edison.macserve.net> Hi I'm having problems with Vserver. When trying to OpenSession, I get a time-out then error 10060. I downloaded the latest Vserver today (version 2.0a59). What could be the problem? Martin From giv at tlc.kherson.ua Wed May 12 21:49:35 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed May 12 13:49:28 2004 Subject: VServer References: <20040512184323.B4B97122182@edison.macserve.net> Message-ID: <00b801c43851$df1b6f00$3b04a8c0@giv> Hi Martin, > I'm having problems with Vserver. When trying to OpenSession, I get a > time-out then error 10060. > I downloaded the latest Vserver today (version 2.0a59). > What could be the problem? But on Web-site is shown that 2.0a62 is the latest version for both MAC & Win VServer. Try 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 srunkel at hypix.com Wed May 12 12:02:58 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 12 14:03:06 2004 Subject: [V4MD] Intermittent setMedia References: Message-ID: <0ad201c43853$bd8c3520$0200a8c0@SCOTT3> Getting a little off-topic, but I wanted to update the list on my test of vList as an alternative to Valentina for storing the media of #text members. I have found: 1. When retrieving the media back into a #text member, Valentina is about 2-3 times faster. Of course, we're talking the difference between 3 ms and 6 ms, so I'm not worried about this. I've placed each #text member in a separate vList file on disk. 2. The same type of problems occur with vList as occurred with Valentina! These are: a. Once in a while when I retrieve the media, the member is blank. No error, just a blank #text member. This has happened about 1 of every 250 members with Valentina. It's easily fixed by resaving the media. Valentina had about the same rate, maybe slightly more. b. Once in a while when I retrieve the media, Director crashes. This was also happening with Valentina. My only conclusion currently is that using member.media is a bit fragile if the data is not saved exactly right. I think the problems are started during save but only show up during retrieval. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From lists at innernine.com Wed May 12 14:12:07 2004 From: lists at innernine.com (Juergen Schreck) Date: Wed May 12 14:12:14 2004 Subject: Column alias' in v4rb, valentina 1.1 Message-ID: <42E22AA6-A448-11D8-A1EB-000A95868802@innernine.com> Hi, It appears as though Valentina 1.1 can't have column aliases in the SQL syntax. I have to join 3 tables, two of which contain the column "name". How can I get the values of these columns out of a cursor? Valentina gives me the first one... which makes sense. How do I get the second one? TIA, Juergen From gunnarswan at PracticeToPass.com Wed May 12 12:32:28 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 14:34:15 2004 Subject: [V4MD] Intermittent setMedia Message-ID: <200405121926.i4CJQYh9013297@practicetopass.com> > >2. The same type of problems occur with vList as occurred with Valentina! These >are: > a. Once in a while when I retrieve the media, the member is blank. No error, >just a blank #text member. This has happened about 1 of every 250 members with >Valentina. It's easily fixed by resaving the media. Valentina had about the same >rate, maybe slightly more. > > b. Once in a while when I retrieve the media, Director crashes. This was >also happening with Valentina. > >My only conclusion currently is that using member.media is a bit fragile if the >data is not saved exactly right. I think the problems are started during save >but only show up during retrieval. ------------- If the problem occurs in vList and Valentina, I wonder if this is a Director issue. Are you using a REPEAT loop? Maybe ... use a timer object with your own counter. Maybe ... write to the Valentina or vList. Then turn right around and read it, to be sure it is ok. For heavy text with hyperlinks, we're thinking of moving from Director RTF to INM Impressario PDF. Best Regards, Gunnar Swan Practice To Pass http://www.PracticeToPass.Com From srunkel at hypix.com Wed May 12 12:40:43 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 12 14:40:55 2004 Subject: [V4MD] Intermittent setMedia References: <200405121926.i4CJQYh9013297@practicetopass.com> Message-ID: <0aff01c43859$03c05e40$0200a8c0@SCOTT3> > If the problem occurs in vList and Valentina, I wonder if this is a Director issue. > Are you using a REPEAT loop? Maybe ... use a timer object with your own counter. It probably is an obscure Director issue... I'm writing them out in a repeat loop. > Maybe ... write to the Valentina or vList. Then turn right around and read it, to be sure it is ok. Actually, I thought of the same thing and was doing that just now. As each item was written out, I read it back in and tested it for member().text = ""; about 4 or 5 were bad out of 1200 or so (vList). My suspicion is that there is just some tiny thing wrong with those members, although writing them out again individually fixes the problem. > For heavy text with hyperlinks, we're thinking of moving from Director RTF to INM Impressario PDF. What I like about #text members is that you can make them any width and any height and the text will WRAP. In PDFs, that is not possible. The whole thing shrinks, the text won't re-wrap if you just want to make the item narrower. Also Impressario has no built-in scrolling, so you have to roll your own or use their behaviors. So, we're using #text members (RTF) for on-screen display, and Impressario for printing the same items, since you can't print certain formatting with #text members (subscripts and the like). This is working nicely. For other formatted tables from the client, we're doing all Impressario/PDF, and used OSControl Xtra to make vertical and horizontal scrollbars. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Wed May 12 22:57:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 14:57:14 2004 Subject: Column alias' in v4rb, valentina 1.1 In-Reply-To: <42E22AA6-A448-11D8-A1EB-000A95868802@innernine.com> Message-ID: On 5/12/04 10:12 PM, "Juergen Schreck" wrote: > Hi, > > It appears as though Valentina 1.1 can't have column aliases in the SQL > syntax. I have to join 3 tables, two of which contain the column > "name". How can I get the values of these columns out of a cursor? Bu index Field( 7 ) > Valentina gives me the first one... which makes sense. How do I get the > second 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 gunnarswan at PracticeToPass.com Wed May 12 13:01:04 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed May 12 15:02:52 2004 Subject: Two different issues with Encryption - ValentinaError() Message-ID: <200405121955.i4CJtBbq016104@practicetopass.com> I'm having to write a work-around to solve these two problems. Would this be something slated for a release in the near future ? > >To recap ... > >Windows - Director 8.5. - V4MD.x32 only > >(1) SetEncryption >(2) SetStructureEncryption > >Both occur in examples that ship with Valentina. > >(1) SetEncryption > >--Start Code Snippet >on OpenDB > global gDB > set gDB = new(xtra"VDataBase") > -- BEFORE we open database we need tell to database object the encryption key. > --SetEncryption( gDB, "abrakadabra" ) - > openDatabase(gDB, the moviePath & "test.vdb", 4) >put ValentinaError() >end CreateDB >-- End Code snippet. > >The ValentinaError() should return an error and does not. The SetEncryption is REMMED out. > >(2) SetStructureEncryption. > >------ Code Snippet from example shipping with 1.10 >on OpenDB > global gDB > set gDB = new(xtra"VDataBase") > -- BEFORE we open database we need tell to database object the encryption key. > SetStructureEncryption( gDB, "abrakadabra2" ) > openDatabase(gDB, the moviePath & "test.vdb", 4) >end CreateDB >---- End Code Snippet. > >Here, ValentinaError() should return an error and does not. The SetStructureEncryption has the wrong password. > > >For now, I will do a simple operation on the database to determine if the encrypted database opened correctly. > >Best Regards, >Gunnar Swan > > >-------- End of forwarded message -------- > > >Best Regards, >Gunnar Swan >Practice To Pass >1.888.307.2050 >http://www.PracticeToPass.Com > > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Wed May 12 23:07:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 15:07:47 2004 Subject: Two different issues with Encryption - ValentinaError() In-Reply-To: <200405121955.i4CJtBbq016104@practicetopass.com> Message-ID: On 5/12/04 11:01 PM, "Gunnar Swan" wrote: > I'm having to write a work-around to solve these two problems. > Would this be something slated for a release in the near future ? I will check this in 1-2 days Gunnar. If I will find bug, then yes you will get new build. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed May 12 23:20:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 12 15:20:09 2004 Subject: VServer In-Reply-To: <00b801c43851$df1b6f00$3b04a8c0@giv> Message-ID: On 5/12/04 9:49 PM, "Igor Gomon" wrote: > Hi Martin, > >> I'm having problems with Vserver. When trying to OpenSession, I get a >> time-out then error 10060. >> I downloaded the latest Vserver today (version 2.0a59). >> What could be the problem? > But on Web-site is shown that 2.0a62 is the latest version for both > MAC & Win VServer. Try this. Martin, must be a62 of course. And V4MD_client must be a62 Please download again and confirm. Igor, you need create V4MD_Client example which show work with Vserver Xtra. Although it is hard show in that example RegisterDatabase(). Example cannot self put db into folder. Let example at least will show connection to Vserver Xtra. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From e.wyber at murdoch.edu.au Thu May 13 13:54:04 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Thu May 13 00:48:58 2004 Subject: [V4MD] Intermittent setMedia In-Reply-To: <08f901c43841$c6fe70d0$0200a8c0@SCOTT3> References: <200405120646.i4C6k6K8009105@practicetopass.com> <08c901c4383e$19235410$0200a8c0@SCOTT3> <08f901c43841$c6fe70d0$0200a8c0@SCOTT3> Message-ID: Scott, I have been trying to remember what happened with the problem we had (2+ years ago)...basically, very tight code writing member.media to a blob...we could detect the problem by comparing cast member size in Director with Blob data size in Valentina - if they differed by more than n% (don't remember how much) then we re-wrote that record...adding a short (10 millisecond) delay seemed to allow it to catch up (no issues after these 2 steps taken) HTH On 13/05/2004, at 12:54 AM, Scott Runkel wrote: >>> Why not put RTF of member into field ? >> >> Hyperlink data is not preserved via RTF. Try it. And HTML hardly >> works at > all -- >> formatting gets all off, fonts change, and hyperlinks go away. >> >>> If you put the member into blob, you are putting binary into blob. >> >> I don't grasp your point here -- yes, it's putting binary into blob. >> Doesn't >> BLOB stand for Binary Large Object? > > I want to elaborate a bit further here. The 2nd paragraph of the V4MD > Reference > states that you can use Valentina to manage "...any type of media that > Director > can store in its members." Ruslan -- or anyone -- is there some better > way to > store Director's #Text members, complete with all formatting, > hyperlinks, HTML, > RTF, image, and other attributes that #Text members contain? Is there > some > secret that I'm missing? In fact, is there *any* other way to store a > #Text > member, other than BLOB, without breaking it apart into RTF, HTML, and > its > hyperlinks data and then recompositing them later? I want to be doing > what makes > sense, and when BLOB works for member.media, it works perfectly. > > Thanks. > > Scott Runkel > Director of Technology > Hypix Media, Inc. > 503-722-2123 > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Elias. You only have the rights you defend in others. From srunkel at hypix.com Wed May 12 22:50:47 2004 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 13 00:50:56 2004 Subject: [V4MD] Intermittent setMedia References: <200405120646.i4C6k6K8009105@practicetopass.com><08c901c4383e$19235410$0200a8c0@SCOTT3><08f901c43841$c6fe70d0$0200a8c0@SCOTT3> Message-ID: <0d2201c438ae$3d9cd5d0$0200a8c0@SCOTT3> > I have been trying to remember what happened with the problem we had > (2+ years ago)...basically, very tight code writing member.media to a > blob...we could detect the problem by comparing cast member size in > Director with Blob data size in Valentina - if they differed by more > than n% (don't remember how much) then we re-wrote that record...adding > a short (10 millisecond) delay seemed to allow it to catch up (no > issues after these 2 steps taken) Very good info. I'll definitely give it a try. Thanks! -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From gunnarswan at PracticeToPass.com Wed May 12 22:55:53 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Thu May 13 00:57:45 2004 Subject: [V4MD] Intermittent setMedia Message-ID: <200405130550.i4D5o8Wm026028@practicetopass.com> >> if they differed by more than n% (don't remember how much) >> then we re-wrote that record... >> adding a short (10 millisecond) delay seemed to allow it to catch up (no issues after these 2 steps taken) This is where using a timer is useful. Avoid REPEAT loops. Even Director documentation says so. With a timeout object, and your own counter mechanism, you do can a long list of operations without glitch. Best Regards, Gunnar Swan http://www.PracticeToPass.Com From srunkel at hypix.com Wed May 12 23:02:08 2004 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 13 01:02:17 2004 Subject: [V4MD] Intermittent setMedia References: <200405130550.i4D5o8Wm026028@practicetopass.com> Message-ID: <0d2c01c438af$d3877a40$0200a8c0@SCOTT3> > Avoid REPEAT loops. Even Director documentation says so. I agree, definitely. But I think most people would expect an operation such as setMedia() followed immediately by updateRecord() followed immediately by Flush() to work even inside a repeat loop. This is because each operation should complete its process before the next step occurs. > With a timeout object, and your own counter mechanism, you do can a long list of operations without glitch. I'll have to move in that direction, at least for writing member.media to Valentina or vList. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From martin at kinetix.co.uk Thu May 13 09:27:01 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu May 13 03:27:55 2004 Subject: VServer In-Reply-To: Message-ID: <20040513082750.442E9122BC5@edison.macserve.net> Hi A62 beta version works fine but we need the full version a we have embedded server license. We are supposed to be delivering a beta to client tomorrow. Where can we get version a62 files for our custom installer? The latest V4MD_client xtra I can find is version 2.0.0.0, is this the correct one? Martin On 5/12/04 9:49 PM, "Igor Gomon" wrote: > Hi Martin, > >> I'm having problems with Vserver. When trying to OpenSession, I get a >> time-out then error 10060. >> I downloaded the latest Vserver today (version 2.0a59). >> What could be the problem? > But on Web-site is shown that 2.0a62 is the latest version for both > MAC & Win VServer. Try this. Martin, must be a62 of course. And V4MD_client must be a62 Please download again and confirm. Igor, you need create V4MD_Client example which show work with Vserver Xtra. Although it is hard show in that example RegisterDatabase(). Example cannot self put db into folder. Let example at least will show connection to Vserver Xtra. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 13 11:37:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 03:37:52 2004 Subject: VServer In-Reply-To: <20040513082750.442E9122BC5@edison.macserve.net> Message-ID: On 5/13/04 11:27 AM, "Martin Wright" wrote: Hi Martin, > A62 beta version works fine but we need the full version a we have embedded Great! > server license. We are supposed to be delivering a beta to client tomorrow. > Where can we get version a62 files for our custom installer? Martin, but you already have that files!!! Please read in Vserver.pdf steps how ObjectTable make installer. You will use THE SAME a62 server files, just replace DEMO license file with YOUR embedded license. We also have on site .ZIP archive of the same a62 server. Sometimes it is more comfortable that using of installer. Although I am not sure if ZIP also is a62. If no please let me know. > The latest V4MD_client xtra I can find is version 2.0.0.0, is this the > correct one? In last line "Special build" in Version panel you should see a62 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 10:00:23 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu May 13 04:01:14 2004 Subject: VServer In-Reply-To: Message-ID: <20040513090110.195FA122C22@edison.macserve.net> Hi I can't find a .ZIP archive of Vserver build a62. If there's one could you send me the URL? If not, I cou;d install the Beta then unregister Valentina service and use theses files. Also, I can only find V4MD_client xtra (WIN) build a61. Is there a a62 for Windows somewhere? Cheers Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 13 May 2004 09:37 To: valentina@lists.macserve.net Subject: Re: VServer On 5/13/04 11:27 AM, "Martin Wright" wrote: Hi Martin, > A62 beta version works fine but we need the full version a we have > embedded Great! > server license. We are supposed to be delivering a beta to client tomorrow. > Where can we get version a62 files for our custom installer? Martin, but you already have that files!!! Please read in Vserver.pdf steps how ObjectTable make installer. You will use THE SAME a62 server files, just replace DEMO license file with YOUR embedded license. We also have on site .ZIP archive of the same a62 server. Sometimes it is more comfortable that using of installer. Although I am not sure if ZIP also is a62. If no please let me know. > The latest V4MD_client xtra I can find is version 2.0.0.0, is this the > correct one? In last line "Special build" in Version panel you should see a62 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 13 12:17:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 04:17:51 2004 Subject: VServer In-Reply-To: <20040513090110.195FA122C22@edison.macserve.net> Message-ID: On 5/13/04 12:00 PM, "Martin Wright" wrote: Hi Martin, > I can't find a .ZIP archive of Vserver build a62. If there's one could you > send me the URL? http://paradigmasoft.com/files/vsrv_beta.html Here find section "for embedded server developers" Just only I have upload ZIP archive for sure. > If not, I cou;d install the Beta then unregister Valentina service and use > theses files. right > Also, I can only find V4MD_client xtra (WIN) build a61. Is there a a62 for > Windows somewhere? Aha, yes, it is a61 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 10:34:05 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu May 13 04:34:58 2004 Subject: VServer In-Reply-To: Message-ID: <20040513093451.62F37122C9E@edison.macserve.net> Thanks for that. A few more questions; 1. how do we decide which port to use for our Vserver? 2. if we have 2 different Vserver products ( 2 services ) on one Windows server, can we use the same port number for both? 3. what's the overhead for each Vserver service? Thanks Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 13 May 2004 10:17 To: valentina@lists.macserve.net Subject: Re: VServer On 5/13/04 12:00 PM, "Martin Wright" wrote: Hi Martin, > I can't find a .ZIP archive of Vserver build a62. If there's one could > you send me the URL? http://paradigmasoft.com/files/vsrv_beta.html Here find section "for embedded server developers" Just only I have upload ZIP archive for sure. > If not, I cou;d install the Beta then unregister Valentina service and > use theses files. right > Also, I can only find V4MD_client xtra (WIN) build a61. Is there a a62 > for Windows somewhere? Aha, yes, it is a61 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 13 12:43:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 04:44:27 2004 Subject: [FAQ] VServer In-Reply-To: <20040513093451.62F37122C9E@edison.macserve.net> Message-ID: On 5/13/04 12:34 PM, "Martin Wright" wrote: Hi Martin, > Thanks for that. > A few more questions; > > 1. how do we decide which port to use for our Vserver? Exists list of reserved ports by some apps. You must be able find it on internet. You should not use that ports. You can use any other port. Exists 65535 ports. I can tell that ports > 15000 usually free. > 2. if we have 2 different Vserver products ( 2 services ) on one Windows > server, can we use the same port number for both? No, each must have own port. > 3. what's the overhead for each Vserver service? In idle -- ZERO CPU. RAM usgae I think not important also because OS can move it to HDD. > Thanks > Martin -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 13:00:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:01:22 2004 Subject: V4MD WIN 2.0 b1. Wanted? Message-ID: Hi Guys, We are ready to upload V4MD WIN 2.0 first beta. I have see a lots of activity of RB developers on Valentina beta list, So I wonder if somebody from V4MD developers is going take part in beta testing? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Thu May 13 12:07:20 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu May 13 05:06:19 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: Message-ID: <001601c438d2$14c7e9f0$1d0a11ac@wgregoire> in fact i have only ONE question... i'm REALLY waiting the UNICODE support on Valentina... but since Director doesn"t support UNICODE and I don't know what is the interest... else i'm ready to test the UNICODE feature...i have a lot of projects on hold because of this :) WilG > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]De la part de Ruslan > Zasukhin > Envoye : jeudi 13 mai 2004 12:01 > A : valentina-beta@lists.macserve.net; valentina@lists.macserve.net > Objet : V4MD WIN 2.0 b1. Wanted? > > > Hi Guys, > > We are ready to upload V4MD WIN 2.0 first beta. > > I have see a lots of activity of RB developers on Valentina beta list, > So I wonder if somebody from V4MD developers is going take > part in beta > testing? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 bilgin at eastandwest.net Thu May 13 13:10:05 2004 From: bilgin at eastandwest.net (Bilgin UYGAR) Date: Thu May 13 05:09:55 2004 Subject: V4MD - Sorting problem Message-ID: <003201c438d2$7768c8e0$1700a8c0@enwi.com> I use Valentina Xtra to sort Database on turkish language but sorting is wrong. For example when I sort data like this "s, ?, z, ?, u" the result after sorting is "s, u, z, ?, ?" but order must be like that "?, s, ?, u, z" What I missing? Best Regards, B?lg?n Uygar From sunshine at public.kherson.ua Thu May 13 13:11:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:11:57 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: <001601c438d2$14c7e9f0$1d0a11ac@wgregoire> Message-ID: On 5/13/04 1:07 PM, "Gregoire William" wrote: > in fact i have only ONE question... > > i'm REALLY waiting the UNICODE support on Valentina... > but since Director doesn"t support UNICODE and I don't know what is the > interest... > > else i'm ready to test the UNICODE feature...i have a lot of projects on > hold because of this :) Right. For now we get from Director ANSI string in default system encoding (may be we will need add option to see encoding different from system) And we convert strings to UTF16 before send to Valentina. Director developers, please share info about Director and Unicode to us. What news? What promises from Macromedia? What workarounds? Any other Xtra can use at least UTF8? Advices? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 13:15:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:15:36 2004 Subject: V4MD - Sorting problem In-Reply-To: <003201c438d2$7768c8e0$1700a8c0@enwi.com> Message-ID: On 5/13/04 1:10 PM, "Bilgin UYGAR" wrote: > I use Valentina Xtra to sort Database on turkish language but sorting is > wrong. > For example when I sort data like this "s, ?, z, s?, u" the result after > sorting is "s, u, z, ?, s?" but order must be like that "?, s, s?, u, z" > > What I missing? Hi Bilgin, Have you specify language "turkish" when you have create fields? Have you open db in VAP or Vstudio to check that they show this language correctly? MAC or WIN ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wgregoire at paris.mediagerance.com Thu May 13 12:17:52 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu May 13 05:16:47 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: Message-ID: <001b01c438d3$8d550230$1d0a11ac@wgregoire> > For now we get from Director ANSI string in default system encoding > (may be we will need add option to see encoding > different from system) > And we convert strings to UTF16 before send to Valentina. and what about VMD->Director ? with this way, it's impossible to show Japanese on a French Windows for example :( > Director developers, please share info about Director and > Unicode to us. > What news? DMX2004 still lacks UNICODE support > What promises from Macromedia? all and nothing, as always...they spend all their times on buggy-Flash > What workarounds? use Flash INSIDE Director with XML and Arial Unicode installed but it's good to SHOW text, not to INPUT them (it's impossible to dev a Translation Engine for exemple) > Any other Xtra can use at least UTF8? > Advices? WilG From sunshine at public.kherson.ua Thu May 13 13:24:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:24:22 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: <001b01c438d3$8d550230$1d0a11ac@wgregoire> Message-ID: On 5/13/04 1:17 PM, "Gregoire William" wrote: >> For now we get from Director ANSI string in default system encoding >> (may be we will need add option to see encoding >> different from system) >> And we convert strings to UTF16 before send to Valentina. > > and what about VMD->Director ? We convert back to ANSI system. Even this feature, must significantly improve work with such languages as Cyrillic and others non-Western. Also we must be able store 1-byte languages into UTF8 on disk to use less space. > with this way, it's impossible to show Japanese on a French Windows for > example :( But what about Japan on Japan OS? >> Director developers, please share info about Director and >> Unicode to us. >> What news? > > DMX2004 still lacks UNICODE support I know this. >> What promises from Macromedia? > > all and nothing, as always...they spend all their times on buggy-Flash bad >> What workarounds? > > use Flash INSIDE Director with XML and Arial Unicode installed > but it's good to SHOW text, not to INPUT them > (it's impossible to dev a Translation Engine for exemple) > >> Any other Xtra can use at least UTF8? >> Advices? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Thu May 13 12:38:22 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Thu May 13 05:30:11 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: References: <001601c438d2$14c7e9f0$1d0a11ac@wgregoire> Message-ID: <6.1.0.6.2.20040513123452.022f68b0@pop.gmx.de> At 12:11 13.05.2004, you wrote: >Director developers, please share info about Director and Unicode to us. >What news? nothing yet and the next version of director will take some time... >What promises from Macromedia? none, developers have been asking for unicode support for a long time, so far without success, they're afraid to touch the text engine :-( >What workarounds? like gregoire said, use a flash object, but that helps only for displaying text. >Any other Xtra can use at least UTF8? that wouldn't help much, you'd have to get the text into director at some point. it might work with already existing xml files, but not for user input. Martin. Martin Kloss Need music? http://www.selling-sound.com Like the author? Buy the book at: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd Get your daily dose of Lingo at the LingoPark: http://www.lingopark.de From bilgin at eastandwest.net Thu May 13 13:33:07 2004 From: bilgin at eastandwest.net (Bilgin UYGAR) Date: Thu May 13 05:32:52 2004 Subject: V4MD - Sorting problem References: Message-ID: <006a01c438d5$af2b0c40$1700a8c0@enwi.com> > Have you specify language "turkish" when you have create fields? Yes. > Have you open db in VAP or Vstudio to check that they show this language correctly? No, I don't have VAP or Vstudio. I imported database from Access Using ODBC_Valentina utility. > MAC or WIN ? WIN Best Regards, Bilgin Uygar > > I use Valentina Xtra to sort Database on turkish language but sorting is > > wrong. > > For example when I sort data like this "s, ?, z, s?, u" the result after > > sorting is "s, u, z, ?, s?" but order must be like that "?, s, s?, u, z" > > > > What I missing? > > Hi Bilgin, > > Have you specify language "turkish" when you have create fields? > > Have you open db in VAP or Vstudio to check that they show this language > correctly? > > MAC or WIN ? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 May 13 13:41:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:41:27 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: <6.1.0.6.2.20040513123452.022f68b0@pop.gmx.de> Message-ID: On 5/13/04 1:38 PM, "Martin Kloss" wrote: Hi Martin, >> Any other Xtra can use at least UTF8? > > that wouldn't help much, you'd have to get the text into director > at some point. it might work with already existing xml files, but > not for user input. I mean here that if somebody could do that then we also must be able. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 13:41:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 05:42:02 2004 Subject: V4MD - Sorting problem In-Reply-To: <006a01c438d5$af2b0c40$1700a8c0@enwi.com> Message-ID: On 5/13/04 1:33 PM, "Bilgin UYGAR" wrote: >> Have you specify language "turkish" when you have create fields? > Yes. > >> Have you open db in VAP or Vstudio to check that they show this language > correctly? > No, I don't have VAP or Vstudio. > I imported database from Access Using ODBC_Valentina utility. > >> MAC or WIN ? > WIN You can download Valentina for Studio And use it in demo mode. Also very helpful. Please open db in Vstudio and check if it show your language property correctly for 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 wgregoire at paris.mediagerance.com Thu May 13 12:48:59 2004 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Thu May 13 05:47:53 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: Message-ID: <001c01c438d7$e66f3b70$1d0a11ac@wgregoire> > >> Any other Xtra can use at least UTF8? > > that wouldn't help much, you'd have to get the text into director > > at some point. it might work with already existing xml files, but > > not for user input. > I mean here that if somebody could do that then we also must be able. i don't think so... so problem come from their OLDDDDDDD way to handle text member (i think) they have to rewrite all, and since it's MAC/WIN, it's twice hard effort what could(should) be done is a new text actor (like MPEG is a new video actor for ex) WilG From martin at kinetix.co.uk Thu May 13 11:57:11 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu May 13 05:58:04 2004 Subject: VServer In-Reply-To: Message-ID: <20040513105759.0DC20122ECF@edison.macserve.net> Hi Ruslan The Vserver build a62 beta is only for NT. We also need a Vserver for WIN98. Where can we find this? After installing our product including Vserver with some databases in the 'databases' folder, is there anyway of registering these databases with the Vserver without Director? Ie. Command line Martin On 5/13/04 12:00 PM, "Martin Wright" wrote: Hi Martin, > I can't find a .ZIP archive of Vserver build a62. If there's one could > you send me the URL? http://paradigmasoft.com/files/vsrv_beta.html Here find section "for embedded server developers" Just only I have upload ZIP archive for sure. > If not, I cou;d install the Beta then unregister Valentina service and > use theses files. right > Also, I can only find V4MD_client xtra (WIN) build a61. Is there a a62 > for Windows somewhere? Aha, yes, it is a61 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 13 14:02:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 06:02:26 2004 Subject: VServer In-Reply-To: <20040513105759.0DC20122ECF@edison.macserve.net> Message-ID: On 5/13/04 1:57 PM, "Martin Wright" wrote: > Hi Ruslan > > The Vserver build a62 beta is only for NT. We also need a Vserver for WIN98. > Where can we find this? ZIP archive contains it > After installing our product including Vserver with some databases in the > 'databases' folder, is there anyway of registering these databases with the > Vserver without Director? Ie. Command line Read Vserver.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Thu May 13 12:58:58 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Thu May 13 06:02:46 2004 Subject: V4RB 1.1 Beginner's question Message-ID: Valentina (1.1) for realbasic (5.5) Mac os X 3.3 Hello, As I begin with Valentina, I am not sure that my cursor is good. I have a database with two tables: Table ITEM - Price1 vfloat -TaxPrice1_A vobjectptr (database.tax) -TaxPrice1_B vobjectptr (database.tax) - Price2 vfloat -TaxPrice2_A vobjectptr (database.tax) -TaxPrice2_B vobjectptr (database.tax) - Price3 vfloat -TaxPrice3_A vobjectptr (database.tax) -TaxPrice3_B vobjectptr (database.tax) - Price4 vfloat -TaxPrice4_A vobjectptr (database.tax) -TaxPrice4_B vobjectptr (database.tax) on the whole 16 prices, with each two different taxes ! many of the other fields are also in the table. Table TAX -rate vfloat to obtain all the data, cursor : cur=new cursor(database, "SELECT I.Price1, t1a.rate, t1b.rate, I.Price2, t2a.rate, t2b.rate, I.Price3, t3a.rate, t3b.rate, I.Price4, t4a.rate, t4b.rate, ....... FROM item I, tax t1a, tax t1b, tax t2a, tax t2b, tax t3a, tax t3b, tax t4a, tax t4b....... WHERE I.TaxPrice1_A=t1a.recID and I.TaxPrice1_B=t1b.recID and I.TaxPrice2_A=t2a.recID and I.TaxPrice2_B=t2B.recID and I.TaxPrice3_A=t3a.recID and I.TaxPrice3_B=t3b.recID and I.TaxPrice4_A=t4a.recID and I.TaxPrice4_B=t1b.recID.......) As you imagine it, the result is not fast... The cursor seems to me complicated. Is it the good solution ? Thank you very much olivier From martin at kinetix.co.uk Thu May 13 12:04:17 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Thu May 13 06:05:07 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: Message-ID: <20040513110504.3D515122FD1@edison.macserve.net> Hi Flash supports unicode, so embedding flash in director is the only way we've found of displaying unicode in Director. Martin On 5/13/04 1:07 PM, "Gregoire William" wrote: > in fact i have only ONE question... > > i'm REALLY waiting the UNICODE support on Valentina... > but since Director doesn"t support UNICODE and I don't know what is > the interest... > > else i'm ready to test the UNICODE feature...i have a lot of projects > on hold because of this :) Right. For now we get from Director ANSI string in default system encoding (may be we will need add option to see encoding different from system) And we convert strings to UTF16 before send to Valentina. Director developers, please share info about Director and Unicode to us. What news? What promises from Macromedia? What workarounds? Any other Xtra can use at least UTF8? Advices? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 13 14:24:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 06:25:01 2004 Subject: V4RB 1.1 Beginner's question In-Reply-To: Message-ID: On 5/13/04 1:58 PM, "olivier" wrote: Hi Oliver, > Valentina (1.1) for realbasic (5.5) Valentina 1.10 not 1.1 > Mac os X 3.3 > > Hello, > > As I begin with Valentina, I am not sure that my cursor is good. > I have a database with two tables: > > Table ITEM > > - Price1 vfloat > -TaxPrice1_A vobjectptr (database.tax) > -TaxPrice1_B vobjectptr (database.tax) > > - Price2 vfloat > -TaxPrice2_A vobjectptr (database.tax) > -TaxPrice2_B vobjectptr (database.tax) > > - Price3 vfloat > -TaxPrice3_A vobjectptr (database.tax) > -TaxPrice3_B vobjectptr (database.tax) > > - Price4 vfloat > -TaxPrice4_A vobjectptr (database.tax) > -TaxPrice4_B vobjectptr (database.tax) > > on the whole 16 prices, with each two different taxes ! > > many of the other fields are also in the table. > > > Table TAX > > -rate vfloat > > to obtain all the data, cursor : > > cur=new cursor(database, "SELECT I.Price1, t1a.rate, t1b.rate, > I.Price2, t2a.rate, t2b.rate, I.Price3, t3a.rate, t3b.rate, I.Price4, > t4a.rate, t4b.rate, > ....... FROM item I, tax t1a, tax t1b, tax t2a, tax t2b, tax t3a, tax > t3b, tax t4a, tax t4b....... WHERE I.TaxPrice1_A=t1a.recID and > I.TaxPrice1_B=t1b.recID and I.TaxPrice2_A=t2a.recID and > I.TaxPrice2_B=t2B.recID and I.TaxPrice3_A=t3a.recID and > I.TaxPrice3_B=t3b.recID and I.TaxPrice4_A=t4a.recID and > I.TaxPrice4_B=t1b.recID.......) > > As you imagine it, the result is not fast... > > The cursor seems to me complicated. Is it the good solution ? Really complex. Why you not use simply Table ITEM Price ptr1 ptr2 And split YOUR record into 16 small records? Why you need show 16 (!) prices for single item? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 14:03:17 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Thu May 13 06:58:33 2004 Subject: V4RB 1.10 Beginner's question In-Reply-To: References: Message-ID: <84F73D75-A4D5-11D8-B054-00039310B7DA@yahoo.fr> Le 13 mai 04, ? 13:24, Ruslan Zasukhin a ?crit : > > Really complex. > > Why you not use simply > > Table ITEM > > Price > ptr1 > ptr2 > > And split YOUR record into 16 small records? > I does not indeed understand. Is what it is not even more going to multiply the links ? I am going to think about it. > Why you need show 16 (!) prices for single item? > > In fact, an item has only prices. (4 prices because the item can be sold to different prices according to the hour in which it is sold. They are items for a restaurant : price 1 (lunch), price 2 (happy hours), price 3 (diner)... But this item can be sold in 4 different places (bar, room, driving...) That's why it makes 16 prices (4X4) I need to show simultaneously the 16 prices (and the other fields) in the screen to be able to modify the record of the item or print statistics.... Thank you Ruslan olivier > From bilgin at eastandwest.net Thu May 13 16:00:38 2004 From: bilgin at eastandwest.net (Bilgin UYGAR) Date: Thu May 13 08:00:26 2004 Subject: V4MD - Sorting problem References: Message-ID: <00c201c438ea$4a5a4870$1700a8c0@enwi.com> Hi Ruslan, > Please open db in Vstudio and check if it show your language property correctly for fields. I imported database again and now it's OK. There is no problem. The language property is correctly. I tested sorting in SQL Builder and result was correctly. Thanks Best regards, Bilgin Uygar > On 5/13/04 1:33 PM, "Bilgin UYGAR" wrote: > > >> Have you specify language "turkish" when you have create fields? > > Yes. > > > >> Have you open db in VAP or Vstudio to check that they show this language > > correctly? > > No, I don't have VAP or Vstudio. > > I imported database from Access Using ODBC_Valentina utility. > > > >> MAC or WIN ? > > WIN > > You can download Valentina for Studio > And use it in demo mode. > Also very helpful. > > Please open db in Vstudio and check if it show your language property > correctly for 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Thu May 13 18:00:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 10:00:10 2004 Subject: Registering Database - (VServer/PC/Director) In-Reply-To: Message-ID: On 5/13/04 5:57 PM, "Kirk Goble - Kinetix" wrote: > Thanks Ruslan, have you any idea why I can only opensession on port 15432 > and no others ? Aha. Easy. I think you have forget change port number in the .ini file Of VServer > Kirk > > > -----Original Message----- > From: Ruslan Zasukhin [mailto:ruslan@paradigmasoft.com] > Sent: 13 May 2004 15:52 > To: kirk@kinetix.co.uk > Subject: Re: Registering Database - (VServer/PC/Director) > > > On 5/13/04 4:16 PM, "Kirk Goble - Kinetix" wrote: > >> Igor > > Kirk, you have forget CC to Igor > >> I've got the OpenSession Problem 1/2 solved, >> 1 issue is Vserver beta 2.0a62 is required to run with V4MD_Client.x32 = >> 2.0.0.0. >> I can now OpenSession and RegisterDatabase and use it successfully, but > only >> on port 15432, if I change the port on service (via ini) and send port as >> optional parameter ie : >> >> set vsrvRef = new( Xtra "VServer", "localhost", "sa", "sa", "15435") >> >> I get error on OpenSession...error 10061 >> >> I need to use 6 different ports as Im developing 6 products which should > not >> clash. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jgomes at mmmagic.com Thu May 13 08:07:22 2004 From: jgomes at mmmagic.com (Jeff Gomes) Date: Thu May 13 10:07:34 2004 Subject: V4MD WIN 2.0 b1. Wanted? In-Reply-To: References: Message-ID: At 1311 +0300 05/13/2004, Ruslan Zasukhin wrote: >... >Director developers, please share info about Director and Unicode to us. >What news? >What promises from Macromedia? >What workarounds? >Any other Xtra can use at least UTF8? >Advices? >... A code example of the current state of the art for using unicode in Director was provided by Daniel Plaenitz in Direct-L on 10 May in the thread 'Unicode fonts'. It can be done, but it is certainly a kludge. As others have noted, with Director 10 the unicode strings can be protected from Lingo by handling them exclusively within the Javascript syntax. Input from text files is accessed with the Flash XML object's src property. Keyboard input and display are handled by Flash text fields. -Jeff From sunshine at public.kherson.ua Thu May 13 18:55:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 10:55:35 2004 Subject: V4RB 1.10 Beginner's question In-Reply-To: <84F73D75-A4D5-11D8-B054-00039310B7DA@yahoo.fr> Message-ID: On 5/13/04 3:03 PM, "olivier" wrote: >> Really complex. >> >> Why you not use simply >> >> Table ITEM >> >> Price >> ptr1 >> ptr2 >> >> And split YOUR record into 16 small records? >> > I does not indeed understand. > Is what it is not even more going to multiply the links ? > I am going to think about it. You will need some helper column of course. >> Why you need show 16 (!) prices for single item? >> >> > In fact, an item has only prices. > (4 prices because the item can be sold to different prices according to > the hour in which it is sold. > They are items for a restaurant : price 1 (lunch), price 2 (happy > hours), price 3 (diner)... > > But this item can be sold in 4 different places (bar, room, driving...) > That's why it makes 16 prices (4X4) > > I need to show simultaneously the 16 prices (and the other fields) in > the screen to be able to modify > the record of the item or print statistics.... > > Thank you Ruslan -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 13 18:56:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 13 10:56:11 2004 Subject: V4MD - Sorting problem In-Reply-To: <00c201c438ea$4a5a4870$1700a8c0@enwi.com> Message-ID: On 5/13/04 4:00 PM, "Bilgin UYGAR" wrote: Hi Bilgin, > Hi Ruslan, > >> Please open db in Vstudio and check if it show your language property > correctly for fields. > I imported database again and now it's OK. > There is no problem. The language property is correctly. > I tested sorting in SQL Builder and result was correctly. Excellent. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuckbo at hinkles.us Thu May 13 07:10:28 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Thu May 13 17:02:14 2004 Subject: FW: How to put icons on other files (still problem) In-Reply-To: <9585AF5A-9F56-11D8-9904-000A959DF1D2@realsoftware.com> Message-ID: I thought that I was having a RB problem, trying to get my app's icon on the Valentina db that I create, but maybe this is a question that I'll have more success with on this list. After I do my SaveFolderItem in RB, I execute: mygoDB.schemaversion = 1 mygodb.creator = "Dash" if f <> nil then rc= mygoDB.create(f,1,4*1024) mygoDB is a property that's defined as type goDB. goDB is a class whose Super is VDatabase What other steps do I need so that Finder recognizes that this file belongs to my app and not to the Valentina Carbon program? chuck > > On May 5, 2004, at 10:57 PM, chuck hinkle wrote: >> No, I don't understand it. >> I can do a Get Info and see my program, and I can swap the icon. But >> am I >> creating the file with the wrong command. I'm using getsavefolderItem. >> I'm >> passing a custom filter. In Edit File Type, I've defined the custom >> filter >> and given it a MacCreator and MacType and Extension and icons. But the >> file >> that gets created with getsavefolditem has a Valentina Carbon icon and >> wants >> to run Valentina Carbon by default. It makes me really curious what >> will >> happen when a machine that doesn't have Valentina on it run the >> program. > > There's nothing special about the folderitem returned from > GetSaveFolderitem. The filter is solely for configuring the dialog. > > When you create a file, that creation mechanism is responsible for > setting up the file type. CreateTextFile will always create it with > TEXT and R*ch. CreateBinaryFile will create it with the type you give > it. Other mechanisms may or may not set the creator and file type. > > So, in the end, you are responsible for changing it to your type if it > isn't the desired type after you create the file. > > HTH, > Jon > > > -- > Jonathan Johnson > Testing Department > REAL Software, Inc. > > _______________________________________________ > Unsubscribe or switch delivery mode: > > > Search the archives of this list here: > > ------ End of Forwarded Message From delong at redcort.com Thu May 13 15:14:55 2004 From: delong at redcort.com (Keith DeLong) Date: Thu May 13 17:24:27 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: Hi Chuck, Select File Types from the Edit menu and create a file type, creator and extension for you database (and index and/or other Valentina files if you don't use a single file). If you're deploying on Windows, you'll also want to call ValentinaSetExtensions right after you set the creator. Windows knows nothing of Mac file type and creator so the only way to differentiate your files from Valentina's is to use different extensions. HTH, Keith DeLong > I thought that I was having a RB problem, trying to get my app's icon on the > Valentina db that I create, but maybe this is a question that I'll have more > success with on this list. > > After I do my SaveFolderItem in RB, I execute: > > mygoDB.schemaversion = 1 > mygodb.creator = "Dash" > if f <> nil then rc= mygoDB.create(f,1,4*1024) > > mygoDB is a property that's defined as type goDB. > goDB is a class whose Super is VDatabase > > What other steps do I need so that Finder recognizes that this file belongs > to my app and not to the Valentina Carbon program? > > chuck > > > >> >> On May 5, 2004, at 10:57 PM, chuck hinkle wrote: >>> No, I don't understand it. >>> I can do a Get Info and see my program, and I can swap the icon. But >>> am I >>> creating the file with the wrong command. I'm using getsavefolderItem. >>> I'm >>> passing a custom filter. In Edit File Type, I've defined the custom >>> filter >>> and given it a MacCreator and MacType and Extension and icons. But the >>> file >>> that gets created with getsavefolditem has a Valentina Carbon icon and >>> wants >>> to run Valentina Carbon by default. It makes me really curious what >>> will >>> happen when a machine that doesn't have Valentina on it run the >>> program. >> >> There's nothing special about the folderitem returned from >> GetSaveFolderitem. The filter is solely for configuring the dialog. >> >> When you create a file, that creation mechanism is responsible for >> setting up the file type. CreateTextFile will always create it with >> TEXT and R*ch. CreateBinaryFile will create it with the type you give >> it. Other mechanisms may or may not set the creator and file type. >> >> So, in the end, you are responsible for changing it to your type if it >> isn't the desired type after you create the file. >> >> HTH, >> Jon >> >> >> -- >> Jonathan Johnson >> Testing Department >> REAL Software, Inc. >> >> _______________________________________________ >> Unsubscribe or switch delivery mode: >> >> >> Search the archives of this list here: >> >> > > ------ End of Forwarded Message > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From chuckbo at hinkles.us Thu May 13 18:32:53 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Thu May 13 18:33:00 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: That part's been done, too. But after I create the file, it has the Valentina Carbon icon. I can go to Get Info, and one of the other choices is to use my program to open it. After I do that, then the icon changes to the one I've created in RB. But I don't want my users to have to do that every time they create a data file. chuck > Hi Chuck, > Select File Types from the Edit menu and create a file type, creator and > extension for you database (and index and/or other Valentina files if you > don't use a single file). > > If you're deploying on Windows, you'll also want to call > ValentinaSetExtensions right after you set the creator. Windows knows > nothing of Mac file type and creator so the only way to differentiate your > files from Valentina's is to use different extensions. > > HTH, > > Keith DeLong > > > > >> I thought that I was having a RB problem, trying to get my app's icon on the >> Valentina db that I create, but maybe this is a question that I'll have more >> success with on this list. >> >> After I do my SaveFolderItem in RB, I execute: >> >> mygoDB.schemaversion = 1 >> mygodb.creator = "Dash" >> if f <> nil then rc= mygoDB.create(f,1,4*1024) >> >> mygoDB is a property that's defined as type goDB. >> goDB is a class whose Super is VDatabase >> >> What other steps do I need so that Finder recognizes that this file belongs >> to my app and not to the Valentina Carbon program? >> >> chuck >> >> From delong at redcort.com Thu May 13 16:51:18 2004 From: delong at redcort.com (Keith DeLong) Date: Thu May 13 19:36:47 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: It's a common mistake to switch the type and creator in the RB File Type dialog. Also -- the type and creator are case sensitive. You might check these two items in the file type dialog and your db create statement. If that doesn't get you going, try this: Create a new data file. Open it using either Xray or Filetype (do a google or look on versiontracker). They are both shareware. Either of these programs will show the file type and creator as set by your program. If that doesn't get you going, change the program to be launched using Get Info as you describe below. Xray/Filetype it again to see what has changed in your file type and creator. This should point you to the necessary changes. Keith > That part's been done, too. > But after I create the file, it has the Valentina Carbon icon. I can go to > Get Info, and one of the other choices is to use my program to open it. > After I do that, then the icon changes to the one I've created in RB. But I > don't want my users to have to do that every time they create a data file. > chuck > >> Hi Chuck, >> Select File Types from the Edit menu and create a file type, creator and >> extension for you database (and index and/or other Valentina files if you >> don't use a single file). >> >> If you're deploying on Windows, you'll also want to call >> ValentinaSetExtensions right after you set the creator. Windows knows >> nothing of Mac file type and creator so the only way to differentiate your >> files from Valentina's is to use different extensions. >> >> HTH, >> >> Keith DeLong >> >> >> >> >>> I thought that I was having a RB problem, trying to get my app's icon on the >>> Valentina db that I create, but maybe this is a question that I'll have more >>> success with on this list. >>> From chuckbo at hinkles.us Fri May 14 06:56:58 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Fri May 14 17:04:47 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: Okay, either I'm blind or too ignorant to see what's wrong. I've used Xray. When I first create the file, it has parameters: Creator - Dash Extension - Type - Vdsc Bound to Valentina Carbon After I go to Get Info and specify that my program should open it, I see: Creator - Dash Extension - Type - Vdsc Bount to Slingshot If I review the file type and icon in RB, my Mac Creator = Dash Mac Type = Vdsc Extension = .gdb So is the problem coming from not having a file extension? > It's a common mistake to switch the type and creator in the RB File Type > dialog. Also -- the type and creator are case sensitive. You might check > these two items in the file type dialog and your db create statement. > > If that doesn't get you going, try this: > Create a new data file. Open it using either Xray or Filetype (do a google > or look on versiontracker). They are both shareware. Either of these > programs will show the file type and creator as set by your program. If that > doesn't get you going, change the program to be launched using Get Info as > you describe below. Xray/Filetype it again to see what has changed in your > file type and creator. This should point you to the necessary changes. > > Keith > >> That part's been done, too. >> But after I create the file, it has the Valentina Carbon icon. I can go to >> Get Info, and one of the other choices is to use my program to open it. >> After I do that, then the icon changes to the one I've created in RB. But I >> don't want my users to have to do that every time they create a data file. >> chuck >> >>> Hi Chuck, >>> Select File Types from the Edit menu and create a file type, creator and >>> extension for you database (and index and/or other Valentina files if you >>> don't use a single file). >>> >>> If you're deploying on Windows, you'll also want to call >>> ValentinaSetExtensions right after you set the creator. Windows knows >>> nothing of Mac file type and creator so the only way to differentiate your >>> files from Valentina's is to use different extensions. >>> >>> HTH, >>> >>> Keith DeLong >>> >>> >>> >>> >>>> I thought that I was having a RB problem, trying to get my app's icon on >>>> the >>>> Valentina db that I create, but maybe this is a question that I'll have >>>> more >>>> success with on this list. >>>> > From sunshine at public.kherson.ua Sat May 15 01:16:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 14 17:16:57 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: On 5/14/04 2:56 PM, "chuck hinkle" wrote: > > > Okay, either I'm blind or too ignorant to see what's wrong. I've used Xray. > When I first create the file, it has parameters: > Creator - Dash > Extension - > Type - Vdsc > Bound to Valentina Carbon > After I go to Get Info and specify that my program should open it, I see: > Creator - Dash > Extension - > Type - Vdsc ^^^^^^^^^^^ why you not use own types for your app? > Bount to Slingshot > > If I review the file type and icon in RB, my > Mac Creator = Dash > Mac Type = Vdsc > Extension = .gdb > > So is the problem coming from not having a file extension? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Fri May 14 15:34:16 2004 From: delong at redcort.com (Keith DeLong) Date: Fri May 14 17:34:27 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: Hi Chuck, > Okay, either I'm blind or too ignorant to see what's wrong. I've used Xray. > When I first create the file, it has parameters: > Creator - Dash > Extension - > Type - Vdsc > Bound to Valentina Carbon > After I go to Get Info and specify that my program should open it, I see: > Creator - Dash > Extension - > Type - Vdsc > Bount to Slingshot > > If I review the file type and icon in RB, my > Mac Creator = Dash > Mac Type = Vdsc > Extension = .gdb > So is the problem coming from not having a file extension? The creator and type look fine to me so I think it could be. IIRC, OS X doesn't seem to handle bindings very well for files without extensions. Keith From chuckbo at hinkles.us Fri May 14 23:48:08 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Fri May 14 23:48:17 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: > Hi Chuck, > >> Okay, either I'm blind or too ignorant to see what's wrong. I've used Xray. >> When I first create the file, it has parameters: >> Creator - Dash >> Extension - >> Type - Vdsc >> Bound to Valentina Carbon >> After I go to Get Info and specify that my program should open it, I see: >> Creator - Dash >> Extension - >> Type - Vdsc >> Bount to Slingshot >> >> If I review the file type and icon in RB, my >> Mac Creator = Dash >> Mac Type = Vdsc >> Extension = .gdb > >> So is the problem coming from not having a file extension? > > The creator and type look fine to me so I think it could be. IIRC, OS X > doesn't seem to handle bindings very well for files without extensions. > > Keith > Keith, by forcing an extension of .gdb, it's working. I ran into two extremely weird items along the way. 1) Even though I've changed the MacType in the file type dialog box to "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file that gets created with the Valentina .Create method, its Mactype is still Vdsc. 2) I had a test to see if f.name ended with .gdb, and if it didn't, I appended the .gdb to the f.name. This works if I put a break command before the test and single-step through the code. But if I'm not tracing through the code, the test fails (it thinks that there's a .gdb extension even though there isn't), and the program creates the file without any extension. I ended up having to test f.name to remove the extension if it finds it and then to append it back into place. But now I'm wondering if I'm going to end up with files named FILENAME.gdb.gdb. Doesn't matter, I suspect, because at least it has the right icon and maps to my program. chuck From bwillius at gmx.de Sat May 15 07:18:15 2004 From: bwillius at gmx.de (Beatrix Willius) Date: Sat May 15 00:14:58 2004 Subject: Multiple Ind Files Message-ID: <45075D5C-A62F-11D8-B584-000A958D2BA4@gmx.de> Hello, my database setup is to have two files, one for the data and one for the index. The database also uses my Creator Code, but does not have a "." file ending. When I click on the index file the application tries to open this file and says with an error 524 that the database cannot be opened. Now, two files are created with the ending .ind.ind and .ind.dat. This would not be so terrible, but one of my users says that the opening went okay. Only now he cannot import any data into the database. My questions to this so far are: - Is this a bug or an issue? - I wanted to have the index separate in case the index gets corrupt. However, now I am thinking on changing to a one file approach. How often does an index get corrupt? - Can I tell the application to move the index to another place? Some of my users get confused by this file? - Can I simply delete the index when quitting and build it again at startup? System + Software: OS: Mac OS 10.3 RB: 5.5.1 Valentina: 1.9.8 Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Intelligent Internet Utilities http://www.beatrixwillius.de Fractal Images From sunshine at public.kherson.ua Sat May 15 10:12:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 02:12:37 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: On 5/15/04 7:48 AM, "chuck hinkle" wrote: > > Keith, > by forcing an extension of .gdb, it's working. > I ran into two extremely weird items along the way. > > 1) Even though I've changed the MacType in the file type dialog box to > "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file > that gets created with the Valentina .Create method, its Mactype is still > Vdsc. I remember function SetExtentions() But I do not remember function in V4RB which allow assign filed types for MacOS. Hmm, how then Valentina developers live ? > 2) I had a test to see if f.name ended with .gdb, and if it didn't, I > appended the .gdb to the f.name. This works if I put a break command before > the test and single-step through the code. But if I'm not tracing through > the code, the test fails (it thinks that there's a .gdb extension even > though there isn't), and the program creates the file without any extension. > I ended up having to test f.name to remove the extension if it finds it and > then to append it back into place. But now I'm wondering if I'm going to end > up with files named FILENAME.gdb.gdb. Doesn't matter, I suspect, because at > least it has the right icon and maps to my program. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 15 10:20:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 02:20:48 2004 Subject: Multiple Ind Files In-Reply-To: <45075D5C-A62F-11D8-B584-000A958D2BA4@gmx.de> Message-ID: On 5/15/04 8:18 AM, "Beatrix Willius" wrote: > Hello, > > my database setup is to have two files, one for the data and one for > the index. The database also uses my Creator Code, but does not have a > "." file ending. When I click on the index file the application tries > to open this file and says with an error 524 that the database cannot > be opened. Now, two files are created with the ending .ind.ind and > .ind.dat. This would not be so terrible, but one of my users says that > the opening went okay. Only now he cannot import any data into the > database. Beatrix, this is mistake! You can reproduce this behavior with new files with double extensions Easy in VAPP. Let you have some db based on 4 files. If you double click .vdb file -- all right. If you drag .dat file or any other to VAPP then VAPP think that you have specify .vdb file and do wrong things producing new files with new names. So it sounds like you have made mistake in your code somehow, That you try open not .vdb description file but other. > My questions to this so far are: > - Is this a bug or an issue? Mistake on open > - I wanted to have the index separate in case the index gets corrupt. > However, now I am thinking on changing to a one file approach. How > often does an index get corrupt? Nobody know. Depened on your flushes, system failures, ... > - Can I tell the application to move the index to another place? Some > of my users get confused by this file? No. > - Can I simply delete the index when quitting and build it again at > startup? You can but this will take time on open. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 15 12:22:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 04:22:24 2004 Subject: Test, ignore Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat May 15 12:29:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 04:29:47 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: On 5/15/04 10:12 AM, "Ruslan Zasukhin" wrote: > On 5/15/04 7:48 AM, "chuck hinkle" wrote: > >> >> Keith, >> by forcing an extension of .gdb, it's working. >> I ran into two extremely weird items along the way. >> >> 1) Even though I've changed the MacType in the file type dialog box to >> "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file >> that gets created with the Valentina .Create method, its Mactype is still >> Vdsc. > > I remember function > > SetExtentions() > > But I do not remember function in V4RB which allow assign filed types for > MacOS. > > Hmm, how then Valentina developers live ? Aha, I see that exists db.SetCreator() In fact this is enough to assign own icons for MAC 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 chuckbo at hinkles.us Sat May 15 07:30:31 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Sat May 15 07:30:39 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: > On 5/15/04 10:12 AM, "Ruslan Zasukhin" wrote: > >> On 5/15/04 7:48 AM, "chuck hinkle" wrote: >> >>> >>> Keith, >>> by forcing an extension of .gdb, it's working. >>> I ran into two extremely weird items along the way. >>> >>> 1) Even though I've changed the MacType in the file type dialog box to >>> "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file >>> that gets created with the Valentina .Create method, its Mactype is still >>> Vdsc. >> >> I remember function >> >> SetExtentions() >> >> But I do not remember function in V4RB which allow assign filed types for >> MacOS. >> >> Hmm, how then Valentina developers live ? > > Aha, I see that exists db.SetCreator() > > In fact this is enough to assign own icons for MAC app. Hmmmm. How is SetCreator different than mygodb.creator = "Dash" From sunshine at public.kherson.ua Sat May 15 16:52:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 08:52:43 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: On 5/15/04 3:30 PM, "chuck hinkle" wrote: >>>> Keith, >>>> by forcing an extension of .gdb, it's working. >>>> I ran into two extremely weird items along the way. >>>> >>>> 1) Even though I've changed the MacType in the file type dialog box to >>>> "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file >>>> that gets created with the Valentina .Create method, its Mactype is still >>>> Vdsc. >>> >>> I remember function >>> >>> SetExtentions() >>> >>> But I do not remember function in V4RB which allow assign filed types for >>> MacOS. >>> >>> Hmm, how then Valentina developers live ? >> >> Aha, I see that exists db.SetCreator() >> >> In fact this is enough to assign own icons for MAC app. > > > Hmmmm. > How is SetCreator different than > mygodb.creator = "Dash" The same, I have write in terms of C++ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From RyHoRuK at gmx.de Sat May 15 16:05:03 2004 From: RyHoRuK at gmx.de (RyHoRuK) Date: Sat May 15 09:05:31 2004 Subject: Find Max(RecID) Message-ID: Hi, is this the fastest way to find in a table the max(RecID)? SQLString="select RecID FROM Konten WHERE Konto_Typ=1" CurKontoCheck=meineDatenbank.SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random) res=CurKontoCheck.LastRecord MaxRecID=CurKontoCheck.ulongField("RecID").value bye Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From RyHoRuK at gmx.de Sat May 15 16:04:58 2004 From: RyHoRuK at gmx.de (RyHoRuK) Date: Sat May 15 09:05:39 2004 Subject: More Speed in SQL? Message-ID: Hi, I am looking for more speed ;-)) I have to use the following Code after that I can fill a ListBox with the datas in the Table TAnzeige. Filling the ListBox with 2400rwos takes me now 0,8sec BUT the SQL code you can see here (attached) also takes 0,8-1,0sec. Is it in any way possible to speed this up? Thanks for help #if DebugBuild then StartTick=ticks #Endif meineDatenbank.TAnzeige.DeleteAllRecords //ParserArbeiten //Ausgaben SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Ausgabe, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) //Einnahmen SQLString="SELECT B.RecID, B.BDatum, KO.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KO" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Herk_Konto=KO.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Ziel_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Einnahme, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) meineDatenbank.Tanzeige.flush #if DebugBuild then FehlerMeldung("Information", "Datenbank umf?llen Ben?tigte Sekunden: " + CStr((ticks - StartTick)/60)) #Endif Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat May 15 17:13:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 09:13:44 2004 Subject: More Speed in SQL? In-Reply-To: Message-ID: On 5/15/04 5:04 PM, "RyHoRuK" wrote: Try measure each from 4 commands How many records in tables? Cursors? > Hi, > > I am looking for more speed ;-)) > > I have to use the following Code after that I can fill a ListBox with > the datas in the Table TAnzeige. Filling the ListBox with 2400rwos > takes me now 0,8sec BUT the SQL code you can see here (attached) also > takes 0,8-1,0sec. Is it in any way possible to speed this up? > > Thanks for help > > > #if DebugBuild then > StartTick=ticks > #Endif > > meineDatenbank.TAnzeige.DeleteAllRecords > > //ParserArbeiten > //Ausgaben > SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, > K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" > SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" > SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" > SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" > SQLString=SQLString+ " AND B.Deleted='0'" > SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" > > cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, > Kategorie, Ausgabe, Kommentar, Blocked) " > cmd=cmd + SQLString > count=meineDatenbank.SQLExecute(cmd) > > //Einnahmen > SQLString="SELECT B.RecID, B.BDatum, KO.Konto_Name, > K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" > SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KO" > SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" > SQLString=SQLString+ " AND B.Herk_Konto=KO.RecID" > SQLString=SQLString+ " AND B.Deleted='0'" > SQLString=SQLString+ " AND B.Ziel_Konto='"+cstr(AktuellesKonto)+"'" > > cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, > Kategorie, Einnahme, Kommentar, Blocked) " > cmd=cmd + SQLString > count=meineDatenbank.SQLExecute(cmd) > > meineDatenbank.Tanzeige.flush > #if DebugBuild then > FehlerMeldung("Information", "Datenbank umf?llen Ben?tigte > Sekunden: " + CStr((ticks - StartTick)/60)) > #Endif > > > Claudius -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat May 15 17:16:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 09:16:48 2004 Subject: Find Max(RecID) In-Reply-To: Message-ID: On 5/15/04 5:05 PM, "RyHoRuK" wrote: > Hi, > > is this the fastest way to find in a table the max(RecID)? > > SQLString="select RecID FROM Konten WHERE Konto_Typ=1" > CurKontoCheck=meineDatenbank.SQLselect(SQLString, kV_Server, > kV_NoLocks, kV_Random) > res=CurKontoCheck.LastRecord > MaxRecID=CurKontoCheck.ulongField("RecID").value I think no. taking into account that last LOGICAL record in Valentina table Always is last PHYSICAL you can try do next BaseObject.LastRecord macRecID = BaseObject.RecID But this is for LOCAL dbs only. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From RyHoRuK at gmx.de Sat May 15 16:37:24 2004 From: RyHoRuK at gmx.de (RyHoRuK) Date: Sat May 15 09:37:33 2004 Subject: More Speed in SQL? In-Reply-To: References: Message-ID: <619ED6C4-A67D-11D8-AA47-00039365848C@gmx.de> Hi, Am 15. Mai 2004 um 16:13 Uhr schrieb Ruslan Zasukhin: > On 5/15/04 5:04 PM, "RyHoRuK" wrote: > > Try measure each from 4 commands meineDatenbank.TAnzeige.DeleteAllRecords --> 0,05sec First SQLString-Building with InserINTO --> 0,5-0,7sec Second SQLString-Building with InserINTO --> 0,25-0,35sec > How many records in tables? > Cursors? Table.Buchungen = 7000 Table.Kategorien = 100 Table.Konten = 20 my question is, can I optimize the process. Using other SQL or Better InsertINTO. As I am right you told me, that I can't use One SQL-Statement to geht the result. Thats the reason why I use a Table where I generate a new Cursor after filling this table by this InsertINTO-Statements. bye Claudius >> Thanks for help >> >> >> #if DebugBuild then >> StartTick=ticks >> #Endif >> >> meineDatenbank.TAnzeige.DeleteAllRecords >> >> //ParserArbeiten >> //Ausgaben >> SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, >> K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" >> SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" >> SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" >> SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" >> SQLString=SQLString+ " AND B.Deleted='0'" >> SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" >> >> cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, >> Kategorie, Ausgabe, Kommentar, Blocked) " >> cmd=cmd + SQLString >> count=meineDatenbank.SQLExecute(cmd) >> >> //Einnahmen >> SQLString="SELECT B.RecID, B.BDatum, KO.Konto_Name, >> K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" >> SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KO" >> SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" >> SQLString=SQLString+ " AND B.Herk_Konto=KO.RecID" >> SQLString=SQLString+ " AND B.Deleted='0'" >> SQLString=SQLString+ " AND B.Ziel_Konto='"+cstr(AktuellesKonto)+"'" >> >> cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, >> Kategorie, Einnahme, Kommentar, Blocked) " >> cmd=cmd + SQLString >> count=meineDatenbank.SQLExecute(cmd) >> >> meineDatenbank.Tanzeige.flush >> #if DebugBuild then >> FehlerMeldung("Information", "Datenbank umf?llen Ben?tigte >> Sekunden: " + CStr((ticks - StartTick)/60)) >> #Endif >> >> >> Claudius > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat May 15 18:02:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 10:02:52 2004 Subject: More Speed in SQL? In-Reply-To: <619ED6C4-A67D-11D8-AA47-00039365848C@gmx.de> Message-ID: On 5/15/04 5:37 PM, "RyHoRuK" wrote: >> Try measure each from 4 commands > > meineDatenbank.TAnzeige.DeleteAllRecords > --> 0,05sec > > First SQLString-Building with InserINTO > --> 0,5-0,7sec > > Second SQLString-Building with InserINTO > --> 0,25-0,35sec > > >> How many records in tables? >> Cursors? > > Table.Buchungen = 7000 > Table.Kategorien = 100 > Table.Konten = 20 > > my question is, can I optimize the process. Using other SQL or Better > InsertINTO. As I am right you told me, that I can't use One > SQL-Statement to geht the result. Thats the reason why I use a Table > where I generate a new Cursor after filling this table by this > InsertINTO-Statements. So I see, that you do select as join on few tables. Then you do INSERT of all that selected records into tmp table? How many records are selected? I.e. later copied? What cache size you have? Try 8-15-20MB >>> #if DebugBuild then >>> StartTick=ticks >>> #Endif >>> >>> meineDatenbank.TAnzeige.DeleteAllRecords >>> >>> //ParserArbeiten >>> //Ausgaben >>> SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, >>> K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" >>> SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" >>> SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" >>> SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" >>> SQLString=SQLString+ " AND B.Deleted='0'" >>> SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" >>> >>> cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, >>> Kategorie, Ausgabe, Kommentar, Blocked) " >>> cmd=cmd + SQLString >>> count=meineDatenbank.SQLExecute(cmd) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From RyHoRuK at gmx.de Sat May 15 17:39:56 2004 From: RyHoRuK at gmx.de (RyHoRuK) Date: Sat May 15 10:40:05 2004 Subject: More Speed in SQL? In-Reply-To: References: Message-ID: <1DCFCEC7-A686-11D8-AA47-00039365848C@gmx.de> Am 15. Mai 2004 um 17:02 Uhr schrieb Ruslan Zasukhin: > On 5/15/04 5:37 PM, "RyHoRuK" wrote: > >>> Try measure each from 4 commands >> >> meineDatenbank.TAnzeige.DeleteAllRecords >> --> 0,05sec >> >> First SQLString-Building with InserINTO >> --> 0,5-0,7sec >> >> Second SQLString-Building with InserINTO >> --> 0,25-0,35sec >> >> >>> How many records in tables? >>> Cursors? >> >> Table.Buchungen = 7000 >> Table.Kategorien = 100 >> Table.Konten = 20 >> >> my question is, can I optimize the process. Using other SQL or Better >> InsertINTO. As I am right you told me, that I can't use One >> SQL-Statement to geht the result. Thats the reason why I use a Table >> where I generate a new Cursor after filling this table by this >> InsertINTO-Statements. > > So I see, that you do select as join on few tables. > Then you do INSERT of all that selected records into tmp table? > > How many records are selected? I.e. later copied? close to 3000, but at the moment I can't say on what InsertINTO I have much more. I believe this is not important, because this could change all the time. > What cache size you have? Try 8-15-20MB Err=ValentinaInit(1*1024*1024,VC,"") Err=ValentinaInit(5*1024*1024,VC,"") meineDatenbank.TAnzeige.DeleteAllRecords --> 0,05sec First SQLString-Building with InserINTO --> 0,4-0,5sec Second SQLString-Building with InserINTO --> 0,2-0,3sec Err=ValentinaInit(10*1024*1024,VC,"") meineDatenbank.TAnzeige.DeleteAllRecords --> 0,05sec First SQLString-Building with InserINTO --> 0,2-0,3sec Second SQLString-Building with InserINTO --> 0,02-0,08sec *hmm* it seems that this will help. I am not sure why my actual setting is 1MB. Thanks for help Claudius -- G4/733 QS / MacOS X 10.3.3de / RB 5.2.4de or 5.5.1de/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From delong at redcort.com Sat May 15 09:32:07 2004 From: delong at redcort.com (Keith DeLong) Date: Sat May 15 11:32:17 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: >> by forcing an extension of .gdb, it's working. >> I ran into two extremely weird items along the way. >> >> 1) Even though I've changed the MacType in the file type dialog box to >> "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file >> that gets created with the Valentina .Create method, its Mactype is still >> Vdsc. > > I remember function > > SetExtentions() > > But I do not remember function in V4RB which allow assign filed types for > MacOS. > > Hmm, how then Valentina developers live ? I've never been able to change the file type for my V4RB files. I live with just changing the extensions and the creator. It is sufficient, if not perfect. Keith From jda at his.com Sat May 15 12:46:14 2004 From: jda at his.com (jda) Date: Sat May 15 11:46:20 2004 Subject: How to put icons on other files (still problem) In-Reply-To: References: Message-ID: > >I've never been able to change the file type for my V4RB files. I live with >just changing the extensions and the creator. It is sufficient, if not >perfect. > You shouldn't live with it. Here's how I do it: //f = a folderItem, which will be my database if f <> nil then tempDataBase = new MyDataBase tempDataBase.Creator = "MYCR" // make creator result = tempDataBase.Create(f, 1, 2 * 1024 ) f.MacType = "MYFT" //set file type ... end if Jon From yeomans at desuetude.com Sat May 15 13:51:55 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat May 15 12:51:24 2004 Subject: Find Max(RecID) In-Reply-To: References: Message-ID: <8E0F5810-A698-11D8-9E3F-003065BB0634@desuetude.com> On May 15, 2004, at 10:16 AM, Ruslan Zasukhin wrote: > On 5/15/04 5:05 PM, "RyHoRuK" wrote: > >> Hi, >> >> is this the fastest way to find in a table the max(RecID)? >> >> SQLString="select RecID FROM Konten WHERE Konto_Typ=1" >> CurKontoCheck=meineDatenbank.SQLselect(SQLString, kV_Server, >> kV_NoLocks, kV_Random) >> res=CurKontoCheck.LastRecord >> MaxRecID=CurKontoCheck.ulongField("RecID").value > > I think no. And I can tell you that "SELECT Mac(recID) FROM SomeTable" isn't either; the result is a crash. Charles Yeomans Thread 0 Crashed: 0 Plugin 0x00772f00 GoToRecord__15OBL_JoinSet_RamFUl + 0x10 1 Plugin 0x0076f9a8 LoadField__24OBL_CursorTable_IndirectFP13FBL_BaseFieldUl + 0x78 2 Plugin 0x007694d4 BuildSingleRecord__19OBL_CursorTable_TmpFP10OBL_ParserR24OBL_CursorTable _Indirect + 0x4d4 3 Plugin 0x00768688 BuildRecords__19OBL_CursorTable_TmpFP10OBL_ParserR24OBL_CursorTable_Indi rect + 0x98 4 Plugin 0x007679e0 BuildMultiplicationTable__19OBL_CursorTable_TmpFP10OBL_Parser + 0x70 5 Plugin 0x00767540 BuildTable__19OBL_CursorTable_TmpFP10OBL_Parser + 0x30 6 Plugin 0x006ebc80 BuildCursorTable__10OBL_CursorFv + 0x30 7 Plugin 0x006eb224 Execute__10OBL_CursorFv + 0x64 8 Plugin 0x006ec758 ExecuteSql_WithNoUnion__10VDK_CursorFPCc + 0x48 9 Plugin 0x006ec6c4 ExecuteSQL__10VDK_CursorFPCc + 0x24 10 Plugin 0x006dbfd8 SqlSelect__12VDK_DataBaseFPCc15ECursorLocation9ELockType16ECursorDirecti on + 0x68 11 Plugin 0x006447c8 DataBase_SqlSelect_aux__FP16REALobjectStructP16REALstringStructiii + 0xa8 12 Plugin 0x0064453c DataBase_SqlSelect__FP16REALobjectStructP16REALstringStruct + 0x1c 13 main 0x000e3a04 0xb0000 + 0x33a04 14 0x00456504 0x405000 + 0x51504 15 0x004fb118 0x405000 + 0xf6118 16 0x0049ca64 0x405000 + 0x97a64 17 0x004ca000 0x405000 + 0xc5000 18 0x004ca5ec 0x405000 + 0xc55ec 19 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + 0x150 From sunshine at public.kherson.ua Sat May 15 21:11:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 15 13:11:52 2004 Subject: More Speed in SQL? In-Reply-To: <1DCFCEC7-A686-11D8-AA47-00039365848C@gmx.de> Message-ID: On 5/15/04 6:39 PM, "RyHoRuK" wrote: >> What cache size you have? Try 8-15-20MB > > Err=ValentinaInit(1*1024*1024,VC,"") > > > Err=ValentinaInit(5*1024*1024,VC,"") > meineDatenbank.TAnzeige.DeleteAllRecords > --> 0,05sec > > First SQLString-Building with InserINTO > --> 0,4-0,5sec > > Second SQLString-Building with InserINTO > --> 0,2-0,3sec > > > Err=ValentinaInit(10*1024*1024,VC,"") > meineDatenbank.TAnzeige.DeleteAllRecords > --> 0,05sec > > First SQLString-Building with InserINTO > --> 0,2-0,3sec > > Second SQLString-Building with InserINTO > --> 0,02-0,08sec > > *hmm* it seems that this will help. I am not sure why my actual setting > is 1MB. > > Thanks for help 1MB This is the minimal possible. 8-20MB is the best choice for Valentina 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 delong at redcort.com Sat May 15 21:01:47 2004 From: delong at redcort.com (Keith DeLong) Date: Sat May 15 23:02:02 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: It's always a bit unsettling to realize I overlooked a simple feature in something I spend so much time with. Sort of like suddenly noticing your wife has blue eyes after 20 years of marriage ;-) Thanks for the tip Jon! Keith >> I've never been able to change the file type for my V4RB files. I live with >> just changing the extensions and the creator. It is sufficient, if not >> perfect. >> > > You shouldn't live with it. Here's how I do it: > > //f = a folderItem, which will be my database > if f <> nil then > > tempDataBase = new MyDataBase > tempDataBase.Creator = "MYCR" // make creator > > result = tempDataBase.Create(f, 1, 2 * 1024 ) > > f.MacType = "MYFT" //set file type > ... > end if > > Jon > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From chuckbo at hinkles.us Sat May 15 23:50:12 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Sat May 15 23:50:25 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: Jon, thanks for the help. Now I see where I went wrong with the Type -- I was setting it before the Create command. You make me think that Valentina's Create must always override the type with Vdsc. >> I've never been able to change the file type for my V4RB files. I live with >> just changing the extensions and the creator. It is sufficient, if not >> perfect. >> > > You shouldn't live with it. Here's how I do it: > > //f = a folderItem, which will be my database > if f <> nil then > > tempDataBase = new MyDataBase > tempDataBase.Creator = "MYCR" // make creator > > result = tempDataBase.Create(f, 1, 2 * 1024 ) > > f.MacType = "MYFT" //set file type > ... > end if > > Jon From sunshine at public.kherson.ua Sun May 16 10:32:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 16 02:32:53 2004 Subject: How to put icons on other files (still problem) In-Reply-To: Message-ID: On 5/16/04 7:50 AM, "chuck hinkle" wrote: > Jon, > thanks for the help. Now I see where I went wrong with the Type -- I was > setting it before the Create command. You make me think that Valentina's > Create must always override the type with Vdsc. Looks to be. V4RB get only path from folder item. May be there is sense add extraction of mac type if this is possible. >>> I've never been able to change the file type for my V4RB files. I live with >>> just changing the extensions and the creator. It is sufficient, if not >>> perfect. >>> >> >> You shouldn't live with it. Here's how I do it: >> >> //f = a folderItem, which will be my database >> if f <> nil then >> >> tempDataBase = new MyDataBase >> tempDataBase.Creator = "MYCR" // make creator >> >> result = tempDataBase.Create(f, 1, 2 * 1024 ) >> >> f.MacType = "MYFT" //set file type >> ... >> end if >> >> Jon -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Sun May 16 14:17:06 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 16 07:17:17 2004 Subject: Test Message-ID: Test From sunshine at public.kherson.ua Sun May 16 20:42:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 16 12:43:05 2004 Subject: In-Reply-To: Message-ID: On 5/16/04 8:32 PM, "Carlos Hdo. Cer?n Meza" wrote: Hi Carlos, > Hi...I'm trying to insert a picture within my valentina database...the type > of the field is kTypePicture and I'm using ODBC_Valentina convertor because mi > original database is in Micorsoft Access. In the access database I have the > picture stored in a ole object type, but when I insert the data, the field in > the valentina database appears "null". Can you explain me how do I have to do > for this run? Frankly saying not remember if ODBC utility work with Picthure. Anybody have use for this ODBC utility ? > Another thing: what is the parameter > 1400 that I found when I create the field kTypePicture? p.e. > set fldRef = addField(gDB, res, "cas_foto1", #kTypePicture, 1400) This is segment size. You can read about it in BLOB field description. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jules.jacquot at wanadoo.fr Sun May 16 20:25:21 2004 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun May 16 13:25:26 2004 Subject: OFF Message-ID: <640FC389-A766-11D8-BA5B-000A95DEA64E@wanadoo.fr> Ukraine has won Eurovision songs contest. are you happy ? next year, maybe that you will introduce Eurovision songs contest on the podium in Ukraine ? :-)) best jules _____________________________________ L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me From sunshine at public.kherson.ua Sun May 16 23:36:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 16 15:36:48 2004 Subject: OFF In-Reply-To: <640FC389-A766-11D8-BA5B-000A95DEA64E@wanadoo.fr> Message-ID: On 5/16/04 9:25 PM, "Jules Jacquot" wrote: > Ukraine has won Eurovision songs contest. > > are you happy ? Yes, I am glad for Ruslana. > next year, maybe that you will introduce Eurovision songs contest on > the podium in Ukraine ? :-)) No way. :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun May 16 23:39:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 16 15:39:55 2004 Subject: OFF In-Reply-To: <640FC389-A766-11D8-BA5B-000A95DEA64E@wanadoo.fr> Message-ID: On 5/16/04 9:25 PM, "Jules Jacquot" wrote: > Ukraine has won Eurovision songs contest. > > are you happy ? Although much more I was happy when Vitaliy Klitchko have become champion. And I hope that will be found the truth why Vladimir Klitchko (younger brother) have loose his fight in so strange way. Exists believe that he was poised just before fight. > next year, maybe that you will introduce Eurovision songs contest on > the podium in Ukraine ? :-)) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Sun May 16 23:47:58 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Sun May 16 16:48:08 2004 Subject: OFF In-Reply-To: Message-ID: at 16.05.2004 22:39 Uhr, Ruslan Zasukhin wrote: > Although much more I was happy when Vitaliy Klitchko have become champion. Ha! He lives 200m from me... but I never got a beer after a fight :-) -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com ------------------------------------ ..... CURRENTLY FREE FOR JOBS ..... ------------------------------------ Verkaufe: From vidal_olivier at yahoo.fr Mon May 17 09:37:39 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon May 17 02:32:52 2004 Subject: V4RB 1.10 Beginner's question In-Reply-To: References: Message-ID: <12F93C6D-A7D5-11D8-AFCE-00039310B7DA@yahoo.fr> Thank you very much Ruslan, I redid completely my base and that works well now. olivier Le 13 mai 04, ? 17:55, Ruslan Zasukhin a ?crit : >>> Really complex. >>> >>> Why you not use simply >>> >>> Table ITEM >>> >>> Price >>> ptr1 >>> ptr2 >>> >>> And split YOUR record into 16 small records? > > You will need some helper column of course. From vidal_olivier at yahoo.fr Mon May 17 10:10:33 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon May 17 03:05:56 2004 Subject: V4RB Valentina 1 -> valentina 2 ? Message-ID: Hello, I am novice in data bases. I begin just to study Valentina 1 (V4RB 1.10 realbasic 5.5) I began a project with Valentina 1. According to you, which is the best solution: - I makes my project at once with Valentina 2 to have no problems of compatibility later, even if there is still bugs in beta Valentina 2 ? - I waits that Valentina 2 is more stable and ended. But in that case it will be necessary that I change my code to adapt Valentina 2 to my project ? - Valentina 2 is he an evolution of Valentina 1 or it is a completely different product (for a usage or a different purpose)? - What are the differences among Valentina 1 and 2? Thank you very much Olivier From vidal_olivier at yahoo.fr Mon May 17 11:15:28 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon May 17 04:10:50 2004 Subject: V4RB V.1 -> V.2 ? Security in valentina In-Reply-To: References: Message-ID: > Although V4RB 2.0 must introduce exceptions, It is true that a exceptions handling would be good ! In realbasic, one can manage the exceptions and avoid the crash but in realbasic / Valentina, if there is an exception in Valentina, it is the crash. Not good. Generally, by beginning to study sql, I realized that the commands of security were missing in Valentina: commit/rollback and journaling. That seems to be a problem. My customers often have electric breakdowns. The journaling-commit-rollback group seems to be very effective. How do you make without these functions ? Only backups ? These commands are really effective ? > - unicode support - auto-conversion of strings. great ! > Although V4RB 2.0 must introduce exceptions, > This feature changes style of coding. Now I know that a exceptions handling is included in Valentina 2, I am very tried to begin again my project with Valentina 2! The security is important in my project. Please , think you that it is necessary all the same that I wait that Valentina 2 is more stable? According to you, how long it will set? Thank you olivier Ps: also ' HAVING ' seems also important for the requests. It is not the problem that there is this command in Valentina? Le 17 mai 04, ? 10:11, Ruslan Zasukhin a ?crit : > It is revolutionary evolution :-) > > So I think you can start with Valentina 1.x. > Old code must work in most cases. > > Although V4RB 2.0 must introduce exceptions, > This feature changes style of coding. > > In Valentina engine 2.0 main features: > > - new SQL parser and engine > so you will have more SQL commands > - unicode support > ... > > > In V4RB main changes -- exceptions. > auto-conversion of strings. > > Keep eye on this list. From sunshine at public.kherson.ua Mon May 17 12:43:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 17 04:52:57 2004 Subject: V4RB V.1 -> V.2 ? Security in valentina In-Reply-To: Message-ID: On 5/17/04 12:15 PM, "olivier" wrote: >> Although V4RB 2.0 must introduce exceptions, > > It is true that a exceptions handling would be good ! > In realbasic, one can manage the exceptions and avoid the crash but in > realbasic / Valentina, if there is an exception in Valentina, it is the > crash. Not good. > > Generally, by beginning to study sql, I realized that the commands of > security were missing in Valentina: commit/rollback and journaling. > > That seems to be a problem. For now hundreds developers live with this and no big problems. MySQL have live without transactions 20 years. > My customers often have electric breakdowns. The > journaling-commit-rollback group seems to be very effective. How do you > make without these functions ? Only backups ? You should do flush after each modification. After flush() any crash is not scary. You can consider flush as commit() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Mon May 17 12:27:02 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon May 17 12:21:47 2004 Subject: OR in WHERE In-Reply-To: Message-ID: I think that I've read that this is broken, but I'm just not smart enough to think of another way to write this sql statement. Perhaps with a little help I'll catch on. I have two tables 'questions' and 'infos'. questions.infoId and questions.introId can either be related to infos.iId I want to find all the info that correspond to either an infoId OR an introId in questions -- looking for JUST the infoId's, works just fine: sql = "SELECT iId FROM infos, questions WHERE questions.infoId = infos.iId" put dbQuery(sql) -- [[#iID: 98], [#iID: 101], [#iID: 94], [#iID: 73], [#iID: 74], [#iID: 75], [#iID: 76], [#iID: 77], [#iID: 78], [#iID: 79], [#iID: 80], [#iID: 81], [#iID: 82], [#iID: 83], [#iID: 84], [#iID: 85], [#iID: 86], [#iID: 87], [#iID: 88], [#iID: 89], [#iID: 90], [#iID: 91], [#iID: 92]] -- looking for JUST the introId's, works just fine: sql = "SELECT iId FROM infos, questions WHERE questions.introId = infos.iId" put dbQuery(sql) -- [[#iID: 96], [#iID: 99], [#iID: 93]] BUT, now I need to combine the two, and I get no result: sql = "SELECT iId FROM infos, questions WHERE (questions.infoId = infos.iId) OR (questions.introId = infos.iId)" put dbQuery(sql) -- [] From sunshine at public.kherson.ua Tue May 18 00:54:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 17 16:54:22 2004 Subject: ImportASCII is causing indexing issues - reproducible on certain machines - sample code attached In-Reply-To: Message-ID: On 5/18/04 12:39 AM, "Srinivas Yalamarti" wrote: > Hi > > We are using C++ SDK 1.9.7 in Win32 env. > > We have a strange problem with importing ASCII data into an existing > valentina database. > > When we do a 'reindex' on a table before importing the data into the table, > the > reindex SQL works fine. > > But after we import some ASCII data into the table, the 'reindex' SQL fails. > And the SQL selects subsequently fail within the application. SQL Selects > from the ViSQL work ok though. > > Also, on a new empty database, we don't have any problems either. I think you have next problem: -- you have at least one UNIQUE index -- you import file which contains DUPLICATES -- during import Valentina may ignore checks -- so after that when it try build index it fail. If this is a case, you should correct your import file. > We are suspecting that it has something to do with either the database we have > or the way the ASCII data is getting imported. > > I am attaching the sample code along with the 'ascii data file' as well as > our sample database that is causing the problems. > > In the sample code, When you call functions OnButtonStep1() and > OnButtonStep2() > in that order, the > pfsdDatabase->SqlExecute("reindex table pop_detail_temp"); > call in the OnButtonStep2() throws an undefined exception. > > And another interesting thing is that we see this problem only on one > particular > machine. We can reproduce the problem using the sample code only on that > machine. This machine has Win XP, with 2GIG (yes GIG) memory and > about 17GB free disk space. > > All other machines having Win XP and Win 200 and that have lesser memory > and hard disk space - it works fine though. > > Any help will ge greatly appreciated. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 17 18:10:17 2004 From: keith.ulrich at verizon.net (Keith Ulrich) Date: Mon May 17 17:09:57 2004 Subject: [V4MD] Query works in ViSQL, but not in Director Message-ID: <5.1.1.6.0.20040517181006.04ef79f0@incoming.verizon.net> I'm using V4MD version 1.9.6.0 with Director MX on Windows 2000. I'm also using ViSQL Win32 1.1a22. This query works fine in ViSQL: SELECT lastName, firstName, middleName, examScore, examDate, configDate, release FROM Units, UnitEnrollment, Configurations, ExamScores, Students WHERE UnitEnrollment.unitID = Units.unitID AND Configurations.unitID = Units.unitID AND Configurations.configID = ExamScores.configID AND ExamScores.studentID = Students.studentID AND Students.studentID = UnitEnrollment.studentID AND Units.unitID = '7919799' ORDER BY configDate, examDate But I can't get a cursor with the same query in Director. I tried to isolate the trouble spot by making the query progressively more complicated, and for some reason it always works until I add the UnitEnrollment table. But like I said, ViSQL handles the query fine. Any idea what I'm doing wrong? Thanks. Keith Ulrich From sunshine at public.kherson.ua Tue May 18 01:15:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 17 17:15:15 2004 Subject: [V4MD] Query works in ViSQL, but not in Director In-Reply-To: <5.1.1.6.0.20040517181006.04ef79f0@incoming.verizon.net> Message-ID: On 5/18/04 1:10 AM, "Keith Ulrich" wrote: Hi Keith, > I'm using V4MD version 1.9.6.0 with Director MX on Windows 2000. I'm also > using ViSQL Win32 1.1a22. > > This query works fine in ViSQL: > > SELECT lastName, firstName, middleName, examScore, examDate, configDate, > release > FROM Units, UnitEnrollment, Configurations, ExamScores, Students > WHERE UnitEnrollment.unitID = Units.unitID AND > Configurations.unitID = Units.unitID AND > Configurations.configID = ExamScores.configID AND > ExamScores.studentID = Students.studentID AND > Students.studentID = UnitEnrollment.studentID AND > Units.unitID = '7919799' > ORDER BY configDate, examDate > > But I can't get a cursor with the same query in Director. I tried to > isolate the trouble spot by making the query progressively more > complicated, and for some reason it always works until I add the > UnitEnrollment table. But like I said, ViSQL handles the query fine. > > Any idea what I'm doing wrong? The first idea which come to mind: -- do you use LATEST viSQL utility ? i.e. Based on Valentina 1.10 engine? Then note that V4MD that you use is 1.9.6. This is very old version. May be it have had bug. So in the first tune it will be great if you upgrade to 1.10 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Mon May 17 22:12:31 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon May 17 22:07:13 2004 Subject: No Gas Day Message-ID: DON'T BUY GAS ON WED. MAY 19!!! IT HAS BEEN CALCULATED THAT IF EVERYONE IN THE UNITED STATES DID NOT PURCHASE A DROP OF GASOLINE FOR ONE DAY AND ALL AT THE SAME TIME, THE OIL COMPANIES WOULD CHOKE ON THEIR STOCKPILES. AT THE SAME TIME IT WOULD HIT THE ENTIRE INDUSTRY WITH A NET LOSS OF OVER 4.6 BILLION DOLLARS WHICH AFFECTS THE BOTTOM LINES OF THE OIL COMPANIES. THEREFORE MAY 19TH HAS BEEN FORMALLY DECLARED "STICK IT TO THEM" DAY AND THE PEOPLE OF THIS NATION SHOULD NOT BUY A SINGLE DROP OF GASOLINE THAT DAY. THE ONLY WAY THIS CAN BE DONE IS IF YOU FORWARD THIS E-MAIL TO AS MANY PEOPLE AS YOU CAN AND AS QUICKLY AS YOU CAN TO GET THE WORD OUT. WAITING ON THIS ADMIINSTRATION TO STEP IN AND CONTROL THE PRICES IS NOT GOING TO HAPPEN. WHAT HAPPENED TO THE REDUCTION AND CONTROL IN PRICES THAT THE ARAB NATIONS PROMISED TWO WEEKS AGO? REMEMBER ONE THING, NOT ONLY IS THE PRICE OF GASOLINE GOING UP BUT AT THE SAME TIME AIRLINES ARE FORCED TO RAISE THEIR PRICES, TRUCKING COMPANIES ARE FORCED TO RAISE THEIR PRICES WHICH EFFECTS PRICES ON EVERYTHING THAT IS SHIPPED. THINGS LIKE FOOD, CLOTHING, BUILDING MATERIALS, MEDICAL SUPPLIES ETC. WILL GO UP! WHO PAYS IN THE END? WE DO! WE CAN MAKE A DIFFERENCE. IF THEY DON'T GET THE MESSAGE AFTER ONE DAY, WE WILL DO IT AGAIN AND AGAIN. SO DO YOUR PART AND SPREAD THE WORD. FORWARD THIS EMAIL TO EVERYONE YOU KNOW. MARK YOUR CALENDARS AND MAKE MAY 19TH A DAY THAT THE CITIZENS OF THE UNITED STATES SAY "ENOUGH IS ENOUGH" NO GAS ALL DAY! MAY 19 TRY TO DO THIS PLEASE, GET YOUR GAS THE DAY BEFORE! From gunnarswan at PracticeToPass.com Mon May 17 20:41:18 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Mon May 17 22:40:22 2004 Subject: No Gas Day Message-ID: <200405180333.i4I3XjZ5015122@practicetopass.com> When I visited Germany and Italy, in the 1980's, petrol was over $2.50 per gallon THEN. Americans have it easy !!! They want to drive PIG SUV's that suck gas. ( And I'm Republican !) See the Democrats driving SUV's !!!!! Get a grip. Drive a 4 cylinder car. Is this appropriate for this list? 5/17/04 8:12:31 PM, "Andrew Sinning" wrote: >DON'T BUY GAS ON WED. MAY 19!!! > > >IT HAS BEEN CALCULATED THAT IF EVERYONE IN THE UNITED >STATES DID NOT PURCHASE A DROP OF GASOLINE FOR ONE DAY >AND ALL AT THE SAME TIME, THE >OIL COMPANIES WOULD CHOKE ON THEIR STOCKPILES. >AT THE SAME TIME IT WOULD HIT THE ENTIRE INDUSTRY WITH >A NET LOSS OF OVER 4.6 BILLION DOLLARS WHICH AFFECTS >THE BOTTOM LINES OF THE OIL COMPANIES. >THEREFORE MAY 19TH HAS BEEN FORMALLY DECLARED "STICK >IT TO THEM" DAY AND THE PEOPLE OF THIS NATION SHOULD >NOT BUY A SINGLE DROP OF GASOLINE THAT DAY. >THE ONLY WAY THIS CAN BE DONE IS IF YOU FORWARD THIS >E-MAIL TO AS MANY PEOPLE AS YOU CAN AND AS QUICKLY AS >YOU CAN TO GET THE WORD OUT. >WAITING ON THIS ADMIINSTRATION TO STEP IN AND CONTROL >THE PRICES IS NOT GOING TO HAPPEN. WHAT HAPPENED TO >THE REDUCTION AND CONTROL IN PRICES THAT THE ARAB >NATIONS PROMISED TWO WEEKS AGO? >REMEMBER ONE THING, NOT ONLY IS THE PRICE OF GASOLINE >GOING UP BUT AT THE SAME TIME AIRLINES ARE FORCED TO >RAISE THEIR PRICES, TRUCKING COMPANIES ARE >FORCED TO RAISE THEIR PRICES WHICH EFFECTS PRICES ON >EVERYTHING THAT IS SHIPPED. THINGS LIKE FOOD, >CLOTHING, BUILDING MATERIALS, MEDICAL SUPPLIES >ETC. WILL GO UP! WHO PAYS IN THE END? WE DO! >WE CAN MAKE A DIFFERENCE. IF THEY DON'T GET THE >MESSAGE AFTER ONE DAY, WE WILL DO IT AGAIN AND AGAIN. >SO DO YOUR PART AND SPREAD THE WORD. FORWARD THIS >EMAIL TO EVERYONE YOU KNOW. MARK YOUR CALENDARS AND >MAKE MAY 19TH A DAY THAT THE CITIZENS OF THE >UNITED STATES SAY "ENOUGH IS ENOUGH" NO GAS ALL DAY! >MAY 19 > >TRY TO DO THIS PLEASE, GET YOUR GAS THE DAY >BEFORE! > > > > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From zavpublic at mac.com Mon May 17 21:19:22 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Mon May 17 23:19:34 2004 Subject: No Gas Day In-Reply-To: References: Message-ID: <8A14C4BC-A882-11D8-8DF5-000393CFECE6@mac.com> Someone paid their caps lock bill this month. On May 17, 2004, at 8:12 PM, Andrew Sinning wrote: > DON'T BUY GAS ON WED. MAY 19!!! > > > IT HAS BEEN CALCULATED THAT IF EVERYONE IN THE UNITED > STATES DID NOT PURCHASE A DROP OF GASOLINE FOR ONE DAY > AND ALL AT THE SAME TIME, THE > OIL COMPANIES WOULD CHOKE ON THEIR STOCKPILES. > AT THE SAME TIME IT WOULD HIT THE ENTIRE INDUSTRY WITH > A NET LOSS OF OVER 4.6 BILLION DOLLARS WHICH AFFECTS > THE BOTTOM LINES OF THE OIL COMPANIES. > THEREFORE MAY 19TH HAS BEEN FORMALLY DECLARED "STICK > IT TO THEM" DAY AND THE PEOPLE OF THIS NATION SHOULD > NOT BUY A SINGLE DROP OF GASOLINE THAT DAY. > THE ONLY WAY THIS CAN BE DONE IS IF YOU FORWARD THIS > E-MAIL TO AS MANY PEOPLE AS YOU CAN AND AS QUICKLY AS > YOU CAN TO GET THE WORD OUT. > WAITING ON THIS ADMIINSTRATION TO STEP IN AND CONTROL > THE PRICES IS NOT GOING TO HAPPEN. WHAT HAPPENED TO > THE REDUCTION AND CONTROL IN PRICES THAT THE ARAB > NATIONS PROMISED TWO WEEKS AGO? > REMEMBER ONE THING, NOT ONLY IS THE PRICE OF GASOLINE > GOING UP BUT AT THE SAME TIME AIRLINES ARE FORCED TO > RAISE THEIR PRICES, TRUCKING COMPANIES ARE > FORCED TO RAISE THEIR PRICES WHICH EFFECTS PRICES ON > EVERYTHING THAT IS SHIPPED. THINGS LIKE FOOD, > CLOTHING, BUILDING MATERIALS, MEDICAL SUPPLIES > ETC. WILL GO UP! WHO PAYS IN THE END? WE DO! > WE CAN MAKE A DIFFERENCE. IF THEY DON'T GET THE > MESSAGE AFTER ONE DAY, WE WILL DO IT AGAIN AND AGAIN. > SO DO YOUR PART AND SPREAD THE WORD. FORWARD THIS > EMAIL TO EVERYONE YOU KNOW. MARK YOUR CALENDARS AND > MAKE MAY 19TH A DAY THAT THE CITIZENS OF THE > UNITED STATES SAY "ENOUGH IS ENOUGH" NO GAS ALL DAY! > MAY 19 > > TRY TO DO THIS PLEASE, GET YOUR GAS THE DAY > BEFORE! > > > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > - Zav What's another 50 billion? From zavpublic at mac.com Mon May 17 21:25:37 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Mon May 17 23:25:48 2004 Subject: Off topic Re: No Gas Day In-Reply-To: <200405180333.i4I3XjZ5015122@practicetopass.com> References: <200405180333.i4I3XjZ5015122@practicetopass.com> Message-ID: <69AE02D5-A883-11D8-8DF5-000393CFECE6@mac.com> On May 17, 2004, at 8:41 PM, Gunnar Swan wrote: > > When I visited Germany and Italy, in the 1980's, petrol was over $2.50 > per gallon THEN. > Americans have it easy !!! > > They want to drive PIG SUV's that suck gas. ( And I'm Republican !) > > See the Democrats driving SUV's !!!!! > > Get a grip. Drive a 4 cylinder car. > > Is this appropriate for this list? Crazy conservationist republicans. Brrr, it's cold down here in hell. EEEEnyway, A friend of mine has a TDI Jetta. Got 46 MPG on the highway driving from LA to Chicago. It is reported that the hybrids don't do nary as well as their advertised numbers. We in the US have seen our future. It's not in software, it's in less expensive transportation. Pardon me while I result lurking. - Zav What's another 50 billion? From sunshine at public.kherson.ua Tue May 18 10:21:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 18 02:33:37 2004 Subject: Catching Valentina exceptions Mac OS X In-Reply-To: <20E81FA1A1DD404F87AC7DE3E01E28A5010C5A0E@mlts1.lt.admin.ch> Message-ID: On 5/18/04 10:13 AM, "Pascal.Brandt@swisstopo.ch" wrote: Hi Pascal, > 1. Catching Valentina exceptions works fine on Windows (C++ SDK 1.10, Visual > C++ 6.0) but I can't bring it to work correctly on Mac OS X (10.3.3, C++ SDK > 1.10, CW 8.3). > > Code snippet used on both platform: > > try > { > // Make sure we catch the exception if opening fails > m_pMapDB->OpenDataBase(pszMap); > } > catch (xFBL_Exception e) > { > // handle exception > catch (xFBL_Exception e) ^^^^^^^^^^^^^^^^^^^^^^^^^ what is this an why ? > sprintf( buf, "Map database access error: %d", e.GetErrorCode()); > ... > } > > If the encryption key is wrong, the exception is caught on Windows (returns > Valentina error number 326: kFBL_WrongEncryptionKey) like I want and I am > happy :-). But on Mac OS X it crashes on "OpenDataBase()" -(. > > Have you an idea, a tip on what's could be problematic? You try open encrypted db with no key ? So problem only with THIS kind of exception/error? All rest exceptions works? > 2. When can I release allocated memory for the encryption key? You should not, it use smart ptr. > m_pStructureEncryption=new FBL_EncryptionKey((uchar*)"mypassword",(ulong)10); > > Trying to release it with "delete pMap->m_pStructureEncryption" brings to > crash. What's wrong? > > > Thank you in advance for your support, best regards This is my code from Valentina for REALBasic void DataBase_SetEncryption( REALobject instance, REALstring inKey ) { V4RB_FUNC_START( "DataBase_SetEncryption" ); gVRB_Error = 0; ClassData( DataBaseClass, instance, DataBaseData, data ); if( data->mDataBase ) { try { FBL_EncryptionKeyCPtr key1 = (inKey) ? new FBL_EncryptionKey( (uchar*)inKey->CString(), (ulong)inKey->Length()) : NULL; data->mDataBase->SetEncryption( key1 ); }MY_END_TRY } V4RB_FUNC_DONE; } /*************************************************************************** ******************** FUNCTION : void DataBase_ChangeEncryption( REALobject instance, REALstring inOldKey, REALstring inNewKey ); DESCRIPTION: **************************************************************************** *******************/ void DataBase_ChangeEncryption( REALobject instance, REALstring inOldKey, REALstring inNewKey ) { V4RB_FUNC_START( "DataBase_ChangeEncryption" ); gVRB_Error = 0; ClassData( DataBaseClass, instance, DataBaseData, data ); if( data->mDataBase ) { try { FBL_EncryptionKeyCPtr key1 = (inOldKey) ? new FBL_EncryptionKey( (uchar*)inOldKey->CString(), (ulong)inOldKey->Length()) : NULL; FBL_EncryptionKeyCPtr key2 = (inNewKey) ? new FBL_EncryptionKey( (uchar*)inNewKey->CString(), (ulong)inNewKey->Length()) : NULL; data->mDataBase->ChangeEncryption( key1, key2 ); }MY_END_TRY } V4RB_FUNC_DONE; } /*************************************************************************** ******************** FUNCTION : void DataBase_SetStructureEncryption( REALobject instance, REALstring inKey ); DESCRIPTION: **************************************************************************** *******************/ void DataBase_SetStructureEncryption( REALobject instance, REALstring inKey ) { V4RB_FUNC_START( "DataBase_SetStructureEncryption" ); gVRB_Error = 0; ClassData( DataBaseClass, instance, DataBaseData, data ); if( data->mDataBase ) { try { FBL_EncryptionKeyCPtr key1 = (inKey) ? new FBL_EncryptionKey( (uchar*)inKey->CString(), (ulong)inKey->Length()) : NULL; data->mDataBase->SetStructureEncryption( key1 ); }MY_END_TRY } V4RB_FUNC_DONE; } /*************************************************************************** ******************** FUNCTION : void DataBase_ChangeStructureEncryption( REALobject instance, REALstring inOldKey, REALstring inNewKey ); DESCRIPTION: **************************************************************************** *******************/ void DataBase_ChangeStructureEncryption( REALobject instance, REALstring inOldKey, REALstring inNewKey ) { V4RB_FUNC_START( "DataBase_ChangeStructureEncryption" ); gVRB_Error = 0; ClassData( DataBaseClass, instance, DataBaseData, data ); if( data->mDataBase ) { try { FBL_EncryptionKeyCPtr key1 = (inOldKey) ? new FBL_EncryptionKey( (uchar*)inOldKey->CString(), (ulong)inOldKey->Length()) : NULL; FBL_EncryptionKeyCPtr key2 = (inNewKey) ? new FBL_EncryptionKey( (uchar*)inNewKey->CString(), (ulong)inNewKey->Length()) : NULL; data->mDataBase->ChangeStructureEncryption( key1, key2 ); }MY_END_TRY } V4RB_FUNC_DONE; } -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Tue May 18 09:42:39 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue May 18 02:37:48 2004 Subject: one or several databases ? Message-ID: V4RB 1.10, Realbasic 5.5, Mac OS X 3.3 Hi everybody, I have a project of POS software. Which is the best solution: - The only one database? (Faster?) - Several databases? (More security?) What is the rule for several databases? - all the tables which can have join grouped together in a database? I saw a software which had several databases. I think that they needed nevertheless sometimes cursors on some of these databases simultaneously. It is possible? (join on several databases?) thank you olivier From sunshine at public.kherson.ua Tue May 18 10:51:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 18 03:03:01 2004 Subject: one or several databases ? In-Reply-To: Message-ID: On 5/18/04 10:42 AM, "olivier" wrote: > V4RB 1.10, Realbasic 5.5, Mac OS X 3.3 > > > Hi everybody, > > I have a project of POS software. > Which is the best solution: > - The only one database? (Faster?) > - Several databases? (More security?) No difference in theory if data from few dbs are not dependent > What is the rule for several databases? > - all the tables which can have join grouped together in a database? exactly > I saw a software which had several databases. > I think that they needed nevertheless sometimes cursors on some of > these databases simultaneously. > It is possible? (join on several databases?) In Valentina 1.x no. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Tue May 18 10:20:05 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue May 18 03:15:17 2004 Subject: one or several databases ? In-Reply-To: References: Message-ID: <2B227404-A8A4-11D8-AFCE-00039310B7DA@yahoo.fr> ok. Thank you Ruslan. Le 18 mai 04, ? 09:51, Ruslan Zasukhin a ?crit : >> >> I have a project of POS software. >> Which is the best solution: >> - The only one database? (Faster?) >> - Several databases? (More security?) > > No difference in theory if data from few dbs are not dependent > >> What is the rule for several databases? >> - all the tables which can have join grouped together in a database? > > exactly > >> I saw a software which had several databases. >> I think that they needed nevertheless sometimes cursors on some of >> these databases simultaneously. >> It is possible? (join on several databases?) > > In Valentina 1.x no. From vidal_olivier at yahoo.fr Tue May 18 14:45:45 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue May 18 07:41:01 2004 Subject: ID identifier and valentina RecID Message-ID: <47CAE9F4-A8C9-11D8-AFCE-00039310B7DA@yahoo.fr> Hi, Can one use the column RecID outside joins ? Or is reserved it for Valentina for joins them? In what cases one needs to create a column "ID" in the place of the recid? thank you olivier From sunshine at public.kherson.ua Tue May 18 16:02:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 18 08:02:20 2004 Subject: ID identifier and valentina RecID In-Reply-To: <47CAE9F4-A8C9-11D8-AFCE-00039310B7DA@yahoo.fr> Message-ID: On 5/18/04 3:45 PM, "olivier" wrote: > Hi, > > Can one use the column RecID outside joins ? > Or is reserved it for Valentina for joins them? > > In what cases one needs to create a column "ID" in the place of the > recid? You can always do SELECT RecID, ... Or VULong fld = BaseObject.Field("RecID") So you HAVE access to this field. ------- You need own ID if you want to use Relational model. Then you need own ID and own PTR 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 vidal_olivier at yahoo.fr Tue May 18 15:14:19 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Tue May 18 08:09:27 2004 Subject: ID identifier and valentina RecID In-Reply-To: References: Message-ID: <45B9B286-A8CD-11D8-AFCE-00039310B7DA@yahoo.fr> ok. thank you Ruslan. Le 18 mai 04, ? 15:02, Ruslan Zasukhin a ?crit : > On 5/18/04 3:45 PM, "olivier" wrote: > >> Hi, >> >> Can one use the column RecID outside joins ? >> Or is reserved it for Valentina for joins them? >> >> In what cases one needs to create a column "ID" in the place of the >> recid? > > You can always do > > SELECT RecID, ... > > Or > > VULong fld = BaseObject.Field("RecID") > > So you HAVE access to this field. > > > ------- > You need own ID if you want to use Relational model. > Then you need own ID and own PTR 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 syalamar at fiberlink.com Tue May 18 09:17:05 2004 From: syalamar at fiberlink.com (Srinivas Yalamarti) Date: Tue May 18 08:17:43 2004 Subject: ImportASCII is causing indexing issues - reproducible on certain machines - sample code attached In-Reply-To: Message-ID: You wrote: > I think you have next problem: > -- you have at least one UNIQUE index > -- you import file which contains DUPLICATES > -- during import Valentina may ignore checks > -- so after that when it try build index it fail. > If this is a case, you should correct your import file. We do have indexed fields on that base object. But none of them are set as 'Unique'. To be sure we also tried creating a sample data file that has all the indexed field to ave unique values anyway. We still have the same problem. BTW, how do I send you a copy of the sample code - the attachement I sent along with my original post bounced back. Also, we are trying out with 1.10 as we speak. Regards, Srini Yalamarti Fiberlink Communications Corporation (215)793-6559 (Office) (610)462-8023 (Cell) http://www.fiberlink.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Ruslan Zasukhin 05/17/2004 05:54 PM To Srinivas Yalamarti , cc Subject Re: ImportASCII is causing indexing issues - reproducible on certain machines - sample code attached On 5/18/04 12:39 AM, "Srinivas Yalamarti" wrote: > Hi > > We are using C++ SDK 1.9.7 in Win32 env. > > We have a strange problem with importing ASCII data into an existing > valentina database. > > When we do a 'reindex' on a table before importing the data into the table, > the > reindex SQL works fine. > > But after we import some ASCII data into the table, the 'reindex' SQL fails. > And the SQL selects subsequently fail within the application. SQL Selects > from the ViSQL work ok though. > > Also, on a new empty database, we don't have any problems either. I think you have next problem: -- you have at least one UNIQUE index -- you import file which contains DUPLICATES -- during import Valentina may ignore checks -- so after that when it try build index it fail. If this is a case, you should correct your import file. > We are suspecting that it has something to do with either the database we have > or the way the ASCII data is getting imported. > > I am attaching the sample code along with the 'ascii data file' as well as > our sample database that is causing the problems. > > In the sample code, When you call functions OnButtonStep1() and > OnButtonStep2() > in that order, the > pfsdDatabase->SqlExecute("reindex table pop_detail_temp"); > call in the OnButtonStep2() throws an undefined exception. > > And another interesting thing is that we see this problem only on one > particular > machine. We can reproduce the problem using the sample code only on that > machine. This machine has Win XP, with 2GIG (yes GIG) memory and > about 17GB free disk space. > > All other machines having Win XP and Win 200 and that have lesser memory > and hard disk space - it works fine though. > > Any help will ge greatly appreciated. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Tue May 18 11:35:08 2004 From: andrew at learningware.com (Andrew Sinning) Date: Tue May 18 11:29:55 2004 Subject: No Gas Day In-Reply-To: Message-ID: Dear All: My big brother, who happens to know something about the way the world works, is of the opinion that this scheme would hurt independent truckers and pumpers while leaving big oil with little more than a minor headache. I tend to agree. Of course, it's really fun to imagine than we could actually have an impact by simply forwarding an email to everyone we know and then buying our gas a day early or late, but even a little brother knows that its not that simple. Regards, Andrew From chuckbo at hinkles.us Tue May 18 13:04:52 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Tue May 18 13:05:29 2004 Subject: No Gas Day (an oil man's opinion) In-Reply-To: References: Message-ID: <61477.134.163.253.127.1084903492.squirrel@66.98.172.70> Speaking as someone who programs for an oil company, this proposal will have negligible (if any) effect on the oil company. At worst, if would inconvenience the people who own the stations. No, if you want to do something to the big oil companies, you'd need to take public transportation instead of SUVs, turn down your thermostat (to conserve on natural gas) in the winter, don't use alternative fuels (since we own and operate, I believe, the largest wind turbine farm and we sell the energy from those farms to the small companies that market wind power), and don't use products with plastics, waxes, or other petroleum-based chemicals (including chewing gum) > Dear All: > > My big brother, who happens to know something about the way the world > works, is of the opinion that this scheme would hurt independent > truckers and pumpers while leaving big oil with little more than a minor > headache. I tend to agree. Of course, it's really fun to imagine than > we could actually have an impact by simply forwarding an email to > everyone we know and then buying our gas a day early or late, but even a > little brother knows that its not that simple. > > Regards, > Andrew > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > Chuck Hinkle [INTJ] "Perception is usually more persuasive than reality" From sunshine at public.kherson.ua Tue May 18 22:56:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 18 14:56:38 2004 Subject: No Gas Day (an oil man's opinion) In-Reply-To: <61477.134.163.253.127.1084903492.squirrel@66.98.172.70> Message-ID: On 5/18/04 9:04 PM, "chuck hinkle" wrote: Guys, please stop this economic discussion on this list. > Speaking as someone who programs for an oil company, this proposal will -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From experimental at metadada.com Wed May 19 14:01:36 2004 From: experimental at metadada.com (Garrett Kalleberg) Date: Wed May 19 13:01:49 2004 Subject: import text into V4RB - what am I missing? Message-ID: <923AB212-A9BE-11D8-BD89-000A95D97F2A@metadada.com> Hey all, can't seem to get this to work. I'm trying to import data from a Mac text file (ASCII) into a VBaseObject. Database is a property, it is a valid VDB and is previously opened. Executing the following code shows success at every point (ValentinaDebugON(2)), including "V4RB: Cursor_ImportASCII... V4RB: done.", but the cursor never gets populated with data and nothing gets saved to disk. What am I missing? Thanks kindly for your help, Garrett dim f as FolderItem dim sql as String = "" dim curs as VCursor dim res as Boolean f = GetOpenFolderItem("special/any") sql = "SELECT categoryid, createddate, createdby, modifieddate, modifiedby, title, type, sortorder FROM categories WHERE RecID = 0" curs = new VCursor(Database, sql, kV_Client, kV_ReadWrite) curs.ImportText(f, "\t", "\r") Database.Flush //file on disk hasn't changed at all in size though mod date is changed.... sql = "SELECT categoryid, createddate, createdby, modifieddate, modifiedby, title, type, sortorder FROM categories" curs = Database.SQLSelect(sql) //RecCount is 0 here.... Garrett Kalleberg Metadada Experimental IT development & consulting services for creative businesses 718 349-2725 mailto:experimental@metadada.com http://www.metadada.com/experimental From Fred.Stephenson at communication-unltd.com Wed May 19 20:06:14 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Wed May 19 13:06:02 2004 Subject: import text into V4RB - what am I missing? In-Reply-To: <923AB212-A9BE-11D8-BD89-000A95D97F2A@metadada.com> References: <923AB212-A9BE-11D8-BD89-000A95D97F2A@metadada.com> Message-ID: > dim f as FolderItem > dim sql as String = "" > dim curs as VCursor > dim res as Boolean > > f = GetOpenFolderItem("special/any") > > sql = "SELECT categoryid, createddate, createdby, modifieddate, >modifiedby, title, type, sortorder FROM categories WHERE RecID = 0" > curs = new VCursor(Database, sql, kV_Client, kV_ReadWrite) try using kV_server Fred From sunshine at public.kherson.ua Wed May 19 22:12:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 19 14:12:46 2004 Subject: import text into V4RB - what am I missing? In-Reply-To: Message-ID: On 5/19/04 9:06 PM, "Fred.Stephenson" wrote: > >> dim f as FolderItem >> dim sql as String = "" >> dim curs as VCursor >> dim res as Boolean >> >> f = GetOpenFolderItem("special/any") >> >> sql = "SELECT categoryid, createddate, createdby, modifieddate, >> modifiedby, title, type, sortorder FROM categories WHERE RecID = 0" >> curs = new VCursor(Database, sql, kV_Client, kV_ReadWrite) > > try using kV_server Yes, Right! Because CLIENT-SIDE cursor is ALWAYS read-only. Garrett, you should know this from mySQL. MySQL have only client-side type of cursors. And they ARE read-only always. Postgre have always SERVER-side cursors. Valentina offer you both types of cursors, But you should be careful in their usage. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at innernine.com Wed May 19 17:32:38 2004 From: lists at innernine.com (Juergen Schreck) Date: Wed May 19 17:32:49 2004 Subject: How to avoid this vObjectPtr error Message-ID: <6ECB526C-A9E4-11D8-99AB-000A95868802@innernine.com> I just ran into a snag with V4RB 1.10. I'm creating a database with two tables, where the second table links to the first via vObjectPtr. When that database was created no errors were reported. When records and related records were added, no errors were reported. However, when I opened the database in Valentina.app I did not have the relation working. In table 2, there was my vObjectPtr field, but it didn't have a target and it wasn't set to cascade as I had specified in the code. When I manually set the target all was ok. I could see the related records in Valentina.app. But why wasn't this relation created properly when my code created the database [without error]? It took me a while to find out. Too long to be comfortable actually. In the end, the problem was that in my db-subclass's constructor I first instantiated the 'many' table and then the 'one' table. Switching the sequence in property assignment fixed the problem. It does make sense, but shouldn't Valentina report an error when I try to assign a vObjectPtr to NULL vBaseObject? I suppose I can check for it in code or just simply get it right the first time :-P but some kind of warning would've really saved me some pain. Thanks, Juergen From sunshine at public.kherson.ua Thu May 20 09:52:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 01:52:10 2004 Subject: [FAQ] How to avoid this vObjectPtr error In-Reply-To: <6ECB526C-A9E4-11D8-99AB-000A95868802@innernine.com> Message-ID: On 5/20/04 1:32 AM, "Juergen Schreck" wrote: Hi Juergen, > I just ran into a snag with V4RB 1.10. I'm creating a database with two > tables, where the second table links to the first via vObjectPtr. > > When that database was created no errors were reported. I think that IF you open db in VAPP now, you will see problems right now. > When records and related records were added, no errors were reported. > > However, when I opened the database in Valentina.app I did not have the > relation working. In table 2, there was my vObjectPtr field, but it > didn't have a target and it wasn't set to cascade as I had specified in > the code. > > When I manually set the target all was ok. I could see the related > records in Valentina.app. I think that you have simply not correct code to create ObjectPtr. Show this code please. Check our examples how to create ObjectPtr. NOTE: Valentina allow creation of ObjectPtr which do not have target. This is required for complex db structures. but such ObjectPtr is not complete yet, and must be fixed before data start adding. > But why wasn't this relation created properly when my code created the > database [without error]? Because Valentina allow ObjectPtr with no target temporary. > It took me a while to find out. Too long to > be comfortable actually. In the end, the problem was that in my > db-subclass's constructor I first instantiated the 'many' table and > then the 'one' table. Switching the sequence in property assignment > fixed the problem. Aha, you have found problem. > It does make sense, but shouldn't Valentina report an error when I try > to assign a vObjectPtr to NULL vBaseObject? I suppose I can check for > it in code or just simply get it right the first time :-P but some kind > of warning would've really saved me some pain. Well, in V4RB 2.0 we have now log. And this log will be able show that target was not found. This can be NOT AN ERROR. Reading log, I hope developer will more easy to see mistake. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 20 10:08:50 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Thu May 20 03:03:58 2004 Subject: [FAQ] How to avoid this vObjectPtr error In-Reply-To: References: Message-ID: Hi, I had a similar problem recently. I created a base in valentina.app without any problems. Then by making tests in ViSQL, I had error messages " table not found ". I opened then my base in valentina.app. There, I was surprised seeing certain VobjecPtr who had no target!... I realized that it is because I had used the stressed characters as " ? ". I removed these stressed characters, redid targets vobjectPtr and I had no more error. olivier Le 20 mai 04, ? 08:52, Ruslan Zasukhin a ?crit : >> However, when I opened the database in Valentina.app I did not have >> the >> relation working. In table 2, there was my vObjectPtr field, but it >> didn't have a target and it wasn't set to cascade as I had specified >> in >> the code. From sunshine at public.kherson.ua Thu May 20 12:55:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 04:55:41 2004 Subject: [V4RB 1.98] how to escape " ' " (apostrophe) ? In-Reply-To: Message-ID: On 5/20/04 12:06 PM, "Daniel FLEURY" wrote: Hi Daniel, > How to search words in texts fields with apostrophe inside (exemple: > "chercher l'apostrophe")? Exists function ValentinaEscape() > SQLString= "Select recID, * from myObject WHERE myTextField LIKE > 'chercher l'apostrophe' " > > of course, in this case I find all records matching "chercher l" > > but if I use backshlass to escape the ' , I find nothing: > SQLString= "Select recID, * from myObject WHERE myTextField LIKE > 'chercher l\'apostrophe' " -> nothing found (in Mac or XP builds) > > I don't found more informations in the doc or web site. Is this a bug ? > > Same problem with V4RB 1.10 but I don't use it because an encoding's bug in XP -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Thu May 20 23:35:35 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu May 20 06:32:15 2004 Subject: V4RB for Windows Message-ID: Hi Ruslan, I'm still having major hassles with the windows version of V4RB. The databases corrupt really easily whereas they are very stable on Mac. I rarely have a data corruption on the Mac but have them regularly on PC's. The really frustrating thing is that once the program thinks there is a data corruption, it just quits completely when you try to add a record to it. In reality, though, there often isn't a data corruption and you can step past this record and keep adding. This makes it really frustrating when your program quits unexpectedly several times in a day. I really believe your PC version is nowhere near as stable as the Mac version and would appreciate some pointers on how to capture errors before my program quits as well as anything else that might help sort out why these errors are occurring. Cindy Brown From lists at innernine.com Thu May 20 06:47:04 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu May 20 06:47:14 2004 Subject: [FAQ] How to avoid this vObjectPtr error In-Reply-To: References: Message-ID: <6A14E09E-AA53-11D8-B352-000393A98198@innernine.com> On May 20, 2004, at 1:52 AM, Ruslan Zasukhin wrote: > I think that you have simply not correct code to create ObjectPtr. > Show this code please. > > Check our examples how to create ObjectPtr. Nah, I have lots of ObjectPtr definitions. All without probs. But they were never subject to temporary NIL targets. > NOTE: > Valentina allow creation of ObjectPtr which do not have target. > This is required for complex db structures. > but such ObjectPtr is not complete yet, and must be fixed before > data > start adding. There! This is the key. How *do* I fix the ObjectPtr's before adding data? Define them again? > Well, in V4RB 2.0 we have now log. > > And this log will be able show that target was not found. > This can be NOT AN ERROR. > > Reading log, I hope developer will more easy to see mistake. Excellent. TIA, Juergen From sunshine at public.kherson.ua Thu May 20 14:54:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 06:54:43 2004 Subject: [FAQ] How to avoid this vObjectPtr error In-Reply-To: <6A14E09E-AA53-11D8-B352-000393A98198@innernine.com> Message-ID: On 5/20/04 2:47 PM, "Juergen Schreck" wrote: >> NOTE: >> Valentina allow creation of ObjectPtr which do not have target. >> This is required for complex db structures. >> but such ObjectPtr is not complete yet, and must be fixed before >> data >> start adding. > > There! This is the key. How *do* I fix the ObjectPtr's before adding > data? Define them again? In YOUR CASE, you have had mistake that you create TARGET table AFTER objectptr field. This is mistake of course. How you can refer not existed table? You still can ASSIGN/CHANGE target table using objectptr.target property. >> Well, in V4RB 2.0 we have now log. >> >> And this log will be able show that target was not found. >> This can be NOT AN ERROR. >> >> Reading log, I hope developer will more easy to see mistake. > > Excellent. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 20 14:56:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 06:56:53 2004 Subject: V4RB for Windows In-Reply-To: Message-ID: On 5/20/04 2:35 PM, "Cindy Brown" wrote: Cindy, is this problem with VarChar ? Forget to say that I have found one bug with VarChar ! Ken have found it working with Valentina Server and was able reproduce it. It happens when you move db from MAC to PC and work there. Or visa versa. And it produce error runtime, but db is all right. Yes? Confirm, please then I will make new build of V4RB 1.10 And upload it > Hi Ruslan, > > I'm still having major hassles with the windows version of V4RB. The > databases corrupt really easily whereas they are very stable on Mac. I > rarely have a data corruption on the Mac but have them regularly on PC's. > > The really frustrating thing is that once the program thinks there is a data > corruption, it just quits completely when you try to add a record to it. In > reality, though, there often isn't a data corruption and you can step past > this record and keep adding. This makes it really frustrating when your > program quits unexpectedly several times in a day. > > I really believe your PC version is nowhere near as stable as the Mac > version and would appreciate some pointers on how to capture errors before > my program quits as well as anything else that might help sort out why these > errors are occurring. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Thu May 20 09:46:12 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu May 20 09:40:50 2004 Subject: No Gas Day In-Reply-To: Message-ID: I haven't looked at my Valentina folder for a few days, so I didn't realize until just now that I had included this list in my little political spam on Monday. To everyone on the list, please accept my apology for spamming you. Regards, Andrew From andrew at learningware.com Thu May 20 09:46:54 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu May 20 09:41:32 2004 Subject: OR in WHERE In-Reply-To: Message-ID: I never saw a response from the question below. Ruskin, can you please help me out? Thanks. Andrew -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Andrew Sinning Sent: Monday, May 17, 2004 12:27 PM To: Valentina Developers Subject: OR in WHERE I think that I've read that this is broken, but I'm just not smart enough to think of another way to write this sql statement. Perhaps with a little help I'll catch on. I have two tables 'questions' and 'infos'. questions.infoId and questions.introId can either be related to infos.iId I want to find all the info that correspond to either an infoId OR an introId in questions -- looking for JUST the infoId's, works just fine: sql = "SELECT iId FROM infos, questions WHERE questions.infoId = infos.iId" put dbQuery(sql) -- [[#iID: 98], [#iID: 101], [#iID: 94], [#iID: 73], [#iID: 74], [#iID: 75], [#iID: 76], [#iID: 77], [#iID: 78], [#iID: 79], [#iID: 80], [#iID: 81], [#iID: 82], [#iID: 83], [#iID: 84], [#iID: 85], [#iID: 86], [#iID: 87], [#iID: 88], [#iID: 89], [#iID: 90], [#iID: 91], [#iID: 92]] -- looking for JUST the introId's, works just fine: sql = "SELECT iId FROM infos, questions WHERE questions.introId = infos.iId" put dbQuery(sql) -- [[#iID: 96], [#iID: 99], [#iID: 93]] BUT, now I need to combine the two, and I get no result: sql = "SELECT iId FROM infos, questions WHERE (questions.infoId = infos.iId) OR (questions.introId = infos.iId)" put dbQuery(sql) -- [] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu May 20 18:02:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 10:02:23 2004 Subject: OR in WHERE In-Reply-To: Message-ID: On 5/20/04 5:46 PM, "Andrew Sinning" wrote: > I never saw a response from the question below. Ruskin, can you please > help me out? > > Thanks. > > Andrew > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Andrew Sinning > Sent: Monday, May 17, 2004 12:27 PM > To: Valentina Developers > Subject: OR in WHERE > > > I think that I've read that this is broken, but I'm just not smart > enough to think of another way to write this sql statement. Perhaps > with a little help I'll catch on. > > I have two tables 'questions' and 'infos'. > > questions.infoId > and > questions.introId > > can either be related to infos.iId > > I want to find all the info that correspond to either an infoId OR an > introId in questions > > -- looking for JUST the infoId's, works just fine: > sql = "SELECT iId FROM infos, questions WHERE questions.infoId = > infos.iId" > put dbQuery(sql) > -- [[#iID: 98], [#iID: 101], [#iID: 94], [#iID: 73], [#iID: 74], [#iID: > 75], [#iID: 76], [#iID: 77], [#iID: 78], [#iID: 79], [#iID: 80], [#iID: > 81], [#iID: 82], [#iID: 83], [#iID: 84], [#iID: 85], [#iID: 86], [#iID: > 87], [#iID: 88], [#iID: 89], [#iID: 90], [#iID: 91], [#iID: 92]] > > -- looking for JUST the introId's, works just fine: > sql = "SELECT iId FROM infos, questions WHERE questions.introId = > infos.iId" > put dbQuery(sql) > -- [[#iID: 96], [#iID: 99], [#iID: 93]] > > > BUT, now I need to combine the two, and I get no result: > sql = "SELECT iId FROM infos, questions WHERE (questions.infoId = > infos.iId) OR (questions.introId = infos.iId)" > put dbQuery(sql) If I have understand correctly query must be SELECT iId FROM infos, questions A, questions B WHERE A.introId = infos.iId AND infos.iId = A.infoId -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gizmotron at earthlink.net Thu May 20 08:24:43 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu May 20 10:25:50 2004 Subject: [VXCMD] installation errors on Revolution Message-ID: Hi, I keep getting an error: Type Function: error in function handler Object Stack 1023090206 Line get Valentina( "SetDebugLevel", 3) Hint Valentina Every time I try to open any of the examples I get this same error message. I put the VXCMD_Macho_MC library package on the same root level as the Revolution app and moved the old classic version out of the same folder to the desktop. Running on Mac 10.2.4, Rev 2.2 Is there a step I'm missing? Thanks, Mark From sunshine at public.kherson.ua Thu May 20 18:33:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 10:34:03 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: Message-ID: On 5/20/04 6:24 PM, "Mark Brownell" wrote: Hi Mark, > I keep getting an error: > Type Function: error in function handler > Object Stack 1023090206 > Line get Valentina( "SetDebugLevel", 3) > Hint Valentina > > Every time I try to open any of the examples I get this same error > message. I put the VXCMD_Macho_MC library package on the same root > level as the Revolution app and moved the old classic version out of > the same folder to the desktop. Does Rev 2.2 include some version of VXCMD on default ? Which one ? Why you say that Rev 2.2 have old classic version of VXCMD? As far as I know, Rev 2.2 as well as MetaCard in latest versions, Have drop support of CARBON and switch to MACHO. Right? So yes, you should use VXCMD MACHO. Anybody use Rev 2.2 with Valentina ? > Running on Mac 10.2.4, Rev 2.2 > > Is there a step I'm missing? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Thu May 20 10:58:48 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu May 20 10:54:12 2004 Subject: OR in WHERE In-Reply-To: Message-ID: Ruskin, The query which you provided uses an AND, and results in cases where BOTH cases match. I need the cases where EITHER case matches. Valentina is a very good product, the bug with OR in WHERE not working is very significant. I need to understand both a theory and a method for a work around of the OR bug. Please help me. Regards, Andrew -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Thursday, May 20, 2004 10:02 AM To: valentina@lists.macserve.net Subject: Re: OR in WHERE On 5/20/04 5:46 PM, "Andrew Sinning" wrote: > I never saw a response from the question below. Ruskin, can you please > help me out? > > Thanks. > > Andrew > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Andrew Sinning > Sent: Monday, May 17, 2004 12:27 PM > To: Valentina Developers > Subject: OR in WHERE > > > I think that I've read that this is broken, but I'm just not smart > enough to think of another way to write this sql statement. Perhaps > with a little help I'll catch on. > > I have two tables 'questions' and 'infos'. > > questions.infoId > and > questions.introId > > can either be related to infos.iId > > I want to find all the info that correspond to either an infoId OR an > introId in questions > > -- looking for JUST the infoId's, works just fine: > sql = "SELECT iId FROM infos, questions WHERE questions.infoId = > infos.iId" > put dbQuery(sql) > -- [[#iID: 98], [#iID: 101], [#iID: 94], [#iID: 73], [#iID: 74], [#iID: > 75], [#iID: 76], [#iID: 77], [#iID: 78], [#iID: 79], [#iID: 80], [#iID: > 81], [#iID: 82], [#iID: 83], [#iID: 84], [#iID: 85], [#iID: 86], [#iID: > 87], [#iID: 88], [#iID: 89], [#iID: 90], [#iID: 91], [#iID: 92]] > > -- looking for JUST the introId's, works just fine: > sql = "SELECT iId FROM infos, questions WHERE questions.introId = > infos.iId" > put dbQuery(sql) > -- [[#iID: 96], [#iID: 99], [#iID: 93]] > > > BUT, now I need to combine the two, and I get no result: > sql = "SELECT iId FROM infos, questions WHERE (questions.infoId = > infos.iId) OR (questions.introId = infos.iId)" > put dbQuery(sql) If I have understand correctly query must be SELECT iId FROM infos, questions A, questions B WHERE A.introId = infos.iId AND infos.iId = A.infoId -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 keatk at comcast.net Thu May 20 15:55:03 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Thu May 20 10:56:11 2004 Subject: OR in WHERE Message-ID: <052020041555.29810.40ACD4D7000897000000747222007589420B049D0199D30E0E05@comcast.net> > If I have understand correctly query must be > > SELECT iId > FROM infos, questions A, questions B > WHERE > A.introId = infos.iId AND > infos.iId = A.infoId But does OR in WHERE caluse work? I had some code using V4RB 1.1 where it does not seem to... Though it may have bene using somethink like "Where Field1 = 'XXXXXX" OR VObjectPtrField = 4", but I can't be sure now.. It's been awhile. I reworte my code using the OR to merge the data from tw0 seperate cursors in RB - Karen > On 5/20/04 5:46 PM, "Andrew Sinning" wrote: > > > I never saw a response from the question below. Ruskin, can you please > > help me out? > > > > Thanks. > > > > Andrew > > > > -----Original Message----- > > From: valentina-bounces@lists.macserve.net > > [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Andrew Sinning > > Sent: Monday, May 17, 2004 12:27 PM > > To: Valentina Developers > > Subject: OR in WHERE > > > > > > I think that I've read that this is broken, but I'm just not smart > > enough to think of another way to write this sql statement. Perhaps > > with a little help I'll catch on. > > > > I have two tables 'questions' and 'infos'. > > > > questions.infoId > > and > > questions.introId > > > > can either be related to infos.iId > > > > I want to find all the info that correspond to either an infoId OR an > > introId in questions > > > > -- looking for JUST the infoId's, works just fine: > > sql = "SELECT iId FROM infos, questions WHERE questions.infoId = > > infos.iId" > > put dbQuery(sql) > > -- [[#iID: 98], [#iID: 101], [#iID: 94], [#iID: 73], [#iID: 74], [#iID: > > 75], [#iID: 76], [#iID: 77], [#iID: 78], [#iID: 79], [#iID: 80], [#iID: > > 81], [#iID: 82], [#iID: 83], [#iID: 84], [#iID: 85], [#iID: 86], [#iID: > > 87], [#iID: 88], [#iID: 89], [#iID: 90], [#iID: 91], [#iID: 92]] > > > > -- looking for JUST the introId's, works just fine: > > sql = "SELECT iId FROM infos, questions WHERE questions.introId = > > infos.iId" > > put dbQuery(sql) > > -- [[#iID: 96], [#iID: 99], [#iID: 93]] > > > > > > BUT, now I need to combine the two, and I get no result: > > sql = "SELECT iId FROM infos, questions WHERE (questions.infoId = > > infos.iId) OR (questions.introId = infos.iId)" > > put dbQuery(sql) > > If I have understand correctly query must be > > SELECT iId > FROM infos, questions A, questions B > WHERE > A.introId = infos.iId AND > infos.iId = A.infoId > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 srunkel at hypix.com Thu May 20 08:59:19 2004 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 20 11:00:23 2004 Subject: OR in WHERE References: Message-ID: <01aa01c43e83$694df0d0$0200a8c0@SCOTT3> > Valentina is a very good product, the bug with OR in WHERE not working > is very significant. I need to understand both a theory and a method > for a work around of the OR bug. Sorry if I missed something, but could you possibly summarize the bug? Basic use of OR seems to work fine for me. I say "seems to" since it's hard to tell when I have no other method of searching my database. When I search for two words with AND I get a small number of results, when I use OR I get many more. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Thu May 20 19:03:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:03:39 2004 Subject: OR in WHERE In-Reply-To: Message-ID: On 5/20/04 6:58 PM, "Andrew Sinning" wrote: > Ruskin, ^^^^^^^^^ Ruslan > The query which you provided uses an AND, and results in cases where > BOTH cases match. > > I need the cases where EITHER case matches. > > Valentina is a very good product, the bug with OR in WHERE not working > is very significant. I need to understand both a theory and a method > for a work around of the OR bug. Please help me. Then you can use clause WHERE fld IN (SELECT ... ) Example: SELECT iId FROM infos WHERE infos.iID IN (SELECT introId FROM questions) OR infos.iID IN (SELECT infoId FROM questions) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 20 19:03:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:04:12 2004 Subject: OR in WHERE In-Reply-To: <01aa01c43e83$694df0d0$0200a8c0@SCOTT3> Message-ID: On 5/20/04 6:59 PM, "Scott Runkel" wrote: >> Valentina is a very good product, the bug with OR in WHERE not working >> is very significant. I need to understand both a theory and a method >> for a work around of the OR bug. > > Sorry if I missed something, but could you possibly summarize the bug? Basic > use of OR seems to work fine for me. I say "seems to" since it's hard to tell > when > I have no other method of searching my database. When I search for two > words with AND I get a small number of results, when I use OR I get many more. Not works OR for fields that are in different tables. OF for fields that are from the same table works. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Thu May 20 09:07:29 2004 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 20 11:08:03 2004 Subject: OR in WHERE References: Message-ID: <01ba01c43e84$8d48a510$0200a8c0@SCOTT3> > Not works OR for fields that are in different tables. Ahh...well, my current project always restricts the user to searching a single table at a time, so no worries. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From keatk at comcast.net Thu May 20 16:18:36 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Thu May 20 11:19:24 2004 Subject: OR in WHERE Message-ID: <052020041618.8074.40ACDA5B000D057A00001F8A22007637040B049D0199D30E0E05@comcast.net> > > Not works OR for fields that are in different tables. THAT IS A MAJOR BUG ... SQL spec has no such limitation and OR across tables is common in anything more than a simple databse ... and it has bitten me... and it does not even produce an error which makes it worst! - karen > On 5/20/04 6:59 PM, "Scott Runkel" wrote: > > >> Valentina is a very good product, the bug with OR in WHERE not working > >> is very significant. I need to understand both a theory and a method > >> for a work around of the OR bug. > > > > Sorry if I missed something, but could you possibly summarize the bug? Basic > > use of OR seems to work fine for me. I say "seems to" since it's hard to tell > > when > I have no other method of searching my database. When I search for two > > words with AND I get a small number of results, when I use OR I get many more. > > > OF for fields that are from the same table works. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From andrew at learningware.com Thu May 20 11:25:43 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu May 20 11:20:42 2004 Subject: OR in WHERE In-Reply-To: Message-ID: Thank you. I think I get it now! -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Thursday, May 20, 2004 11:03 AM To: valentina@lists.macserve.net Subject: Re: OR in WHERE On 5/20/04 6:58 PM, "Andrew Sinning" wrote: > Ruskin, ^^^^^^^^^ Ruslan > The query which you provided uses an AND, and results in cases where > BOTH cases match. > > I need the cases where EITHER case matches. > > Valentina is a very good product, the bug with OR in WHERE not working > is very significant. I need to understand both a theory and a method > for a work around of the OR bug. Please help me. Then you can use clause WHERE fld IN (SELECT ... ) Example: SELECT iId FROM infos WHERE infos.iID IN (SELECT introId FROM questions) OR infos.iID IN (SELECT infoId FROM questions) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 May 20 19:25:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:26:39 2004 Subject: OR in WHERE In-Reply-To: <052020041618.8074.40ACDA5B000D057A00001F8A22007637040B049D0199D30E0E05@comcast.net> Message-ID: On 5/20/04 7:18 PM, "keatk@comcast.net" wrote: >> >> Not works OR for fields that are in different tables. > > THAT IS A MAJOR BUG ... SQL spec has no such limitation and OR across tables > is common in anything more than a simple databse ... and it has bitten me... > and it does not even produce an error which makes it worst! Agree. But also note: such kind of search is much harder (slower) of AND. if possible it is better change table design to avoid such kind of query even if it works in DBMS. And you have workaround using IN (SELECT) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gizmotron at earthlink.net Thu May 20 09:26:28 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu May 20 11:28:02 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: Message-ID: <7242E1AB-AA7A-11D8-85B8-000A95859272@earthlink.net> On Thursday, May 20, 2004, at 08:33 AM, Ruslan Zasukhin wrote: > On 5/20/04 6:24 PM, "Mark Brownell" wrote: > > Hi Mark, > >> I keep getting an error: >> Type Function: error in function handler >> Object Stack 1023090206 >> Line get Valentina( "SetDebugLevel", 3) >> Hint Valentina >> >> Every time I try to open any of the examples I get this same error >> message. I put the VXCMD_Macho_MC library package on the same root >> level as the Revolution app and moved the old classic version out of >> the same folder to the desktop. > > Does Rev 2.2 include some version of VXCMD on default ? yes. > Which one ? This: Valentina_Classic, version 1.9.8b4 on the same level as the Revolution app. > Why you say that Rev 2.2 have old classic version of VXCMD? it just does. Deep within the components folder is the global environment folder that has the database_drivers folder etc.., The Rev 2.2 download folder has a Valentina.txt doc that sais this: MacOS Valentina_Classic MacOSX components/global environment/database_drivers/MacOSX/VXCMD_macho Windows components/global environment/database_drivers/Win32/dbvalentina.dll components/global environment/database_drivers/Win32/VXCMD.dll > As far as I know, Rev 2.2 as well as MetaCard in latest versions, > Have drop support of CARBON and switch to MACHO. > Right? I have no idea. All I know is I can't get the examples to run without hanging up on: >> get Valentina( "SetDebugLevel", 3) > > So yes, you should use VXCMD MACHO. So I did, but obviously I did something wrong. I've read all the archives for the valentina-lists and the use-revolution-lists on this topic and you say that getting the examples to run is a good first step. Maybe I need to remove everything I can find on my computer that has to do with valentina and start fresh from the latest downloads? Is there a basic handler to test why this is not working? >> get Valentina( "SetDebugLevel", 3) > Anybody use Rev 2.2 with Valentina ? > > >> Running on Mac 10.2.4, Rev 2.2 >> >> Is there a step I'm missing? > > -- > Best regards, > Ruslan Zasukhin From zavpublic at mac.com Thu May 20 09:31:24 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Thu May 20 11:31:50 2004 Subject: OR in WHERE In-Reply-To: References: Message-ID: <2266791C-AA7B-11D8-82ED-000393CFECE6@mac.com> On May 20, 2004, at 7:46 AM, Andrew Sinning wrote: > I never saw a response from the question below. Ruskin, can you please > help me out? > > Thanks. > > Andrew > Ahh, it was for a good cause. - Zav What's another 50 billion? From sunshine at public.kherson.ua Thu May 20 19:43:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:43:50 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: <7242E1AB-AA7A-11D8-85B8-000A95859272@earthlink.net> Message-ID: On 5/20/04 7:26 PM, "Mark Brownell" wrote: >> Does Rev 2.2 include some version of VXCMD on default ? > > yes. > >> Which one ? > > This: Valentina_Classic, version 1.9.8b4 on the same level as the > Revolution app. > >> Why you say that Rev 2.2 have old classic version of VXCMD? > > it just does. Deep within the components folder is the global > environment folder that has the database_drivers folder etc.., > > The Rev 2.2 download folder has a Valentina.txt doc that sais this: > MacOS Valentina_Classic > MacOSX components/global environment/database_drivers/MacOSX/VXCMD_macho I think this is because they can build for different platforms. Although strange, please ask Rev people. > Windows components/global > environment/database_drivers/Win32/dbvalentina.dll components/global > environment/database_drivers/Win32/VXCMD.dll So they still use 1.9.8b4 This is not good, As you have see now we use other named for VXCMD libs. You must not remove their default libs, because then Rev not starts. just add VXCMD macho. Well, I know that exists developers that use Valentina with Revolution. Let's wait for their help. Check this: is it required REGISTER plugin in stack somehow ? I know this is required for Windows. it seems for OS X 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 Thu May 20 19:44:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:44:50 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: <7242E1AB-AA7A-11D8-85B8-000A95859272@earthlink.net> Message-ID: On 5/20/04 7:26 PM, "Mark Brownell" wrote: > I have no idea. All I know is I can't get the examples to run without > hanging up on: >>> get Valentina( "SetDebugLevel", 3) >> >> So yes, you should use VXCMD MACHO. > > So I did, but obviously I did something wrong. I've read all the > archives for the valentina-lists and the use-revolution-lists on this > topic and you say that getting the examples to run is a good first > step. Maybe I need to remove everything I can find on my computer that > has to do with valentina and start fresh from the latest downloads? > > Is there a basic handler to test why this is not working? >>> get Valentina( "SetDebugLevel", 3) This means that VXCMD module was NOT found by Revolution And it was not registered. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 20 19:46:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:46:50 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: <7242E1AB-AA7A-11D8-85B8-000A95859272@earthlink.net> Message-ID: On 5/20/04 7:26 PM, "Mark Brownell" wrote: >> Which one ? > > This: Valentina_Classic, version 1.9.8b4 on the same level as the > Revolution app. Mark, I wonder then, you shure that you use MACHO version of Revolution ? May be you use Classic version of Rev ? It very looks to be. Then you should use VXCMD_Classic_MC -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gizmotron at earthlink.net Thu May 20 09:51:50 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu May 20 11:53:13 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: Message-ID: On Thursday, May 20, 2004, at 09:46 AM, Ruslan Zasukhin wrote: > Mark, > > I wonder then, you shure that you use MACHO version of Revolution ? > > May be you use Classic version of Rev ? > It very looks to be. > > Then you should use VXCMD_Classic_MC I was just letting you know what was inside the Rev 2.2 folder. I'm sure that I'm using the Macho version otherwise system 9.2 would launch and it doesn't. Mark From sunshine at public.kherson.ua Thu May 20 19:54:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 11:55:23 2004 Subject: Re (SOLVED): [V4RB 1.98] how to escape " ' " (apostrophe) ? In-Reply-To: Message-ID: On 5/20/04 7:49 PM, "Daniel FLEURY" wrote: >> >>> Same problem with V Studio a49, nothing found if ' is escaped by \ >> >> Ok, give me example: >> >> 1) table with ONE record only >> >> 2) string that you search, >> escaped string. > > Hi Ruslan > > Well, I solved the problem: some texts were imported from Word's > files and the ' was different than the usual ' ! > I do a replaceAll and now all is OK :-) so many glitches in the world! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gizmotron at earthlink.net Thu May 20 11:57:37 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu May 20 13:58:58 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: Message-ID: <8FDFF7E8-AA8F-11D8-8793-000A95859272@earthlink.net> On Thursday, May 20, 2004, at 09:44 AM, Ruslan Zasukhin wrote: >> Is there a basic handler to test why this is not working? >>>> get Valentina( "SetDebugLevel", 3) > > This means that VXCMD module was NOT found by Revolution > And it was not registered. I think I might be getting passed this error, I mean that the VXCMD module might be found by Revolution now. The VXCMD_Test.mc now gets past this on the open stack handler. When I try the create button I get "creator error 306" What does that tell you. I hope it means it's beginning to work. I did a small change to the open handler: get Valentina( "SetDebugLevel", 3 ) put "" into CursorRef -- if (vxcmd_init =82, "true") then -- commented out for next line if (vxcmd_init <> "true") then get Valentina("Init", 10*1024*1024) if (it contains "ERROR") then put false into vxcmd_init answer it else put true into vxcmd_init end if Now I can create database files so something's working. It turned out that the only version of the Valentina app was an old PPC so I got rid of that and loaded Valentina Carbon... Now it doesn't work and it keeps closing my script error window before I can click on it to see what the hang-up is. Well I created one database once but it won't work now. Mark From gizmotron at earthlink.net Thu May 20 12:02:38 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu May 20 14:03:42 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: <8FDFF7E8-AA8F-11D8-8793-000A95859272@earthlink.net> Message-ID: <430359A4-AA90-11D8-8793-000A95859272@earthlink.net> On Thursday, May 20, 2004, at 11:57 AM, Mark Brownell wrote: > Now it doesn't work and it keeps closing my script error window before > I can click on it to see what the hang-up is. > > Well I created one database once but it won't work now. OK I have it working sort of. I I open Rev first and then use the File/open menu to open the example stack then it works to create a database. Now all I need is how to configure a curser command to enter data and I'm off to the races... may be Mark :-) From sunshine at public.kherson.ua Thu May 20 22:12:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 20 14:13:06 2004 Subject: [VXCMD] installation errors on Revolution In-Reply-To: <430359A4-AA90-11D8-8793-000A95859272@earthlink.net> Message-ID: On 5/20/04 10:02 PM, "Mark Brownell" wrote: > > On Thursday, May 20, 2004, at 11:57 AM, Mark Brownell wrote: > >> Now it doesn't work and it keeps closing my script error window before >> I can click on it to see what the hang-up is. >> >> Well I created one database once but it won't work now. > > OK I have it working sort of. I I open Rev first and then use the > File/open menu to open the example stack then it works to create a > database. Now all I need is how to configure a curser command to enter > data and I'm off to the races... may be > > Mark :-) I am VERY glad for you Mark! Note, error 306 kFBL_CacheIsNotPresent = 306, This means that you do some Valentina operation BEFORE ValentinaInit() call. ValentinaInit() must be the first. It allocate cache for engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Fri May 21 07:47:25 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu May 20 14:44:15 2004 Subject: V4RB for Windows In-Reply-To: Message-ID: Hi Ruslan, Most of the time I would say it has to do with VarChar so this may fix the main problems I've been having. I'm still trying to isolate another error that is occurring but will get back to you further on this. The databases where main error is occurring certainly have varchar's involved. Hope that helps. > is this problem with VarChar ? > > Forget to say that I have found one bug with VarChar ! > Ken have found it working with Valentina Server and was able reproduce it. > > It happens when you move db from MAC to PC and work there. > Or visa versa. > > And it produce error runtime, but db is all right. > > Yes? > > Confirm, please then I will make new build of V4RB 1.10 > And upload it > -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From rjb at rz.uni-potsdam.de Fri May 21 11:34:37 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri May 21 04:54:59 2004 Subject: fuzzy search Message-ID: I need to implement fuzzy searching option. I have database with course information. When a new one is being added, I need to check whether a course with a SIMILAR name is already there. Does anyone has experience with implementing this type of searches to give me tips or references? Robert Brenstein From maillist at darke.biz Sat May 22 01:41:51 2004 From: maillist at darke.biz (Ang Siow Chen) Date: Fri May 21 12:43:02 2004 Subject: fuzzy search In-Reply-To: Message-ID: I did my AI lesson in prolog.. i dun know if this would help.. but I think that for AI algorithm it is not the search that matters.. its the quality of the question that is asked... regards -----Original Message----- From: Robert Brenstein [mailto:rjb@rz.uni-potsdam.de] Sent: Friday, May 21, 2004 5:35 PM To: valentina@lists.macserve.net Subject: fuzzy search I need to implement fuzzy searching option. I have database with course information. When a new one is being added, I need to check whether a course with a SIMILAR name is already there. Does anyone has experience with implementing this type of searches to give me tips or references? Robert Brenstein _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From srunkel at hypix.com Fri May 21 10:53:04 2004 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 21 12:53:14 2004 Subject: fuzzy search References: Message-ID: <03f101c43f5c$776d7620$0200a8c0@SCOTT3> > I need to implement fuzzy searching option. I have database with > course information. When a new one is being added, I need to check > whether a course with a SIMILAR name is already there. Does anyone > has experience with implementing this type of searches to give me > tips or references? This is probably a very difficult task. You could start with just searching for a match between any single word in the course title entered matches any single word in the existing course titles. For example, let's say there's already "Anthropology of Urban Life in New York City 1900 to 1920". Then you come along with "History of New York". Try to match "history" then "new" then "york" and it will match. Same with any course that has "anthropology" in it. Etc. Otherwise you would need to get into word meanings and synonyms and such for every possible word, and that would be pretty tough. Another option would be to have a separate field that lists key words or a description of the course. Then the new course title could be compared to that field as well, or the new course could have its own description, and the descriptions' words could be searched against each other and a ranked result could be returned showing the likelihood that the course is the same. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From rjb at rz.uni-potsdam.de Fri May 21 23:06:47 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri May 21 16:13:07 2004 Subject: fuzzy search In-Reply-To: <03f101c43f5c$776d7620$0200a8c0@SCOTT3> References: <03f101c43f5c$776d7620$0200a8c0@SCOTT3> Message-ID: > > I need to implement fuzzy searching option. I have database with >> course information. When a new one is being added, I need to check >> whether a course with a SIMILAR name is already there. Does anyone >> has experience with implementing this type of searches to give me >> tips or references? > >This is probably a very difficult task. You could start with just >searching for >a match between any single word in the course title entered matches any single >word in the existing course titles. For example, let's say there's already >"Anthropology of Urban Life in New York City 1900 to 1920". Then you >come along >with "History of New York". Try to match "history" then "new" then >"york" and it >will match. Same with any course that has "anthropology" in it. Etc. > >Otherwise you would need to get into word meanings and synonyms and such for >every possible word, and that would be pretty tough. > >Another option would be to have a separate field that lists key words or a >description of the course. Then the new course title could be compared to that >field as well, or the new course could have its own description, and the >descriptions' words could be searched against each other and a ranked result >could be returned showing the likelihood that the course is the same. > >-SR > >Scott Runkel Actually, I don't need this to be too sophisticated. What I am after is catching users entering 'StatisticsI' (no space due to typo) whereas there is already a course 'Statistics I'. At most I'd like to find "applied statistics" when someone enters "applications of statistics". A keywords field could get me there at least partially I think. Useful idea. Robert From srunkel at hypix.com Fri May 21 14:26:30 2004 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 21 16:26:43 2004 Subject: fuzzy search References: <03f101c43f5c$776d7620$0200a8c0@SCOTT3> Message-ID: <05f801c43f7a$48b24860$0200a8c0@SCOTT3> > Actually, I don't need this to be too sophisticated. What I am after > is catching users entering 'StatisticsI' (no space due to typo) > whereas there is already a course 'Statistics I'. At most I'd like to > find "applied statistics" when someone enters "applications of > statistics". A keywords field could get me there at least partially I > think. Useful idea. If you assume that people might conjoin words, numbers etc., then you could remove letters from the end of words before searching with something like "SELECT * FROM table WHERE field LIKE '\AStatist' NO_CASE". That way you'd get "Statistics I" whether they entered it as "Statistics", "StatisticsI" or "Statistics I" etc. You could start with the full term entered, such as "StatisticsI". If nothing was found, you could remove the last letter and search again, and repeat that process until you got some results. Valentina is so fast I doubt such a procedure would take very long. I suppose the difficulty is trying to imagine many ways they might mis-enter what they're looking for, and account for them. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From gregkowalski at earthlink.net Fri May 21 18:47:57 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Fri May 21 17:46:51 2004 Subject: ExportASCII question In-Reply-To: <20040503212533.B1BC9111688@edison.macserve.net> References: <20040503212533.B1BC9111688@edison.macserve.net> Message-ID: Hello, I use V4MD. I have a db with fields that contain large texts with returns (paragraphs). I am having trouble using Export ASCII with RETURN as a line delimiter because the RETURN is also used in the text. This wrecks havoc when I import the file into Excel, (for example). Also, I get an error when trying to put in a path... code: exportASCII (gmycursor, the moviepath&"exported.txt", TAB, RETURN) Thanks for your help Greg From srunkel at hypix.com Fri May 21 16:11:48 2004 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 21 18:12:03 2004 Subject: ExportASCII question References: <20040503212533.B1BC9111688@edison.macserve.net> Message-ID: <06d601c43f88$fea5d700$0200a8c0@SCOTT3> > I have a db with fields that contain large texts with returns > (paragraphs). I am having trouble using Export ASCII with RETURN as a > line delimiter because the RETURN is also used in the text. This wrecks > havoc when I import the file into Excel, (for example). I think you might have to do some extra steps here, since I doubt whether the exportASCII function is going to change. If it was me, I would probably use some other character instead of RETURN, such as "|" or "^" or something else that doesn't exist in the text. Then after export I would open the file and search and replace all the line breaks/returns with some other character or combo such as "*%*" (maybe in Word). Then I would search and replace the original "|" with line breaks/returns. Then it would import correctly into Excel except you would finally need to replace the "*%" with returns in Excel if that's possible. There could be a better way, I don't know. > Also, I get an error when trying to put in a path... > exportASCII (gmycursor, the moviepath&"exported.txt", TAB, RETURN) What error do you get here? A Valentina error or a Director one? What is the error message or number? Try setting a variable of the path and using the variable in the function call: newPath = the moviepath & "exported.txt" exportASCII (gmycursor, newPath, TAB, RETURN) -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 ----- Original Message ----- From: "Gregory Kowalski" To: Sent: Friday, May 21, 2004 3:47 PM Subject: ExportASCII question > Hello, > > I use V4MD. > I have a db with fields that contain large texts with returns > (paragraphs). I am having trouble using Export ASCII with RETURN as a > line delimiter because the RETURN is also used in the text. This wrecks > havoc when I import the file into Excel, (for example). > > Also, I get an error when trying to put in a path... > > code: > > exportASCII (gmycursor, the moviepath&"exported.txt", TAB, RETURN) > > Thanks for your help > > Greg > > > > > > > > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Sat May 22 09:36:45 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat May 22 02:31:47 2004 Subject: show all the tables with graphic links ? Message-ID: Hi list, Is there a software which would allow to show simultaneously all the tables of a database with graphic links ? A little as in valentina.app but for all the tables, and what one could print ? thank you olivier From sunshine at public.kherson.ua Sat May 22 11:05:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 22 03:05:31 2004 Subject: show all the tables with graphic links ? In-Reply-To: Message-ID: On 5/22/04 10:36 AM, "olivier" wrote: > Hi list, > > Is there a software which would allow to show simultaneously all the > tables of a database with graphic links ? > > A little as in valentina.app but for all the tables, and what one could > print ? All tables no. Valentina Studio is going to have such feature using UML -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 22 11:05:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 22 03:06:01 2004 Subject: ExportASCII question In-Reply-To: <06d601c43f88$fea5d700$0200a8c0@SCOTT3> Message-ID: On 5/22/04 2:11 AM, "Scott Runkel" wrote: Gregory, Problem solved? >> I have a db with fields that contain large texts with returns >> (paragraphs). I am having trouble using Export ASCII with RETURN as a >> line delimiter because the RETURN is also used in the text. This wrecks >> havoc when I import the file into Excel, (for example). > > I think you might have to do some extra steps here, since I doubt whether the > exportASCII function is going to change. If it was me, I would probably use > some > other character instead of RETURN, such as "|" or "^" or something else that > doesn't exist in the text. Then after export I would open the file and search > and replace all the line breaks/returns with some other character or combo > such > as "*%*" (maybe in Word). Then I would search and replace the original "|" > with > line breaks/returns. Then it would import correctly into Excel except you > would > finally need to replace the "*%" with returns in Excel if that's possible. > > There could be a better way, I don't know. > >> Also, I get an error when trying to put in a path... >> exportASCII (gmycursor, the moviepath&"exported.txt", TAB, RETURN) > > What error do you get here? A Valentina error or a Director one? What is the > error message or number? > > Try setting a variable of the path and using the variable in the function > call: > > newPath = the moviepath & "exported.txt" > exportASCII (gmycursor, newPath, TAB, RETURN) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat May 22 10:26:30 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat May 22 03:21:30 2004 Subject: show all the tables with graphic links ? In-Reply-To: References: Message-ID: Ok, thank you Ruslan. Le 22 mai 04, ? 10:05, Ruslan Zasukhin a ?crit : > > All tables no. > > Valentina Studio is going to have such feature using UML > From vidal_olivier at yahoo.fr Sat May 22 21:12:20 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat May 22 14:07:20 2004 Subject: optimize the "SELECT" requests in Valentina Message-ID: Hi, The advices (to improve the speed of the SQL requests) what one reads in SQL books are they applicable for Valentina? Ex: - Not to use "*" in the requests SELECT but the names of columns " Column A, column B.... " - " ORDER BY " is often slow - Use "BETWEEN" instead of "AND" when it is possible To use short names of column (ex: "TypPS") instead of long names of column (ex: "Type_Price_Sales") is faster in Valentina? More generally, you have advices to optimize the "SELECT" requests in Valentina? Thank you olivier PS: - The SOUNDEX can be used in Valentina 2 ? From sunshine at public.kherson.ua Sun May 23 02:07:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 22 18:07:38 2004 Subject: optimize the "SELECT" requests in Valentina In-Reply-To: Message-ID: On 5/22/04 10:12 PM, "olivier" wrote: > Hi, > > The advices (to improve the speed of the SQL requests) what one reads > in SQL books are they applicable for Valentina? > > Ex: > > - Not to use "*" in the requests SELECT but the names of columns " > Column A, column B.... " Yes > - " ORDER BY " is often slow Of course, but usually you want data sorted > - Use "BETWEEN" instead of "AND" when it is possible Not big difference > To use short names of column (ex: "TypPS") instead of long names of > column (ex: "Type_Price_Sales") is faster in Valentina? Well, yes. A little > More generally, you have advices to optimize the "SELECT" requests in > Valentina? Frankly saying above tips give a little speedup if any. I think main work Valentina do self. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat May 22 19:21:44 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat May 22 18:21:55 2004 Subject: optimize the "SELECT" requests in Valentina In-Reply-To: References: Message-ID: On May 22, 2004, at 7:07 PM, Ruslan Zasukhin wrote: > On 5/22/04 10:12 PM, "olivier" wrote: > >> Hi, >> >> The advices (to improve the speed of the SQL requests) what one reads >> in SQL books are they applicable for Valentina? >> >> Ex: >> >> - Not to use "*" in the requests SELECT but the names of columns " >> Column A, column B.... " > > > Yes > >> - " ORDER BY " is often slow > > Of course, but usually you want data sorted > >> - Use "BETWEEN" instead of "AND" when it is possible > > Not big difference > > >> To use short names of column (ex: "TypPS") instead of long names of >> column (ex: "Type_Price_Sales") is faster in Valentina? > > Well, yes. A little > >> More generally, you have advices to optimize the "SELECT" requests in >> Valentina? > > Frankly saying above tips give a little speedup if any. > > I think main work Valentina do self. Yes, it appears the the important optimization is to choose Valentina. -------------- Charles Yeomans From vidal_olivier at yahoo.fr Sun May 23 08:15:17 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sun May 23 01:10:16 2004 Subject: optimize the "SELECT" requests in Valentina In-Reply-To: References: Message-ID: <8FE8DF9C-AC80-11D8-9C94-00039310B7DA@yahoo.fr> Le 23 mai 04, ? 01:21, Charles Yeomans a ?crit : > > On May 22, 2004, at 7:07 PM, Ruslan Zasukhin wrote: >> >> Frankly saying above tips give a little speedup if any. >> >> I think main work Valentina do self. > > Yes, it appears the the important optimization is to choose Valentina. > > ok ;-) thank you ! From fb at memedia.de Sun May 23 11:44:52 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Sun May 23 04:45:01 2004 Subject: SQL question Message-ID: Hi folks! What's wrong with the following expression? -- "SELECT KD_ID,RecID,newDate,lastDate,name,vorname,strasse1,plz,ort,geburtsdatum, mobilnummer,geschlecht,eMail,strasse2 FROM KUNDENtable WHERE (vorname_ai >= 389 AND vorname_ai <= 657 AND LEFT(vorname,1) LIKE 'f') AND (name_ai >= 905 AND name_ai <= 1173 AND LEFT(name,1) LIKE 'b') ORDER BY name,vorname" error 616 error 616 error 616 When I replace the "LIKE" by "=" all is fine... -- "SELECT KD_ID,RecID,newDate,lastDate,name,vorname,strasse1,plz,ort,geburtsdatum, mobilnummer,geschlecht,eMail,strasse2 FROM KUNDENtable WHERE (vorname_ai >= 389 AND vorname_ai <= 657 AND LEFT(vorname,1) = 'f') AND (name_ai >= 905 AND name_ai <= 1173 AND LEFT(name,1) = 'b') ORDER BY name,vorname" TIA, Florian From sunshine at public.kherson.ua Sun May 23 14:19:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 23 06:19:57 2004 Subject: SQL question In-Reply-To: Message-ID: On 5/23/04 12:44 PM, "Florian Bogeschdorfer" wrote: Hi Florian, > Hi folks! > > What's wrong with the following expression? > > -- "SELECT > KD_ID,RecID,newDate,lastDate,name,vorname,strasse1,plz,ort,geburtsdatum, > mobilnummer,geschlecht,eMail,strasse2 FROM KUNDENtable WHERE (vorname_ai >= > 389 AND vorname_ai <= 657 AND LEFT(vorname,1) LIKE 'f') AND (name_ai >= 905 > AND name_ai <= 1173 AND LEFT(name,1) LIKE 'b') ORDER BY name,vorname" > error 616 > error 616 > error 616 > > > When I replace the "LIKE" by "=" all is fine... 1) Valentina 1.x do not allow expressions in the WHERE 2) you do LEFT(vorname,1) LIKE 'f' this is expression. 3) only allowed exception is LEFT(vorname,1) = 'f' To get indexed search that START WITH > -- "SELECT > KD_ID,RecID,newDate,lastDate,name,vorname,strasse1,plz,ort,geburtsdatum, > mobilnummer,geschlecht,eMail,strasse2 FROM KUNDENtable WHERE (vorname_ai >= > 389 AND vorname_ai <= 657 AND LEFT(vorname,1) = 'f') AND (name_ai >= 905 AND > name_ai <= 1173 AND LEFT(name,1) = 'b') ORDER BY name,vorname" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From philip at accessitsoftware.com Mon May 24 10:32:36 2004 From: philip at accessitsoftware.com (Phil) Date: Sun May 23 17:32:43 2004 Subject: ODBC support in Valentina? Message-ID: <40B12684.8070003@accessitsoftware.com> Hi, We're wanting to have an abstraction layer between the application we're writing and the database. Although at the moment we're wanting to use Valentina, unfortunately: 1) We may have to support more than one database from the same application (eg a client requires us to use Oracle at their site) 2) Until the Valentina 2.x engine is released, we are frozen (because of features we're waiting for), so we want to get started (and possibly use something else). Mainly for reasons like the above, we're wondering if an ODBC driver will be available for Valentina? I heard that there was some mention of this in February... is the ODBC driver waiting for the release of the 2.x engine? TIA From sunshine at public.kherson.ua Mon May 24 01:36:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 23 17:37:11 2004 Subject: ODBC support in Valentina? In-Reply-To: <40B12684.8070003@accessitsoftware.com> Message-ID: On 5/24/04 1:32 AM, "Phil" wrote: > Hi, > We're wanting to have an abstraction layer between the application we're > writing and the database. Although at the moment we're wanting to use > Valentina, unfortunately: > 1) We may have to support more than one database from the same > application (eg a client requires us to use Oracle at their site) > 2) Until the Valentina 2.x engine is released, we are frozen (because of > features we're waiting for), so we want to get started (and possibly use > something else). > > Mainly for reasons like the above, we're wondering if an ODBC driver > will be available for Valentina? I heard that there was some mention of > this in February... is the ODBC driver waiting for the release of the > 2.x engine? No, Phil. ODBC driver is not related to 2.0 release. This is separate task. Also today I think more important get in the first turn JDBC driver. ODBC of course we also want, but I know this is not easy task to develop good ODBC driver, because ODBC standard have several levels, a lots of API functions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon May 24 10:01:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 02:01:39 2004 Subject: Cocoa wrapper In-Reply-To: <8375566E-AD11-11D8-AC65-000A95B77DE4@techniqueprogram.se> Message-ID: On 5/24/04 2:32 AM, "Hans Gidl?f" wrote: > Hello Ruslan > > I have problem with making new fields in VDK_BaseObject?s > perhaps I have not created the VDK_BaseObject the right way? > I tried : > if( VDK_DataBase::sDataBase) > { > // first test > // mVDK_BaseObject = new VDK_BaseObject([mName cString]); > > // sec. test > mVDK_BaseObject = VDK_DataBase::sDataBase->NewVDKBaseObject([mName > cString]); > } > > And how can I verify my VDK_BaseObject. > > The VDK_DataBase seems to work. > > mVDK_DataBase = new VDK_DataBase(); > > // try to verify that the object is in good health > int x = mVDK_DataBase->GetDataBaseList()->GetCount(); > NSLog(@"Count Databas: %i", x); Hi Hans, First of all I want point: C++ SDK, Valentina for REALbasic and Valentina for Java, These 3 OO-langugaes SDK provide 2 ways for developers: 1) easy way, DYNAMIC way: VDK_Database* pdb = new VDK_Database() pDB->Create(); // and only after create or open we can do: VDK_BaseObject* pPerson = pDB->MakeNewBaseObject( "Person" ); // now pdb->GetBaseObjectCount() == 1 pPerson->MakeShortField( "fld_short", fIndexed ); As you see this way use API of classes, to dictate step by step. It not use SQL. This is low level API actually. SQL way in fact after parsing of SQL command use the same calls. ---------------- 2) aha, exists also SQL way. It is very simple and short: VDK_Database* pdb = new VDK_Database() pDB->Create(); pDB->SQLExecute( "CREATE TABLE Person(fld_short SHORT INDEXED)" ); // btw, after that we can use API to get tabes: VDK_BaseObject* pPerson = db->GetTable( "Person" ) -------------------- 3) STATIC WAY. Or CLASS WAY. This way can be used for OO developers - when structure of database is static (i.e. Not changes) - when developer want to use OO way. In this way developer define class(es) that will correspond to table class Person : public VDK_BaseObject { VDK_Short mFldShort; Person( name ) : VDK_BaseObject(name) mFldShort( "fld_short", fIndexed ) { } }; Class MyDatabase : VDK_Database { Person mPerson; } Main() { MyDatabase* pdb = new MyDatabase; // you see difference? // we create not VDK_Database, but our class. // and this one line create in RAM all other tables and fields. pdb->Create(); // this one line create on disk inside of db all tables // and fields } --------------------- So you Hans, should exactly understand which way you implement NOW. I think the most easy way to implement -- is SQL way. After that add API way, And at the end implement CLASS way. Obj-C also is OO language. Note, that in C++ we use data members of Tables and fields: VDK_BaseObject mPerson; This feature of C++ create object of VDK_BaseObject self when is created VDK_Daatbase object. In REALbasic and Java there is no such feature, so they need write creation of sub-objects manually in constructor class MyDatabase { Person mPerson; in RB and Java this is pointer in fact. myDatabase() { mPerson = new Person() // this line must be in RB and Java. } }; -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon May 24 11:36:07 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Mon May 24 05:37:15 2004 Subject: [V4MD] gCursor = 0 In-Reply-To: <5.1.1.6.0.20040517181006.04ef79f0@incoming.verizon.net> Message-ID: <20040524103703.D733612FBBA@edison.macserve.net> Hi On Win NT4 SP6 I get fatal error whenever I reset the Vcursor with 'gCursor = 0'. I'm using the V4MD_Client Xtra and Vserver. Any Ideas? Martin From sunshine at public.kherson.ua Mon May 24 13:54:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 05:54:44 2004 Subject: [V4MD] gCursor = 0 In-Reply-To: <20040524103703.D733612FBBA@edison.macserve.net> Message-ID: On 5/24/04 1:36 PM, "Martin Wright" wrote: > Hi > > On Win NT4 SP6 I get fatal error whenever I reset the Vcursor with 'gCursor > = 0'. I'm using the V4MD_Client Xtra and Vserver. > Any Ideas? Hi Marin, Please check DebugLevel(2) log And Vserver log. You mean it crashes? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Mon May 24 13:33:44 2004 From: delong at redcort.com (Keith DeLong) Date: Mon May 24 15:34:00 2004 Subject: V4RB 1.10 update? Message-ID: Hi Ruslan, Some months ago I reported a typo on the 525 error ('field fot found') that you indicated you fixed. It seems there've been a couple other minor fixes as well. Your web site shows 1.10 from December as the latest. Could we get a current 1.10 build for V4RB? I know you're busy with 2.0 so I appreciate you taking the time, Keith DeLong From mjew at icnc.com Mon May 24 14:09:50 2004 From: mjew at icnc.com (Matthew Jew) Date: Mon May 24 16:09:59 2004 Subject: Should VDK_Date, VDK_Time, VDK_DateTime have value methods operator = and such? Message-ID: Ruslan, I am (finally) getting around to trying to use the VDK_DateTime assignment tip you sent to me over 8 months ago. However, I cannot seem to find the "DataPtr()" method call you refer to in your email. I am actually trying to save the DateTime value into a long long variable, like so: dateTimeLowerBound = *(llong*)aGroupDayTotalsTable->lastUpdate.DataPtr(); However, I get the following error (in ProjectBuilder): Valentina/HitReportDBManager.mm:751: error: calling type `DataPtr' like a method When I search the header files (I think I am still using 1.9.8), I cannot find any routine named "DataPtr" at all. What am I doing wrong? - Matthew > on 9/19/03 6:49 AM, Matthew Jew at mjew /at/ icnc DO.T com wrote: > > > Ruslan, > > > > Would it be useful to have operator = and value getters for the > various > > Date and Time classes? > > > > I find myself needing to copy values from one table to another, and > now > > I have to > > do something like: > > > > long aYear; > > ushort aMonth; > > ushort aDay; > > ushort anHour; > > ushort aMinute; > > ushort aSecond; > > > > theSourceTable->modDateTimeField.GetDate( aYear, aMonth, aDay ); > > theSourceTable->modDateTimeField.GetTime( anHour, aMinute, aSecond ); > > > > ... and then later ... > > > > theDestinationTable->modDateTimeField.SetDate( aYear, aMonth, aDay ); > > theDestinationTable->modDateTimeField.SetTime( anHour, aMinute, > aSecond > > ); > > > > Even worse, I need to retrieve hundreds of these DateTimes in a > batch, > > Hi Mathew, > > You have simpler way right now. > > For Date and Time that have 4 bytes value: > *(long*)f1.DataPtr() = *(long*)f2.DataPtr(); > > For DateTime that have 8 bytes value: > *(llong*)f1.DataPtr() = *(llong*)f2.DataPtr(); > > > And of course you need before that check IsNull() > > if( f2.IsNull() ) > { > f1.putIsNull( true ); > } > else > { > *(long*)f1.DataPtr() = *(long*)f2.DataPtr(); > } > > > FYI: in 2.0 we change many things. > for example, we have add new interface I_Value. > and you task in 2.0 API will be as simple as one line of code: > > f1->put_Value( f2->get_Value() ); > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan /at/ paradigmasoft DO.T 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 /at/ lists DO.T macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue May 25 00:30:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 16:30:51 2004 Subject: V4RB 1.10 update? In-Reply-To: Message-ID: On 5/24/04 11:33 PM, "Keith DeLong" wrote: Hi Keith, > Hi Ruslan, > Some months ago I reported a typo on the 525 error ('field fot found') that > you indicated you fixed. It seems there've been a couple other minor fixes > as well. Your web site shows 1.10 from December as the latest. Could we get > a current 1.10 build for V4RB? You mean you want fix of 525 ? Well, you can in worse case edit strings of errors by ResEdit. > I know you're busy with 2.0 so I appreciate you taking the time, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue May 25 00:32:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 16:32:49 2004 Subject: Should VDK_Date, VDK_Time, VDK_DateTime have value methods operator = and such? In-Reply-To: Message-ID: On 5/25/04 12:09 AM, "Matthew Jew" wrote: > > Ruslan, > > I am (finally) getting around to trying to use the VDK_DateTime > assignment tip you sent to me > over 8 months ago. > > However, I cannot seem to find the "DataPtr()" method call you refer to > in your email. Correct name VDK_Field::GetValuePtr() > I am actually trying to save the DateTime value into a long long > variable, like so: > > dateTimeLowerBound = > *(llong*)aGroupDayTotalsTable->lastUpdate.DataPtr(); > > However, I get the following error (in ProjectBuilder): > > Valentina/HitReportDBManager.mm:751: error: calling type `DataPtr' like > a method > > When I search the header files (I think I am still using 1.9.8), I > cannot find any routine > named "DataPtr" at all. > > 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 delong at redcort.com Mon May 24 15:04:36 2004 From: delong at redcort.com (Keith DeLong) Date: Mon May 24 17:04:50 2004 Subject: V4RB 1.10 update? In-Reply-To: Message-ID: Ruslan, Thanks, I can Resedit the string to fix 525 error. I was reminding you of this with the recent bug fix you mentioned on May 20th to Cindy: Do you remember you wrote: > Cindy, > is this problem with VarChar ? > > Forget to say that I have found one bug with VarChar ! > Ken have found it working with Valentina Server and was able reproduce it. > > It happens when you move db from MAC to PC and work there. > Or visa versa. > > And it produce error runtime, but db is all right. > > Yes? > > Confirm, please then I will make new build of V4RB 1.10 > And upload it So don't we need a new build? Keith DeLong > On 5/24/04 11:33 PM, "Keith DeLong" wrote: > > Hi Keith, > >> Hi Ruslan, >> Some months ago I reported a typo on the 525 error ('field fot found') that >> you indicated you fixed. It seems there've been a couple other minor fixes >> as well. Your web site shows 1.10 from December as the latest. Could we get >> a current 1.10 build for V4RB? > > You mean you want fix of 525 ? > > Well, you can in worse case edit strings of errors by ResEdit. > > >> I know you're busy with 2.0 so I appreciate you taking the time, > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue May 25 01:42:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 17:42:49 2004 Subject: V4RB 1.10 update? In-Reply-To: Message-ID: On 5/25/04 1:04 AM, "Keith DeLong" wrote: > Ruslan, > > Thanks, I can Resedit the string to fix 525 error. I was reminding you of > this with the recent bug fix you mentioned on May 20th to Cindy: Hi Keith, I have sent fix build to Cindy directly so far. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 25 01:44:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 24 17:44:42 2004 Subject: V4RB new build In-Reply-To: Message-ID: On 5/24/04 9:30 AM, "Cindy Brown" wrote: > Hi Ruslan, > > I've tested this with the database that was giving me reasonably consistent > trouble and it seems to be going through fine. I ran through 2000 entries > across the network and it went through with no problems. Previously it would > crash every 20 entries or so. Sometimes sooner. > > So this is looking promising but as this is not a consistent problem I will > keep testing and try it out with some of my schools to make sure that it is > okay. Excellent, Cindy! I believe this bug is fixed, so it will work fine for you now. > Thanks for your help. > >> >> Hi Cindy, >> >> RB 5 format. >> >> Please try this and let me know. >> >> If you move your db files from MAC to PC, >> And you get VarChar errors, then I hope this bug is fixed. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Mon May 24 22:38:37 2004 From: keatk at comcast.net (Karen) Date: Mon May 24 21:38:49 2004 Subject: V4RB new build In-Reply-To: References: Message-ID: On May 24, 2004, at 6:44 PM, Ruslan Zasukhin wrote: > Excellent, Cindy! > > I believe this bug is fixed, so it will work fine for you now. > So will you be uploading a new build? I am working on a V4RB 1.1 project where the files do have the potential to be moved across platforms. - Karen From sunshine at public.kherson.ua Tue May 25 10:04:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 02:05:13 2004 Subject: V4RB new build In-Reply-To: Message-ID: On 5/25/04 5:38 AM, "Karen" wrote: > > On May 24, 2004, at 6:44 PM, Ruslan Zasukhin wrote: > >> Excellent, Cindy! >> >> I believe this bug is fixed, so it will work fine for you now. >> > So will you be uploading a new build? I am working on a V4RB 1.1 > project where the files do have the potential to be moved across > platforms. Yes of course. Let's wait few days to prove that it works for Cindy, Although taking into account that for Ken and Cindy it fix bug, I think all right. In 2-3 days If I forget, please remind me. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Tue May 25 19:32:39 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Tue May 25 02:29:25 2004 Subject: V4RB new build In-Reply-To: Message-ID: Hi Ruslan, We tested the new build at a school today which was running a few computers at a time to a server with everything on PC. This setup used to crash constantly and for the first time everything worked without a hitch. All entries went across to the server and back again without any problem. We are testing it tomorrow at a bigger school, again all PC, which had slightly different problems so we'll see how that goes. If everything is fine there I would venture to say that the bug has been fixed. All the best. Cindy Brown > On 5/25/04 5:38 AM, "Karen" wrote: > >> >> On May 24, 2004, at 6:44 PM, Ruslan Zasukhin wrote: >> >>> Excellent, Cindy! >>> >>> I believe this bug is fixed, so it will work fine for you now. >>> >> So will you be uploading a new build? I am working on a V4RB 1.1 >> project where the files do have the potential to be moved across >> platforms. > > Yes of course. > > Let's wait few days to prove that it works for Cindy, > > Although taking into account that for Ken and Cindy it fix bug, > I think all right. > > In 2-3 days If I forget, please remind me. From fvanlerberghe at freegates.be Tue May 25 10:44:51 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue May 25 03:45:18 2004 Subject: V4RB 1.10 update? In-Reply-To: Message-ID: le 25/05/04 0:42, Ruslan Zasukhin a ?crit?: > On 5/25/04 1:04 AM, "Keith DeLong" wrote: > >> Ruslan, >> >> Thanks, I can Resedit the string to fix 525 error. I was reminding you of >> this with the recent bug fix you mentioned on May 20th to Cindy: > > Hi Keith, > > I have sent fix build to Cindy directly so far. I'm interested too. Could you please upload it or send it to me ? Thank you Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From fvanlerberghe at freegates.be Tue May 25 10:47:23 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue May 25 03:47:48 2004 Subject: V4RB new build In-Reply-To: Message-ID: le 25/05/04 9:04, Ruslan Zasukhin a ?crit?: > Let's wait few days to prove that it works for Cindy, Ok. That's alright for me. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Tue May 25 12:03:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 04:03:38 2004 Subject: V4RB new build In-Reply-To: Message-ID: On 5/25/04 10:32 AM, "Cindy Brown" wrote: > Hi Ruslan, > > We tested the new build at a school today which was running a few computers > at a time to a server with everything on PC. This setup used to crash > constantly and for the first time everything worked without a hitch. All > entries went across to the server and back again without any problem. We are > testing it tomorrow at a bigger school, again all PC, which had slightly > different problems so we'll see how that goes. If everything is fine there I > would venture to say that the bug has been fixed. Good Cindy, Although this wonder me. As I have told this bug happens when you work on PC with db files CREATED on MAC. So why you use in the PC-only school MAC-generated files? Do you create some special database in your dev lab And distribute it for use? In case you installs simply empty db to client computers, Then I think it will be better CREATE empty db by 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 cindy at kowhaiprogramming.com Tue May 25 21:21:50 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Tue May 25 04:18:29 2004 Subject: V4RB new build In-Reply-To: Message-ID: Hi Ruslan, I create a special database for each school here. It contains universal data which is given to each school whether PC or Mac. The databases are completely set up when the schools receive them as I generally import their students for them and they also get a complete school curriculum amongst other things. They then receive the set up database with the program and use that in their school. Works very well and with this bug fixed will work even better. All the best. Cindy > Good Cindy, > > Although this wonder me. > > As I have told this bug happens when you work on PC with db files CREATED on > MAC. > > So why you use in the PC-only school MAC-generated files? > > Do you create some special database in your dev lab > And distribute it for use? > > In case you installs simply empty db to client computers, > Then I think it will be better CREATE empty db by your app. From lists at innernine.com Tue May 25 08:39:56 2004 From: lists at innernine.com (Juergen Schreck) Date: Tue May 25 08:40:07 2004 Subject: V4RB 1.10 update? In-Reply-To: References: Message-ID: <0255ABA8-AE51-11D8-99AB-000A95868802@innernine.com> On May 24, 2004, at 5:04 PM, Keith DeLong wrote: > Ruslan, > > Thanks, I can Resedit the string to fix 525 error. I was reminding you > of > this with the recent bug fix you mentioned on May 20th to Cindy: I must've missed this somehow. Can someone explain to me the nature of this bug? I have an application close to ready to being deployed, waiting only for a Windows build. If there are going to be any problems with the db, I'd like to understand the nature of them. Thanks, Juergen From sunshine at public.kherson.ua Tue May 25 17:56:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 09:56:27 2004 Subject: V4RB 1.10 update? In-Reply-To: <0255ABA8-AE51-11D8-99AB-000A95868802@innernine.com> Message-ID: On 5/25/04 4:39 PM, "Juergen Schreck" wrote: > On May 24, 2004, at 5:04 PM, Keith DeLong wrote: > >> Ruslan, >> >> Thanks, I can Resedit the string to fix 525 error. I was reminding you >> of >> this with the recent bug fix you mentioned on May 20th to Cindy: > > I must've missed this somehow. Can someone explain to me the nature of > this bug? I have an application close to ready to being deployed, > waiting only for a Windows build. If there are going to be any problems > with the db, I'd like to understand the nature of them. Hi Juergen, Bug happens if you use VarChar fields and you work on PC with db files made on AMC or visa versa. It happens not always. But rare. In any case it happens only in VarChar field. It not corrupt anything, just start return error code. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue May 25 15:28:47 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Tue May 25 10:28:56 2004 Subject: Concatinating numbers Message-ID: <052520041528.19681.40B3662E000F2E7200004CE122007511500B049D0199D30E0E05@comcast.net> I have a table where the primary key nned combination of several fields VobjectPointer fields and another integer (VByte) value... I want to create a virtual field via a field method that is composed of all those values and set it to kV_Unique... What is the best way? The obvious way is to convert all of them to stings and concatenate the strings... but looking at the VAlentina SQL reference I don't see an SQL function that converts numbers to strings equivalent to the RB. Str function.. Am I just missing it? If so what is it? Is there a better way to do this? Also in V4RB if one uses a baseobject method is there any error mesages if and AddRecord failes because a field is not unique? BaseObject.GetRecID does not *ALWAYS* return 0 in my tests when one tries to add a duplicate. - Karen From sunshine at public.kherson.ua Tue May 25 18:39:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 10:41:43 2004 Subject: Concatinating numbers In-Reply-To: <052520041528.19681.40B3662E000F2E7200004CE122007511500B049D0199D30E0E05@comcast.net> Message-ID: On 5/25/04 6:28 PM, "keatk@comcast.net" wrote: > I have a table where the primary key nned combination of several fields > VobjectPointer fields and another integer (VByte) value... Hmm, If you use RecID and ObjectPtr I think you never need this trick of RDB world. > I want to create a virtual field via a field method that is composed of all > those values and set it to kV_Unique... > > What is the best way? > > The obvious way is to convert all of them to stings and concatenate the > strings... but looking at the VAlentina SQL reference I don't see an SQL > function that converts numbers to strings equivalent to the RB. Str function.. > Am I just missing it? If so what is it? No need for such function, just send numeric field into place, And Valentina self will convert it to string. > Is there a better way to do this? If you want more than 8 bytes together then you need strings. I still do not understand why you need this > Also in V4RB if one uses a baseobject method is there any error mesages if > and AddRecord failes because a field is not unique? BaseObject.GetRecID does > not *ALWAYS* return 0 in my tests when one tries to add a duplicate. If you will try add not unique record, then Valentina will refuse and return you 344 code. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue May 25 16:26:30 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Tue May 25 11:26:38 2004 Subject: Concatinating numbers Message-ID: <052520041626.21730.40B373B50007F8BE000054E222007637040B049D0199D30E0E05@comcast.net> > Hmm, > > If you use RecID and ObjectPtr I think you never > need this trick of RDB world. Yes you do I think.... This is for storing test results on single vial which of a specific lot that has no intrinsinc identifier and replicate results from need to be grouped by product vial so that statistics (inter - and intra-vial variability) be calculated. (too bad you don't include Standard Deviation and Relative Standard Deviation in your summary functions... it would be very handy! 3 (or more) vials are tested and three (or more) repeats of the test are done on each vial A sample is defined as a single prduct vial and must have unique identifier. here it is a combination of Lot, Test, and a replicate number (actually abit more complex) I have the follwing tables (this is actually simplified a good bit) Lot: Info about the Lot/batch of material Test : Info about the Test (Like who did it. when it started, current status etc) TestSample:: defines a single vial of the producted used in that specific test Result: Numeric result of a single deterimination from the test TestSample is defined ( in part - actually there is one other field involved defining how the sample was prepared) as: TestPtr as VObjectPtr LotPtr as VObjectPtr VialRep as VByte and orbitray 1,2,3 etc definining the order that the sample was prepared and assigned by the Analyst UniqueSampleKey as VVarChar = TestPtr +","+ LotPt+"," + VialRep Result table is defined as : SamplePtr as VObjectPointer Value as VDouble etc... - Karen > On 5/25/04 6:28 PM, "keatk@comcast.net" wrote: > > > I have a table where the primary key nned combination of several fields > > VobjectPointer fields and another integer (VByte) value... > > Hmm, > > If you use RecID and ObjectPtr I think you never > need this trick of RDB world. > > > > I want to create a virtual field via a field method that is composed of all > > those values and set it to kV_Unique... > > > > What is the best way? > > > > The obvious way is to convert all of them to stings and concatenate the > > strings... but looking at the VAlentina SQL reference I don't see an SQL > > function that converts numbers to strings equivalent to the RB. Str function.. > > Am I just missing it? If so what is it? > > No need for such function, just send numeric field into place, > And Valentina self will convert it to string. > > > Is there a better way to do this? > > If you want more than 8 bytes together then you need strings. > > I still do not understand why you need this > > > Also in V4RB if one uses a baseobject method is there any error mesages if > > and AddRecord failes because a field is not unique? BaseObject.GetRecID does > > not *ALWAYS* return 0 in my tests when one tries to add a duplicate. > > If you will try add not unique record, then Valentina will refuse and return > you 344 code. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue May 25 19:30:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 11:30:45 2004 Subject: Concatinating numbers In-Reply-To: <052520041626.21730.40B373B50007F8BE000054E222007637040B049D0199D30E0E05@comcast.net> Message-ID: On 5/25/04 7:26 PM, "keatk@comcast.net" wrote: > This is for storing test results on single vial which of a specific lot that > has no intrinsinc identifier and replicate results from need to be grouped by > product vial so that statistics (inter - and intra-vial variability) be > calculated. (too bad you don't include Standard Deviation and Relative > Standard Deviation in your summary functions... it would be very handy! Ivan, Please add this on TODO. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 25 19:31:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 11:34:07 2004 Subject: Concatinating numbers In-Reply-To: <052520041626.21730.40B373B50007F8BE000054E222007637040B049D0199D30E0E05@comcast.net> Message-ID: On 5/25/04 7:26 PM, "keatk@comcast.net" wrote: > This is for storing test results on single vial which of a specific lot that > has no intrinsinc What is vial ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 25 19:33:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 25 11:34:32 2004 Subject: Concatinating numbers In-Reply-To: <052520041626.21730.40B373B50007F8BE000054E222007637040B049D0199D30E0E05@comcast.net> Message-ID: On 5/25/04 7:26 PM, "keatk@comcast.net" wrote: > I have the follwing tables (this is actually simplified a good bit) > > Lot: Info about the Lot/batch of material > Test : Info about the Test (Like who did it. when it started, current status > etc) > > TestSample:: defines a single vial of the producted used in that specific test > Result: Numeric result of a single deterimination from the test > > > > TestSample is defined ( in part - actually there is one other field involved > defining how the sample was prepared) as: > > TestPtr as VObjectPtr > LotPtr as VObjectPtr > VialRep as VByte and orbitray 1,2,3 etc definining the order that the > sample was > prepared and assigned by the Analyst > UniqueSampleKey as VVarChar = TestPtr +","+ LotPt+"," + VialRep Aha, you want to use this to make sure that you have unique combination of these 3 parameters? Okay it have sense. > Result table is defined as : > SamplePtr as VObjectPointer > Value as VDouble > etc... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue May 25 16:48:46 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Tue May 25 11:48:54 2004 Subject: Concatinating numbers Message-ID: <052520041648.4412.40B378EE0004B5FF0000113C22007511500B049D0199D30E0E05@comcast.net> > What is vial ? It can be thought of as a single botttle of product, and yes i need to have a unique combination pf fields that include VObjectPointers (Or the unique field value from the records in the other tables) - Karen > On 5/25/04 7:26 PM, "keatk@comcast.net" wrote: > > > This is for storing test results on single vial which of a specific lot that > > has no intrinsinc > > What is vial ? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 e.wyber at murdoch.edu.au Wed May 26 11:04:57 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Tue May 25 21:59:25 2004 Subject: Concatinating numbers In-Reply-To: <052520041648.4412.40B378EE0004B5FF0000113C22007511500B049D0199D30E0E05@comcast.net> References: <052520041648.4412.40B378EE0004B5FF0000113C22007511500B049D0199D30E0E05@comcast.net> Message-ID: <77E0F312-AEC1-11D8-BBE5-0003930FD04E@murdoch.edu.au> Hi Karen, Can you do this using a structure something like: Table Field Vial Label -- human readable Vial Identifier Sample VialPtr -- Pointer to Vial Run SamplePtr -- Pointer to Sample Then you just need to write the SQL: Something like (pseudo code) SELECT Run WHERE Run.SamplePtr.Vial = Vial_Name Sorry I don't have your original post (I misunderstood what you were asking and trashed it)... HTH Elias. On 26/05/2004, at 12:48 AM, keatk@comcast.net wrote: >> What is vial ? > > It can be thought of as a single botttle of product, and yes i need > to have a unique combination pf fields that include VObjectPointers > (Or the unique field value from the records in the other tables) > > - Karen > > >> On 5/25/04 7:26 PM, "keatk@comcast.net" wrote: >> >>> This is for storing test results on single vial which of a specific >>> lot that >>> has no intrinsinc >> >> What is vial ? >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> ------------------------------------------------------------- >> e-mail: ruslan@paradigmasoft.com >> web: http://www.paradigmasoft.com >> >> To subscribe to the Valentina mail list go to: >> http://lists.macserve.net/mailman/listinfo/valentina >> ------------------------------------------------------------- >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Elias. You only have the rights you defend in others. From keatk at comcast.net Tue May 25 23:58:09 2004 From: keatk at comcast.net (Karen) Date: Tue May 25 22:58:19 2004 Subject: Concatinating numbers In-Reply-To: <77E0F312-AEC1-11D8-BBE5-0003930FD04E@murdoch.edu.au> References: <052520041648.4412.40B378EE0004B5FF0000113C22007511500B049D0199D30E0E05@comcast.net> <77E0F312-AEC1-11D8-BBE5-0003930FD04E@murdoch.edu.au> Message-ID: On May 25, 2004, at 11:04 PM, Elias. wrote: > Can you do this using a structure something like: > > Table Field > Vial Label -- human readable Vial Identifier > > Sample VialPtr -- Pointer to Vial > > Run SamplePtr -- Pointer to Sample > > Why have a separate table for vials when you have one for Lot, and vials only matter when used samples for a specific run? There is no possibility of sub-samples here - the entire contents of the vial are used in the test but When there is the possibility of sub-samples I think it's best to use another field in the sample table and an internally linked tree structure. So what do you see (if any) is the advantage of a separate vial table in this case? But what you propose is similar in concept to a LIMS (Laboratory Information Management System for those that are unfamiliar) I once worked with. In part they used: Sample Table : Equivalent to your Vial table ID: Unique ID for material submitted for analysis Lot: Link to Lot it came from etc. ... Test Table: Info about that specific instance of the test as a whole Result Table: Testptr <<-- Test.RecID SamplePtr <<-- Sample.RecID ComponentPtr <<-- AnalysisComponent.RecID A test is an instance of an Analysis. An analysis may define multiple results (which may have replicates) of different types used in calculations NumericResult : Double etc... In my current situation, I'm only worried about one Analysis (type of test) and current lab practice is not to assign an absolutely *unique* human Identifiable ID to each vial... So I would have to get the lab to agree to create and maintain a system to assign one... And I'm not writing a full blown LIMS! The Vial ID's currently used are unique for the lot *only* within that Run, and used just to group results by vial to get am estimate of vial to vial variability for the lot. Using your terminology my current Table Structure is: Lot Table : Info about lot Run Table: Info about that specific test instance Sample Table : Unique combo of Run, Lot sample and a relative to the run serial Vial ID Sample Table Fields (in part) : LotPtr <<-- Lot.RecID RunPtr <<-- Lot.RecID RunRelativeLotVialNumber : VByte etc... And the combination of LotPtr, RunPtr, and RunRelativeLotVialNumber define a unique Identifier for a vial for calculation purposes Result Table: The actual values determined by testing the sample multiple times. ResultTable Fields: SamplePtr <<- Sample.RecID NumericResult etc. ... - karen From sunshine at public.kherson.ua Wed May 26 14:38:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 26 06:38:12 2004 Subject: Delete Problem In-Reply-To: <000001c44314$65072330$e900a8c0@hsmum1.com> Message-ID: On 5/26/04 2:27 PM, "Sandeep Rao" wrote: > Hi ruslan, > > I am using valentine database with macromedia director. > I am calling this handler to delete the records which as field wordcount > = 0 > > on finalSaveDb > set tempcursor = new (xtra "VCursor", GetRef(gDB1.pDataBase),"select * > from ChapterSet") > set RecCount = GetRecordCount( tempcursor ) > if RecCount <> 0 then > FirstRecord(tempcursor) > repeat with i =1 to RecCount > wordcount = GetField(tempcursor,"WordCount") > if wordcount = 0 then > DeleteRecord(tempcursor) > end if > if i <> RecCount then > NextRecord(tempcursor) > end if > end repeat > tempcursor=void > end if > end > > > It works fine when the record count is greater then 2. If the record > count is equal to 2 then it delete the records, but changes the values > of the other record to 11039220 ... of ktypelong field when the table is > querried again. > > Can you help me in this why is it happening? I don't know what happens (may be loop condition is wrong) but this task can be better made with single SQL command db.Sqlexecute( "DELETE FROM ChapterSet WHERE WordCount = 0" ) ---- Even in case of usage of cursor, it is better SELECT only one field set tempcursor = new (xtra "VCursor", GetRef(gDB1.pDataBase), "select WordCount from ChapterSet") Such cursor will work much faster. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From e.wyber at murdoch.edu.au Wed May 26 20:04:01 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed May 26 06:58:27 2004 Subject: Concatinating numbers In-Reply-To: References: <052520041648.4412.40B378EE0004B5FF0000113C22007511500B049D0199D30E0E05@comcast.net> <77E0F312-AEC1-11D8-BBE5-0003930FD04E@murdoch.edu.au> Message-ID: Hi Karen, In the past, I have used the ObjectPtr fields to get all 'children' of a given node, then checked to see if any of them have the properties I need, rather than building identifiers...it sounded like that may also work in your case...As I said, I didn't have your original post to make my description fit your exact use...sorry if I have the wrong end of the stick :-) On 26/05/2004, at 11:58 AM, Karen wrote: > > On May 25, 2004, at 11:04 PM, Elias. wrote: > >> Can you do this using a structure something like: >> >> Table Field >> Vial Label -- human readable Vial Identifier >> >> Sample VialPtr -- Pointer to Vial >> >> Run SamplePtr -- Pointer to Sample >> >> > > Why have a separate table for vials when you have one for Lot, > and vials only matter when used samples for a specific run? > So what do you see (if any) is the advantage of a separate vial table > in this case? > > But what you propose is similar in concept to a LIMS (Laboratory > Information Management System for those that are unfamiliar) I once > worked with. In part they used: Many years ago, I designed one of those :-) > > In my current situation, I'm only worried about one Analysis (type of > test) and current lab practice is not to assign an absolutely *unique* > human Identifiable ID to each vial... So I would have to get the lab > to agree to create and maintain a system to assign one... And I'm not > writing a full blown LIMS! If you only have one test (stress testing concrete cubes, let us say) then you never need to identify the TYPE of the test, but each tested cube would still need an ID (what your calculated field is doing, I think)...so if you get 3 cubes from one pour, that would be the equivalent of 3 samples from one vial (does that sound correct ?) > The Vial ID's currently used are unique for the lot *only* within that > Run, and used just to group results by vial to get am estimate of vial > to vial variability for the lot. Okay, so the Vial ID may be recycled...I see why you might go the way you have... > Using your terminology my current Table Structure is: > > Lot Table : Info about lot > Run Table: Info about that specific test instance > > Sample Table : Unique combo of Run, Lot sample and a relative to the > run serial Vial ID > Sample Table Fields (in part) : > LotPtr <<-- Lot.RecID > RunPtr <<-- Lot.RecID > RunRelativeLotVialNumber : VByte > etc... > > And the combination of LotPtr, RunPtr, and RunRelativeLotVialNumber > define a unique Identifier for a vial for calculation purposes Elias. You only have the rights you defend in others. From sunshine at public.kherson.ua Wed May 26 20:29:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 26 12:29:59 2004 Subject: Advice please on example organization ? Message-ID: Hi All, I want get advices on example organizations for 2.0 products. The task is next: - we have in e.g. V4RB, C++, Java, 3 ways to work with Valentina engines: 1) SQL way. "CREATE TABLE", "INSERT INTO", DELETE WHERE, ... SELECT 2) API way. Many commands work with API functions. SELECT we still do as SQL, but later work with Vcursor API. 3) Classes way. It allow in nice OO way define structure of tables. in V4RB 2.0 we will introduce new Set classes and new Find() functions in Vtable class so you will be able do quite complex tasks with no SQL at all. I sure now many of you will understand why we was need that classes. Although this will work for LOCAL dbs only. At least now. - in Director and other products we have only 2 first ways. So, for V4RB from one side it is good idea do examples as Common SQL way API way Classes way. If follow this way, then current example CreateDropTable Must be splinted on 2 projects to show only SQL and only API ways. >From one side this is good, because we get simpler examples, And if developer want study SQL way, he will not see other "garbage". >From other side, if we mix all 3 ways in one example, it is more easier compare ways to see what is better for you. I tend go by the first way: splinted isolated examples. What you think? ------ Mixing ways in one project make it more complex, even with 2 ways as we have now. When I will add third way, windows will be too big. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 26 21:30:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 26 13:30:31 2004 Subject: V4RB, how to create StaticText in code Message-ID: Is it possible in REALbasic ? I think yes, but cannot make it working. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Wed May 26 14:41:03 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed May 26 13:41:24 2004 Subject: V4RB, how to create StaticText in code In-Reply-To: References: Message-ID: <3D7D728C-AF44-11D8-945F-000A957CB4CC@desuetude.com> On May 26, 2004, at 2:30 PM, Ruslan Zasukhin wrote: > > Is it possible in REALbasic ? > > I think yes, but cannot make it working. It depends on what you mean; you can clone a StaticText in a window, but this is the only way to create controls at runtime. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed May 26 21:47:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 26 13:47:33 2004 Subject: V4RB, how to create StaticText in code In-Reply-To: <3D7D728C-AF44-11D8-945F-000A957CB4CC@desuetude.com> Message-ID: On 5/26/04 9:41 PM, "Charles Yeomans" wrote: > On May 26, 2004, at 2:30 PM, Ruslan Zasukhin wrote: > >> >> Is it possible in REALbasic ? >> >> I think yes, but cannot make it working. > > It depends on what you mean; you can clone a StaticText in a window, > but this is the only way to create controls at runtime. Ugly. Yes, I want to have empty window "Properties" or with one pair of static text Then add as many as I need. StaticText StaticText ........ ........... ........ ........... So I need clone it? Exists such function? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Wed May 26 19:49:01 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Wed May 26 14:49:10 2004 Subject: V4RB, how to create StaticText in code Message-ID: <052620041949.18182.40B4F4AD0002FD650000470622007637040B049D0199D30E0E05@comcast.net> > Yes, I want > > to have empty window "Properties" > or with one pair of static text > > Then add as many as I need. > > > StaticText StaticText > > ........ ........... > > ........ ........... > > > So I need clone it? > > Exists such function? Yes... I've not done it for awhile , but from memory: Let's say you have one statictext for each colu,m named: StaticText1, StaticText2, StaticText3 ... For each of them set their Index properties to 1 Then in Code to come them do: Dim NewStaticText as StaticText NewStaticText = New StaticText1 NewStaticText.Top = whatever NewStaticText.left = whaterver NewStaticText..text = "Whatever" NewStaticText = New StaticText2 NewStaticText.Top = whatever NewStaticText.left = whaterver NewStaticText..text = "Whatever" Of course you can use loops... - karen > On 5/26/04 9:41 PM, "Charles Yeomans" wrote: > > > On May 26, 2004, at 2:30 PM, Ruslan Zasukhin wrote: > > > >> > >> Is it possible in REALbasic ? > >> > >> I think yes, but cannot make it working. > > > > It depends on what you mean; you can clone a StaticText in a window, > > but this is the only way to create controls at runtime. > > Ugly. > > Yes, I want > > to have empty window "Properties" > or with one pair of static text > > Then add as many as I need. > > > StaticText StaticText > > ........ ........... > > ........ ........... > > > So I need clone it? > > Exists such function? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From yeomans at desuetude.com Wed May 26 15:53:55 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed May 26 14:54:05 2004 Subject: V4RB, how to create StaticText in code In-Reply-To: References: Message-ID: <6B9D169C-AF4E-11D8-B127-000A957CB4CC@desuetude.com> On May 26, 2004, at 2:47 PM, Ruslan Zasukhin wrote: > On 5/26/04 9:41 PM, "Charles Yeomans" wrote: > >> On May 26, 2004, at 2:30 PM, Ruslan Zasukhin wrote: >> >>> >>> Is it possible in REALbasic ? >>> >>> I think yes, but cannot make it working. >> >> It depends on what you mean; you can clone a StaticText in a window, >> but this is the only way to create controls at runtime. > > Ugly. I agree. > > Yes, I want > > to have empty window "Properties" > or with one pair of static text > > Then add as many as I need. > > > StaticText StaticText > > ........ ........... > > ........ ........... > > > So I need clone it? > > Exists such function? > Yes; new StaticText1 will return a new instance. Don't forget to set the Index property of StaticText1 in the Properties editor, or this call will fail. Charles Yeomans From IvanSmahin at public.kherson.ua Thu May 27 00:33:24 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed May 26 16:33:02 2004 Subject: Concatinating numbers In-Reply-To: References: <052520041626.21730.40B373B50007F8BE000054E222007637040B049D0199D30E0E05@comcast.net> Message-ID: <175603897.20040527003324@public.kherson.ua> Scanned by evaluation version of Dr.Web antivirus Daemon http://drweb.ru/unix/ From IvanSmahin at public.kherson.ua Thu May 27 00:36:58 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed May 26 16:36:37 2004 Subject: Oops Message-ID: <722435133.20040527003658@public.kherson.ua> Hello All, Sorry for prev. message. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From timdavis at amug.org Wed May 26 18:40:29 2004 From: timdavis at amug.org (Tim Davis) Date: Wed May 26 20:40:38 2004 Subject: V4RB, how to create StaticText in code In-Reply-To: References: Message-ID: > Yes, I want > > to have empty window "Properties" > or with one pair of static text > > Then add as many as I need. > > > StaticText StaticText > > ........ ........... > > ........ ........... > > > So I need clone it? Hi Ruslan, Here is a working example (based upon Charles and Karen's replies). Instead of two StaticText fields, I used to one as EditField to demonstrate the visibility aspect that may be important. Tim dim NewStaticText as StaticText dim NewEditField as EditField dim i as Integer // place controls in window named StaticText and EditField1, // each with index of 0, and visibility of false // (if visibility is true, then it must be used, or placed out of view) for i = 1 to 3 NewStaticText = New StaticText1 NewStaticText.Top = 20 + (i * 30) NewStaticText.left = 20 NewStaticText.text = "text " + str(i) NewStaticText.Visible = True NewEditField = New EditField1 NewEditField.Top = 20 + (i * 30) NewEditField.left = 120 NewEditField.text = "text " + str(i) NewEditField.Visible = True next From sunshine at public.kherson.ua Thu May 27 11:08:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 27 03:09:09 2004 Subject: V4RB, how to create StaticText in code In-Reply-To: Message-ID: On 5/27/04 4:40 AM, "Tim Davis" wrote: >> Yes, I want >> >> to have empty window "Properties" >> or with one pair of static text >> >> Then add as many as I need. >> >> >> StaticText StaticText >> >> ........ ........... >> >> ........ ........... >> >> >> So I need clone it? > > Hi Ruslan, > > Here is a working example (based upon Charles and Karen's replies). > Instead of two StaticText fields, I used to one as EditField to > demonstrate the visibility aspect that may be important. Thank you guys, I have got it working. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Thu May 27 12:11:57 2004 From: softil at onlinehome.de (SoftIl) Date: Thu May 27 05:12:39 2004 Subject: [VNET] Question about length expressen in a WHERE clause Message-ID: <000d01c443d3$210c6f40$d6f2e6d9@IPSBASIS> Hi, isn't is possible to use the length expression in a Where clause? Example: I've got an field "behandlung" of type kString and now I'd like to select all records which in the field "behandlung" has more than 3 characters. I tried this: SELCET * FROM myTable WHERE LENGTH('behandlung') > 3 But with this statement I get an error "wrong expression" if I call myDB.SqlSelect(selectCommand). Thanks for your answers. Best regards Carsten BTW: Hi Ruslan, can you say something about the VNET-Update for my little problems? "unaccurate exception from db.open methode and wrongIsReadOnly-DataBase-Property" From sunshine at public.kherson.ua Thu May 27 14:03:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 27 06:03:27 2004 Subject: [VNET] Question about length expressen in a WHERE clause In-Reply-To: <000d01c443d3$210c6f40$d6f2e6d9@IPSBASIS> Message-ID: On 5/27/04 1:11 PM, "SoftIl" wrote: Hi Carsten > Hi, > isn't is possible to use the length expression in a Where clause? > Example: > I've got an field "behandlung" of type kString and now I'd like to select > all records which in the field "behandlung" has more than 3 characters. > > I tried this: > > SELCET * FROM myTable WHERE LENGTH('behandlung') > 3 > > But with this statement I get an error "wrong expression" if I call > myDB.SqlSelect(selectCommand). No, you should use BaseObject method for this. > Thanks for your answers. > > Best regards > Carsten > > BTW: > Hi Ruslan, > can you say something about the VNET-Update for my little problems? > "unaccurate exception from db.open methode and > wrongIsReadOnly-DataBase-Property" I remember each day about it. And one more task is more than week on hold. I was able reproduce it Carsten, but in VNET debug not works on some reason, so it is hard to debug it. I was going debug in Visual 6 C++ SDK. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Thu May 27 16:08:25 2004 From: softil at onlinehome.de (SoftIl) Date: Thu May 27 09:08:42 2004 Subject: [VNET] Question about length expressen in a WHERE clause References: Message-ID: <000a01c443f4$167abc00$2af2e6d9@IPSBASIS> Hi Ruslan, > > SELCET * FROM myTable WHERE LENGTH('behandlung') > 3 > No, you should use BaseObject method for this. Ok, thanks a lot. > I remember each day about it. Oh no, now so importantly it also is not again. > I was able reproduce it Carsten, Verry good. :-) >but in VNET debug not works on some reason, Not so good.:-( > so it is hard to debug it. I was going debug in Visual 6 C++ SDK. I wish you a lot of luck. Best regards Carsten From sunshine at public.kherson.ua Thu May 27 17:39:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 27 09:39:32 2004 Subject: [VNET] Question about length expressen in a WHERE clause In-Reply-To: <000a01c443f4$167abc00$2af2e6d9@IPSBASIS> Message-ID: On 5/27/04 5:08 PM, "SoftIl" wrote: > Hi Ruslan, >>> SELCET * FROM myTable WHERE LENGTH('behandlung') > 3 >> No, you should use BaseObject method for this. > Ok, thanks a lot. > >> I remember each day about it. > Oh no, now so importantly it also is not again. > >> I was able reproduce it Carsten, > Verry good. :-) >> but in VNET debug not works on some reason, > Not so good.:-( > >> so it is hard to debug it. I was going debug in Visual 6 C++ SDK. > I wish you a lot of luck. Carsten, Is it show stopper? Urgent? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From mjew at icnc.com Thu May 27 15:31:15 2004 From: mjew at icnc.com (Matthew Jew) Date: Thu May 27 17:31:25 2004 Subject: Problem with sort / index is incorrect Message-ID: <90EB46CA-B02D-11D8-ACD7-000393DED416@icnc.com> Ruslan, I have a Cocoa application that samples several web servers for "hit" statistics and such. Using this data, it calculates about 10 different sets of statistics. Much like the old Cocoa Demo app, the user can click on a column to sort the table by that column. My problem is that the result of the Sort() is not the proper order. I determined that the Sort does not return the correct order because the index is not right. If I throw out the .ind (thereby causing Valentina to rebuild the index), then everything is OK. However, if I add more data, the Sort order quickly becomes incorrect again. I do not think one should have to keep discarding and rebuilding indices to get proper Sort results. I can send you a copy of the program with a corrupted sample database. Am I doing something wrong? I am using version 1.10 of the VSDK.framework. - Matthew From sunshine at public.kherson.ua Fri May 28 01:38:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 27 17:38:52 2004 Subject: Problem with sort / index is incorrect In-Reply-To: <90EB46CA-B02D-11D8-ACD7-000393DED416@icnc.com> Message-ID: On 5/28/04 1:31 AM, "Matthew Jew" wrote: > Ruslan, > > I have a Cocoa application that samples several web servers for "hit" > statistics and such. > Using this data, it calculates about 10 different sets of statistics. > > Much like the old Cocoa Demo app, the user can click on a column to > sort the table by that column. > > My problem is that the result of the Sort() is not the proper order. > I determined that the Sort does not return the correct order because > the index is not right. > > If I throw out the .ind (thereby causing Valentina to rebuild the > index), then everything is OK. > However, if I add more data, the Sort order quickly becomes incorrect > again. > > I do not think one should have to keep discarding and rebuilding > indices to get proper Sort results. > I can send you a copy of the program with a corrupted sample database. > > Am I doing something wrong? > > I am using version 1.10 of the VSDK.framework. Hi Mathew, Of course indexes must not go out of date. 1) just a note: in Valentina 2.0 I have add Diagnose() for indexes. so it will be possible to see WHICH exactly index get problems. 2) Sort on which field fails? Numeric? String? 3) already bad db is not helpful. Can you get it in this way: A) you have good db B) you add some records C) result in bad db? Having this I could debug it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri May 28 14:11:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 06:11:48 2004 Subject: record locks In-Reply-To: Message-ID: On 5/28/04 12:55 PM, "mergault.olivier@wanadoo.fr" wrote: > Name: Mergault Olivier > > Question regarding: v4rb > > V4RB Reference pdf is not very helpfull to understand how records are locked > and  unlocked !Espacially for beginners ! > > So, how can one learn all about that essential point ? Hi Mergault, This is true that Valentina 1.x docs are short, and often require expert level from developer. We try improve this in 2.0 docs. You can read about record locks in ANY SQL book, I believe. Actually all easy. No locks -- no problems. No locks. Read Lock. Or shared lock. You can set it if record do not have WRITE lock, several users can set READ lock on the same record. WRITE LOCK, you can set it if record do not have any other locks. Cursor when is created, locks all selected records as you have specify. If it cannot lock at least one record as required, then ALL fails, and you get error Cannot set lock. When cursor die, it unlock all records. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dp.lists at datenwusel.de Fri May 28 13:25:07 2004 From: dp.lists at datenwusel.de (Daniel Plaenitz) Date: Fri May 28 06:25:25 2004 Subject: utf-8 Message-ID: <6.1.1.1.2.20040528131543.02f3eb90@fink.intern> hello list, I've come back to valentina (and this list) after some absence and as I see the volume here to be rather moderate I hope someone will find the time to give me an update to the current state of affairs with regard to valentina and utf-8 unicode data. Background: with director 10 there is a way to "smuggle" unicode texts into director. They _have_ to be escaped before imported from an extra or whereever and before sent to a flash to display, but using the new javascript they can be unescaped and handled. Now the other day someone asked me if this could be done with unicode data: oracle -> valentina -> director -> display in embedded flash. TIA Daniel Plaenitz From sunshine at public.kherson.ua Fri May 28 15:44:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 07:45:34 2004 Subject: utf-8 In-Reply-To: <6.1.1.1.2.20040528131543.02f3eb90@fink.intern> Message-ID: On 5/28/04 2:25 PM, "Daniel Plaenitz" wrote: Hi Daniel, > I've come back to valentina (and this list) after some absence and as I see > the volume here to be rather moderate I hope someone will find the time to > give me an update to the current state of affairs with regard to valentina > and utf-8 unicode data. > > Background: with director 10 there is a way to "smuggle" unicode texts into > director. They _have_ to be escaped before imported from an extra or > whereever and before sent to a flash to display, but using the new > javascript they can be unescaped and handled. > > Now the other day someone asked me if this could be done with unicode data: > oracle -> valentina -> director -> display in embedded flash. 1) Valentina 2.0 engine work internally in UTF16 2) on input/output it can accept UTF16, UTF8 and any other from 170 the world encodings and languages. 3) I have ask few days ago Director developers what we can do with Unicode in Director MX. If you think what we can do, please tell us! (on beta list). Give us your dream, what syntax you want to use, ok? Technically Valentina engine CAN work with Unicode. I do not see problems if we return to Director String which will contain UTF8. Director of course will not understand it, but if you can send that string to flash. So let's think and experiment together! 4) Please subscribe to beta list. we have not yet upload V4MD 2.0 beta, only V4RB. -------------- Our host provider have set up 2 new lists. 1) Valentina-ann List where only Paradigma will send letters about announces of a new products and builds. So this will be low traffic list. http://lists.macserve.net/mailman/listinfo/valentina-ann 2) Valentina-beta Here must be discussed beta products of Valentina. On the main Valentina list should be discussed questions related to RELEASE products. http://lists.macserve.net/mailman/listinfo/valentina-beta -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dp.lists at datenwusel.de Fri May 28 15:06:36 2004 From: dp.lists at datenwusel.de (Daniel Plaenitz) Date: Fri May 28 08:06:23 2004 Subject: utf-8 In-Reply-To: References: <6.1.1.1.2.20040528131543.02f3eb90@fink.intern> Message-ID: <6.1.1.1.2.20040528150329.02d0c008@fink.intern> Ruslan, >I do not see problems if we return to Director String which will contain >UTF8. Director of course will not understand it, but if you can send that >string to flash. So let's think and experiment together! I think it needs escape() / unescape() so I can hide the unicode from director. (unicode must be escaped before director comes to touch it) I will look into the beta over the weekend. thanks, Daniel From sunshine at public.kherson.ua Fri May 28 16:06:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 08:07:08 2004 Subject: Add Record not working In-Reply-To: <40B6FC13.5090507@wxs.nl> Message-ID: On 5/28/04 11:45 AM, "Leo Van den Brande" wrote: >> If project is simple you can send me >> > > My project is very large, but I would love you to look at the relevant > code and gladly accept your offer. > In order not to loose all layout, I attach it as Word document. subtitle= new VString( "subtitlefld", 1024, "ASCII" ) TIP: It is not good idea to make so long FIXED STRING fields. Use VarChar then for such legnth subtitle= new VVarChar( "subtitlefld", 1024, "ASCII" ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 May 28 16:21:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 08:22:09 2004 Subject: utf-8 In-Reply-To: <6.1.1.1.2.20040528150329.02d0c008@fink.intern> Message-ID: On 5/28/04 4:06 PM, "Daniel Plaenitz" wrote: Daniel, >> I do not see problems if we return to Director String which will contain >> UTF8. Director of course will not understand it, but if you can send that >> string to flash. So let's think and experiment together! > > I think it needs escape() / unescape() so I can hide the unicode from > director. (unicode must be escaped before director comes to touch it) UTF8 itself must be Escaped ? To what? Using which algorithm? > I will look into the beta over the weekend. Please note. There is no yet V4MD 2.0 beta. You can just subscribe and make discussion with us about UTF8. May be you will give us example project that show HOW IT must looks, And we will try to make it working. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Fri May 28 18:31:37 2004 From: softil at onlinehome.de (SoftIl) Date: Fri May 28 11:31:51 2004 Subject: [VNET] Question about length expressen in a WHERE clause References: Message-ID: <001301c444d1$41bb8b00$86e0e6d9@IPSBASIS> > Is it show stopper? No, it isn't. > Urgent? Not realy. Have a nice weekend. Carsten From sunshine at public.kherson.ua Fri May 28 21:57:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 13:57:20 2004 Subject: Properties in Interface, request = dkyoyuhu In-Reply-To: Message-ID: On 5/28/04 2:08 AM, "Jonathan Johnson" wrote: > On May 27, 2004, at 5:29 PM, Ruslan Zasukhin wrote: > >> If we switch to methods, then I assume debugger window also will not >> work? >> >> Then really should be fixed somehow. > > Implemented -- it isn't fixing anything. It's an unimplemented feature. > >> And what you mean? >> Property window and debugger window should show pairs of methods as >> simple >> property? >> You think this is possible? > > It is theoretically possible. However, it would probably make more > sense to add properties to an interface declaration rather than invent > a new way for getter/setter methods to be paired up in the eyes of the > properties window and the debugger. Which then leads us back to your > original proposal... It is indeed a good feature request. Here is the REQUEST http://support.realsoftware.com/feedback/viewreport.php?reportid=dkyoyuhu Please add votes. This is important language feature extension. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Fri May 28 14:45:17 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Fri May 28 15:48:05 2004 Subject: [V4RB] Database Mode Problem Message-ID: Hi Ruslan, I'm seeing a strange problem when I create a database from importing a text file. When I create a database with 4 files, it works fine. But when I create it using only 1 file, it is corrupt. The only difference is changing the Mode parameter in the Create method. One strange thing I notice that happens consistently when it does not work is that my Mac says that it is running out of disk space. That is very odd considering I have over 23 GB of free space! Works: b = app.mdbFips.Create(fDatabase, 4, 128) Does not work: b = app.mdbFips.Create(fDatabase, 1, 128) Using V4RB 1.10. Is this a known issue? I can send you the RB project that displays the problem, but the import text file is 3 MB compressed. I can send that too if you can handle it. Let me know. Best regards, Frank From idevaney at mac.com Fri May 28 22:59:36 2004 From: idevaney at mac.com (Ian Devaney) Date: Fri May 28 16:59:46 2004 Subject: record locks In-Reply-To: <20040528124556.DACB3134578@edison.macserve.net> References: <20040528124556.DACB3134578@edison.macserve.net> Message-ID: <4F28B49C-B0F2-11D8-A634-000A9566DC14@mac.com> In practical terms, why would I want to lock records with a read lock or a write lock? I've never really "got" it! Ian On 28 May 2004, at 1:45 pm, valentina-request@lists.macserve.net wrote: > Message: 9 > Date: Fri, 28 May 2004 14:11:35 +0300 > From: Ruslan Zasukhin > Subject: Re: record locks > To: , > Message-ID: > Content-Type: text/plain; charset="ISO-8859-1" > > On 5/28/04 12:55 PM, "mergault.olivier@wanadoo.fr" > wrote: > >> Name: Mergault Olivier >> >> Question regarding: v4rb >> >> V4RB Reference pdf is not very helpfull to understand how records are >> locked >> and >  unlocked !Espacially for beginners ! >> >> So, how can one learn all about that essential point ? > > Hi Mergault, > > This is true that Valentina 1.x docs are short, and often require > expert > level from developer. We try improve this in 2.0 docs. > > You can read about record locks in ANY SQL book, I believe. > > Actually all easy. > > No locks -- no problems. No locks. > > Read Lock. Or shared lock. > You can set it if record do not have WRITE lock, > several users can set READ lock on the same record. > > WRITE LOCK, > you can set it if record do not have any other locks. > > > Cursor when is created, locks all selected records as you have specify. > > If it cannot lock at least one record as required, then ALL fails, and > you > get error Cannot set lock. > > When cursor die, it unlock all records. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- From sunshine at public.kherson.ua Sat May 29 01:07:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 28 17:07:17 2004 Subject: record locks In-Reply-To: <4F28B49C-B0F2-11D8-A634-000A9566DC14@mac.com> Message-ID: On 5/29/04 12:59 AM, "Ian Devaney" wrote: Hi Ian, > In practical terms, why would I want to lock records with a read lock > or a write lock? > > I've never really "got" it! This is required if you work in multi-user way. Otherwise both users can write into the same record. Changes of the firs one will be lost. Please read any SQL DBMS book on this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Sat May 29 22:14:36 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Sat May 29 15:14:49 2004 Subject: ANN-vPview update Message-ID: Hello list, I made some improvements to vPview a free application to preview and print data from a Valentina database it's based on a RealBasic class and freely available also as a RealBasic project it's been updated to work with V4RB 1.10 and provides support for unicode enjoy it at any comment or bug report welcome Cool Runnings, Erne. |er| musical box |ne| a media store From keatk at comcast.net Sun May 30 11:07:25 2004 From: keatk at comcast.net (Karen) Date: Sun May 30 10:07:40 2004 Subject: [V4RB] Best Way to see if a value exists? Message-ID: <0EF90E0D-B24B-11D8-AA22-0003934C3066@comcast.net> Right now I'm doing: Dim cur as VCursor, ValueExists as boolean Cur = db.SQLSelect("SELECT field FROM table WHERE Field = 'something') ValueExists = Cur <> NIL AND Cur.RecordCount > 0 I was wondering if the following would be faster: Dim cur as VCursor, ValueExists as boolean Cur = db.SQLSelect("SELECT Count(field) FROM table WHERE Field = 'something') ValueExists = Cur <> NIL AND Cur.ULongField(1).Value <> 0 Also would that be he right way for that way of doing it? I am assuming here that a count is a ULongField. I am also assuming Cur.RecordCount can never be 0, as a count of 0 should still return a "record" - karen From sunshine at public.kherson.ua Sun May 30 18:21:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 30 10:22:16 2004 Subject: [V4RB] Best Way to see if a value exists? In-Reply-To: <0EF90E0D-B24B-11D8-AA22-0003934C3066@comcast.net> Message-ID: On 5/30/04 6:07 PM, "Karen" wrote: Hi Karen, > Right now I'm doing: > > Dim cur as VCursor, ValueExists as boolean > > Cur = db.SQLSelect("SELECT field FROM table WHERE Field = 'something') > > ValueExists = Cur <> NIL AND Cur.RecordCount > 0 > > > > > I was wondering if the following would be faster: > > > Dim cur as VCursor, ValueExists as boolean > > Cur = db.SQLSelect("SELECT Count(field) FROM table WHERE Field = > 'something') > > ValueExists = Cur <> NIL AND Cur.ULongField(1).Value <> 0 No, it do the same PLUS it should COUNT > Also would that be he right way for that way of doing it? > I am assuming here that a count is a ULongField. yes > I am also assuming Cur.RecordCount can never be 0, as a count of 0 > should still return a "record" Right. ----------- In Valentina 2.0 will be added such features which should help on this task 1) WHERE fld = 2 LIMIT 1 2) API way: dim res as boolean res = table.field( "fld" ).Exists( 2 ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From aaronbratcher at ontargetreports.com Sat May 29 20:01:10 2004 From: aaronbratcher at ontargetreports.com (Aaron Bratcher) Date: Sun May 30 11:51:24 2004 Subject: V4RB and Windows In-Reply-To: References: Message-ID: <7518C448-B1CC-11D8-A045-000A959E9B12@ontargetreports.com> Hey Cindy. Does the same server accept connections from Mac and Windows clients and only corrupt when the windows clients send data? Another possibility is to restructure your program slightly. Have a file transfer program with an MD5 check drop all changes as sql commands into a file on the server. (Maybe start out with a .txt extension and then when you are done receiving and verifying the file rename it to have a .sql extension) Have the valentina server program read the submission files fully transferred and execute the changes. I have done this kind of thing very successfully several times. -- Aaron Bratcher On-Target Reports, Inc. From idevaney at mac.com Sun May 30 18:02:21 2004 From: idevaney at mac.com (Ian Devaney) Date: Sun May 30 12:02:59 2004 Subject: record locks In-Reply-To: <20040530152224.5627313690E@edison.macserve.net> References: <20040530152224.5627313690E@edison.macserve.net> Message-ID: <1D92D6D3-B25B-11D8-BAF3-000A9566DC14@mac.com> Thanks Ruslan. I presumed this to be the case. I asked a question a while ago about using "persistant" cursors and it seems the way to do this is to use "no locks". Does this mean that this way of working is impossible in a multi-user scenario? Ian On 30 May 2004, at 4:22 pm, valentina-request@lists.macserve.net wrote: > Message: 8 > Date: Sat, 29 May 2004 01:07:05 +0300 > From: Ruslan Zasukhin > Subject: Re: record locks > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 5/29/04 12:59 AM, "Ian Devaney" wrote: > > Hi Ian, > >> In practical terms, why would I want to lock records with a read lock >> or a write lock? >> >> I've never really "got" it! > > This is required if you work in multi-user way. > > Otherwise both users can write into the same record. > Changes of the firs one will be lost. > > Please read any SQL DBMS book on this. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- From sunshine at public.kherson.ua Sun May 30 21:07:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 30 13:07:56 2004 Subject: record locks In-Reply-To: <1D92D6D3-B25B-11D8-BAF3-000A9566DC14@mac.com> Message-ID: On 5/30/04 8:02 PM, "Ian Devaney" wrote: > Thanks Ruslan. > > I presumed this to be the case. > > I asked a question a while ago about using "persistant" cursors and it > seems the way to do this is to use "no locks". > > Does this mean that this way of working is impossible in a multi-user > scenario? You can use them, but you NEVER must WRITE into such cursor. And you should understand that you may read DIRTY DATA -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Mon May 31 00:40:47 2004 From: keatk at comcast.net (Karen) Date: Sun May 30 23:40:55 2004 Subject: [V4RB] error 363 with a Nil cursor Message-ID: I got a Nil Cursor from an SQL query that looks like it has no syntax errors and had worked before... Looking at the Mac OSX log file I see: V4RB: DataBase_SqlSelect... V4RB: error 363. But the Valentia Kernal reference does not list this error number.. What does it mean? - karen From vidal_olivier at yahoo.fr Mon May 31 11:46:30 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Mon May 31 04:41:20 2004 Subject: bad result SQL Message-ID: <64EEFAB6-B2E7-11D8-AA5D-00039310B7DA@yahoo.fr> hi, The result of my request SQL is different according to the place of columns in the request. It is normal? -> GOOD RESULT: SELECT Vrate,Pvalue FROM Fam_Price_TypSal_TypPrice, Fam_Vat_TypVat_TypSal, price,typsalle,family,vat,typprice,typvat WHERE snom=salle -> BAD RESULT: SELECT Vrate,Pvalue FROM Fam_Price_TypSal_TypPrice, Fam_Vat_TypVat_typSal, price,family,typsalle,vat,typprice,typvat WHERE snom=salle The only difference is that " typSalle " and "family" were inverted. In the first case, I indeed have a good result with all the lines. In the second case, I have only the first line. ---------------- DATABASE ---------------- Bo Family - colonne FName (vstring) Bo Price - colonne Pval (float) Bo VAT - Vname (vstring) - Vrate (float) Bo TypPrice - Rname (vstring) Bo TypSalle - Sname (vstring) Bo TypVAT - Wname (vstring) Bo Fam_Price_TypSal_TypPrice - FamPtr (Family Ptr) - PricePtr - TypPricePtr - TypSalPtr Bo Fam_Vat_TypVat_TypSal - FamPtr - VatPtr - TypSalPtr - TypVatPtr I can send you the file vdb (84 ko) and data (2.9Mo) Thank you very much. olivier From sunshine at public.kherson.ua Mon May 31 17:45:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 31 09:45:50 2004 Subject: bad result SQL In-Reply-To: <64EEFAB6-B2E7-11D8-AA5D-00039310B7DA@yahoo.fr> Message-ID: On 5/31/04 12:46 PM, "olivier" wrote: > hi, > > The result of my request SQL is different according to the place of > columns in the request. > It is normal? Hi oliver, In Valentina 1.x you should follow rule: group fields of the same table together. NEVER do this WHERE T1.f = 5 and T2.f = 6 and T1.f2 > 7 ^^^^^^^^ T1 go after T2. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon May 31 17:46:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 31 09:46:31 2004 Subject: [V4RB] error 363 with a Nil cursor In-Reply-To: Message-ID: On 5/31/04 7:40 AM, "Karen" wrote: Hi Karen, > I got a Nil Cursor from an SQL query that looks like it has no syntax > errors and had worked before... Looking at the Mac OSX log file I see: > > V4RB: DataBase_SqlSelect... > V4RB: error 363. > > But the Valentia Kernal reference does not list this error number.. > What does it mean? This error means Cannot set record lock. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------