From daisychain at iinet.net.au Thu Sep 1 07:34:43 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Aug 31 16:34:44 2005 Subject: Well Done Sergey In-Reply-To: <20050831211733.77A78379A36@edison.macserve.net> Message-ID: <001601c5ae73$cdf36680$ae00a8c0@DamonsPC> Well done Sergey, much faster for the RB IDE view database. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Thu Sep 1 10:04:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 1 02:04:34 2005 Subject: V4RB - Aggregate Functions, Permissions In-Reply-To: Message-ID: On 8/27/05 2:05 AM, "RB User" wrote: Hi Russ, >> MAY BE you need to use Vserver for your task? > > No, only one user needs access to this file at a time. > > The thing is, I think the second user (with only read permissions to the db > file) is running the app, and Valentina is not properly handling the > permissions issue. I mean, it is trying to write the "results table" to the > db file and the user does not have write access to it, or it is trying to > build the "results table" in an invalid temp folder. This is just an > educated guess, based on the fact that the problem goes away if the user has > write access to the db file. > > Should a "managed user" on OS X have write access to the system TMP folder, > that Valentina uses for the "results table"? Not sure. May be that is admin folder ? > I don't mind leaving my workaround in place, it just makes me nervous that I > do not know 100% sure what is causing the cursor to choke. > > I have verified the same problem on one other Mac OS X machine (i.e., a > managed user cannot successfully run an aggregate query cursor on a db that > they only have Read access to). Well, if you will upgrade later to 2.0, Then for 2.0 we can check this and try to fix if needed -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Thu Sep 1 08:55:30 2005 From: fitzbew at nc.rr.com (RB User) Date: Thu Sep 1 07:55:39 2005 Subject: V4RB - Aggregate Functions, Permissions In-Reply-To: Message-ID: On 9/1/05 3:04 AM, "Ruslan Zasukhin" wrote: > On 8/27/05 2:05 AM, "RB User" wrote: > > Hi Russ, > >>> MAY BE you need to use Vserver for your task? >> >> No, only one user needs access to this file at a time. >> >> The thing is, I think the second user (with only read permissions to the db >> file) is running the app, and Valentina is not properly handling the >> permissions issue. I mean, it is trying to write the "results table" to the >> db file and the user does not have write access to it, or it is trying to >> build the "results table" in an invalid temp folder. This is just an >> educated guess, based on the fact that the problem goes away if the user has >> write access to the db file. >> >> Should a "managed user" on OS X have write access to the system TMP folder, >> that Valentina uses for the "results table"? > > Not sure. May be that is admin folder ? > I don't know where V4RB (at least not with certainty) is trying to write. I suspect it is trying to write the "results table" to the DB file itself, since the problem goes away if the user has write access to the DB file. Just an educated guess on my part. >> I don't mind leaving my workaround in place, it just makes me nervous that I >> do not know 100% sure what is causing the cursor to choke. >> >> I have verified the same problem on one other Mac OS X machine (i.e., a >> managed user cannot successfully run an aggregate query cursor on a db that >> they only have Read access to). > > Well, if you will upgrade later to 2.0, > Then for 2.0 we can check this and try to fix if needed Great. First chance I get, I'll check 2.X and see if the problem goes away. (I already have a 2.X V4RB for Windows license.) I'll post here again with what I find, but it may be a 1-2 weeks. In the meantime, I'll just use the workaround (sorting the recordset, and grabbing the first record to get MAX). I have been very eager to "dive into" V4RB 2.X, and now that encryption has been rolled out, I guess it is finally time! Russ From giv at tlc.kherson.ua Fri Sep 2 12:57:00 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Sep 2 04:57:00 2005 Subject: FIXED: [V4MD] Null value from SQL query References: <001201c5ae28$e5f6aa80$97081e97@vmtrm4p9ipbkv2> Message-ID: <003701c5afa4$a9b3d700$3b04a8c0@giv> Hi Paolo, > I've read in "Field Method" in p98 of Director ref > (Btw: for me you've forget a in the name of cursor in this page) > and I've tried with: > > put gCursor.field("sF1").getString > > but I get property not found #getString... > my mistake? Try to add final brackets at the of the call. getString() is method - not a property. -- 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 lfredricks at proactive-intl.com Fri Sep 2 08:55:33 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri Sep 2 10:55:43 2005 Subject: Valentina C++ 1.12 Upgrade for xCode 2 and CodeWarrior 9.5 and 9.6 Offer Message-ID: <20050902155538.9BE8A17D08E@spatula.dreamhost.com> Dear Valentina C++ 1.11 Developers, If you've been thinking Valentina 2 C++ SDK is just around the corner, you'd be right. We are very close to an announcement about this much anticipated product. We are very excited about this next step in Paradigma development, since this is the product that launched the company. Some of our MacOS X C++ customers have made requests for us to update Valentina 1.x C++ SDK to support xCode 2 and Metrowerks CodeWarrior 9.5 and 9.6 compilation. While we have wanted to concentrate on Valentina 2.x development, we realize that changes in Apple's development strategies doesn't necessarily coincide with our customer's development plans. For this reason, we are releasing.Valentina 1.12 C++ SDK Upgrade to support VSDK 1.12 framework for xCode 2 and C++ SDK 1.12 macho library for CodeWarrior 9.5 and 9.6. This is a special, paid for maintenance upgrade. If you would like more information on how to purchase this upgrade please send an email to lynn@paradigmasoft.com. If you are in Germany, send a note to jpeters@valentina-db.de. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com ----------------------------------------- About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading provider of incredibly fast and robust database solutions for business and development. Valentina 2 technology powers solutions as diverse as graphics applications from major Japanese electronics companies to solutions supporting US public schools. Paradigma Software solutions are available for every major development environment on the Windows and Macintosh platforms. For additional information, visit the Paradigma Software website at http://www.paradigmasoft.com. Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com From devlist at revolversoft.com Mon Sep 5 04:54:14 2005 From: devlist at revolversoft.com (Paul Gaspar) Date: Sun Sep 4 21:54:27 2005 Subject: What Tool to Edit a 200 MB XML Dump? Message-ID: Hi all, I have a XML dump file, that failes to load in line 4.998.305 at Pos 26. Fine, but I don't have a tool that opens and edits a file with 5+ Million lines in a usable way. Does somenody have a tip? Thanks, Paul From sunshine at public.kherson.ua Mon Sep 5 09:29:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 5 01:29:42 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: Message-ID: On 9/5/05 5:54 AM, "Paul Gaspar" wrote: > Hi all, > > I have a XML dump file, that failes to load in line 4.998.305 at Pos > 26. Fine, but I don't have a tool that opens and edits a file with 5+ > Million lines in a usable way. Does somenody have a tip? Hi Paul, Yes such big files even BBEdit fail to open fast. This was reason why we have add feature db.Clone() in 2.0 Am I right that you try rebuild some database ? Then try to use Clone() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at bertspin.nl Mon Sep 5 09:34:04 2005 From: info at bertspin.nl (Bert Spin) Date: Mon Sep 5 02:34:10 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: References: Message-ID: <6.2.3.4.0.20050905092945.01dfed70@pop.iae.nl> At 05-09-2005 04:54, you wrote: >Hi all, > >I have a XML dump file, that failes to load in line 4.998.305 at Pos >26. Fine, but I don't have a tool that opens and edits a file with >5+ Million lines in a usable way. Does somenody have a tip? For these purposes you could try a hex editor. These programs don't load files into memory. >Thanks, > >Paul > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From devlist at revolversoft.com Mon Sep 5 09:55:45 2005 From: devlist at revolversoft.com (Paul Gaspar) Date: Mon Sep 5 02:55:57 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: References: Message-ID: > Am I right that you try rebuild some database ? > Then try to use Clone() Thanks Bert + Ruslan! Is Clone safe? Can I clone daily and continue with the clone (and keeping the old db as backup) instead of building a backup? That would lead to a perfect database, but needs a while for a 80 MB db, I guess? Paul From sunshine at public.kherson.ua Mon Sep 5 11:01:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 5 03:01:08 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: Message-ID: On 9/5/05 10:55 AM, "Paul Gaspar" wrote: >> Am I right that you try rebuild some database ? >> Then try to use Clone() > > Thanks Bert + Ruslan! > > Is Clone safe? In regards to ? > Can I clone daily and continue with the clone (and > keeping the old db as backup) instead of building a backup? I think yes. > That would lead to a perfect database, but needs a while for a 80 MB db, I > guess? Clone() in theory must be faster of XML. because it not produce huge intermediate file on disk. clone just read existing db and produce new copy which in general can be smaller. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From devlist at revolversoft.com Mon Sep 5 10:06:51 2005 From: devlist at revolversoft.com (Paul Gaspar) Date: Mon Sep 5 03:07:04 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: References: Message-ID: <9a23f49019260772d12b35ab13b14a77@revolversoft.com> >> Is Clone safe? > > In regards to ? Getting all data 100 % to the new DB without losses (in case the original DB is fine, of course). Paul From sunshine at public.kherson.ua Mon Sep 5 11:33:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 5 03:33:51 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: <9a23f49019260772d12b35ab13b14a77@revolversoft.com> Message-ID: On 9/5/05 11:06 AM, "Paul Gaspar" wrote: >>> Is Clone safe? >> >> In regards to ? > > > Getting all data 100 % to the new DB without losses (in case the > original DB is fine, of course). Of course. It even resists to some kinds of corruptions. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Mon Sep 5 05:37:09 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Mon Sep 5 06:37:19 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: References: Message-ID: <7F2D06A7-0AF4-41EA-A097-FF9DFC129A46@goodeast.com> On Sep 5, 2005, at 12:29 AM, Ruslan Zasukhin wrote: > On 9/5/05 5:54 AM, "Paul Gaspar" wrote: > > >> Hi all, >> >> I have a XML dump file, that failes to load in line 4.998.305 at Pos >> 26. Fine, but I don't have a tool that opens and edits a file with 5+ >> Million lines in a usable way. Does somenody have a tip? > > Yes such big files even BBEdit fail to open fast. Be sure to turn default line wrap *off* for the best speed. BBEdit should open that file up pretty quickly assuming you have 200MB of free RAM. Then you can simply jump to the line number. Best regards, Frank Schima From bitterlich at gsco.de Mon Sep 5 16:09:32 2005 From: bitterlich at gsco.de (Frank Bitterlich) Date: Mon Sep 5 09:09:39 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x Message-ID: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> Hi, I have a scenario where I create a Database from a Mac app for use on Windows and Mac. Which encoding should I use when I add data and query later? I tried UTF-8, but that doesn't seem to work. If I use MacRoman, it works on the Mac, but I can't select later on Windows. Which text encoding is the right one? Thanks, Frank+++ -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From ohmitou at wanadoo.fr Mon Sep 5 18:31:29 2005 From: ohmitou at wanadoo.fr (Thierry Nauze) Date: Mon Sep 5 09:31:36 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> References: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> Message-ID: <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> Le 5 sept. 05 ? 18:09, Frank Bitterlich a ?crit : > Hi, > > I have a scenario where I create a Database from a Mac app for use > on Windows and Mac. Which encoding should I use when I add data and > query later? I tried UTF-8, but that doesn't seem to work. If I use > MacRoman, it works on the Mac, but I can't select later on Windows. > > Which text encoding is the right one? Function enCode(s as string) as string #if TargetWin32 return convertEncoding(t,encodings.windowsLatin1) #else return convertEncoding(t,encodings.MacRoman) #endif End Function Function deCode(s as string) as string #if TargetWin32 return convertEncoding(defineEncoding (s,encodings.windowsLatin1),encodings.UTF8) #else return convertEncoding(defineEncoding (s,encodings.MacRoman),encodings.UTF8) #endif End Function curseur=db.SQLSelect( enCode("SELECT valeur FROM prefs WHERE nom ='nimportequoi'"), ..., ..., ... ) if curseur<>nil then maValeur= deCode(curseur.field(1).getString) end It works fine for me. Regards, -- Thierry NAUZE Saint-Denis de la R?union From bitterlich at gsco.de Mon Sep 5 16:57:35 2005 From: bitterlich at gsco.de (Frank Bitterlich) Date: Mon Sep 5 09:57:40 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> References: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> Message-ID: <5A7D921C-F31D-465E-85E3-4116F902F03D@gsco.de> Hi Thierry, thanks for the answer. Unfortunately, the part I'm having problems with is the SQLSelect. Try this (in a DB populated with MacRoman data): > curseur=db.SQLSelect( enCode("SELECT valeur FROM prefs WHERE nom > ='d?j? v?'"), ..., ..., ... ) (Sorry if I got the accents wrong :) On the Mac, it works. On Windows, it doesn't; regardless if I use WindowsLatin1, MacRoman, or UTF-8 as the encoding for the SQLSelect() statement. If I do a "select * from ...", I get the correct results (Valentina even converts it to UTF8 or WindowsLatin1 for me, even though I have added the data as MacRoman). So the real question is: Which Encoding to use for the SQLSelect() statement on Windows, when the database was created on the Mac? And: has the "inNativeOS" argument of the VDatabase.Create() statement something to do with this? BTW, I think you can omit the "#if TargetWin..." clause if you just use Encodingss.SystemDefault (which is MacRoman on the Mac and WindowsLatin1 on Win32). Thanks, Frank+++ Am 05.09.2005 um 16:31 schrieb Thierry Nauze: > > > Le 5 sept. 05 ? 18:09, Frank Bitterlich a ?crit : > > >> Hi, >> >> I have a scenario where I create a Database from a Mac app for use >> on Windows and Mac. Which encoding should I use when I add data >> and query later? I tried UTF-8, but that doesn't seem to work. If >> I use MacRoman, it works on the Mac, but I can't select later on >> Windows. >> >> Which text encoding is the right one? >> > > > > Function enCode(s as string) as string > #if TargetWin32 > return convertEncoding(t,encodings.windowsLatin1) > #else > return convertEncoding(t,encodings.MacRoman) > #endif > End Function > > Function deCode(s as string) as string > #if TargetWin32 > return convertEncoding(defineEncoding > (s,encodings.windowsLatin1),encodings.UTF8) > #else > return convertEncoding(defineEncoding > (s,encodings.MacRoman),encodings.UTF8) > #endif > End Function > > > > curseur=db.SQLSelect( enCode("SELECT valeur FROM prefs WHERE nom > ='nimportequoi'"), ..., ..., ... ) > > if curseur<>nil then > maValeur= deCode(curseur.field(1).getString) > end -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From bitterlich at gsco.de Mon Sep 5 17:32:04 2005 From: bitterlich at gsco.de (Frank Bitterlich) Date: Mon Sep 5 10:32:09 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: <5A7D921C-F31D-465E-85E3-4116F902F03D@gsco.de> References: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> <5A7D921C-F31D-465E-85E3-4116F902F03D@gsco.de> Message-ID: <4BA31604-9716-45E1-8365-5DAF644BE22F@gsco.de> Okay, now it gets funny. The problem is not the Encoding itself; the problem is one field. If I search in field "ZUNAME" using non-ASCII characters, it works. If I search in "ADRESSE", it doesn't. "ZUNAME" is VarChar[30], and ADRESSE is VarChar[99]. Both are indexed. Same table. ADRESSE is the last field in that table. Could this be a bug? I have re-created the database numerous times, same result. Happens on Windows only. Using V4RB 1.11. Any ideas? Ruslan? Thanks, Frank+++ Am 05.09.2005 um 16:57 schrieb Frank Bitterlich: > Hi Thierry, > > thanks for the answer. Unfortunately, the part I'm having problems > with is the SQLSelect. > > Try this (in a DB populated with MacRoman data): > > >> curseur=db.SQLSelect( enCode("SELECT valeur FROM prefs WHERE nom >> ='d?j? v?'"), ..., ..., ... ) >> > > (Sorry if I got the accents wrong :) > > On the Mac, it works. On Windows, it doesn't; regardless if I use > WindowsLatin1, MacRoman, or UTF-8 as the encoding for the SQLSelect > () statement. If I do a "select * from ...", I get the correct > results (Valentina even converts it to UTF8 or WindowsLatin1 for > me, even though I have added the data as MacRoman). > > So the real question is: Which Encoding to use for the SQLSelect() > statement on Windows, when the database was created on the Mac? > > And: has the "inNativeOS" argument of the VDatabase.Create() > statement something to do with this? > > BTW, I think you can omit the "#if TargetWin..." clause if you just > use Encodingss.SystemDefault (which is MacRoman on the Mac and > WindowsLatin1 on Win32). ... -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From bitterlich at gsco.de Mon Sep 5 17:58:58 2005 From: bitterlich at gsco.de (Frank Bitterlich) Date: Mon Sep 5 10:59:03 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: <4BA31604-9716-45E1-8365-5DAF644BE22F@gsco.de> References: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> <5A7D921C-F31D-465E-85E3-4116F902F03D@gsco.de> <4BA31604-9716-45E1-8365-5DAF644BE22F@gsco.de> Message-ID: PROBLEM SOLVED!!!! Not really a "bug" in Valentina; but rather a limitation in the "like" search. The field in question was filled with all-uppercase letters, and the search used "no_case". The problem here is that the data in the database appears to be stored as MacRoman; so when Valentina gets a query like select * from ABC where ADRESSE like '?' no_case it would find any record that contained a lowercase or uppercase "?" in Windows Latin. But a MacRoman uppercase "?" looks like something different in Windows, and that cannot be "lower-cased" (maybe it can, but it wouldn't be the same character that is represented by a lowercase MacRoman "?" in Windows Latin). So, how to solve this? Hard to tell. My workaround is to pre-convert the search term to uppercase in RB. But you can't do a real case- insensitive search on arbitrary strings this way. Maybe V4RB should recognize/remember the encoding of the database, and apply the specific case-conversion code; or maybe it should store the data internally in a cross-platform way - UTF8, for example. Does 2.0 use ITF8 internally? Cheers, Frank+++ Am 05.09.2005 um 17:32 schrieb Frank Bitterlich: > Okay, now it gets funny. > > The problem is not the Encoding itself; the problem is one field. > > If I search in field "ZUNAME" using non-ASCII characters, it works. > If I search in "ADRESSE", it doesn't. "ZUNAME" is VarChar[30], and > ADRESSE is VarChar[99]. Both are indexed. Same table. ADRESSE is > the last field in that table. > > Could this be a bug? I have re-created the database numerous times, > same result. Happens on Windows only. Using V4RB 1.11. > > Any ideas? Ruslan? > > Thanks, > Frank+++ > -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From devlist at revolversoft.com Mon Sep 5 18:10:52 2005 From: devlist at revolversoft.com (Paul Gaspar) Date: Mon Sep 5 11:11:10 2005 Subject: What Tool to Edit a 200 MB XML Dump? In-Reply-To: <7F2D06A7-0AF4-41EA-A097-FF9DFC129A46@goodeast.com> References: <7F2D06A7-0AF4-41EA-A097-FF9DFC129A46@goodeast.com> Message-ID: Thank you, Frank, that was helpful. Even the free TextWrangler does open it fine, if you swtich off everything in the "Editor Defaults" of the prefs panel. Paul >> Yes such big files even BBEdit fail to open fast. > > Be sure to turn default line wrap *off* for the best speed. BBEdit > should open that file up pretty quickly assuming you have 200MB of > free RAM. Then you can simply jump to the line number. From yeomans at desuetude.com Mon Sep 5 12:12:43 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Sep 5 11:15:17 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: References: <4398F0A6-AC13-4256-9BF5-3AF4D2EB0B67@gsco.de> <1EDB1271-F993-43B8-AF83-DB8A9C753FCC@wanadoo.fr> <5A7D921C-F31D-465E-85E3-4116F902F03D@gsco.de> <4BA31604-9716-45E1-8365-5DAF644BE22F@gsco.de> Message-ID: On Sep 5, 2005, at 11:58 AM, Frank Bitterlich wrote: > PROBLEM SOLVED!!!! > > Not really a "bug" in Valentina; but rather a limitation in the "like" > search. > > The field in question was filled with all-uppercase letters, and the > search used "no_case". The problem here is that the data in the > database appears to be stored as MacRoman; so when Valentina gets a > query like > > select * from ABC where ADRESSE like '?' no_case > > it would find any record that contained a lowercase or uppercase "?" > in Windows Latin. But a MacRoman uppercase "?" looks like something > different in Windows, and that cannot be "lower-cased" (maybe it can, > but it wouldn't be the same character that is represented by a > lowercase MacRoman "?" in Windows Latin). > > So, how to solve this? Hard to tell. My workaround is to pre-convert > the search term to uppercase in RB. But you can't do a real > case-insensitive search on arbitrary strings this way. Maybe V4RB > should recognize/remember the encoding of the database, and apply the > specific case-conversion code; or maybe it should store the data > internally in a cross-platform way - UTF8, for example. > > Does 2.0 use ITF8 internally? > UTF-16, I believe. -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Sep 5 19:30:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 5 11:30:13 2005 Subject: Encoding for cross-Platform DB with V4RB 1.x In-Reply-To: Message-ID: On 9/5/05 6:58 PM, "Frank Bitterlich" wrote: > Does 2.0 use ITF8 internally? Actually UTF16 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Sep 5 21:04:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 5 13:04:54 2005 Subject: [NEW] Db.Clone() have now 3d parameter inDoLog Message-ID: Hi All, Please pay attention that db.Clone() now have new parameter inDoLog. If you set it TRUE, then Valentina will write into this log information about any corrupted field value which it was not able copy into new db. If db was good and no problems then log file will not be created. This can be useful if user clone some corrupted db, Now he can explicitly see what data was lost. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue Sep 6 15:59:33 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Sep 6 15:02:07 2005 Subject: [V4Rb 2] Using threads Message-ID: <396bdd9bca139eb7654de0b32fe7d29c@desuetude.com> Has anyone been using Valentina and REALbasic threads? I'm trying a bit of it and it mostly works. -------------- Charles Yeomans From jda at his.com Tue Sep 6 16:16:53 2005 From: jda at his.com (jda) Date: Tue Sep 6 15:16:57 2005 Subject: [V4Rb 2] Using threads In-Reply-To: <396bdd9bca139eb7654de0b32fe7d29c@desuetude.com> References: <396bdd9bca139eb7654de0b32fe7d29c@desuetude.com> Message-ID: >Has anyone been using Valentina and REALbasic threads? I'm trying a >bit of it and it mostly works. > I've put Valentina calls in RB threads and haven't had any problems... Jon From macsforever2000 at goodeast.com Tue Sep 6 14:19:16 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Sep 6 15:19:31 2005 Subject: [V4Rb 2] Using threads In-Reply-To: <396bdd9bca139eb7654de0b32fe7d29c@desuetude.com> References: <396bdd9bca139eb7654de0b32fe7d29c@desuetude.com> Message-ID: <63BCA4DE-DDEF-4349-BD75-9612432058C0@goodeast.com> Hi Charles, On Sep 6, 2005, at 1:59 PM, Charles Yeomans wrote: > Has anyone been using Valentina and REALbasic threads? I'm trying > a bit of it and it mostly works. I've played with them in the past and have been successful. One time it was for filling a large Listbox, but I have since moved to a homemade data grid which displays the current rows only. Except I do not have the ability to multi-select rows - but that is just a deficiency in my data grid. Does any data grid have that ability (that is free and I can use)? I suppose it is as simple as keeping a boolean array and updating it myself. Otherwise I spend time on SQL/code optimization for fast results. I'm not sure what happens if you have a long SQL going that is tying up the V2 engine and you want to run another quick SQL. In other words, I don't know if V4RB2 is threaded itself or if you must queue up the SQLs and wait one at a time. Ruslan? Best regards, Frank Schima From sunshine at public.kherson.ua Tue Sep 6 23:43:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 6 15:43:16 2005 Subject: [V4Rb 2] Using threads In-Reply-To: <63BCA4DE-DDEF-4349-BD75-9612432058C0@goodeast.com> Message-ID: On 9/6/05 11:19 PM, "Frank Schima" wrote: Hi Frank, > I'm not sure what happens if you have a long SQL going that is tying > up the V2 engine and you want to run another quick SQL. In other > words, I don't know if V4RB2 is threaded itself or if you must queue > up the SQLs and wait one at a time. Ruslan? It is not yet threaded as deeply as we want. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From alindsay at mac.com Tue Sep 6 23:35:06 2005 From: alindsay at mac.com (Alex Lindsay) Date: Tue Sep 6 23:35:13 2005 Subject: Compact and Defragment In-Reply-To: References: Message-ID: <8b6e58c99660da4b8f73b36e0ea6701c@mac.com> What is the preferable method for compacting a database after a large deletion operation in Valentina 1.11. This deletion operation will be deleting a large percentage of the data in the database. Do the Compact and Defragment SQL keywords work properly in Valentina 1.11? Is it preferable to use a Dump and Load approach instead. I have noticed reference to Valentina 1.12 but it does not appear on the website. Is 1.11 still the latest of 1.x versions? I have been waiting for both Realbasic 2005 and Valentina 2 to become stable enough to begin porting my application. It seems that they are at this stage now. Anyone else holding off this migration because of known bugs or current limitations? Thank you, Alex Lindsay From sunshine at public.kherson.ua Wed Sep 7 09:15:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 7 01:15:13 2005 Subject: Compact and Defragment In-Reply-To: <8b6e58c99660da4b8f73b36e0ea6701c@mac.com> Message-ID: On 9/7/05 7:35 AM, "Alex Lindsay" wrote: > What is the preferable method for compacting a database after a large > deletion operation in Valentina 1.11. This deletion operation will be > deleting a large percentage of the data in the database. Do the > Compact and Defragment SQL keywords work properly in Valentina 1.11? Yes they work. You need Compact then Defragment > Is it preferable to use a Dump and Load approach instead. Dump and load produce even more compact db because it deleete EACH deleted record. COMPACT delete only free segments of database. > I have noticed reference to Valentina 1.12 but it does not appear on > the website. Is 1.11 still the latest of 1.x versions? 1.12 this is special upgrade for C++ > I have been waiting for both Realbasic 2005 and Valentina 2 to become > stable enough to begin porting my application. It seems that they are > at this stage now. Anyone else holding off this migration because of > known bugs or current limitations? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Wed Sep 7 16:21:56 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Sep 7 01:21:48 2005 Subject: Compact and Defragment In-Reply-To: Message-ID: <007f01c5b374$73179230$ae00a8c0@DamonsPC> Hi Ruslan, If I am using RB Valentina 2.05 what would be the SQL command to compact and defragment a database or table. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces+daisychain=iinet.net.au@lists.macserve.net [mailto:valentina-bounces+daisychain=iinet.net.au@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 7 September 2005 4:15 PM To: valentina@lists.macserve.net Subject: Re: Compact and Defragment On 9/7/05 7:35 AM, "Alex Lindsay" wrote: > What is the preferable method for compacting a database after a large > deletion operation in Valentina 1.11. This deletion operation will be > deleting a large percentage of the data in the database. Do the > Compact and Defragment SQL keywords work properly in Valentina 1.11? Yes they work. You need Compact then Defragment > Is it preferable to use a Dump and Load approach instead. Dump and load produce even more compact db because it deleete EACH deleted record. COMPACT delete only free segments of database. > I have noticed reference to Valentina 1.12 but it does not appear on > the website. Is 1.11 still the latest of 1.x versions? 1.12 this is special upgrade for C++ > I have been waiting for both Realbasic 2005 and Valentina 2 to become > stable enough to begin porting my application. It seems that they are > at this stage now. Anyone else holding off this migration because of > known bugs or current limitations? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Sep 7 09:51:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 7 01:51:25 2005 Subject: Compact and Defragment In-Reply-To: <007f01c5b374$73179230$ae00a8c0@DamonsPC> Message-ID: On 9/7/05 9:21 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > If I am using RB Valentina 2.05 what would be the SQL command to compact > and defragment a database or table. Hi Damon, SQL command for this present in 1.x and in 2.0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From trash at technart.net Wed Sep 7 15:24:44 2005 From: trash at technart.net (jacques perconte) Date: Wed Sep 7 08:24:47 2005 Subject: case sensitive In-Reply-To: Message-ID: <20050907132432.BEDC4276C1@pm-mx6.mx.noos.fr> Hello I'm wondering how to make targeted searches in a database without case sensitive restrictions. Can valentina do it or have I to work on a lingo function ?? Thanks Jacques. From sunshine at public.kherson.ua Wed Sep 7 16:52:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 7 08:52:56 2005 Subject: case sensitive In-Reply-To: <20050907132432.BEDC4276C1@pm-mx6.mx.noos.fr> Message-ID: On 9/7/05 4:24 PM, "jacques perconte" wrote: Hi jacques, > Hello > > I'm wondering how to make targeted searches in a database without case > sensitive restrictions. Can valentina do it or have I to work on a lingo > function ?? If you use Valentina 2.0 then look into db.CollationAttribute( #kStrength ) = #kPrimary We have examples on this. E.g. API/Field_FindIndexByWords -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From trash at technart.net Wed Sep 7 16:00:46 2005 From: trash at technart.net (jacques perconte) Date: Wed Sep 7 09:00:43 2005 Subject: case sensitive In-Reply-To: Message-ID: <20050907140034.E453826F7C@pm-mx6.mx.noos.fr> thanks ruslan > Hello > > I'm wondering how to make targeted searches in a database without case > sensitive restrictions. Can valentina do it or have I to work on a lingo > function ?? If you use Valentina 2.0 then look into db.CollationAttribute( #kStrength ) = #kPrimary We have examples on this. .. Yes but i'm using 1.x version That means that I have to code a solution ? Jacques. From listen at monkeybreadsoftware.de Wed Sep 7 16:37:46 2005 From: listen at monkeybreadsoftware.de (Christian Schmitz) Date: Wed Sep 7 09:38:06 2005 Subject: How to get Blob from RecordSet in RB? Message-ID: <1h2j23g.1lm5vu21vxmlxcM%listen@monkeybreadsoftware.de> Hi, Today I wrote a new app and I decided to go the VRBDatabase way as I'm not sure whether customers will like Valentina. But how to read a value from a Blob field? recordset has value, NativeValue, StringValue and getstring, but no one works. Any idea? Mfg Christian -- -- Around ten thousand functions in one REALbasic plug-in. The MBS Plugin. From sunshine at public.kherson.ua Wed Sep 7 17:41:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 7 09:42:02 2005 Subject: How to get Blob from RecordSet in RB? In-Reply-To: <1h2j23g.1lm5vu21vxmlxcM%listen@monkeybreadsoftware.de> Message-ID: On 9/7/05 5:37 PM, "Christian Schmitz" wrote: > Hi, > > Today I wrote a new app and I decided to go the VRBDatabase way as I'm > not sure whether customers will like Valentina. > > But how to read a value from a Blob field? > > recordset has value, NativeValue, StringValue and getstring, but no one > works. > > Any idea? Not sure that we have try this Christian. Do you know HOW TO do this in RBDB API for RB own db oe SQL Lite ? It seems RBDB itself do not even have blob methods. For SQL Lite and rest, it seems that at first pack BLOB into string, then store it as string -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From alindsay at mac.com Wed Sep 7 23:14:13 2005 From: alindsay at mac.com (Alex Lindsay) Date: Wed Sep 7 23:14:19 2005 Subject: Compact and Defragment In-Reply-To: References: Message-ID: <85f8fb26cbde69c9246bfeda89de182a@mac.com> Ruslan, Thank you for your quick response. Alex Lindsay On Sep 7, 2005, at 1:15 AM, Ruslan Zasukhin wrote: > On 9/7/05 7:35 AM, "Alex Lindsay" wrote: > >> What is the preferable method for compacting a database after a large >> deletion operation in Valentina 1.11. This deletion operation will be >> deleting a large percentage of the data in the database. Do the >> Compact and Defragment SQL keywords work properly in Valentina 1.11? > > Yes they work. You need > > Compact then > Defragment > >> Is it preferable to use a Dump and Load approach instead. > > Dump and load produce even more compact db because it deleete EACH > deleted > record. > > COMPACT delete only free segments of database. > >> I have noticed reference to Valentina 1.12 but it does not appear on >> the website. Is 1.11 still the latest of 1.x versions? > > 1.12 this is special upgrade for C++ > >> I have been waiting for both Realbasic 2005 and Valentina 2 to become >> stable enough to begin porting my application. It seems that they are >> at this stage now. Anyone else holding off this migration because of >> known bugs or current limitations? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From info at vallemediatime.com Thu Sep 8 12:56:55 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Sep 8 05:57:03 2005 Subject: V4MD help for sort a rs into a table Message-ID: <000901c5b464$09e46720$f4231e97@vmtrm4p9ipbkv2> Hi Ruslan, i need your help for work with this API "find and sort" script that get me always the sortedSet of gTable and not the sortedSet of rs. Where I made mistake? Thanks Paolo on sortByColAZ gTable = gDB.Table(gTableName) rs = gTable.selectAllRecords() rs = gTable.field("angF30").findValue("1", rs) clickedCol = gFieldPrefix & "F" & member("dColNum").text if member("dColNum").text <> "0" then sortedSet = gTable.sort( rs, gTable.field(clickedCol), #kAsc ) tableData = ProduceTableData(#201, sortedSet, gTable) end if end From info at vallemediatime.com Thu Sep 8 13:02:39 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Sep 8 06:02:45 2005 Subject: V4MD help for sort a rs into a table References: <000901c5b464$09e46720$f4231e97@vmtrm4p9ipbkv2> Message-ID: <001001c5b464$d4db0560$f4231e97@vmtrm4p9ipbkv2> I've found now my mistake in the gTable name. The script now works. Sorry. Paolo From sunshine at public.kherson.ua Thu Sep 8 14:05:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 8 06:05:45 2005 Subject: V4MD help for sort a rs into a table In-Reply-To: <000901c5b464$09e46720$f4231e97@vmtrm4p9ipbkv2> Message-ID: On 9/8/05 1:56 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > i need your help for work with this API "find and sort" script that get me > always the sortedSet of gTable and not the sortedSet of rs. Where I made > mistake? > Thanks > Paolo > > on sortByColAZ > gTable = gDB.Table(gTableName) > rs = gTable.selectAllRecords() > rs = gTable.field("angF30").findValue("1", rs) > clickedCol = gFieldPrefix & "F" & member("dColNum").text > if member("dColNum").text <> "0" then > sortedSet = gTable.sort( rs, gTable.field(clickedCol), #kAsc ) > tableData = ProduceTableData(#201, sortedSet, gTable) > end if > end I see overhead calls in the first lines. No need do SelectAll() on sortByColAZ gTable = gDB.Table(gTableName) rs = gTable.field("angF30").findValue("1") clickedCol = gFieldPrefix & "F" & member("dColNum").text if member("dColNum").text <> "0" then sortedSet = gTable.sort( rs, gTable.field(clickedCol), #kAsc ) tableData = ProduceTableData(#201, sortedSet, gTable) end if end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Thu Sep 8 13:16:16 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu Sep 8 06:16:20 2005 Subject: V4MD help for sort a rs into a table References: Message-ID: <001201c5b466$bb8226a0$f4231e97@vmtrm4p9ipbkv2> > I see overhead calls in the first lines. No need do SelectAll() >From your side I agree but I've send you only a partial script, the first line become a condition of my script and I need this :-) Thanks however Paolo From milan at mook.co.uk Thu Sep 8 12:31:31 2005 From: milan at mook.co.uk (Milan) Date: Thu Sep 8 06:31:40 2005 Subject: UPPER and/or UCASE Usage Message-ID: <200509081133.j88BXtvT026409@ensim.ev1servers.net> Hi, I can't get the following (valid) SQL statement to work with Valentina: SELECT * FROM schools WHERE upper(name) LIKE '%PAT%' The problem is caused by the "upper" function. What do I need to change to achieve the same result? Cheers, milan. From sunshine at public.kherson.ua Thu Sep 8 14:54:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 8 06:54:11 2005 Subject: UPPER and/or UCASE Usage In-Reply-To: <200509081133.j88BXtvT026409@ensim.ev1servers.net> Message-ID: On 9/8/05 2:31 PM, "Milan" wrote: Hi Milan, > I can't get the following (valid) SQL statement to work with Valentina: > > SELECT * FROM schools WHERE upper(name) LIKE '%PAT%' > > The problem is caused by the "upper" function. What do I need to change to > achieve the same result? > What version of Valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From milan at mook.co.uk Thu Sep 8 12:58:09 2005 From: milan at mook.co.uk (Milan) Date: Thu Sep 8 06:58:23 2005 Subject: UPPER and/or UCASE Usage In-Reply-To: Message-ID: <200509081200.j88C0WXY027323@ensim.ev1servers.net> I'm running V2, more specifically V4MD_205fc15_win.exe. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 08 September 2005 12:54 To: valentina@lists.macserve.net Subject: Re: UPPER and/or UCASE Usage On 9/8/05 2:31 PM, "Milan" wrote: Hi Milan, > I can't get the following (valid) SQL statement to work with Valentina: > > SELECT * FROM schools WHERE upper(name) LIKE '%PAT%' > > The problem is caused by the "upper" function. What do I need to > change to achieve the same result? > What version of Valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From IvanSmahin at public.kherson.ua Thu Sep 8 15:33:56 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Sep 8 07:33:57 2005 Subject: UPPER and/or UCASE Usage In-Reply-To: <200509081133.j88BXtvT026409@ensim.ev1servers.net> References: <200509081133.j88BXtvT026409@ensim.ev1servers.net> Message-ID: <558756443.20050908153356@public.kherson.ua> Hello Milan, Thursday, September 8, 2005, 2:31:31 PM, you wrote: M> I can't get the following (valid) SQL statement to work with Valentina: M> SELECT * FROM schools WHERE upper(name) LIKE '%PAT%' M> The problem is caused by the "upper" function. What do I need to change to M> achieve the same result? I've checked the same query using VStudio, and it works fine. So, could you please give us more info. 1. What kind of field do you use? 2. Is field Indexed or not? 3. Any collation attribute applied to the database? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From doppler at derlichtblick.at Mon Sep 12 17:53:12 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Mon Sep 12 10:53:18 2005 Subject: valentina studio 2.0b12/13 crashs Message-ID: <4325A468.50208@derlichtblick.at> hi all, i have load valentina studio, mac os x 2.0b13 (so called on the website) today, but the application does'nt start. version 2.0b7 works. here is the crashreport: /Date/Time: 2005-09-12 17:38:17.386 +0200 OS Version: 10.4.2 (Build 8C46) Report Version: 3 Command: Valentina Studio Path: /Users/tdr/Desktop/Valentina Studio.app/Contents/MacOS/Valentina Studio Parent: WindowServer [128] Version: 2.0b12 (2.0b12) PID: 23313 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libSystem.B.dylib 0x900fa910 strtol_l + 80 1 wx_MACH.dylib 0x0170b658 wxAtoi(wchar_t const*) + 76 2 wx_MACH.dylib 0x017efa18 wxSystemOptions::GetOptionInt(wxString const&) + 40 3 wx_MACH.dylib 0x017c3be4 wxTopLevelWindowMac::Show(__bool8) + 144 4 ...digmasoft.valentina.vstudio 0x00032780 vsApp::OnInit() + 1836 5 ...digmasoft.valentina.vstudio 0x0007bdbc wxAppConsole::CallOnInit() + 28 6 wx_MACH.dylib 0x017fcf58 wxEntry(int&, wchar_t**) + 100 7 wx_MACH.dylib 0x017fd03c wxEntry(int&, char**) + 60 8 ...digmasoft.valentina.vstudio 0x00031f70 main + 24 9 ...digmasoft.valentina.vstudio 0x00003c40 _start + 392 10 dyld 0x8fe01048 _dyld_start + 60 Thread 0 crashed with PPC Thread State 64: /Who know's ..... ?/ /gr thomas/ / -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From sunshine at public.kherson.ua Mon Sep 12 21:20:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 12 13:21:03 2005 Subject: valentina studio 2.0b12/13 crashs In-Reply-To: <4325A468.50208@derlichtblick.at> Message-ID: On 9/12/05 6:53 PM, "thomas doppler" wrote: > hi all, > > i have load valentina studio, mac os x 2.0b13 (so called on the website) > today, but the application does'nt start. > version 2.0b7 works. > > here is the crashreport: > > /Date/Time: 2005-09-12 17:38:17.386 +0200 > OS Version: 10.4.2 (Build 8C46) > Report Version: 3 Yes this is known problem on tiger. Happens after we upgrade to wx 2.6.1 Jochen should in nearest time introduce Vstudio Ported from CodeWarriro to xCode. This resolve this problem. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Mon Sep 12 14:23:44 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Sep 12 13:23:48 2005 Subject: [V4Rb 2] SplitToWords Message-ID: <11814915e3a6662b8ee74eea1f857f2d@desuetude.com> As best as I can tell, SplitToWords returns a String. It seems to me that it should return a String array, but what exactly does it return now? -------------- Charles Yeomans From j.peters at valentina-db.de Mon Sep 12 20:26:51 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Sep 12 13:30:21 2005 Subject: valentina studio 2.0b12/13 crashs In-Reply-To: References: Message-ID: Hi Thomas, Am 12.09.2005 um 20:20 schrieb Ruslan Zasukhin: > On 9/12/05 6:53 PM, "thomas doppler" wrote: > > >> hi all, >> >> i have load valentina studio, mac os x 2.0b13 (so called on the >> website) >> today, but the application does'nt start. >> version 2.0b7 works. >> >> here is the crashreport: >> >> /Date/Time: 2005-09-12 17:38:17.386 +0200 >> OS Version: 10.4.2 (Build 8C46) >> Report Version: 3 >> > > Yes this is known problem on tiger. > Happens after we upgrade to wx 2.6.1 > > Jochen should in nearest time introduce Vstudio > Ported from CodeWarriro to xCode. This resolve this problem. Yes - work is almost ready - i have a working debug build. So - i must polish all projects to build a release version. I hope i can finish this work tomorrow. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de -------------- next part -------------- _______________________________________________ Valentina-studio mailing list Valentina-studio@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-studio From sunshine at public.kherson.ua Mon Sep 12 21:33:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 12 13:33:46 2005 Subject: [V4Rb 2] SplitToWords In-Reply-To: <11814915e3a6662b8ee74eea1f857f2d@desuetude.com> Message-ID: On 9/12/05 9:23 PM, "Charles Yeomans" wrote: > As best as I can tell, SplitToWords returns a String. It seems to me > that it should return a String array, but what exactly does it return > now? /** Split the give string to words and return string of these words separated by SPACE. It returns exactly the same set of words as Valentina will add to index. */ -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From doppler at derlichtblick.at Mon Sep 12 21:25:28 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Mon Sep 12 14:25:34 2005 Subject: valentina studio 2.0b12/13 crashs In-Reply-To: <200509121830.j8CIUOO8003827@doppler.dillerpartner.at> References: <200509121830.j8CIUOO8003827@doppler.dillerpartner.at> Message-ID: <4325D628.9090605@derlichtblick.at> great, thanks Jochen Peters wrote: > Hi Thomas, > > Am 12.09.2005 um 20:20 schrieb Ruslan Zasukhin: > >> On 9/12/05 6:53 PM, "thomas doppler" wrote: >> >> >>> hi all, >>> >>> i have load valentina studio, mac os x 2.0b13 (so called on the >>> website) >>> today, but the application does'nt start. >>> version 2.0b7 works. >>> >>> here is the crashreport: >>> >>> /Date/Time: 2005-09-12 17:38:17.386 +0200 >>> OS Version: 10.4.2 (Build 8C46) >>> Report Version: 3 >>> >> >> Yes this is known problem on tiger. >> Happens after we upgrade to wx 2.6.1 >> >> Jochen should in nearest time introduce Vstudio >> Ported from CodeWarriro to xCode. This resolve this problem. > > > Yes - work is almost ready - i have a working debug build. So - i > must polish all projects to > build a release version. I hope i can finish this work tomorrow. > > > > >------------------------------------------------------------------------ > >_______________________________________________ >Valentina-studio mailing list >Valentina-studio@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-studio > > >------------------------------------------------------------------------ > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From info at vallemediatime.com Mon Sep 12 21:40:47 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Sep 12 14:40:50 2005 Subject: [V4MD] help for create a runtime app. Message-ID: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> Hi list, I've tried today to build my first runtime project for Director. I've put all the file (of VComponents folder) in the same directory of myApp, but when I launch myApp.exe I get always a script error. Ruslan tell me that is necessary to add 2 MS dlls but he don't remeber the name of these. Somebody can help me (and list), to remember the name of these MS dlls? It's very strange... and I have not found a complete documentation of this important step in director reference. Igor? Thanks Paolo From snw at paradise.net.nz Tue Sep 13 08:19:14 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Sep 12 15:19:35 2005 Subject: [V4MD] help for create a runtime app. In-Reply-To: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> Message-ID: <6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz> >Somebody can help me (and list), to remember the name of these MS dlls? Try these 2: msvcp71.dll & msvcr71.dll (probably found in your sysDir) Cheers, -Sean. From info at vallemediatime.com Mon Sep 12 22:57:56 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Sep 12 15:58:01 2005 Subject: [V4MD] help for create a runtime app. References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz> Message-ID: <000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> Hi Sean, thanks I've tried to put msvcp71.dll & msvcr71.dll in myApp folder, but I get script error at started. In authoring all works. Btw, I've worked with many xtras but this is the first time that this happens to me :-( I think that this is a not common way for create setup for Director users, it's necessary? Thanks Paolo ----- Original Message ----- From: "Sean Wilson" To: "Valentina Developers" Sent: Monday, September 12, 2005 10:19 PM Subject: Re: [V4MD] help for create a runtime app. > > >Somebody can help me (and list), to remember the name of these MS dlls? > > Try these 2: msvcp71.dll & msvcr71.dll (probably found in your sysDir) > > Cheers, > -Sean. > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005 > > From sunshine at public.kherson.ua Tue Sep 13 00:09:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 12 16:09:30 2005 Subject: [V4MD] help for create a runtime app. In-Reply-To: <000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> Message-ID: On 9/12/05 11:57 PM, "info@vallemediatime.com" wrote: > Hi Sean, thanks > I've tried to put msvcp71.dll & msvcr71.dll in myApp folder, but I get > script error at started. In authoring all works. You do something wrong... Show listing of your AppFolder > Btw, I've worked with many xtras but this is the first time that this > happens to me :-( > I think that this is a not common way for create setup for Director users, > it's necessary? Usually Xtra -- this is standalone and self-contained thing. V4MD 2 is very complex thing. It depends on several other DLLs. and payment -- is this steps. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Tue Sep 13 09:13:39 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Sep 12 16:14:33 2005 Subject: [V4MD] help for create a runtime app. In-Reply-To: <000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz> <000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> Message-ID: <6.2.3.4.2.20050913090856.03fc1360@pop3.paradise.net.nz> >I've tried to put msvcp71.dll & msvcr71.dll in myApp folder, but I get >script error at started. In authoring all works. OK. It seems Ruslan and his team have to figure this one out. Do you have the xtra in your app folder, in an Xtras folder beside your app, or bundled into the application? >Btw, I've worked with many xtras but this is the first time that this >happens to me :-( >I think that this is a not common way for create setup for Director users, >it's necessary? It's necessary if you want to use Valentina :-) I think you're just experiencing teething troubles. It's as "complicated" as it seems because of the architecture of Valentina 2 - nothing more Cheers, -Sean. From info at vallemediatime.com Tue Sep 13 00:00:02 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Sep 12 17:00:12 2005 Subject: [V4MD] help for create a runtime app. References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2><6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz><000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913090856.03fc1360@pop3.paradise.net.nz> Message-ID: <001601c5b7e5$54359a40$47211e97@vmtrm4p9ipbkv2> > Do you have the xtra in your app folder, in an Xtras folder beside your app, > or bundled into the application? I have the V4MD.X32 into Xtras folder and the Xtras folder is into myApp folder, like all other my works. Later I will try with a new projector from a paradigma example... and so I hope to understand where is the error. > >Btw, I've worked with many xtras but this is the first time that this > >happens to me :-( > >I think that this is a not common way for create setup for Director users, > >it's necessary? > > It's necessary if you want to use Valentina :-) > I think you're just experiencing teething troubles. It's as > "complicated" as it seems because of the architecture of Valentina 2 > - nothing more very complicated :-) > Cheers, > -Sean. Ciao, Paolo From yeomans at desuetude.com Mon Sep 12 18:04:38 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Sep 12 17:04:42 2005 Subject: [V4Rb 2] SplitToWords In-Reply-To: References: Message-ID: On Sep 12, 2005, at 2:33 PM, Ruslan Zasukhin wrote: > On 9/12/05 9:23 PM, "Charles Yeomans" wrote: > >> As best as I can tell, SplitToWords returns a String. It seems to me >> that it should return a String array, but what exactly does it return >> now? > > /** Split the give string to words and return string of > these > words separated by SPACE. It returns exactly the > same set > of words as Valentina will add to index. */ Calling SplitToWords is crashing Valentina. Is anyone using it successfully? -------------- Charles Yeomans Thread 4 Crashed: 0 Plugin 0x0105fe0c I_FldString_SplitToWords__FP16REALobjectStructP16REALstringStruct + 0x8c 1 ??? 0x0038a43c VString.SplitToWords%s%os + 0x78 2 ??? 0x000cc464 bcSearch.DecisionFieldQuery%s%o + 0xf20 3 ??? 0x002a2eac DecisionQueryThread.BuildDecisionListbox%%ooo + 0x2bc 4 ??? 0x002a2734 DecisionQueryThread.#Run%%o + 0x40c 5 rbframework.dylib 0x013e4a6c ThreadEntryPoint(void*) + 0xa8 6 ...ple.CoreServices.CarbonCore 0x9030c0a8 InvokeThreadEntryUPP + 0x18 7 ...ple.CoreServices.CarbonCore 0x902d6d98 CooperativeThread + 0xdc 8 libSystem.B.dylib 0x90024910 _pthread_body + 0x28 From snw at paradise.net.nz Tue Sep 13 10:07:26 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Sep 12 17:14:43 2005 Subject: [V4MD] help for create a runtime app. In-Reply-To: <001601c5b7e5$54359a40$47211e97@vmtrm4p9ipbkv2> References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz> <000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913090856.03fc1360@pop3.paradise.net.nz> <001601c5b7e5$54359a40$47211e97@vmtrm4p9ipbkv2> Message-ID: <6.2.3.4.2.20050913100631.03f40b20@pop3.paradise.net.nz> >I have the V4MD.X32 into Xtras folder and the Xtras folder is into myApp >folder, like all other my works. Did you try placing these dlls and other components inside the Xtras folder (alongside the xtra itself)? From info at vallemediatime.com Tue Sep 13 00:47:01 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Sep 12 17:47:05 2005 Subject: [V4MD] help for create a runtime app. References: <008c01c5b7d1$e0238800$fe091e97@vmtrm4p9ipbkv2><6.2.3.4.2.20050913080254.03f66e70@pop3.paradise.net.nz><000701c5b7dc$a6f09540$c8271e97@vmtrm4p9ipbkv2><6.2.3.4.2.20050913090856.03fc1360@pop3.paradise.net.nz><001601c5b7e5$54359a40$47211e97@vmtrm4p9ipbkv2> <6.2.3.4.2.20050913100631.03f40b20@pop3.paradise.net.nz> Message-ID: <000e01c5b7eb$e40e09d0$8d0b1e97@vmtrm4p9ipbkv2> Sean, at finally I've tried to create a projector with a paradigma example, and at second time, it's works. After I've tried again with myApp: I've delete all previous dll file and VResources folder and I 've copyed again all the dll... now it's works. I don't exactly understand where was the error because now I don't have a copy of myApp 'bad' folder. I'm sure that I have checked all dlls file many times and I exclude that it are omissis, but now I cannot verify this, sorry. Thanks again Paolo PS all dlls and components are in the mainApp folder, not in the xtras folder. ----- Original Message ----- From: "Sean Wilson" To: "Valentina Developers" Sent: Tuesday, September 13, 2005 12:07 AM Subject: Re: [V4MD] help for create a runtime app. > > >I have the V4MD.X32 into Xtras folder and the Xtras folder is into myApp > >folder, like all other my works. > > Did you try placing these dlls and other components inside the Xtras > folder (alongside the xtra itself)? > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005 > > From jda at his.com Mon Sep 12 19:27:52 2005 From: jda at his.com (jda) Date: Mon Sep 12 18:27:59 2005 Subject: [V4Rb 2] SplitToWords In-Reply-To: References: Message-ID: > > >Calling SplitToWords is crashing Valentina. Is anyone using it successfully? > I am. RB 5.5.5, latest V4RB. Jon Sonny Software From sunshine at public.kherson.ua Tue Sep 13 12:32:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 13 04:32:34 2005 Subject: [V4Rb 2] SplitToWords In-Reply-To: Message-ID: On 9/13/05 2:27 AM, "jda" wrote: >> Calling SplitToWords is crashing Valentina. Is anyone using it successfully? >> > > I am. RB 5.5.5, latest V4RB. Charles in the folder Common you can find example on its usage "SplitToWords" Please if it works for you -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Sep 13 12:37:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 13 04:37:33 2005 Subject: [V4Rb 2] SplitToWords In-Reply-To: Message-ID: On 9/13/05 1:04 AM, "Charles Yeomans" wrote: > Calling SplitToWords is crashing Valentina. Is anyone using it > successfully? > > -------------- > Charles Yeomans > > > Thread 4 Crashed: > 0 Plugin 0x0105fe0c > I_FldString_SplitToWords__FP16REALobjectStructP16REALstringStruct + > 0x8c > 1 ??? 0x0038a43c > VString.SplitToWords%s%os + 0x78 > 2 ??? 0x000cc464 > bcSearch.DecisionFieldQuery%s%o + 0xf20 > 3 ??? 0x002a2eac > DecisionQueryThread.BuildDecisionListbox%%oo ch>o + 0x2bc > 4 ??? 0x002a2734 > DecisionQueryThread.#Run%%o + 0x40c > 5 rbframework.dylib 0x013e4a6c ThreadEntryPoint(void*) > + 0xa8 > 6 ...ple.CoreServices.CarbonCore 0x9030c0a8 InvokeThreadEntryUPP + > 0x18 > 7 ...ple.CoreServices.CarbonCore 0x902d6d98 CooperativeThread + 0xdc > 8 libSystem.B.dylib 0x90024910 _pthread_body + 0x28 You have not keep here error code E.g. Access by 0000000 It must be BEFORE this lines which you have copy. May be you have send EMPTY string ? Or nil string ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Wed Sep 14 20:36:03 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Sep 14 13:36:21 2005 Subject: [ANN] Valentina Studio 2.0b14 Mac Message-ID: <09928BEA-2424-4E54-9AED-51A981812E31@valentina-db.de> Hi all, i have uploaded a new Valentina Studio build to http://www.paradigmasoft.com and http://www.valentina-db.de This build is the first one after the transition from CodeWarrior to XCode. It requires Mac OS X Tiger. The build contains the same bug fixes as in the last Windows build. Please note: 1) This version is big because: - parts of it are already build as Universal-Binaries - parts of it contains debug symbols This will be fixed for the final release. We will have 3 versions in the future: - UniversalBinary (this runs native on Mac PPC and Mac Intel) - PPC (this runs native on Mac PPC and will be executed by the Rosetta engine on Mac Intel) - Intel (this runs native on Mac Intel - it will not run on PPC machines) 2) This version does not include the Client Plugin for Valentina Server 3) There are glitches with the menu bar after opening the DataBrowser or Help The next build will contain the Client Plugin. It will be available on Friday. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From rjb at robelko.com Wed Sep 14 23:39:34 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed Sep 14 16:51:47 2005 Subject: [ANN] Valentina Studio 2.0b14 Mac In-Reply-To: <09928BEA-2424-4E54-9AED-51A981812E31@valentina-db.de> References: <09928BEA-2424-4E54-9AED-51A981812E31@valentina-db.de> Message-ID: >http://www.valentina-db.de > Curious, why German is a separate site instead another language of the main site. From cmsheffield at gmail.com Thu Sep 15 09:58:20 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu Sep 15 10:58:25 2005 Subject: Multiple object pointer fields Message-ID: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> Okay, hopefully I can explain this well enough that one of you will be able to give me a hint. I'm using Revolution and Valentina 1.x, but this is really more of a SQL question than anything I think. I have three tables: Teachers, Classes, and Students. The Students table contains an ObjectPtr field to Teachers and one to Classes. I am currently using the following query to retrieve the data I need for Teachers, Classes, and Students, and this works perfectly: SELECT Teachers.RecID, Teachers.FirstName, Teachers.LastName, Classes.ClassName, Classes.Reading, Students.FirstName, Students.LastName, Students.Grade, Teachers.Type FROM Teachers, Classes, Students WHERE Classes.TeacherPtr=*Teachers.RecID AND Students.ClassPtr*=Classes.RecID Basically what this does is retrieve all the teachers along with any classes and/or students that might be assigned to them. Now, what I need to do is alter my Students table and add the ability for a student to be assigned to a second teacher and class. So I've added another ObjectPtr field that points to Teachers and another one that points to Classes. So what I need is a query similar to the above that will retrieve what I need. Unfortunately, if I simply add "AND Students.ClassPtr2*=Classes.RecID" to the end of my query, I get an empty set. I figure there's got to be a way to get what I want. I'm just not doing the joins correctly or something. Can someone help? Let me know if you need more info. I could even send a sample database with data if necessary. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From yeomans at desuetude.com Thu Sep 15 12:25:20 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Sep 15 11:25:24 2005 Subject: Multiple object pointer fields In-Reply-To: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> References: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> Message-ID: On Sep 15, 2005, at 11:58 AM, Chris Sheffield wrote: > Okay, hopefully I can explain this well enough that one of you will be > able to give me a hint. I'm using Revolution and Valentina 1.x, but > this is really more of a SQL question than anything I think. > > I have three tables: Teachers, Classes, and Students. The Students > table contains an ObjectPtr field to Teachers and one to Classes. I > am currently using the following query to retrieve the data I need for > Teachers, Classes, and Students, and this works perfectly: > > SELECT Teachers.RecID, Teachers.FirstName, Teachers.LastName, > Classes.ClassName, Classes.Reading, Students.FirstName, > Students.LastName, Students.Grade, Teachers.Type FROM Teachers, > Classes, Students WHERE Classes.TeacherPtr=*Teachers.RecID AND > Students.ClassPtr*=Classes.RecID > > Basically what this does is retrieve all the teachers along with any > classes and/or students that might be assigned to them. Now, what I > need to do is alter my Students table and add the ability for a > student to be assigned to a second teacher and class. So I've added > another ObjectPtr field that points to Teachers and another one that > points to Classes. So what I need is a query similar to the above > that will retrieve what I need. > > Unfortunately, if I simply add "AND Students.ClassPtr2*=Classes.RecID" > to the end of my query, I get an empty set. I figure there's got to > be a way to get what I want. I'm just not doing the joins correctly > or something. Can someone help? Let me know if you need more info. > I could even send a sample database with data if necessary. What you want is a many-many relationship between Teachers and Students. For that you need a join table. This is a table that contains two ObjectPtr fields, one pointing to Students and one pointing to Teachers. -------------- Charles Yeomans From cbpelto at pcisys.net Thu Sep 15 10:34:29 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 15 11:34:35 2005 Subject: Tutorial Suggestions & Requests In-Reply-To: References: Message-ID: <38DC957F-2A0B-4F35-964B-4390AAB375BA@pcisys.net> Morning Ruslan, Here are some thoughts on what I'd recommend being part of a new tutorial for the new V4RB2.... The process of making, searching and breaking links using binary link techniques on 1:1, 1:M and M:M and files. I'd recommend building on the Persons and Phones tables by adding a table for Projects. It should include the following calls: VBinaryLink() IsLinked() FindLinked() FindExclusivelyLinked() FindAllLinked() CountLinked() LinkRecords(0 UnlinkRecords(0 DeleteLinkedRecords() IsLinked() BranchCount ID IsTemporary() Name Owner IsBetween() Table() Flush() LeftType() RightType() Not comprehensive, as I'm sure you could add some more ideas, but a reasonable start. RE: The Reference Got the documents. However, I cannot open any of them. Were they done with InDesign 2? On what sort of platform? What OS? Thanks, Chuck Pelto On Aug 29, 2005, at 12:39 PM, Ruslan Zasukhin wrote: > On 8/29/05 8:04 PM, "Chuck Pelto" wrote: > > >>>> A request: >>>> >>>> Is there a tutorial for building a database in RB using the binary >>>> links feature? I see an example, but I think a tutorial would be >>>> very >>>> useful, as this is something totally new, and rather, in my >>>> opinion, >>>> exciting. >>>> >>>> >>> >>> Agree. >>> >> >> I've finished the tutorial and was looking over the example RB >> project for binary links. It's not as helpful as I could wish. >> > > >> When can we expect a tutorial on you innovative binary link >> technology? Hopefully with examples of establishing and working with >> 1:1, 1:M and M:M forms? >> > > Well, our doc-writer will return from vacation at 1 Sept. > > But wonder, what exactly problems you have in understanding of this? > Can you give list what you want see? > Why example is not good for you ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From cmsheffield at gmail.com Thu Sep 15 10:45:36 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu Sep 15 11:45:40 2005 Subject: Multiple object pointer fields In-Reply-To: References: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> Message-ID: Thanks, Charles. I was kind of afraid that would be the answer. I was hoping there would be a way around that, as I don't really relish the thought of restructuring the database to that extent. But if that's all I can do... Thanks for taking the time to respond. Chris On Sep 15, 2005, at 10:25 AM, Charles Yeomans wrote: > > On Sep 15, 2005, at 11:58 AM, Chris Sheffield wrote: > > >> Okay, hopefully I can explain this well enough that one of you >> will be able to give me a hint. I'm using Revolution and >> Valentina 1.x, but this is really more of a SQL question than >> anything I think. >> >> I have three tables: Teachers, Classes, and Students. The >> Students table contains an ObjectPtr field to Teachers and one to >> Classes. I am currently using the following query to retrieve the >> data I need for Teachers, Classes, and Students, and this works >> perfectly: >> >> SELECT Teachers.RecID, Teachers.FirstName, Teachers.LastName, >> Classes.ClassName, Classes.Reading, Students.FirstName, >> Students.LastName, Students.Grade, Teachers.Type FROM Teachers, >> Classes, Students WHERE Classes.TeacherPtr=*Teachers.RecID AND >> Students.ClassPtr*=Classes.RecID >> >> Basically what this does is retrieve all the teachers along with >> any classes and/or students that might be assigned to them. Now, >> what I need to do is alter my Students table and add the ability >> for a student to be assigned to a second teacher and class. So >> I've added another ObjectPtr field that points to Teachers and >> another one that points to Classes. So what I need is a query >> similar to the above that will retrieve what I need. >> >> Unfortunately, if I simply add "AND >> Students.ClassPtr2*=Classes.RecID" to the end of my query, I get >> an empty set. I figure there's got to be a way to get what I >> want. I'm just not doing the joins correctly or something. Can >> someone help? Let me know if you need more info. I could even >> send a sample database with data if necessary. >> > > > What you want is a many-many relationship between Teachers and > Students. For that you need a join table. This is a table that > contains two ObjectPtr fields, one pointing to Students and one > pointing to Teachers. > > -------------- > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Thu Sep 15 22:23:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 15 14:23:25 2005 Subject: Multiple object pointer fields In-Reply-To: Message-ID: On 9/15/05 7:45 PM, "Chris Sheffield" wrote: Hi guys, Do not forget! Valentina 2.0 offer you new tool -- Binary Link. It is perfect for M : M links ! > Thanks, Charles. I was kind of afraid that would be the answer. I > was hoping there would be a way around that, as I don't really relish > the thought of restructuring the database to that extent. But if > that's all I can do... >> What you want is a many-many relationship between Teachers and >> Students. For that you need a join table. This is a table that >> contains two ObjectPtr fields, one pointing to Students and one >> pointing to Teachers. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Thu Sep 15 14:16:40 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu Sep 15 15:16:46 2005 Subject: Multiple object pointer fields In-Reply-To: References: Message-ID: Unfortunately in our case we still have to support Mac OS 9. Which means we can't switch to 2.0 yet. On Sep 15, 2005, at 1:23 PM, Ruslan Zasukhin wrote: > On 9/15/05 7:45 PM, "Chris Sheffield" wrote: > > Hi guys, > > Do not forget! > > Valentina 2.0 offer you new tool -- Binary Link. > > It is perfect for M : M links ! > > > >> Thanks, Charles. I was kind of afraid that would be the answer. I >> was hoping there would be a way around that, as I don't really relish >> the thought of restructuring the database to that extent. But if >> that's all I can do... >> > > >>> What you want is a many-many relationship between Teachers and >>> Students. For that you need a join table. This is a table that >>> contains two ObjectPtr fields, one pointing to Students and one >>> pointing to Teachers. >>> > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From cmsheffield at gmail.com Fri Sep 16 10:42:57 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri Sep 16 11:43:02 2005 Subject: Multiple object pointer fields In-Reply-To: References: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> Message-ID: So as a follow up to this, I've now created a new table called TeachStuInt. It contains ObjectPtr fields TeacherPtr, ClassPtr, and StudentPtr. Is it bad to have three object pointer fields like this? Would it be better to create two separate tables, one for Teachers and Students and one for Classes and Students? I'm not sure if any of this even makes sense to you guys. Anyway, with my new table I still can't seem to get the query right, and maybe it's just because I'm not sure how the SQL should be for Valentina. I keep getting a 616 wrong expression error. This is just a simple test query that I'm running using ViSQL: SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM Teachers, Classes, Students WHERE Students.RecID=TeachStuInt.StudentPtr AND TeachStuInt.TeacherPtr=Teachers.RecID Why does this give me the 616 error? Can anyone help? What is proper syntax for a query dealing with a many-to-many relationship? Thanks, Chris On Sep 15, 2005, at 10:25 AM, Charles Yeomans wrote: > > On Sep 15, 2005, at 11:58 AM, Chris Sheffield wrote: > > >> Okay, hopefully I can explain this well enough that one of you >> will be able to give me a hint. I'm using Revolution and >> Valentina 1.x, but this is really more of a SQL question than >> anything I think. >> >> I have three tables: Teachers, Classes, and Students. The >> Students table contains an ObjectPtr field to Teachers and one to >> Classes. I am currently using the following query to retrieve the >> data I need for Teachers, Classes, and Students, and this works >> perfectly: >> >> SELECT Teachers.RecID, Teachers.FirstName, Teachers.LastName, >> Classes.ClassName, Classes.Reading, Students.FirstName, >> Students.LastName, Students.Grade, Teachers.Type FROM Teachers, >> Classes, Students WHERE Classes.TeacherPtr=*Teachers.RecID AND >> Students.ClassPtr*=Classes.RecID >> >> Basically what this does is retrieve all the teachers along with >> any classes and/or students that might be assigned to them. Now, >> what I need to do is alter my Students table and add the ability >> for a student to be assigned to a second teacher and class. So >> I've added another ObjectPtr field that points to Teachers and >> another one that points to Classes. So what I need is a query >> similar to the above that will retrieve what I need. >> >> Unfortunately, if I simply add "AND >> Students.ClassPtr2*=Classes.RecID" to the end of my query, I get >> an empty set. I figure there's got to be a way to get what I >> want. I'm just not doing the joins correctly or something. Can >> someone help? Let me know if you need more info. I could even >> send a sample database with data if necessary. >> > > > What you want is a many-many relationship between Teachers and > Students. For that you need a join table. This is a table that > contains two ObjectPtr fields, one pointing to Students and one > pointing to Teachers. > > -------------- > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From rjb at robelko.com Fri Sep 16 19:06:56 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Sep 16 12:09:22 2005 Subject: Multiple object pointer fields In-Reply-To: References: <40919090-9DF1-4377-9949-CEE43399F5C1@gmail.com> Message-ID: >So as a follow up to this, I've now created a new table called >TeachStuInt. It contains ObjectPtr fields TeacherPtr, ClassPtr, and >StudentPtr. Is it bad to have three object pointer fields like >this? Would it be better to create two separate tables, one for >Teachers and Students and one for Classes and Students? I'm not >sure if any of this even makes sense to you guys. > >Anyway, with my new table I still can't seem to get the query right, >and maybe it's just because I'm not sure how the SQL should be for >Valentina. I keep getting a 616 wrong expression error. This is >just a simple test query that I'm running using ViSQL: > >SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM >Teachers, Classes, Students WHERE >Students.RecID=TeachStuInt.StudentPtr AND >TeachStuInt.TeacherPtr=Teachers.RecID > >Why does this give me the 616 error? Can anyone help? What is >proper syntax for a query dealing with a many-to-many relationship? > >Thanks, >Chris I'd approach it slightly differently Students -- student-specific data Teachers -- teacher-specific data Classes -- course-specific data instructors -- M:M table with pointers to classes and teachers classmates -- M:M table with pointers to classes and students The reason for having two cross-tables is that teachers and students are really orthogonal (independent if you will). This allows me to find - who is teaching each class - what students are in each class - what courses each teachers has - what courses each student takes - what teacher a student has in a given class - all students a given teacher has - all teachers a given student has etc etc I am not clear, though, what the query that you have problems with should yield. If you really want a listing of "teacher-class- student" for all entries in the database, you would need a join or loop through the courses and fetch teachers and students for each. Robert From sunshine at public.kherson.ua Fri Sep 16 20:30:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 16 12:30:22 2005 Subject: Multiple object pointer fields In-Reply-To: Message-ID: On 9/16/05 7:42 PM, "Chris Sheffield" wrote: Hi Chris, > So as a follow up to this, I've now created a new table called > TeachStuInt. It contains ObjectPtr fields TeacherPtr, ClassPtr, and > StudentPtr. Is it bad to have three object pointer fields like this? NO, this is normal practice for Relational model. This table play role of link that links 3 tables. > Would it be better to create two separate tables, one for > Teachers and Students and one for Classes and Students? I'm not sure > if any of this even makes sense to you guys. But this depend on your task! 3-link is not the same as 3 links between each pair. > Anyway, with my new table I still can't seem to get the query right, > and maybe it's just because I'm not sure how the SQL should be for > Valentina. I keep getting a 616 wrong expression error. This is > just a simple test query that I'm running using ViSQL: > > SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM > Teachers, Classes, Students WHERE > Students.RecID=TeachStuInt.StudentPtr AND > TeachStuInt.TeacherPtr=Teachers.RecID > > Why does this give me the 616 error? Can anyone help? What is > proper syntax for a query dealing with a many-to-many relationship? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Sep 16 20:32:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 16 12:33:01 2005 Subject: Multiple object pointer fields In-Reply-To: Message-ID: On 9/16/05 7:42 PM, "Chris Sheffield" wrote: > Anyway, with my new table I still can't seem to get the query right, > and maybe it's just because I'm not sure how the SQL should be for > Valentina. I keep getting a 616 wrong expression error. This is > just a simple test query that I'm running using ViSQL: > > SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM > Teachers, Classes, Students WHERE > Students.RecID=TeachStuInt.StudentPtr AND > TeachStuInt.TeacherPtr=Teachers.RecID > > Why does this give me the 616 error? Can anyone help? What is > proper syntax for a query dealing with a many-to-many relationship? SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM Teachers, Classes, Students WHERE Students.RecID = TeachStuInt.StudentPtr AND TeachStuInt.TeacherPtr = Teachers.RecID You have not specify table TeachStuInt in the FROM clause, But use it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Fri Sep 16 13:00:15 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri Sep 16 14:00:20 2005 Subject: Multiple object pointer fields In-Reply-To: References: Message-ID: <3890201B-7BEB-4F3B-A7EB-A0D48CBB01E0@gmail.com> Okay, so I need my head examined. I knew it would end up being something obvious. :-) Thanks Ruslan. Chris On Sep 16, 2005, at 11:32 AM, Ruslan Zasukhin wrote: > On 9/16/05 7:42 PM, "Chris Sheffield" wrote: > > >> Anyway, with my new table I still can't seem to get the query right, >> and maybe it's just because I'm not sure how the SQL should be for >> Valentina. I keep getting a 616 wrong expression error. This is >> just a simple test query that I'm running using ViSQL: >> >> SELECT Teachers.LastName, Classes.ClassName, Students.LastName FROM >> Teachers, Classes, Students WHERE >> Students.RecID=TeachStuInt.StudentPtr AND >> TeachStuInt.TeacherPtr=Teachers.RecID >> >> Why does this give me the 616 error? Can anyone help? What is >> proper syntax for a query dealing with a many-to-many relationship? >> > > SELECT Teachers.LastName, Classes.ClassName, Students.LastName > FROM > Teachers, Classes, Students > WHERE > Students.RecID = TeachStuInt.StudentPtr > AND > TeachStuInt.TeacherPtr = Teachers.RecID > > > You have not specify table TeachStuInt in the FROM clause, > But use it. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Sat Sep 17 12:06:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 20 08:07:05 2005 Subject: [V4MD] pointer at the same table by binary_link In-Reply-To: Message-ID: On 9/16/05 9:50 PM, "Sims, John" wrote: Hi John > Hi Ruslan, > > I do understand your point, but I believe we are talking about Mantis > item #754? I thought we had resolved this before. I guess I just don't > consider the process of trying to link 2 records that are already linked > as an "error" as long as Valentina isn't creating duplicate links. To > examine further, let me take your examples... John, Ivan already have correct engine + all plugins to this behavior: * LinkRecordsd -- returns nothing * it can throw 2 errors: - Records already linked - Record not found (if you try link not existed record of table). We have discuss this here and we believe this is CORRECT behavior and this provide consistency with all our other methods. > On some OS's, I can open the same document more than once. The problems > that will occur will happen if I try to modify the document in one open > copy while the other is still open. This is not good example I think. You talk here about USER - level behavior. I have give you example of OS API behavior (low level). > This, of course, could cause > corruption. In the case of Links, I don't see where Valentina ignoring > a request to link 2 records that are already linked or unlinking 2 > records that were never linked would cause any issues like this. Look. In the version 1 of Valentina all my C++ classes e.g. FileOs Did allow open already opened file, for example. Or Close already closed. This did work... When we have develop v2, I have decide go by OS way -- be strict. And can you image?! I have start found many logical mistakes in my v1 code. So again and again: if you try link already linked records -- you have NOT accurate code! > As for 2 people getting married, people renew their vows all of the > time. It doesn't matter to anyone that they are already married. No > one throws up a red flag saying "wait a minute, you're already married". > :-) I believe this is not true :-) Does in USA government give document to married people? I do not think government will give you second document, as well as second passport. > As for... > > try > If myLink.LinkExists(a,b) Then > msgBox("Link Exists") > Else > myLink.LinkRecords(a,b) > End if > catch > ... > End > > This makes perfect sense, of course, but if I'm checking to see that the > link exists first, I should never get the error you are talking about > raising. Right, although note: exists second possible error: "Record Not exists" You can be careful and make sure this also not happens, Then note, you still can get some NOT-EXPECTED exception, e.g. "Index corrupted"... May be future in multi-user environment will be added some more errors. Who know. Important point is: above code with try-catch it safe ALWAYS and for FUTURE !!! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > So, now I have added 4+ lines of code that are really > un-needed. Unless there is some more serious error, the above code > and... > > If myLink.LinkExists(a,b) Then > msgBox("Link Exists") > Else > myLink.LinkRecords(a,b) > End if > > Would be equivalent. Then let me remind you one more rule how exceptions work. You do not want here try-catch. Great! No problems, Important is that you have try-catch on some TOP function, So IF e.g. Index corruption thrown, you still catch this and workout somehow. > Now, if we consider my personal viewpoint of "if the records are already > linked, great!!! We have accomplished our task, let's move on" then my 1 > line of code... > > myLink.LinkRecords(a,b) > > Becomes 3 lines of code... > > If myLink.LinkExists(a,b) = False then > myLink.LinkRecords(a,b) > End if > > To protect against an exception being raised. > > Shoot, I read through all of this and I just sound like a big whiner. I > hate when that happens. Sorry. I can/will certainly work within > whichever decision you make regarding this matter. I just wanted to > share my viewpoint. Truth is born in discussion! So this is good! We self start better understand issue after such discussions! :-) > Thanks, as always, for listening to us! Finally. I think in most case you can write code as Func() If myLink.LinkExists(a,b) = False then myLink.LinkRecords(a,b) End if end This will work in 99.9% of cases Only I worry about unexpected failures. You can have top function App.open Func() On exception ... // catch here everything, so app not crashes end Then you are safe from crash of app. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From doppler at derlichtblick.at Sun Sep 18 02:54:02 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Tue Sep 20 08:07:36 2005 Subject: VAMD 2, exampel for using of pictures? Message-ID: <432CBAAA.40409@derlichtblick.at> hi all, is anywhere an example to download for using the picturefields with director? i want to load pictures, stores in valentina and playback to castmembers. i read the doku and try somethink, but it doesnt work gr thomas -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From sunshine at public.kherson.ua Tue Sep 20 18:18:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 20 10:18:24 2005 Subject: VAMD 2, exampel for using of pictures? In-Reply-To: <432CBAAA.40409@derlichtblick.at> Message-ID: On 9/18/05 3:54 AM, "thomas doppler" wrote: > hi all, > > is anywhere an example to download for using the picturefields with > director? > i want to load pictures, stores in valentina and playback to castmembers. > i read the doku and try somethink, but it doesnt work Hi Thomas, Look into the V4MD_2/Examples/SQL_way/Pictures example -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Sep 20 18:28:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 20 10:28:40 2005 Subject: [V4MD] findAllLinked from two subTables In-Reply-To: <002301c5bd04$4b9df890$d21c1e97@vmtrm4p9ipbkv2> Message-ID: On 9/19/05 1:24 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > I'm tryng to get a findAllLinked from two subTables like this: > rs1 = gDb.table(T1).field("iscF2").findValue("1", gDb.table(T1)) > rs2 = gDb.table(T2).field("angF30").findValue("1", gDb.table(T2)) > -- now can I do something like this? > rs3 = link.findAllLinked(rs1, rs2) I think no, although I have not understand. You get two sets for 2 different tables. But what operation rs3 = link.findAllLinked(rs1, rs2) Is going to do ??? Link -- is link between T1 and T2 ? Or this is link to T3 ? In both case-sensitive NO. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Sep 21 11:22:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 21 03:22:59 2005 Subject: [V4MD] findAllLinked from two subTables In-Reply-To: <002801c5be22$c064e390$831f1e97@vmtrm4p9ipbkv2> Message-ID: On 9/20/05 11:34 PM, "info@vallemediatime.com" wrote: > Ho Ruslan > I try to explain you (better I can) with a simple example: > > T1 > ID | Person | Phone | Code > ------------------------------ > 1 Brown 123 1 > 2 Smith 456 2 > 3 Parker 287 1 > .... > > T2 > ID | Course | Level > ------------------------ > 1 Science 1 > 2 Math 1 > 3 Math 2 > ... > > I create a link between T1<>T2 > > When I search allLinked I need to get, not only linked from T1 to T2 like > this: > eg find allLinked to Math, show from T1 > 1 Brown 123 1 > 2 Smith 456 2 > > but also the Person with Code = 2 > 2 Smith 456 2 > > in the same time (if possible) I wnat to get the Math Level 1 or 2 also > > My idea is in this pseudo code; > findAllLinked from T1 to T2 > show only T1 Person with Code = 1 > where T2 Linked Courses have Level = 2 So you want: * find in T1 some set of records you say: person with code = 1 * Now you want find records of T2 linked to this set But only if T2.Level = 2 Right ? I think you need: s1_t1 = Code.Find( 1 ); s1_t2 = link.FindLinkedAsBitSet( s1_t1, T1, T2 ) Now you have set of records of T2. You have 2 ways now: - just iterate and ignore/remove records that not satisfy you. - do search in T2 to get set2 with level = 2, and build intersection. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Sep 21 17:11:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 21 09:11:09 2005 Subject: Valentina for director In-Reply-To: <1084814601-12434615@lindbergh.macserve.net> Message-ID: On 9/21/05 4:04 PM, "Francois Hebert" wrote: Hi Francois, > Thanks for your fast reply. > > Just a small comment, I start to try you SPLENDID valentine xtra(for > director), and I found It very strong. Thank you. > BUT(!), because I?m an ?old? v12 user, I found learning step a little bit? Yes, this is known issue. Valentina is quite complex product. > My suggestion: I look at your documentation (very nice), but I found that > there are many way way to get datas and display it(for exemple). Yes, this is another advantage of Valentina. The same thing you usually can do in several ways. Choice depend on your skills, favors, tasks, ... For example, you can do everything with SQL, or everything without SQL, or combine both ways > What I look for are the ?fast way? to do a particular operation. I see > For exemple, if I want a ?select * from myTable?, what is the best, use the > vCursor of use the function to get all data in a list or loop line by lin, > etc? I think there is no single answer. All depend on your task Look, if some way is best of all, then we'd could drop rest, right? Deal is that each way can be best for some conditions. > Your documentation explain each function individually, but not put all the > ?context? (connection to db, vCursor, etc). > > Where can I found many good exemples of performance connection to DB, > recordset, etc? All examples that we have (about 50-60) are in V4MD folder. All rest info you can try obtain from us (Paradigma) or better Valentina lists: Valentina list Valentina beta list Valentina Studio list Also exists searchable archives of these lists for 7 years. -------- Also we try to start to use WIKI where Valentina users can self share info on questions as you ask, tips and tricks. http://paradigma.ukrcom.kherson.ua/dokuwiki/ For now it is located on UA local server. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Sep 22 23:08:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 22 15:08:45 2005 Subject: [V4CC] Valentina for Cocoa, Vdatabase.h Message-ID: Hi Justin, And all other Cocoa developers. You can find attached declaration of Vdatabase class Please check it and let us know if you see any problems, mistakes, Or if you have any suggestions how to improve it (including style of code and comments).. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rwc1717 at shaw.ca Thu Sep 22 20:55:10 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Thu Sep 22 23:00:02 2005 Subject: V4RB V2 and Tiger Message-ID: <52697a1984b4c02ef189db800e35cc3e@shaw.ca> I have copied two rpograms using V4RB to my new machine The first is an old program using Valentina 1.8....pas problemo.... However, I am using V2.04 in the other and that program returns all sorts of erros regarding Vcursors and Vtables . and pretty much all the valentina objects..and will not run.... Do I need V2.05 for Tiger. The program runs flawlessly on Panther 1.39. Thanks Chuck Rik, Harry, Wendy, & Chuck From macsforever2000 at goodeast.com Thu Sep 22 22:11:33 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Sep 22 23:11:47 2005 Subject: V4RB V2 and Tiger In-Reply-To: <52697a1984b4c02ef189db800e35cc3e@shaw.ca> References: <52697a1984b4c02ef189db800e35cc3e@shaw.ca> Message-ID: On Sep 22, 2005, at 9:55 PM, Charles Cohen wrote: > I have copied two rpograms using V4RB to my new machine > The first is an old program using Valentina 1.8....pas problemo.... > > However, I am using V2.04 in the other and that program returns all > sorts of erros regarding Vcursors and Vtables . and pretty much all > the valentina objects..and will not run.... > > Do I need V2.05 for Tiger. The program runs flawlessly on Panther > 1.39. Valentina 2.x requires the VComponents folder to be installed in / Library/CFMSupport/ Best regards, Frank Schima From sunshine at public.kherson.ua Fri Sep 23 10:29:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 23 02:30:04 2005 Subject: V4RB2 and RB2005r3 and viSQL In-Reply-To: Message-ID: On 9/23/05 7:21 AM, "Frank Schima" wrote: > Hi Claudius, > > > On Sep 22, 2005, at 10:17 PM, Claudius Sailer wrote: > >> when I will open viSQL in RB2005 I get the message, that RB is >> looking for TreeView and UDT_NODE. I can't find both in viSQL >> folder. Whats that? Do I need this to compile and where do I geht >> this from? > > Yes, you need to locate them to compile. You can find them in > Examples/__shared__/DbStructureBrowser/ Yes this looks to be a bug/glitch of RB2005 It loose externals sometimes All external modules of V4RB are located in Examples/__shared__ -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Fri Sep 23 11:49:24 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Sep 23 04:49:27 2005 Subject: V4MD 2.0.5 Vlink: getIsBetween Message-ID: <000f01c5c024$15154bc0$d1181e97@vmtrm4p9ipbkv2> Hi Ruslan, I'm testing other Vlink method (I see some other problems... but I hope in my mistake) I've tried to use: put gDb.link(linkName).getIsBetween(gDB.table(T1), gDB.table(T2)) -2147483645 and not TRUE or FALSE, why? I'm sure that the link exist. I must add a integer in T1? but how can I do? The new reference is better but don't help me in this case. In other similar handler the variables: linkName, T1, T2 works Paolo From sunshine at public.kherson.ua Fri Sep 23 19:01:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Sep 23 11:01:12 2005 Subject: V4MD 2.0.5 Vlink: getIsBetween In-Reply-To: <000f01c5c024$15154bc0$d1181e97@vmtrm4p9ipbkv2> Message-ID: On 9/23/05 12:49 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > I'm testing other Vlink method (I see some other problems... but I hope in my > mistake) > > I've tried to use: > put gDb.link(linkName).getIsBetween(gDB.table(T1), gDB.table(T2)) > -2147483645 > > and not TRUE or FALSE, why? > I'm sure that the link exist. > I must add a integer in T1? but how can I do? What integer? > The new reference is better but don't help me in this case. > In other similar handler the variables: linkName, T1, T2 works You need send here just Vtable objects. tbl1 = gDB.table(T1) tbl2 = gDB.table(T2) put gDb.link(linkName).getIsBetween( tbl1, tb2 ) Sounds like a bug. Ivan please check this method. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Fri Sep 23 20:41:52 2005 From: fitzbew at nc.rr.com (RB User) Date: Fri Sep 23 19:42:00 2005 Subject: V4RB - DEFRAGMENT after deletion of records Message-ID: Using: RB2005r3, V4RB 1.10, OS X.3.9 Hi, Whenever I DEFRAGMENT using db.SQLexecute after deleting the records in a table, the database becomes "corrupt". I get a -39 End of File record when I subsequently try to open the db. I've tried: 1) using the "delete from table_name" sql syntax, 2) the vCursor.deleteall() syntax, and 3) just dropping the table and re-creating it using SQL. In all cases, I cannot subsequently re-open the database IF I do a defragment. If I comment out the DEFRAGMENT command, the db works fine. I can delete the records in code, and then open the db in VAPP 1.10 and perform the defragment using the VAPP utilities, but the same thing happens. I found an entry in the archives suggesting that reindexing after doing deletion of records and BEFORE defragmenting will guard against this error, but that's not working for me. This is a database file with only 2 tables with 10 fields, about 500k records...no challenge here for Valentina! Has anyone encountered this issue before, and found a workaround? Any suggestions on what I may be doing wrong? Thanks in advance for any help or suggestions. Russ From sunshine at public.kherson.ua Sat Sep 24 13:11:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 24 05:11:11 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/24/05 3:41 AM, "RB User" wrote: > Using: RB2005r3, V4RB 1.10, OS X.3.9 > > Hi, > > Whenever I DEFRAGMENT using db.SQLexecute after deleting the records in a > table, the database becomes "corrupt". I get a -39 End of File record when I > subsequently try to open the db. > > I've tried: 1) using the "delete from table_name" sql syntax, 2) the > vCursor.deleteall() syntax, and 3) just dropping the table and re-creating > it using SQL. In all cases, I cannot subsequently re-open the database IF I > do a defragment. > > If I comment out the DEFRAGMENT command, the db works fine. > > I can delete the records in code, and then open the db in VAPP 1.10 and > perform the defragment using the VAPP utilities, but the same thing happens. > > I found an entry in the archives suggesting that reindexing after doing > deletion of records and BEFORE defragmenting will guard against this error, > but that's not working for me. > > This is a database file with only 2 tables with 10 fields, about 500k > records...no challenge here for Valentina! > > Has anyone encountered this issue before, and found a workaround? Any > suggestions on what I may be doing wrong? > > Thanks in advance for any help or suggestions. it sounds like your have corrupted db. so 1) have you try diagnose it? What it says ? 2) have you try Defrgament on FRESH generated database? you can get after xml reload or just generate new db -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Sat Sep 24 10:03:16 2005 From: fitzbew at nc.rr.com (RB User) Date: Sat Sep 24 09:03:32 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/24/05 6:11 AM, "Ruslan Zasukhin" wrote: >> Using: RB2005r3, V4RB 1.10, OS X.3.9 >> >> Hi, >> >> Whenever I DEFRAGMENT using db.SQLexecute after deleting the records in a >> table, the database becomes "corrupt". I get a -39 End of File record when I >> subsequently try to open the db. >> >> I've tried: 1) using the "delete from table_name" sql syntax, 2) the >> vCursor.deleteall() syntax, and 3) just dropping the table and re-creating >> it using SQL. In all cases, I cannot subsequently re-open the database IF I >> do a defragment. >> >> If I comment out the DEFRAGMENT command, the db works fine. >> >> I can delete the records in code, and then open the db in VAPP 1.10 and >> perform the defragment using the VAPP utilities, but the same thing happens. >> >> I found an entry in the archives suggesting that reindexing after doing >> deletion of records and BEFORE defragmenting will guard against this error, >> but that's not working for me. >> >> This is a database file with only 2 tables with 10 fields, about 500k >> records...no challenge here for Valentina! >> >> Has anyone encountered this issue before, and found a workaround? Any >> suggestions on what I may be doing wrong? >> >> Thanks in advance for any help or suggestions. > > it sounds like your have corrupted db. so > > 1) have you try diagnose it? What it says ? > > 2) have you try Defrgament on FRESH generated database? > you can get after xml reload > or just generate new db I can't diagnose the db after I get the -39 error. I can't open the db. I can defrag (or compress) *any* database I want as long as I have NOT deleted any records. The db works fine afterwards. Or, I can delete records and NOT defrag and the DB works fine subsequently. It is the act of of deleting all the records in a table and then defragging which corrupts(?) the database. (I hesitate to say "corrupt" because I do not precisely know what is happening. All I can say is that Mac OS throws a -39 error when I try to open the DB.) Yes, I have created "fresh" database files from earlier XML files and they work fine until I delete records AND do a defrag. I was hoping for some method/workaround in a 1.10 environment that would enable me to reclaim empty segments (as if I was doing a defrag) even though I had deleted records. Russ From sunshine at public.kherson.ua Sat Sep 24 18:08:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Sep 24 10:08:25 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/24/05 5:03 PM, "RB User" wrote: > I can't diagnose the db after I get the -39 error. I can't open the db. > > I can defrag (or compress) *any* database I want as long as I have NOT > deleted any records. The db works fine afterwards. > > Or, I can delete records and NOT defrag and the DB works fine subsequently. > > It is the act of of deleting all the records in a table and then defragging > which corrupts(?) the database. (I hesitate to say "corrupt" because I do > not precisely know what is happening. All I can say is that Mac OS throws a > -39 error when I try to open the DB.) What about next sequence? - delete - close - open - defragment - diagnose - close - open ? > Yes, I have created "fresh" database files from earlier XML files and they > work fine until I delete records AND do a defrag. > > I was hoping for some method/workaround in a 1.10 environment that would > enable me to reclaim empty segments (as if I was doing a defrag) even though > I had deleted records. So you use 1.10 ? Even not 1.11 ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Sat Sep 24 19:48:52 2005 From: fitzbew at nc.rr.com (RB User) Date: Sat Sep 24 18:48:59 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/24/05 11:08 AM, "Ruslan Zasukhin" wrote: >> I can't diagnose the db after I get the -39 error. I can't open the db. >> >> I can defrag (or compress) *any* database I want as long as I have NOT >> deleted any records. The db works fine afterwards. >> >> Or, I can delete records and NOT defrag and the DB works fine subsequently. >> >> It is the act of of deleting all the records in a table and then defragging >> which corrupts(?) the database. (I hesitate to say "corrupt" because I do >> not precisely know what is happening. All I can say is that Mac OS throws a >> -39 error when I try to open the DB.) > > What about next sequence? > > - delete > - close > - open > - defragment > - diagnose > - close > - open ? > > I tried closing the DB between the delete operation and the defragment, but it didn't help. After performing the defrag, the DB wouldn't open (threw the usual -39 error). Diagnose says everything is ok, unless I perform the delete and the defrag on the same DB. If I perform both operations on the same DB, the DB becomes unusable after the defrag, and I can't run Diagnose. >> Yes, I have created "fresh" database files from earlier XML files and they >> work fine until I delete records AND do a defrag. >> >> I was hoping for some method/workaround in a 1.10 environment that would >> enable me to reclaim empty segments (as if I was doing a defrag) even though >> I had deleted records. > > So you use 1.10 ? > > Even not 1.11 ? I have upgraded to 1.11 today, but the problem persists. After experimenting today, I've discovered that the problem does not occur if I only delete a few records from the table INSTEAD of all the records in the table. I can delete a few records, then defrag, and the DB stays usable. But if I delete ALL the records in the table, and then defrag, the DB becomes unusable. Unrelated side note: Is the V4RB 2.0.5 download for Mac OS X not working? I think the installer is missing something. I get an error when I try to run it. I wanted to see if this current problem goes away with 2.0.5. (Ruslan, I also promised you earlier this month I would check and see if the aggregate function permissions issue went away with 2.0.5, but I haven't had time yet!) Russ From sunshine at public.kherson.ua Sun Sep 25 10:45:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 25 02:45:21 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/25/05 2:48 AM, "RB User" wrote: > I tried closing the DB between the delete operation and the defragment, but > it didn't help. After performing the defrag, the DB wouldn't open (threw > the usual -39 error). > > Diagnose says everything is ok, unless I perform the delete and the defrag > on the same DB. If I perform both operations on the same DB, the DB becomes > unusable after the defrag, and I can't run Diagnose. >> So you use 1.10 ? >> Even not 1.11 ? > > I have upgraded to 1.11 today, but the problem persists. > > After experimenting today, I've discovered that the problem does not occur > if I only delete a few records from the table INSTEAD of all the records in > the table. I can delete a few records, then defrag, and the DB stays > usable. > > But if I delete ALL the records in the table, and then defrag, the DB > becomes unusable. Very strange. It seems many people have use Defragment long time, nobody complains on this. > Unrelated side note: Is the V4RB 2.0.5 download for Mac OS X not working? I > think the installer is missing something. I get an error when I try to run > it. I wanted to see if this current problem goes away with 2.0.5. (Ruslan, I > also promised you earlier this month I would check and see if the aggregate > function permissions issue went away with 2.0.5, but I haven't had time > yet!) 2.0.5 do works, several RB developers have confirm this on beta list. What OS you use ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Sun Sep 25 10:18:56 2005 From: fitzbew at nc.rr.com (RB User) Date: Sun Sep 25 09:19:04 2005 Subject: V4RB - DEFRAGMENT after deletion of records In-Reply-To: Message-ID: On 9/25/05 3:45 AM, "Ruslan Zasukhin" wrote: >> I tried closing the DB between the delete operation and the defragment, but >> it didn't help. After performing the defrag, the DB wouldn't open (threw >> the usual -39 error). >> >> Diagnose says everything is ok, unless I perform the delete and the defrag >> on the same DB. If I perform both operations on the same DB, the DB becomes >> unusable after the defrag, and I can't run Diagnose. > >>> So you use 1.10 ? >>> Even not 1.11 ? >> >> I have upgraded to 1.11 today, but the problem persists. >> >> After experimenting today, I've discovered that the problem does not occur >> if I only delete a few records from the table INSTEAD of all the records in >> the table. I can delete a few records, then defrag, and the DB stays >> usable. >> >> But if I delete ALL the records in the table, and then defrag, the DB >> becomes unusable. > > Very strange. It seems many people have use Defragment long time, nobody > complains on this. > Yes! Works wonderfully, unless I delete all the records in the table! Let me check and see if the problem goes away with 2.X. Perhaps this is just Fate telling me I should've already migrated this project to 2.x. :-) > >> Unrelated side note: Is the V4RB 2.0.5 download for Mac OS X not working? I >> think the installer is missing something. I get an error when I try to run >> it. I wanted to see if this current problem goes away with 2.0.5. (Ruslan, I >> also promised you earlier this month I would check and see if the aggregate >> function permissions issue went away with 2.0.5, but I haven't had time >> yet!) > > 2.0.5 do works, several RB developers have confirm this on beta list. > Forgive me, I was committing a blunder during the install. > What OS you use ? OS X.3.9. Russ From alexander.stork at ninecubes.ch Sun Sep 25 19:16:41 2005 From: alexander.stork at ninecubes.ch (Alexander Stork) Date: Sun Sep 25 12:16:47 2005 Subject: Compatibility Valentina 1.xx to 2.xx for Director Message-ID: I am using Valentina 1.7.???? for Macromedia Director / PC. I want to update to version 2. What compatibility aspects are there? Do all the functions of the older version still work the same on version 2? If not what are the differences, and where are those documented? Thanks a lot, Dipl.Inform. Alexander Stork ________________________________________________________________ Ninecubes Lernmedien Schmiedgasse 22 9100 Herisau Schweiz Tel. +41 / 71 / 352 7407 internet www.ninecubes.ch ________________________________________________________________ Mitglied von BetterConnexions - Das Expertennetzwerk f?r E-Kommunikation www.BetterConnexions.ch ________________________________________________________________ From sunshine at public.kherson.ua Sun Sep 25 20:20:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Sep 25 12:20:14 2005 Subject: Test ignore Message-ID: -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Sep 27 00:44:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Sep 26 16:44:49 2005 Subject: [ANN] Preparing to VPHP beta Message-ID: Hi All, I want ask: does here present developers that want and can test VPHP ? If yes, please make sure that are subscribed to Valentina-beta list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Tue Sep 27 17:11:05 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Sep 27 10:09:25 2005 Subject: sorting with string Message-ID: <42AFCA76-F517-4CEB-98B8-3C0C91EE2F56@wanadoo.fr> hi, ruslan because the variable URIB is a string = "1","2","3", ..... this request MoCurs=app.mdatabase.SQLSelect("select RecID,* from Bordereau order by URIB") gives 1 10 11 .......... i would like 1 2 3 4 ........... how can i do ? thanks very much jules --------------------------------------------------------- R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From cbpelto at pcisys.net Tue Sep 27 09:48:47 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Sep 27 10:48:53 2005 Subject: Examples Explanation Message-ID: <75F772DF-3247-4A06-9628-917BD270C9B9@pcisys.net> Greetings, Where can I find documents on the examples that came with V4RB2? Regards, Chuck Pelto From yeomans at desuetude.com Tue Sep 27 11:59:15 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Sep 27 10:59:21 2005 Subject: Examples Explanation In-Reply-To: <75F772DF-3247-4A06-9628-917BD270C9B9@pcisys.net> References: <75F772DF-3247-4A06-9628-917BD270C9B9@pcisys.net> Message-ID: On Sep 27, 2005, at 11:48 AM, Chuck Pelto wrote: > Greetings, > > Where can I find documents on the examples that came with V4RB2? > I think that examples are the documents. -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Sep 27 19:01:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 27 11:01:47 2005 Subject: sorting with string In-Reply-To: <42AFCA76-F517-4CEB-98B8-3C0C91EE2F56@wanadoo.fr> Message-ID: On 9/27/05 6:11 PM, "Jules Jacquot" wrote: Hi Jules, Please look docs about CollationAttribute. It have mention about attribute as NumericSorting Set this attribute for this field (or the whole db). > hi, ruslan > > because the variable URIB is a string = "1","2","3", ..... > > this request > > MoCurs=app.mdatabase.SQLSelect("select RecID,* from Bordereau > order by URIB") > > gives > > 1 > 10 > 11 > .......... > i would like > 1 > 2 > 3 > 4 > ........... > > how can i do ? > > thanks very much -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Sep 27 19:02:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 27 11:02:28 2005 Subject: Examples Explanation In-Reply-To: <75F772DF-3247-4A06-9628-917BD270C9B9@pcisys.net> Message-ID: On 9/27/05 6:48 PM, "Chuck Pelto" wrote: > Greetings, > > Where can I find documents on the examples that came with V4RB2? Hi Chuck, In the folder Examples must be "ExampleGuide.pdf" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Sep 27 19:06:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 27 11:06:54 2005 Subject: Examples Explanation In-Reply-To: Message-ID: On 9/27/05 6:59 PM, "Charles Yeomans" wrote: > > On Sep 27, 2005, at 11:48 AM, Chuck Pelto wrote: > >> Greetings, >> >> Where can I find documents on the examples that came with V4RB2? >> > > I think that examples are the documents. :-) agree with this point of view -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Tue Sep 27 10:50:42 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Sep 27 11:50:48 2005 Subject: Examples Explanation In-Reply-To: References: Message-ID: <93CD4A29-8177-49D6-A744-9F71E5721506@pcisys.net> On Sep 27, 2005, at 10:02 AM, Ruslan Zasukhin wrote: > On 9/27/05 6:48 PM, "Chuck Pelto" wrote: > > >> Greetings, >> >> Where can I find documents on the examples that came with V4RB2? >> > > Hi Chuck, > > In the folder Examples must be "ExampleGuide.pdf" There is no document named "ExampleGuide.pdf" in the Examples folder I have. Nor anywhere on my computer as far as I can tell. Likewise, I do not see it on the Paradigma web-site. The only reference to such a document is found on page 6 of V4RB_Reference_2_en.pdf. And a Google search of the web only shows it as text in the reference manuals for all the Valentina products. Not as a file in and of itself. Where can I get a copy of this document? Please advise.... Regards, Chuck Pelto From sunshine at public.kherson.ua Tue Sep 27 20:45:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Sep 27 12:45:28 2005 Subject: Examples Explanation In-Reply-To: <93CD4A29-8177-49D6-A744-9F71E5721506@pcisys.net> Message-ID: On 9/27/05 7:50 PM, "Chuck Pelto" wrote: >> Hi Chuck, >> >> In the folder Examples must be "ExampleGuide.pdf" > > There is no document named "ExampleGuide.pdf" in the Examples folder > I have. Nor anywhere on my computer as far as I can tell. Likewise, I > do not see it on the Paradigma web-site. > > The only reference to such a document is found on page 6 of > V4RB_Reference_2_en.pdf. > > And a Google search of the web only shows it as text in the reference > manuals for all the Valentina products. Not as a file in and of itself. > > Where can I get a copy of this document? Please advise.... I have sent it to you directly -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed Sep 28 08:15:52 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed Sep 28 01:16:07 2005 Subject: [V4MD] help for check field values and link more tables Message-ID: <002e01c5c3f4$14fe16c0$02743897@vmtrm4p9ipbkv2> Hi Ruslan, two question: 1. is possible to check the value of two strings field and if the two value already exist create a Error Msg? eg. Person Courses Registration_Date ---------------------------------------------------------- Smith Math 26-09-2005 Smith Music 26-09-2005 Brown Math 27-09-2005 Smith Math > ERROR 2. More big question In the previous example I think that it is better create a third linked table... I need to add the date of registration for every Student-Course also: in this case I need in your big suggestion for understand the better way to make it. In my project I have all Students into a T1 with a CodeID that identifying all persons of the school (eg. Students = 1, Teachers = 2 and so on). I'm tryng with API and binary link, but it's not simple to find right values from all three tables as: T3 linked to T1 and T3 linked at T2. I hope in a example... the better way for understand Valentina :-) T1 Person CodeID ------------------------ Smith 1 Brown 1 Cher 2 ... T2 Courses ------------ Math Music ... T3 Date of registration ---------------------------- How is better to insert this? eg If I will find all Students that have registration to Math in 26-09-2005 date? Thanks Paolo From sunshine at public.kherson.ua Wed Sep 28 10:23:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 28 02:24:05 2005 Subject: [V4MD] help for check field values and link more tables In-Reply-To: <002e01c5c3f4$14fe16c0$02743897@vmtrm4p9ipbkv2> Message-ID: On 9/28/05 9:15 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > two question: > > 1. is possible to check the value of two strings field and if the two value > already exist create a Error Msg? > eg. > > Person Courses Registration_Date > ---------------------------------------------------------- > Smith Math 26-09-2005 > Smith Music 26-09-2005 > Brown Math 27-09-2005 > Smith Math > ERROR Hi Paolo, You want to have unique of 2 columns. For this you can create Method = a + b, and mark it as unique. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Sep 28 10:28:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 28 02:28:58 2005 Subject: [V4MD] help for check field values and link more tables In-Reply-To: <002e01c5c3f4$14fe16c0$02743897@vmtrm4p9ipbkv2> Message-ID: On 9/28/05 9:15 AM, "info@vallemediatime.com" wrote: > 2. More big question > In the previous example I think that it is better create a third linked > table... I need to add the date of registration for every Student-Course also: > in this case I need in your big suggestion for understand the better way to > make it. > > In my project I have all Students into a T1 with a CodeID that identifying all > persons of the school (eg. Students = 1, Teachers = 2 and so on). I'm tryng > with API and binary link, but it's not simple to find right values from all > three tables as: T3 linked to T1 and T3 linked at T2. > I hope in a example... the better way for understand Valentina :-) > > T1 > Person CodeID > ------------------------ > Smith 1 > Brown 1 > Cher 2 > ... > > T2 > Courses > ------------ > Math > Music > ... > > T3 > Date of registration > ---------------------------- > How is better to insert this? > > eg If I will find all Students that have registration to Math in 26-09-2005 > date? In this case you cannot use Binary link, because you need to have additional fields in the Link-Table. So you need to use old way: third Table t3: PersonPtr, CoursPtr, RegistrationDate -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Wed Sep 28 10:39:21 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Sep 28 03:39:36 2005 Subject: [ANN] Valentina Studio 2.0b15 Mac+Win available Message-ID: <44239.62.154.199.179.1127896761.squirrel@webmail3.server-einstellung.de> Hi all, we have uploaded latest builds of Valentina Studio. This build is the first after our move to new development environments on Mac and Windows. We are now building vStudio with Visual Studio on Windows and XCode on the Mac side. The Mac build is now also prepared for the new Intel-Macs. This move was hugh work - the new versions contains several bugfixes - for example in menu handling - but most time was spent in the new development environment. We are now able to move forward in fixing the remaining bugs documented in Mantis. -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From animolecular at dsl.pipex.com Wed Sep 28 15:53:47 2005 From: animolecular at dsl.pipex.com (Animolecular) Date: Wed Sep 28 09:53:01 2005 Subject: [ANN] Preparing to VPHP beta Message-ID: <20050928145256.1A3B4E000313@blaster.systems.pipex.net> Dear Ruslan Would love to test VPHP. Put me on the list. Regards, Hans. Hans Hoppe Animolecular Limited UK From sunshine at public.kherson.ua Wed Sep 28 17:59:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 28 09:59:23 2005 Subject: [ANN] Preparing to VPHP beta In-Reply-To: <20050928145256.1A3B4E000313@blaster.systems.pipex.net> Message-ID: On 9/28/05 5:53 PM, "Animolecular" wrote: Ok Hans! But please subscribe self here: http://lists.macserve.net/mailman/listinfo/valentina-beta > Dear Ruslan > > > Would love to test VPHP. Put me on the list. > > > Regards, > Hans. > > Hans Hoppe > > Animolecular Limited -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Wed Sep 28 13:21:52 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Sep 28 14:21:57 2005 Subject: Why the Difference? Message-ID: <82A5F9BF-6796-43B5-BD77-3F26FE3E2B4F@pcisys.net> Greetings, Looking over the tutorial and the example BinaryLink.rb, I notice that there is a significant difference between the calls for creating the structure of a database in the tutorial and in the BinaryLink.rb example. The tutorial has calls like: tblPerson = mDatabase.CreateTable( ?Person? ) call tblPerson.CreateVarCharField( ?Name?, 1022, EVFlag.fIndexed ) call tblPerson.CreateVarCharField( ?LName?, 1022, EVFlag.fIndexed ) call tblPerson.CreateDateField( ?BornDate?, EVFlag.fIndexed ) Meanwhile, the BinaryLink.rb has calls like: name = "tblAdmin" comments = new VText("comments", 1024 ) keywords = new VVarChar("keywords", 504 ) createDT = new VDateTime("createDT") modifyDT = new VDateTime("modifyDT") The former is in accordance with the new reference manual. The latter looks like it's out of the old reference manual. Why is this the case? Regards, Chuck Pelto From sunshine at public.kherson.ua Wed Sep 28 22:57:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Sep 28 14:57:51 2005 Subject: Why the Difference? In-Reply-To: <82A5F9BF-6796-43B5-BD77-3F26FE3E2B4F@pcisys.net> Message-ID: On 9/28/05 10:21 PM, "Chuck Pelto" wrote: Hi Chuck, > Greetings, > > Looking over the tutorial and the example BinaryLink.rb, I notice > that there is a significant difference between the calls for creating > the structure of a database in the tutorial and in the BinaryLink.rb > example. > > The tutorial has calls like: > > tblPerson = mDatabase.CreateTable( ?Person? ) > call tblPerson.CreateVarCharField( ?Name?, 1022, EVFlag.fIndexed ) > call tblPerson.CreateVarCharField( ?LName?, 1022, EVFlag.fIndexed ) > call tblPerson.CreateDateField( ?BornDate?, EVFlag.fIndexed ) This is API_way. Exists folder Examples/API_Way with many examples. > Meanwhile, the BinaryLink.rb has calls like: > > name = "tblAdmin" > > comments = new VText("comments", 1024 ) > keywords = new VVarChar("keywords", 504 ) > createDT = new VDateTime("createDT") > modifyDT = new VDateTime("modifyDT") I think you look on example located in folder Examples/Classes_way This is another way. > The former is in accordance with the new reference manual. The latter > looks like it's out of the old reference manual. > > Why is this the case? The classes way, is just Object-Oriented wrapper to API-way. This is quite legal and modern way for 2.0! :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From BillMounce at Comcast.net Wed Sep 28 22:56:25 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Thu Sep 29 00:56:29 2005 Subject: Simply SELECT problem Message-ID: <211FA2EF-45CB-4FE8-B23E-74FEE96DFF59@Comcast.net> This feels silly since it is so basic, but I can't get the following to work, and I know there is a record with the value of 686 in the field GK. Any ideas as to what is preventing the select? The database is open. I am on 2.0.5 AND RB 2005(3). tGK = "686" tSQL = "select * from HEBREW where GK = '" + tGK + "'" mHebrewCursor = mHebrewDataBase.SQLselect( tSQL, _ EVCursorLocation.kServerSide, EVLockType.kReadWrite, EVCursorDirection.kRandom ) Bill Mounce From sunshine at public.kherson.ua Thu Sep 29 09:01:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 01:01:51 2005 Subject: Simply SELECT problem In-Reply-To: <211FA2EF-45CB-4FE8-B23E-74FEE96DFF59@Comcast.net> Message-ID: On 9/29/05 8:56 AM, "Bill Mounce" wrote: Hi Bill, > This feels silly since it is so basic, but I can't get the following > to work, and I know there is a record with the value of 686 in the > field GK. Any ideas as to what is preventing the select? The database > is open. I am on 2.0.5 AND RB 2005(3). > > > tGK = "686" > tSQL = "select * from HEBREW where GK = '" + tGK + "'" > mHebrewCursor = mHebrewDataBase.SQLselect( tSQL, _ > EVCursorLocation.kServerSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom ) TGK is string field ? All looks correct. Try reindex database -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From BillMounce at Comcast.net Wed Sep 28 23:06:17 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Thu Sep 29 01:06:23 2005 Subject: Simply SELECT problem -- fixed In-Reply-To: References: Message-ID: <0C8D1151-2AB9-45A6-B177-A1C331778248@Comcast.net> That fixed the problem. Thanks. What might I have done to cause the need for reindexing? I did not change the length of any indexed field, nor did I add a new indexed field. Bill On Sep 28, 2005, at 11:01 PM, Ruslan Zasukhin wrote: > On 9/29/05 8:56 AM, "Bill Mounce" wrote: > > Hi Bill, > > >> This feels silly since it is so basic, but I can't get the following >> to work, and I know there is a record with the value of 686 in the >> field GK. Any ideas as to what is preventing the select? The database >> is open. I am on 2.0.5 AND RB 2005(3). >> >> >> tGK = "686" >> tSQL = "select * from HEBREW where GK = '" + tGK + "'" >> mHebrewCursor = mHebrewDataBase.SQLselect( tSQL, _ >> EVCursorLocation.kServerSide, EVLockType.kReadWrite, >> EVCursorDirection.kRandom ) >> > > TGK is string field ? > > All looks correct. Try reindex database > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Sep 29 09:13:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 01:13:08 2005 Subject: Simply SELECT problem -- fixed In-Reply-To: <0C8D1151-2AB9-45A6-B177-A1C331778248@Comcast.net> Message-ID: On 9/29/05 9:06 AM, "Bill Mounce" wrote: > That fixed the problem. Thanks. What might I have done to cause the > need for reindexing? I did not change the length of any indexed > field, nor did I add a new indexed field. Hard to say. By the way. Diagnose with Highest Level in Valentina 2.0 do check indexes and report found problems Valentina 1.x was not able diagnose indexes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Sep 29 10:19:23 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 11:19:28 2005 Subject: VDatabase In an RB Module Message-ID: <3DC06D8B-4C2E-4E1F-8A3C-F9FBCDDA9EB8@pcisys.net> What would be the recommended way to build a VDatabase, of the API persuasion, into an RB2005 module? I'm interested in building a generic module for application preferences. One that I can use in any application I develop and not have to reinvent the wheel each time. I figure using a VDatabase would be the optimal approach to doing this, but I'm not certain how to accomplish it. Looking at the examples for V4RB2, I get the impression that whomever made them has a clue or two that I could use. If so, would you share? Regards, Chuck Pelto From yeomans at desuetude.com Thu Sep 29 12:31:09 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Sep 29 11:31:19 2005 Subject: VDatabase In an RB Module In-Reply-To: <3DC06D8B-4C2E-4E1F-8A3C-F9FBCDDA9EB8@pcisys.net> References: <3DC06D8B-4C2E-4E1F-8A3C-F9FBCDDA9EB8@pcisys.net> Message-ID: <25c7c25d372329f3e815deea42d8026f@desuetude.com> On Sep 29, 2005, at 12:19 PM, Chuck Pelto wrote: > What would be the recommended way to build a VDatabase, of the API > persuasion, into an RB2005 module? > > I'm interested in building a generic module for application > preferences. One that I can use in any application I develop and not > have to reinvent the wheel each time. I figure using a VDatabase would > be the optimal approach to doing this, but I'm not certain how to > accomplish it. > > Looking at the examples for V4RB2, I get the impression that whomever > made them has a clue or two that I could use. If so, would you share? I have such a module, SimplePrefs, available at my web site . Valentina is overkill for a preferences system; I wrote one once. -------------- Charles Yeomans From sunshine at public.kherson.ua Thu Sep 29 19:40:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 11:41:00 2005 Subject: VDatabase In an RB Module In-Reply-To: <25c7c25d372329f3e815deea42d8026f@desuetude.com> Message-ID: On 9/29/05 7:31 PM, "Charles Yeomans" wrote: > >> What would be the recommended way to build a VDatabase, of the API >> persuasion, into an RB2005 module? >> >> I'm interested in building a generic module for application >> preferences. One that I can use in any application I develop and not >> have to reinvent the wheel each time. I figure using a VDatabase would >> be the optimal approach to doing this, but I'm not certain how to >> accomplish it. >> >> Looking at the examples for V4RB2, I get the impression that whomever >> made them has a clue or two that I could use. If so, would you share? > > > I have such a module, SimplePrefs, available at my web site > . Valentina is overkill for a preferences > system; I wrote one once. Right. Today probably the best choice for prefs is XML -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Sep 29 10:52:09 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 11:52:13 2005 Subject: VDatabase In an RB Module In-Reply-To: <25c7c25d372329f3e815deea42d8026f@desuetude.com> References: <3DC06D8B-4C2E-4E1F-8A3C-F9FBCDDA9EB8@pcisys.net> <25c7c25d372329f3e815deea42d8026f@desuetude.com> Message-ID: <5DCE6362-FEDE-4879-A228-728D98047975@pcisys.net> On Sep 29, 2005, at 10:31 AM, Charles Yeomans wrote: > I have such a module, SimplePrefs, available at my web site www.declareSub.com/>. Valentina is overkill for a preferences > system; I wrote one once. Hi Charles, Valentina could be overkill. Unfortunately, REALbasics database, as far as I know, is not amenable to server-client environments. Or is that a non-issue? Regards, Chuck Pelto From sunshine at public.kherson.ua Thu Sep 29 20:26:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 12:27:04 2005 Subject: VDatabase In an RB Module In-Reply-To: <5DCE6362-FEDE-4879-A228-728D98047975@pcisys.net> Message-ID: On 9/29/05 7:52 PM, "Chuck Pelto" wrote: >> I have such a module, SimplePrefs, available at my web site > www.declareSub.com/>. Valentina is overkill for a preferences >> system; I wrote one once. > > Hi Charles, > > Valentina could be overkill. Unfortunately, REALbasics database, as > far as I know, is not amenable to server-client environments. Or is > that a non-issue? Charles means that it is not good idea to use Valentina for prefs file. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Sep 29 11:51:51 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 12:51:55 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: <79A82FAE-F872-409D-9963-7FDD4051220B@pcisys.net> Hi Ruslan, On Sep 29, 2005, at 11:26 AM, Ruslan Zasukhin wrote: > Charles means that it is not good idea to use Valentina for prefs > file. I understand his recommendation. My follow-on question was whether REALbasic's database system would work in a client-server environment to do the preferences activities over multiple machines. My understanding is that the REALbasic database system is not good for THAT. Therefore, I'm thinking I'm forced to do this with Valentina. Or am I mistaken about REALbasic's database? And it WILL work in a client-server environment? Regards, Chuck Pelto From jda at his.com Thu Sep 29 13:58:22 2005 From: jda at his.com (jda) Date: Thu Sep 29 12:58:28 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: >Charles means that it is not good idea to use Valentina for prefs file. > I do it, and it works OK now (more problems with 1.x than 2.x). But if I had to do it again, I'd use XML... Jon From sunshine at public.kherson.ua Thu Sep 29 21:06:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 13:06:38 2005 Subject: VDatabase In an RB Module In-Reply-To: <79A82FAE-F872-409D-9963-7FDD4051220B@pcisys.net> Message-ID: On 9/29/05 8:51 PM, "Chuck Pelto" wrote: Hi Chuck, > My follow-on question was whether REALbasic's database system would > work in a client-server environment to do the preferences activities > over multiple machines. My understanding is that the REALbasic > database system is not good for THAT. Therefore, I'm thinking I'm > forced to do this with Valentina. RB DB do not work in client server mode at all. Right ? > Or am I mistaken about REALbasic's database? And it WILL work in a > client-server environment? No. ------- So you want keep pref-info of client computers on server? Okay. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Sep 29 12:08:55 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 13:09:01 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: On Sep 29, 2005, at 11:58 AM, jda wrote: > I do it, and it works OK now (more problems with 1.x than 2.x). But > if I had to do it again, I'd use XML... Would XML work over a network? I.e., in a client-server situation? Regards, Chuck Pelto From jda at his.com Thu Sep 29 14:14:39 2005 From: jda at his.com (jda) Date: Thu Sep 29 13:14:43 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: >>I do it, and it works OK now (more problems with 1.x than 2.x). But >>if I had to do it again, I'd use XML... > >Would XML work over a network? I.e., in a client-server situation? > I'm not sure exactly what you have in mind, but if RB isn't handling the server end then I think not. I'm thinking more of a standalone application. Jon From cbpelto at pcisys.net Thu Sep 29 12:15:58 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 13:16:02 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: On Sep 29, 2005, at 12:06 PM, Ruslan Zasukhin wrote: > So you want keep pref-info of client computers on server? Well...it's not so much that I want to. But considering the necessity of the prefs to be available to users over the network, what would you suggest? It's quite possible that I'm ignorant about something in client-server operations..... Regards, Chuck Pelto From cbpelto at pcisys.net Thu Sep 29 12:17:35 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 13:17:39 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: <7B95C05F-7733-459E-9694-23CC6F520F96@pcisys.net> On Sep 29, 2005, at 12:14 PM, jda wrote: > I'm thinking more of a standalone application. If it were a stand-alone, I'd probably go with REALbasic's database environment. But it'll be over a network. So I guess I'm kind of stuck. But then again, if I build it right with Valentina, it'll work in either situation. Regards, Chuck Pelto From sunshine at public.kherson.ua Thu Sep 29 21:19:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 13:19:35 2005 Subject: VDatabase In an RB Module In-Reply-To: Message-ID: On 9/29/05 9:08 PM, "Chuck Pelto" wrote: > > On Sep 29, 2005, at 11:58 AM, jda wrote: > >> I do it, and it works OK now (more problems with 1.x than 2.x). But >> if I had to do it again, I'd use XML... > > Would XML work over a network? I.e., in a client-server situation? :-) this is a deep questions! Vserver do not support yet XML as protocol. But we plan this. You self can generate XML, send it be net, then self parse it .. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Sep 29 21:20:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 13:21:00 2005 Subject: VDatabase In an RB Module In-Reply-To: Message-ID: On 9/29/05 9:15 PM, "Chuck Pelto" wrote: > > On Sep 29, 2005, at 12:06 PM, Ruslan Zasukhin wrote: > >> So you want keep pref-info of client computers on server? > > Well...it's not so much that I want to. But considering the necessity > of the prefs to be available to users over the network, what would > you suggest? It's quite possible that I'm ignorant about something in > client-server operations..... Just make Table where you will keep prefs of each user. Then read them be SQL. I do not see any problems. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Sep 29 21:21:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Sep 29 13:21:55 2005 Subject: VDatabase In an RB Module In-Reply-To: <7B95C05F-7733-459E-9694-23CC6F520F96@pcisys.net> Message-ID: On 9/29/05 9:17 PM, "Chuck Pelto" wrote: > > On Sep 29, 2005, at 12:14 PM, jda wrote: > >> I'm thinking more of a standalone application. > > If it were a stand-alone, I'd probably go with REALbasic's database > environment. But it'll be over a network. So I guess I'm kind of > stuck. But then again, if I build it right with Valentina, it'll work > in either situation. Chcuk, There is no so much special in network You can develop with Valentina single user db, test it, Then it will just run on Vserver in the same way. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Sep 29 12:27:41 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 13:27:46 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: On Sep 29, 2005, at 12:19 PM, Ruslan Zasukhin wrote: > :-) this is a deep questions! That seems to ALWAYS be my problem... ...pushing the envelope.... ...until it ruptures. Okay. Sounds like I'm back to my original question of how to create a module in RB that includes the workings of a Valentina database. Some of it is pretty straight forward. [1] Create the module. [2] Set up the properties of the database and table(s). [3] Write the code in methods of the module to CreateStructure of the table(s). The questions I have are: [1] Where do I create the VDatabase and VTable class objects? In a folder in the project itself? I guess so. [2] When I export the module for use in another application, how do I export the Valentina database to go with it? I.e., avoiding having to rebuild the database class objects in another app? Regards, Chuck Pelto From jda at his.com Thu Sep 29 14:35:32 2005 From: jda at his.com (jda) Date: Thu Sep 29 13:35:36 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: >Some of it is pretty straight forward. > >[1] Create the module. >[2] Set up the properties of the database and table(s). My advice is to create a record with generic properties: integerField booleanField textField etc. (more than one of the same type if needed). Have one field called 'propertyName' (or whatever). Then create a record for each property you want to install and use the appropriate field to store the value. For example, to store a boolean for showing/hiding a palette, you might create a record where propertyName = 'showPallete' and booleanField = true/false When you want to fetch the preference value, do an sql search for a record WHERE propertyName = 'showPalette' and retrieve booleanField. This way you can add or remove preferences without having to change the schema for the db (which only causes headaches when you upgrade your product). Jon From cbpelto at pcisys.net Thu Sep 29 12:42:43 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Sep 29 13:42:48 2005 Subject: VDatabase In an RB Module In-Reply-To: References: Message-ID: <231C58DB-C843-4952-9906-CC9B4F77AAD7@pcisys.net> That's pretty much the design I have in mind. Regards, Chuck Pelto On Sep 29, 2005, at 12:35 PM, jda wrote: >> Some of it is pretty straight forward. >> >> [1] Create the module. >> [2] Set up the properties of the database and table(s). >> > > My advice is to create a record with generic properties: > > integerField > booleanField > textField > etc. (more than one of the same type if needed). > > Have one field called 'propertyName' (or whatever). > > Then create a record for each property you want to install and use > the appropriate field to store the value. For example, to store a > boolean for showing/hiding a palette, you might create a record where > > propertyName = 'showPallete' > > and > > booleanField = true/false > > When you want to fetch the preference value, do an sql search for a > record WHERE propertyName = 'showPalette' and retrieve booleanField. > > This way you can add or remove preferences without having to change > the schema for the db (which only causes headaches when you upgrade > your product). > > Jon > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From yeomans at desuetude.com Thu Sep 29 15:04:23 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Sep 29 14:04:29 2005 Subject: VDatabase In an RB Module In-Reply-To: <5DCE6362-FEDE-4879-A228-728D98047975@pcisys.net> References: <3DC06D8B-4C2E-4E1F-8A3C-F9FBCDDA9EB8@pcisys.net> <25c7c25d372329f3e815deea42d8026f@desuetude.com> <5DCE6362-FEDE-4879-A228-728D98047975@pcisys.net> Message-ID: On Sep 29, 2005, at 12:52 PM, Chuck Pelto wrote: > > On Sep 29, 2005, at 10:31 AM, Charles Yeomans wrote: > >> I have such a module, SimplePrefs, available at my web site >> . Valentina is overkill for a >> preferences system; I wrote one once. > > Hi Charles, > > Valentina could be overkill. Unfortunately, REALbasics database, as > far as I know, is not amenable to server-client environments. Or is > that a non-issue? Storing preferences on the server is an entirely different question. -------------- Charles Yeomans From dave at Parizek.com Fri Sep 30 09:56:58 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Oct 5 07:17:00 2005 Subject: V4RB installation problems Message-ID: <2CB01279-B28D-4BB0-9589-889AF758FFEC@Parizek.com> I run the installation package for V4RB2 on MacOSX 10.4.2 and nothing happens. It says it installed correctly but there is no Valentina file in my RB plugins and no VComponents in Library/CFMSupport/ What happened to being able to download a folder and self- installing? Is that still an option? I thought I saw something on this come thru the list, but I searched the archive and couldn't find anything... --Dave Dave Parizek Dave@Parizek.com From dave at Parizek.com Fri Sep 30 10:01:13 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Oct 5 07:17:09 2005 Subject: Nevermind, solved: V4RB installation problems Message-ID: Ok, there is a place to specify the plugin folder on the same installation screen as where you choose the drive, specifying your RB plugin folder here makes for a correct installation. This doesn't match the directions for the installer though. --Dave I run the installation package for V4RB2 on MacOSX 10.4.2 and nothing happens. It says it installed correctly but there is no Valentina file in my RB plugins and no VComponents in Library/CFMSupport/ What happened to being able to download a folder and self- installing? Is that still an option? I thought I saw something on this come thru the list, but I searched the archive and couldn't find anything... --Dave Dave Parizek Dave@Parizek.com From dave at Parizek.com Fri Sep 30 11:05:03 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Oct 5 07:17:12 2005 Subject: size of VVarChar fields Message-ID: <95EFD721-EF98-404B-91A1-0353E304789E@Parizek.com> In V4RB1.x, VVarChar fields were limited to size of 504 (chars?). Now max length can be up to 65535 bytes. With default RB encoding (UTF-8?), how many bytes per character? 2? So VVarChar can now be substantilly larger, and could be used instead of VText in more cases. How to decide which to use? How does this effect speed? Or rather, what considerations should we keep in mind to maximize speed or when considering the performance/ functionality tradeoff? Thanks, Dave Parizek From dave at Parizek.com Fri Sep 30 14:28:23 2005 From: dave at Parizek.com (Dave Parizek) Date: Wed Oct 5 07:26:15 2005 Subject: V4RB2 much slower with Einhugur Datagrid than V4RB1.x? Message-ID: <61F07113-2FF5-4A2B-9E0E-857F0B1845EF@Parizek.com> I just converted my project (actually for the 3rd time) to V4RB 2. With V4RB2 my project is now much slower than with V4RB1.x at populating an Einhugur DataGrid with about 2000 rows. Slower to the point that I can't use 2.0 and have to go back to 1.x if I can't figure out how to speed it up. Which especially bites because I want to upgrade to the server version. I am using the classes way, running a sqlselect to get a cursor, and passing that cursor to the DataGrid's RequestRowData to fill the DataGrid. Is anyone else using DataGrid with Valentina 2? Is yours much slower (if at least 1000 rows), or do I have something messed up? Ruslan said selection in 2.0 is faster than 1.x. So is maybe random cursor access still much slower? Is classes way the wrong way to go now -- should I be using the new way if I need speed? --Dave Parizek