From sunshine at public.kherson.ua Mon Mar 1 11:38:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 03:39:12 2004 Subject: [ANN] Archives of Servers and license files updated Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 1 10:48:22 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 1 03:48:24 2004 Subject: AW: [ANN] Archives of Servers and license files updated In-Reply-To: Message-ID: Hi! IS the latest bugfix by Igor included? Also: please update the ZIP file. Thank you, Florian From sunshine at public.kherson.ua Mon Mar 1 11:55:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 03:55:32 2004 Subject: AW: [ANN] Archives of Servers and license files updated In-Reply-To: Message-ID: on 3/1/04 11:48 AM, Florian Bogeschdorfer at fb@memedia.de wrote: Hi Florian, > IS the latest bugfix by Igor included? Which one? It seems no. I just have change license file. Build the same. > Also: please update the ZIP file. ok -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 1 11:58:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 03:58:20 2004 Subject: AW: [ANN] Archives of Servers and license files updated In-Reply-To: Message-ID: on 3/1/04 11:48 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > Also: please update the ZIP file. DONE -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 1 11:04:15 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 1 04:04:17 2004 Subject: AW: AW: [ANN] Archives of Servers and license files updated In-Reply-To: Message-ID: > > Hi Florian, > > > IS the latest bugfix by Igor included? > > Which one? > The getrecord/droprecord/void bug from last week Florian From martin at kinetix.co.uk Mon Mar 1 14:04:31 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Mar 1 08:06:52 2004 Subject: [V4MD] Valentina server connection In-Reply-To: Message-ID: <20040301140646.002FFC0ADE@edison.macserve.net> Is it possible to connect to the Valentina server using Universal Naming Convention (UNC) format such as '\\fileserver\'. The problem with IP's, they could change whereas the server name doesn't. Martin From sunshine at public.kherson.ua Mon Mar 1 17:01:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 09:04:26 2004 Subject: [V4MD] Valentina server connection In-Reply-To: <20040301140646.002FFC0ADE@edison.macserve.net> Message-ID: on 3/1/04 4:04 PM, Martin Wright at martin@kinetix.co.uk wrote: Hi Martin, > Is it possible to connect to the Valentina server using Universal Naming > Convention (UNC) format such as '\\fileserver\'. As far as I know, no. > The problem with IP's, they could change whereas the server name doesn't. Can you describe idea in more details? IP of what will be changed. Of server computer? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rwc1717 at shaw.ca Mon Mar 1 08:07:15 2004 From: rwc1717 at shaw.ca (Chuck) Date: Mon Mar 1 10:11:19 2004 Subject: Problems with Objectptr resetting Message-ID: <0HTW00C0XNEFSU@l-daemon> Hi Chuck, >I have open your 1.9.7 database in the VAPP 1.10 >And no problems. >All 4 tables have blue color. >And yes, in db 1.10 that YOU have send me, I see red tables. >Hmm, May be my VAPP 1.10 build is newer of yours? >I use VAPP 1.10 built at 21 Feb 2004. Yep, I am using the latest versions...however.. The problem is that both databses were made from iside my program, ie: V4RB made the database....so regardless of whether VAPP can read ot properly....my experiment shows the problem to be somewhat more complicated. If you do my experiment...as I described before and check the 1.10 database after ward, there are two object pointers that are set incorrectly and this caused some records not to be updated. Good Luck Chuck From sunshine at public.kherson.ua Mon Mar 1 18:33:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 10:33:53 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTW00C0XNEFSU@l-daemon> Message-ID: on 3/1/04 3:07 PM, Chuck at rwc1717@shaw.ca wrote: Hi Chuck, >> I have open your 1.9.7 database in the VAPP 1.10 >> And no problems. > >> All 4 tables have blue color. > >> And yes, in db 1.10 that YOU have send me, I see red tables. > >> Hmm, May be my VAPP 1.10 build is newer of yours? >> I use VAPP 1.10 built at 21 Feb 2004. > > Yep, I am using the latest versions...however.. > > The problem is that both databses were made from iside my program, ie: V4RB > made the database....so regardless of whether VAPP can read ot properly....my > experiment shows the problem to be somewhat more complicated. > > If you do my experiment...as I described before and check the 1.10 database > after ward, there are two object pointers that are set incorrectly and this > caused some records not to be updated. What you mean? I have open db in VAPP 1.10, No problems. What I need to do to see them? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin at kinetix.co.uk Mon Mar 1 17:18:59 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Mar 1 11:21:19 2004 Subject: [V4MD] Valentina server connection In-Reply-To: Message-ID: <20040301172113.9729DC0D26@edison.macserve.net> Yes. Server IP could change. If a server has many IP's, can Valentina be contacted on any of them? -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 01 March 2004 15:01 To: valentina@lists.macserve.net; Igor Subject: Re: [V4MD] Valentina server connection on 3/1/04 4:04 PM, Martin Wright at martin@kinetix.co.uk wrote: Hi Martin, > Is it possible to connect to the Valentina server using Universal > Naming Convention (UNC) format such as '\\fileserver\'. As far as I know, no. > The problem with IP's, they could change whereas the server name doesn't. Can you describe idea in more details? IP of what will be changed. Of server computer? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Mar 1 19:22:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 11:22:30 2004 Subject: AW: [ANN] Archives of Servers and license files updated In-Reply-To: <79925BD8-6B7C-11D8-BEA4-003065B2133A@lensart.com> Message-ID: on 3/1/04 2:32 PM, Kirk Clendinning at kirk@lensart.com wrote: Kirk, if ValentinaServer<>nil then ValentinaServer.Refresh ValentinaServer.CloseSession end if Refresh is not needed here. Refresh is to refresh list of dbInfo objects. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 1 19:25:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 11:25:18 2004 Subject: [V4MD] Valentina server connection In-Reply-To: <20040301172113.9729DC0D26@edison.macserve.net> Message-ID: on 3/1/04 7:18 PM, Martin Wright at martin@kinetix.co.uk wrote: > Yes. Server IP could change. > > If a server has many IP's, can Valentina be contacted on any of them? I think yes. Valentina use TCP/IP if many IPs is legal for TCP then why not. But we did not tests this I think -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin at kinetix.co.uk Mon Mar 1 17:43:30 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Mon Mar 1 11:45:45 2004 Subject: [V4MD] Valentina server connection In-Reply-To: Message-ID: <20040301174540.E7EBCC0D7D@edison.macserve.net> If I create Valentine objects with: set gDB = new(xtra"VDataBase", "192.168.0.4", "sa", "sa") What's the quickest way of testing connection is a good one? If this IP contains no Vserver, it doesn't return an error. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: 01 March 2004 17:25 To: valentina@lists.macserve.net Subject: Re: [V4MD] Valentina server connection on 3/1/04 7:18 PM, Martin Wright at martin@kinetix.co.uk wrote: > Yes. Server IP could change. > > If a server has many IP's, can Valentina be contacted on any of them? I think yes. Valentina use TCP/IP if many IPs is legal for TCP then why not. But we did not tests this I think -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Mar 1 19:50:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 11:50:16 2004 Subject: [V4MD] Valentina server connection In-Reply-To: <20040301174540.E7EBCC0D7D@edison.macserve.net> Message-ID: on 3/1/04 7:43 PM, Martin Wright at martin@kinetix.co.uk wrote: > If I create Valentine objects with: > > set gDB = new(xtra"VDataBase", "192.168.0.4", "sa", "sa") This line NOT establish yet connection. This happens only on db.Open(name) > What's the quickest way of testing connection is a good one? > If this IP contains no Vserver, it doesn't return an error. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 1 13:51:25 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 1 12:51:34 2004 Subject: V4RB2, CHG, DebugLevel returns In-Reply-To: References: Message-ID: <70FE13B8-6BB1-11D8-A255-003065BB0634@desuetude.com> On Feb 29, 2004, at 2:39 PM, Ruslan Zasukhin wrote: > > ValentinaDebugLevel() > > Now returns not error code, but previous value of Debug level > Why return anything? Instead, why not have a global property ValentinaDebugLevel as Integer? Charles Yeomans From yeomans at desuetude.com Mon Mar 1 13:53:34 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 1 12:53:38 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: References: Message-ID: On Feb 29, 2004, at 2:41 PM, Ruslan Zasukhin wrote: > > > ValentinaIit() now returns the actual size of cache that Valentina have > allocate. > > > NOTE: for modern OS that have virtual file system, even if you ask > 100MB for > cache, OS can satisfy your request. But Valentina self can decide that > you > ask too big cache size and allocate smaller cache. > > In case of any problems, ValentinaInit() will return ZERO. > Again, why return this value? This is old C-style design. Instead, why not have a separate function ValentinaCacheSize() as Integer? Charles Yeomans From sunshine at public.kherson.ua Mon Mar 1 20:57:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 12:57:45 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: Message-ID: on 3/1/04 8:53 PM, Charles Yeomans at yeomans@desuetude.com wrote: >> ValentinaIit() now returns the actual size of cache that Valentina have >> allocate. >> >> >> NOTE: for modern OS that have virtual file system, even if you ask >> 100MB for >> cache, OS can satisfy your request. But Valentina self can decide that >> you >> ask too big cache size and allocate smaller cache. >> >> In case of any problems, ValentinaInit() will return ZERO. >> > > Again, why return this value? This is old C-style design. Instead, > why not have a separate function ValentinaCacheSize() as Integer? 1) ValentinaInit() can fail. if return nothing, then you need ask ValentinaError and we need add one more error code. 2) it can allocate less than you ask. one more function... One return value solve 2 tasks at once. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 1 20:58:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 12:58:11 2004 Subject: V4RB2, CHG, DebugLevel returns In-Reply-To: <70FE13B8-6BB1-11D8-A255-003065BB0634@desuetude.com> Message-ID: on 3/1/04 8:51 PM, Charles Yeomans at yeomans@desuetude.com wrote: >> ValentinaDebugLevel() >> >> Now returns not error code, but previous value of Debug level >> > > Why return anything? Instead, why not have a global property > ValentinaDebugLevel as Integer? Well, really this is usually useless return. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 1 21:59:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 13:59:12 2004 Subject: Welcome to Valentina Developer Network. In-Reply-To: Message-ID: on 3/1/04 9:52 PM, Michael Krugman at amacdr@mac.com wrote: Hi Michael, > Hi Rusian: > I'm having trouble with the 4th parameter. If I have this right, is is > hostname, username, password, and option, correct? Is the serial > number set up as option = C994887(Serial number)?, then just make > "option" the 4th parameter? When I compile, it will not accept the 4th > parameter. Help is appreciated. Declaration is next (isn't it in the docs?) "VDatabase( inHost as string, inUserName as String, inUserPassword as String, inPort as Integer, inTimeout as integer, inOptions as string)" Sorry, I was wrong with words that this is 4th parameter. We have also port and TimeOut. As TimeOut we use default 5. (seconds) Port in Valentina server is 15432, but you should use in your app other port when you will do release. And you need specify your port in the .ini file also. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 1 15:03:09 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 1 14:03:17 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: References: Message-ID: <76389EEE-6BBB-11D8-A255-003065BB0634@desuetude.com> On Mar 1, 2004, at 1:57 PM, Ruslan Zasukhin wrote: > on 3/1/04 8:53 PM, Charles Yeomans at yeomans@desuetude.com wrote: > >>> ValentinaIit() now returns the actual size of cache that Valentina >>> have >>> allocate. >>> >>> >>> NOTE: for modern OS that have virtual file system, even if you ask >>> 100MB for >>> cache, OS can satisfy your request. But Valentina self can decide >>> that >>> you >>> ask too big cache size and allocate smaller cache. >>> >>> In case of any problems, ValentinaInit() will return ZERO. >>> >> >> Again, why return this value? This is old C-style design. Instead, >> why not have a separate function ValentinaCacheSize() as Integer? > > 1) ValentinaInit() can fail. This is what exceptions are for. > > if return nothing, then you need ask ValentinaError > and we need add one more error code. > > 2) it can allocate less than you ask. > > one more function... > > > One return value solve 2 tasks at once. And this is what I'm complaining about. I think that it's simpler to have two things (functions, properties, etc), each of which solves one task. Charles Yeomans From sunshine at public.kherson.ua Mon Mar 1 22:04:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 14:04:46 2004 Subject: V4RB2, CHG, ValentinaInit() In-Reply-To: <76389EEE-6BBB-11D8-A255-003065BB0634@desuetude.com> Message-ID: on 3/1/04 10:03 PM, Charles Yeomans at yeomans@desuetude.com wrote: >> 1) ValentinaInit() can fail. > > This is what exceptions are for. >> >> if return nothing, then you need ask ValentinaError >> and we need add one more error code. >> >> 2) it can allocate less than you ask. >> >> one more function... >> >> >> One return value solve 2 tasks at once. > > And this is what I'm complaining about. I think that it's simpler to > have two things (functions, properties, etc), each of which solves one > task. Okay, I will redo this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rwc1717 at shaw.ca Mon Mar 1 12:29:08 2004 From: rwc1717 at shaw.ca (Chuck) Date: Mon Mar 1 14:35:59 2004 Subject: Problems with Objectptr resetting Message-ID: <0HTW007GKZITET@l-daemon> Hi Ruslan: If you actually run Reminder Pad (Val 1.97) and Reminder Problem (Val 1.1) program as I describe below....you will see the changes that take affect in the vdb file are correct for 1.97....and some are wrong in 1.10 1) Valentina 1.97 If you change your computer date to March 19th of this year and open the program, it will make all of the appointments as requested, moreover, if you use the Other Windows menu item and then Special Days you will see all the appointments dates are after todays date. 2) Valentina 1.1 If you change your computer date to March 19th of this year and open the program, it will make some of the appointments as requested, however, if you use the Other Windows menu item and then Special Days you will see some appointments with dates before the 19th. When I check the database...two opjectptrs are not set to 0 in the special table. Sorry I wasn't too clear on what to do:-). Thanks Chuck From sunshine at public.kherson.ua Mon Mar 1 22:48:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 14:48:17 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTW007GKZITET@l-daemon> Message-ID: on 3/1/04 7:29 PM, Chuck at rwc1717@shaw.ca wrote: Frankly saying I still not clear and confused. 1) I take your database.zip in 1.9.7 format 2) I uncompress it 3) I want to open it in 1.10 VAPP 4) I need change data of my computer to 19 March 2004 ??? 5) and how this will affect ObjectPtrs ???? > Hi Ruslan: > If you actually run Reminder Pad (Val 1.97) and Reminder Problem (Val 1.1) > program as I describe below....you will see the changes that take affect in > the vdb file are correct for 1.97....and some are wrong in 1.10 I do not have Reminder Pad. What is this? This is your app? You have sent me only 2 database. If something wrong is in Valentina engine, then VAPP must corrupt Ptrs as your app, but VAPP do not do this. So it is right to assume that mistake in logic of your app. > 1) Valentina 1.97 ^^^^^^^^^^^^^^^^ you talk here about VAPP or about version of V4RB ? > If you change your computer date to March 19th of this year and open the > program, it will make all of the appointments as requested, moreover, if you > use the Other Windows menu item and then Special Days you will see all the > appointments dates are after todays date. I don't know what is appointments. I don't know what is Other Windows menu ... > 2) Valentina 1.1 ^^^^^^^^^^^^ correct is Valentina 1.10 > If you change your computer date to March 19th of this year and open the > program, it will make some of the appointments as requested, however, if you > use the Other Windows menu item and then Special Days you will see some > appointments with dates before the 19th. > When I check the database...two opjectptrs are not set to 0 in the special > table. > > Sorry I wasn't too clear on what to do:-). Ok, it seems I have catch idea. It looks problem in your app code. This not helps me, you need find way to reproduce in small project. Check your logic of work with ObjectPtr fields -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 1 23:24:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 1 15:25:03 2004 Subject: Updated application to 5.5 In-Reply-To: Message-ID: on 3/1/04 11:18 PM, Kirk Clendinning at kirk@lensart.com wrote: > If this were a > ValentinaDatabase.open(myFolderItem) > > Then I could use a ValentinaDatabase.errNumber or > ValentinaDatabase.errString. > > But a ValentinaServer.opensession? the ValentinaServer object doesn't > have an errNumber or errString property. > Maybe there's something about getting errors that I've missed. Is there > a global method or property of the Kernal? Hmm, you are right! It seems we have big lack in design now. On c++ level we catch exceptions. In V4RB layer I store exception into GLOBAL variable in fact. Vdatabase.errNumber actually return value of this global. I think, we must store catched exception into Database object itself, And in Vserver object also. I will be able do this only for 2.0 product. In V4RB_Client now I can do something in Vserver object to return error code also. From that global I think. Thank you for good eye! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From marcus at synchromedia.co.uk Tue Mar 2 02:48:50 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Mon Mar 1 20:48:58 2004 Subject: V.NET possible corruption? Message-ID: My earlier posting about HTML in XML dumps was off track, and that should not ever be a problem, so don't worry about it! However, the problem that led me to think it was a problem is still with me. I have a database created using V.NET on Windows and I'm reading it in VApp on OS X. It all seems to be fine apart from one BaseObject that contains a text field. If I do a SQL dump from V.NET, the contents of the text fields are listed correctly. If I do an SQL dump of the SAME DB from VApp, the SQL dump is missing all the field contents for this one field. The same applies to XML dumps too (which is why I thought the problem was there initially). When I initially try to write some data into the untouched V.NET DB from V4MD, it just gives me -39 errors, which from the archives suggests may indicate some kind of corruption. If I try to do a diagnose on the DB, I just get a -39 error in VApp. If I re-import the exported XML, the -39 errors go away (but my text is still missing). The V.NET app is quite straightforward (as far as I'm aware - I'm not the one writing it) - it creates a DB, imports data and closes it, from scratch each time. So far I have not managed to get a database to work through this route at all (without an XML rebuild), so binary compatibility is effectively broken between these platforms, which is rather defeating the point of it. I'm using Valentina 1.10 throughout. Any ideas? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From robert at formworkdesign.com Mon Mar 1 22:06:03 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Mon Mar 1 21:06:11 2004 Subject: [V4RB] a60 base object trouble Message-ID: <8A32225C-6BF6-11D8-91EB-000A95D01D92@formworkdesign.com> Hi Ruslan et al, Upon switching to 2.0a60 I have the following problem: Baseobject.name property has no value. I set the name in the constructor, refer to it frequently (I have a subclass of vBaseObject that generates sql query by inserting the name value of the particular subclass for a given table). Anyway, with a60 the app crashes with "no table" error because I have a sql string that includes NO table name (should have been provided by the base object). Investigating in the debugger shows that no base objects have a value for NAME. Help! Robert Nichols robert@formworkdesign.com From sunshine at public.kherson.ua Tue Mar 2 10:12:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 02:13:29 2004 Subject: V.NET possible corruption? In-Reply-To: Message-ID: on 3/2/04 4:48 AM, Marcus Bointon at marcus@synchromedia.co.uk wrote: > My earlier posting about HTML in XML dumps was off track, and that should > not ever be a problem, so don't worry about it! > > However, the problem that led me to think it was a problem is still with me. > I have a database created using V.NET on Windows and I'm reading it in VApp > on OS X. It all seems to be fine apart from one BaseObject that contains a > text field. If I do a SQL dump from V.NET, the contents of the text fields > are listed correctly. If I do an SQL dump of the SAME DB from VApp, the SQL > dump is missing all the field contents for this one field. The same applies > to XML dumps too (which is why I thought the problem was there initially). > > When I initially try to write some data into the untouched V.NET DB from > V4MD, it just gives me -39 errors, which from the archives suggests may > indicate some kind of corruption. > > If I try to do a diagnose on the DB, I just get a -39 error in VApp. > > If I re-import the exported XML, the -39 errors go away (but my text is > still missing). > > The V.NET app is quite straightforward (as far as I'm aware - I'm not the > one writing it) - it creates a DB, imports data and closes it, from scratch > each time. > > So far I have not managed to get a database to work through this route at > all (without an XML rebuild), so binary compatibility is effectively broken > between these platforms, which is rather defeating the point of it. > > I'm using Valentina 1.10 throughout. Hi Marcus, So VNET use built-in IMPORT into TEXT field? Or you self add records? I hope it Is the second case. Then you can prove making small example that make table with one field and add one record. If this not correctly work with VAPP then VNET have bug in TEXT Field. Send me such app please. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 2 10:13:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 02:15:33 2004 Subject: [V4RB] a60 base object trouble In-Reply-To: <8A32225C-6BF6-11D8-91EB-000A95D01D92@formworkdesign.com> Message-ID: on 3/2/04 5:06 AM, Robert Nichols at robert@formworkdesign.com wrote: > Hi Ruslan et al, > > Upon switching to 2.0a60 I have the following problem: > > Baseobject.name property has no value. I set the name in the > constructor, refer to it frequently (I have a subclass of vBaseObject > that generates sql query by inserting the name value of the particular > subclass for a given table). > > Anyway, with a60 the app crashes with "no table" error because I have a > sql string that includes NO table name (should have been provided by > the base object). Investigating in the debugger shows that no base > objects have a value for NAME. Hi Robert, You have upgrade both Server and V4RB client, yes? Please test Example1 of V4RB Client. If needed modify it to show your problem and send to me ASAP. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Tue Mar 2 06:47:58 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Mar 2 05:48:08 2004 Subject: [V4RB] a60 base object trouble In-Reply-To: References: Message-ID: <734FBB31-6C3F-11D8-AC8A-000A95D01D92@formworkdesign.com> What is "example 1"? My V4RB_client comes with an example named "single table". This example also demonstrates my trouble. In the sample, your method object boPerson.TestAddRecords generates a sql query string by using the "name" property of the base object: c = DataBase.SqlSelect("SELECT * FROM " + name, kV_Server, kV_ReadWrite ) In this case, as with my own project, using Server and client a60 this is now generating a query string of: "SELECT * FROM " You can take a look at the object boPerson in the RB debugger and see that the "name" property has no value, while the other properties appear to be properly populated. I'm pretty sure I'm using a60 client. I am not able to identify its version number, but its creation date is March 1. The previous version of RB client I used, a8, DID identify its version number in the Finder window. I wonder if something is wrong with my file... Robert On Mar 2, 2004, at 3:13 AM, Ruslan Zasukhin wrote: > on 3/2/04 5:06 AM, Robert Nichols at robert@formworkdesign.com wrote: > >> Hi Ruslan et al, >> >> Upon switching to 2.0a60 I have the following problem: >> >> Baseobject.name property has no value. I set the name in the >> constructor, refer to it frequently (I have a subclass of vBaseObject >> that generates sql query by inserting the name value of the particular >> subclass for a given table). >> >> Anyway, with a60 the app crashes with "no table" error because I have >> a >> sql string that includes NO table name (should have been provided by >> the base object). Investigating in the debugger shows that no base >> objects have a value for NAME. > > Hi Robert, > > You have upgrade both Server and V4RB client, yes? > > Please test Example1 of V4RB Client. > If needed modify it to show your problem and send to me ASAP. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Mar 2 13:51:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 05:53:30 2004 Subject: [V4RB] a60 base object trouble In-Reply-To: <734FBB31-6C3F-11D8-AC8A-000A95D01D92@formworkdesign.com> Message-ID: on 3/2/04 1:47 PM, Robert Nichols at robert@formworkdesign.com wrote: > What is "example 1"? My V4RB_client comes with an example named "single > table". This example also demonstrates my trouble. > > In the sample, your method object boPerson.TestAddRecords generates a > sql query string by using the "name" property of the base object: > > c = DataBase.SqlSelect("SELECT * FROM " + name, kV_Server, > kV_ReadWrite ) > > In this case, as with my own project, using Server and client a60 this > is now generating a query string of: > > "SELECT * FROM " > > You can take a look at the object boPerson in the RB debugger and see > that the "name" property has no value, while the other properties > appear to be properly populated. > > I'm pretty sure I'm using a60 client. I am not able to identify its > version number, but its creation date is March 1. The previous version > of RB client I used, a8, DID identify its version number in the Finder > window. I wonder if something is wrong with my file... Okay I will test today. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rwc1717 at shaw.ca Tue Mar 2 05:00:15 2004 From: rwc1717 at shaw.ca (Chuck) Date: Tue Mar 2 06:59:24 2004 Subject: Problems with Objectptr resetting Message-ID: <0HTY0032N9ERRE@l-daemon> Hi Ruslan: Problem 1: You mentioned that the way the Objectptrs are made in the baseobject tables is correct in my code.....that is all I really do with them. The rest of my code in Reminder Pad more or less ignores them. After any operation should they not retain the pointer value of 0 in the table. Problem 2: The app works most of the time...and it took the routine that checks every Special Day record....changes it's date...makes an active appointment....the routine will keep doing this until past that day's date and then it updates the Special day record with the next date in the sequence after today. This is where it gets messed up. How can my logic be doing this if I do not address or work with the pointers in my code other than when I create/declare in baseobject them...(which as you have seen by my app...are not getting made properly when the database is created)? Thanks Chuck From sunshine at public.kherson.ua Tue Mar 2 15:03:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 07:03:31 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTY0032N9ERRE@l-daemon> Message-ID: on 3/2/04 12:00 PM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > Problem 1: > You mentioned that the way the Objectptrs are made in the baseobject tables is > correct in my code.....that is all I really do with them. The rest of my code > in > Reminder Pad more or less ignores them. After any operation should they not > retain the pointer value of 0 in the table. > Problem 2: > The app works most of the time...and it took the routine that checks every > Special > Day record....changes it's date...makes an active appointment....the routine > will keep > doing this until past that day's date and then it updates the Special day > record with > the next date in the sequence after today. > This is where it gets messed up. How can my logic be doing this if I do not > address > or work with the pointers in my code other than when I create/declare in > baseobject > them...(which as you have seen by my app...are not getting made properly when > the > database is created)? I don't know Check. And it seems I never have see your app. You already several times say that I have see it. I do not remember. In any case you MUST find way to reproduce problem in small project. Then send it to me with EXACT DETAILED STEPS to reproduce. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rwc1717 at shaw.ca Tue Mar 2 09:31:38 2004 From: rwc1717 at shaw.ca (Chuck) Date: Tue Mar 2 11:33:27 2004 Subject: Problems with Objectptr resetting Message-ID: <0HTY0008ALYYFA@l-daemon> Hi Ruslan: More experiments.... 1) I tried to create a new database using all the different file combinations in Reminder Pad. The results were the same whether the files indexes were in the same or not etc. etc...those dam pick tables with no targets for the objectptrs. 2) I have attached a REALBasic project...very small that simply tries to create the database that I codified. It too produces objectptrs with no target association. It too happens regardless of how many files are being used to store the dtabase and its associated information. Conclusion: I was lucky to hit a test that displayed this incongruous behaviour with valentina and my app but I am not sure how I can repeat it. This is because it is not consistent. When I open Reminder Pad, I check all the Special Days table and update the records one by one. This is when the wierdness occurs. However, if I open up the Special days window in Reminder Pad and close it, I run the same method as when the program opens for the first time and those records that were not updated properly the first time are handled just fine. Moreover, I have tried this test app with 1.97 and those dam pink fields are still there. So, I must be creating them incorrectly? or what else could it be? Thanks Chuck From xyzabc1010 at yahoo.com Tue Mar 2 09:37:10 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Tue Mar 2 11:37:16 2004 Subject: batch processing?? for Vserver In-Reply-To: Message-ID: <20040302173710.2439.qmail@web21110.mail.yahoo.com> Hi All, I was wondering if VServer have the capability to do batch processing?? thnx __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From sunshine at public.kherson.ua Tue Mar 2 19:50:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 11:50:17 2004 Subject: batch processing?? for Vserver In-Reply-To: <20040302173710.2439.qmail@web21110.mail.yahoo.com> Message-ID: on 3/2/04 7:37 PM, X Y at xyzabc1010@yahoo.com wrote: > Hi All, > I was wondering if VServer have the capability to do > batch processing?? If you explain what you mean with this I will answer :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 2 19:54:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 11:54:49 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTY0008ALYYFA@l-daemon> Message-ID: on 3/2/04 4:31 PM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > More experiments.... > > 1) I tried to create a new database using all the different file combinations > in Reminder Pad. The results were the same whether the files indexes were in > the same or not etc. etc...those dam pick tables with no targets for the > objectptrs. > > 2) I have attached a REALBasic project...very small that simply tries to > create the database that I codified. It too produces objectptrs with no > target association. It too happens regardless of how many files are being > used to store the dtabase and its associated information. Chuk, I do not see attachment, And you send this letter to LIST. Please send attachment to bugs@paradigmasoft.com > Conclusion: I was lucky to hit a test that displayed this incongruous > behaviour with valentina and my app but I am not sure how I can repeat it. ^^^^^^^^ you mean here VAPP? > This is because it is not consistent. When I open Reminder Pad, I check all > the Special Days table and update the records one by one. This is when the > wierdness occurs. > However, if I open up the Special days window in Reminder > Pad and close it, I run the same method as when the program opens for the > first time and those records that were not updated properly the first time are > handled just fine. Moreover, I have tried this test app with 1.97 and those > dam pink fields are still there. > So, I must be creating them incorrectly? or what else could it be? I must see something. And I need STEPS. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From timdavis at amug.org Tue Mar 2 11:04:33 2004 From: timdavis at amug.org (Tim Davis) Date: Tue Mar 2 12:04:41 2004 Subject: [SQL] must return a sorted column? Message-ID: <0F155FE4-6C74-11D8-A0BC-000A95D87648@amug.org> Hi, I've noticed many times that Valentina Server will crash if in an SQL query a column which is used in ORDER BY in not a SELECTed column. In other words, you must return a column you are using in your sort. Is it normal for an SQL to freak out at such a query? Or please let me know if this has been very recently resolved (as I have already coded around this). Thanks, Tim Davis V4RB, VSRV From mail at beatrixwillius.de Tue Mar 2 19:56:08 2004 From: mail at beatrixwillius.de (Beatrix Willius) Date: Tue Mar 2 12:52:52 2004 Subject: [V4RB] Error 348 In-Reply-To: <20040301150432.B17C0C0B94@edison.macserve.net> References: <20040301150432.B17C0C0B94@edison.macserve.net> Message-ID: <43E02F77-6C7B-11D8-96D6-000A958D2BA4@beatrixwillius.de> Am 01.03.2004 um 16:04 schrieb Ruslan: >> I somehow managed to corrupt a Valentina database. Opening in >> Valentina >> Carbon gives the error message 348 "Error of inventory page of varchar >> field." >> >> - How can this happen? > > Crash? No. > >> - Can I repair the database myself? The file is about 20 MB. > > XML dump usually only a way. XML dump crashes Valentina Carbon. > >> - A xml dump in Valentina Carbon kills the application. A sql dump is >> not possible (gives the same error message). > > * So you can open your db in VAPP, yes? > you can see structure of tables, yes? > > * then try to make DIAGNOSE to see what tables are corrupted. Only one table. Diagnose says "Error -47". > > * if you keep .vdb file separately from .dat file then you can move > .vdb > file in other folder to see if this is all right, i.e. That there is no > corruption in system tables. No such luck. I keep the index separate from the rest. > > * also you can try EXPORT to TEXT files. Also crashes Valentina Carbon. > >> - Opening the database in my RB application gives no error message, >> only a seemingly empty one. How can I show the error message in RB? >> >> I need to make more tests, if I can reproduce this. > > Probably hard corruption. > So even cannot eat it. It would be nice to inform the user about this. Another fact: the error says something about a VarChar field. Howevery, there is only one VarBinary field, which is currently not used. However, the error did not happen again. Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Intelligent Internet Utilities http://www.beatrixwillius.de Fractal Images From sunshine at public.kherson.ua Tue Mar 2 21:30:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 13:30:13 2004 Subject: [SQL] must return a sorted column? In-Reply-To: <0F155FE4-6C74-11D8-A0BC-000A95D87648@amug.org> Message-ID: on 3/2/04 8:04 PM, Tim Davis at timdavis@amug.org wrote: > Hi, > > I've noticed many times that Valentina Server will crash if in an > SQL query a column which is used in ORDER BY in not a SELECTed column. > In other words, you must return a column you are using in your sort. Is > it normal for an SQL to freak out at such a query? Or please let me > know if this has been very recently resolved (as I have already coded > around this). Hi Tim, 1) Crash must not happens of course 2) by standard sorted column MUST BE in select. Some DBMS allow skip this rule. First versions of Valentina also did this. Later this was changed. Not remember reason. So YES, you must now SELECT column that is used in ORDER BY. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 2 21:31:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 13:31:57 2004 Subject: [V4RB] Error 348 In-Reply-To: <43E02F77-6C7B-11D8-96D6-000A958D2BA4@beatrixwillius.de> Message-ID: on 3/2/04 8:56 PM, Beatrix Willius at mail@beatrixwillius.de wrote: > Another fact: the error says something about a VarChar field. Howevery, > there is only one VarBinary field, which is currently not used. > However, the error did not happen again. VarBinary use VarChar algorithms. You mean that you have REMOVE that Varbinary and problem have gone? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Tue Mar 2 14:36:56 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Mar 2 13:37:11 2004 Subject: [V4RB] a60 base object trouble In-Reply-To: References: Message-ID: Ruslan, Have you had a chance to investigate this today? Has anyone else seen the behaviour described below? Robert On Mar 2, 2004, at 6:51 AM, Ruslan Zasukhin wrote: > on 3/2/04 1:47 PM, Robert Nichols at robert@formworkdesign.com wrote: > >> What is "example 1"? My V4RB_client comes with an example named >> "single >> table". This example also demonstrates my trouble. >> >> In the sample, your method object boPerson.TestAddRecords generates a >> sql query string by using the "name" property of the base object: >> >> c = DataBase.SqlSelect("SELECT * FROM " + name, kV_Server, >> kV_ReadWrite ) >> >> In this case, as with my own project, using Server and client a60 >> this >> is now generating a query string of: >> >> "SELECT * FROM " >> >> You can take a look at the object boPerson in the RB debugger and see >> that the "name" property has no value, while the other properties >> appear to be properly populated. >> >> I'm pretty sure I'm using a60 client. I am not able to identify its >> version number, but its creation date is March 1. The previous version >> of RB client I used, a8, DID identify its version number in the Finder >> window. I wonder if something is wrong with my file... > > Okay I will test today. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > __________________________ Robert Nichols robert@formworkdesign.com www.formworkdesign.com 434.296.2223 From xyzabc1010 at yahoo.com Tue Mar 2 11:57:24 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Tue Mar 2 13:57:30 2004 Subject: batch processing?? for Vserver In-Reply-To: Message-ID: <20040302195724.73989.qmail@web21111.mail.yahoo.com> so currently I am using cursors to update my records because originally when I used the sql statement UPDATE I was getting incorrect updates. So lets say I need to update several records in a row. Instead of sending a multiple updates to the server, I was wondering if we could batch these requests and send all updates to the server at one time to be processed. --- Ruslan Zasukhin wrote: > on 3/2/04 7:37 PM, X Y at xyzabc1010@yahoo.com > wrote: > > > Hi All, > > I was wondering if VServer have the capability to > do > > batch processing?? > > If you explain what you mean with this I will answer > :-) > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From sunshine at public.kherson.ua Tue Mar 2 22:09:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 14:09:19 2004 Subject: batch processing?? for Vserver In-Reply-To: <20040302195724.73989.qmail@web21111.mail.yahoo.com> Message-ID: on 3/2/04 9:57 PM, X Y at xyzabc1010@yahoo.com wrote: > so currently I am using cursors to update my records > because originally when I used the sql statement > UPDATE I was getting incorrect updates. > > So lets say I need to update several records in a row. > Instead of sending a multiple updates to the server, I > was wondering if we could batch these requests and > send all updates to the server at one time to be > processed. This will work in 2.0 You will be able build SQL string as "UPDATE ... ; UPDATE; UPDATE;" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 2 22:53:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 14:53:59 2004 Subject: FIXED: [V4RB] a60 base object trouble In-Reply-To: Message-ID: on 3/2/04 9:36 PM, Robert Nichols at robert@formworkdesign.com wrote: > Ruslan, > > Have you had a chance to investigate this today? > > Has anyone else seen the behaviour described below? Hi Robert, Yes, FIXED. Please upload new CLIENT build from site. bug was in client. IMPORTANT. * bug was if you use classes. * bug was on create db * this bug did not affect V4MD Or guys that use dynamic way instead of classes. * in fact I think that db have bo with no name. you can check by VAPP * so you need rebuild your db using new client. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at mdg.com Tue Mar 2 14:57:43 2004 From: lists at mdg.com (Michael Ginsberg) Date: Tue Mar 2 14:57:46 2004 Subject: Index Text Fast? In-Reply-To: <20040302193159.CE975C1FE5@edison.macserve.net> References: <20040302193159.CE975C1FE5@edison.macserve.net> Message-ID: <4043F814-6C8C-11D8-AEC9-0030657B816A@mdg.com> Hello, I am evaluating Valentina for a project where I need to search a lot of text. I will have 1 - 2 million records with a 100 - 200 character text field. I want to search within the text field. Has anyone used Valentina for this type of application? With a fully loaded computer (fast hd, 1gb memory, etc.), what type of response time have people seen or should I expect. Thanks in advance. ===================================================================== Michael Ginsberg Email mike@mdg.com MDG Computer Services, Inc. Web: http://www.mdg.com Get Voice over IP and save, more info at: http://Consumer-VOIP.com ===================================================================== From sunshine at public.kherson.ua Tue Mar 2 23:07:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 15:07:30 2004 Subject: [ATTENTION] new Valentina-beta and Valentina-Ann lists Message-ID: Hi All, Our host provider have set up 2 new lists. 1) Valentina-ann List where only Paradigma will send letters about announces of a new products and builds. So this will be low traffic list. http://lists.macserve.net/mailman/listinfo/valentina-ann 2) Valentina-beta Here must be discussed beta products of Valentina. On the main Valentina list should be discussed questions related to RELEASE products. http://lists.macserve.net/mailman/listinfo/valentina-beta ------------- * So guys, please start to subscribe to the beta list. You still have yet some time before 2.0 beta testing. * yes of course we will add info about this lists to WEB pages -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 2 23:09:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 2 15:09:57 2004 Subject: Index Text Fast? In-Reply-To: <4043F814-6C8C-11D8-AEC9-0030657B816A@mdg.com> Message-ID: on 3/2/04 10:57 PM, Michael Ginsberg at lists@mdg.com wrote: > Hello, > > I am evaluating Valentina for a project where I need to search a lot of > text. I will have 1 - 2 million records with a 100 - 200 character > text field. BTW, I think it will be better to use VarChar[504] instead of TEXT. VarChar is faster. > I want to search within the text field. Has anyone used > Valentina for this type of application? With a fully loaded computer > (fast hd, 1gb memory, etc.), what type of response time have people > seen or should I expect. Michael, also I wonder. Is db stable? Or it will add record actively? May be new feature of Valentina 2.0 -- RAM based db will be good for such task. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bmurf at comcast.net Tue Mar 2 16:23:43 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Tue Mar 2 16:23:50 2004 Subject: File size In-Reply-To: <20040302193159.2A968C1FE4@edison.macserve.net> References: <20040302193159.2A968C1FE4@edison.macserve.net> Message-ID: <43BED8C6-6C98-11D8-A4CA-0003935B6750@comcast.net> I am using VRB4 v1.10 and my program creates a database which can be multiple megabytes on the disk. When I compress the database with zip, the database shrinks way down from 1.9 mb (hardly no data in the tables) down to 12 kb. So I am wondering is there a way reclaim the unused space in the database so that it only takes the space it needs? If I could reduce the file sizes, it would be highly desirable. From nwoe at privat.utfors.se Tue Mar 2 23:36:21 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Tue Mar 2 16:36:32 2004 Subject: [V4RB] insert into select quirk In-Reply-To: Message-ID: Hi! 1.10 version I am using the famous workaround of method fields for compound indexes. created a method field like concat(nodeid,'#',caseid) and set field flag to unique when using the "insert into select" syntax i get no info about one of my records breaking the laws of my compound index. error is 0, errstring is ok and recordcount is as expected. BUT no records are inserted. would be nice to get some kind of message about this..... thanks niklas woermann From andy at foxwerk.de Tue Mar 2 23:54:04 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Tue Mar 2 16:54:17 2004 Subject: Index Text Fast? In-Reply-To: <4043F814-6C8C-11D8-AEC9-0030657B816A@mdg.com> Message-ID: at 02.03.2004 21:57 Uhr, Michael Ginsberg wrote: > text field. I want to search within the text field. Has anyone used > Valentina for this type of application? With a fully loaded computer > (fast hd, 1gb memory, etc.), what type of response time have people > seen or should I expect. Hi Michael, if you use VVarChar fields for this, your response time should be somewhere around INSTANT (<200ms) (That means you will get the result while you type) -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com ------------------------------------ Verkaufe: page last updated: 2. Mar. 2004 From sunshine at public.kherson.ua Wed Mar 3 09:19:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 01:19:41 2004 Subject: File size In-Reply-To: <43BED8C6-6C98-11D8-A4CA-0003935B6750@comcast.net> Message-ID: on 3/3/04 12:23 AM, Brendan Murphy at bmurf@comcast.net wrote: > I am using VRB4 v1.10 and my program creates a database > which can be multiple megabytes on the disk. When I compress > the database with zip, the database shrinks way down from > 1.9 mb (hardly no data in the tables) down to 12 kb. So I am > wondering is there a way reclaim the unused space in the > database so that it only takes the space it needs? If I > could reduce the file sizes, it would be highly desirable. Hi Brendan, Yes this is right. Valentina allocate disk space by 32KB for EACH own logical file (filed, index, ...) And it looks your db have very small amount of data. To get smaller size you need in db.Create() specify smaller segment size, For example 2-4 KB. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 3 09:34:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 01:34:58 2004 Subject: Problem with vServer In-Reply-To: <36F6AD1E-6C9E-11D8-9861-000393D4BC2C@mac.com> Message-ID: on 3/3/04 1:06 AM, Michael Krugman at amacdr@mac.com wrote: Hi Michael, > Hi Rusian: > > I downloaded the newest V4RB_Client plugin and I'm still getting the > same result with the 10 minute limitation. I tried the other one, just > for the heck of it, V4RB and my app wouldn't even compile. For the > license, I'm using the Embedded Server license with the serial stuff > you helped me with yesterday, and I am not using the vServerOffice > licenses. Is this correct? Very strange. You sure this is 10 minutes problem? May be something else? 1) your FINAL solution must looks as: Vserver licenses license_emb_xxxxx << from archive I sent you MyApp + V4RB_Client + Vdatabase(host, user, passw. Port, timeout, "embedded serial") Embedded serial -- string from archive locate in the file "Embedded Serial.txt" If you do not use V4RB LOCAL plugin, then you even DO NOT need ADK serials, And in your AppClient ValentinaInit() call can looks as ValentinaInit( 8 * 1024 * 1024, "", "" ) If you specify here ADK serials this will not affect anything, because V4RB_Client just ignore last 2 parameters. --------------------------------------------- Okay, let me to think. * Look. You must be able to run your application with our Valentina Server Demo from out site AS IS. - I.e. You download Valentina Server a60 - it contains demo license file that works up to 31 March. Server DEMO works 24 hours, 7 days per weak. Server DEMO do not have 10 minutes timeout of course. - take V4RB_Client archive, drop plugin V4RB_Client into folder plugins of REALbasic. Make sure that in plugins folder there is no any other V4RB plguin. Make sure that exactly THIS REALbasic starts and you use it. - now you take Example "Single Table" that comes with V4RB_Client. run it in REALbasic. wait 10 minutes or 15 minutes. Example must work. - now do the same with your application, but remove parameter option: Vdatabase(host, user, passw. Port, timeout, "embedded serial") ^^^^^^^^^^^^^^^^ you need remove it because server run with DEMO license file, but not with your license_emb_xxxxxx file. so RUN your application with our DEMO Server. Again, your app must work without any 10 minutes timeout. Please try all this and CONFIRM that it works as I have describe. If yes, we will continue with license_emb. If no, then I will check all again self. But I am sure it will work. Other developers use Vserver for days and weeks non-stop. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 3 09:38:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 01:38:58 2004 Subject: [V4RB] insert into select quirk In-Reply-To: Message-ID: on 3/3/04 12:36 AM, niklas wormann at nwoe@privat.utfors.se wrote: > Hi! > 1.10 version > > I am using the famous workaround of method fields for compound indexes. > created a method field like concat(nodeid,'#',caseid) and set field flag to > unique > > when using the "insert into select" syntax i get no info about one of > my records breaking the laws of my compound index. > error is 0, errstring is ok and recordcount is as expected. > BUT no records are inserted. > > would be nice to get some kind of message about this..... Agree Niklas, Probably no error because of this is batch mode... So you do INSERT INTO table that have BaseObject method? Of FROM this table? If you try write INTO BaseObject method..then I think Valentina should ignore your values, and insert into other real fields. Or problem is other? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Wed Mar 3 09:25:52 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Mar 3 02:35:39 2004 Subject: Problem with vServer In-Reply-To: References: Message-ID: > >--------------------------------------------- >Okay, let me to think. > >* Look. You must be able to run your application with our >Valentina Server Demo from out site AS IS. > >- I.e. You download Valentina Server a60 >- it contains demo license file that works up to 31 March. > Server DEMO works 24 hours, 7 days per weak. > Server DEMO do not have 10 minutes timeout of course. > >- take V4RB_Client archive, drop plugin V4RB_Client into folder > plugins of REALbasic. Make sure that in plugins folder > there is no any other V4RB plguin. > Make sure that exactly THIS REALbasic starts and you use it. > >- now you take Example "Single Table" that comes with V4RB_Client. > run it in REALbasic. > wait 10 minutes or 15 minutes. > Example must work. > >- now do the same with your application, but remove parameter option: > Vdatabase(host, user, passw. Port, timeout, "embedded serial") > ^^^^^^^^^^^^^^^^ > you need remove it because server run with DEMO license file, > but not with your license_emb_xxxxxx file. > > so RUN your application with our DEMO Server. > Again, your app must work without any 10 minutes timeout. > >Please try all this and CONFIRM that it works as I have describe. >If yes, we will continue with license_emb. >If no, then I will check all again self. > >But I am sure it will work. Other developers use Vserver for days and weeks >non-stop. > Ruslan, you need to have such instructions in the manual :) From nwoe at privat.utfors.se Wed Mar 3 09:53:52 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Wed Mar 3 02:53:59 2004 Subject: SV: [V4RB] insert into select quirk In-Reply-To: Message-ID: > > > on 3/3/04 12:36 AM, niklas wormann at nwoe@privat.utfors.se wrote: > > > Hi! > > 1.10 version > > > > I am using the famous workaround of method fields for compound indexes. > > created a method field like concat(nodeid,'#',caseid) and set > field flag to > > unique > > > > when using the "insert into select" syntax i get no info about one of > > my records breaking the laws of my compound index. > > error is 0, errstring is ok and recordcount is as expected. > > BUT no records are inserted. > > > > would be nice to get some kind of message about this..... > > Agree Niklas, > > Probably no error because of this is batch mode... > > So you do INSERT INTO table that have BaseObject method? > Of FROM this table? > > If you try write INTO BaseObject method..then > I think Valentina should ignore your values, and insert into other real > fields. > i am inserting into table that has baseobject method. because of poor design by me of method field concat(nodeid,caseid)-- gives duplicate values for e.g nodeid 11, caseid 1 and nodeid1, caseid 11. so when i try to insert,i am not trying to insert inte the method (!), into caseid and nodeid, i dont get any errors, although the insert fails completely. no records are inserted. everything seems to work out ok from err and errstring, but it isn?t. niklas From sunshine at public.kherson.ua Wed Mar 3 11:06:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 03:06:14 2004 Subject: SV: [V4RB] insert into select quirk In-Reply-To: Message-ID: on 3/3/04 10:53 AM, niklas wormann at nwoe@privat.utfors.se wrote: >> Agree Niklas, >> >> Probably no error because of this is batch mode... >> >> So you do INSERT INTO table that have BaseObject method? >> Of FROM this table? >> >> If you try write INTO BaseObject method..then >> I think Valentina should ignore your values, and insert into other real >> fields. >> > > i am inserting into table that has baseobject method. > because of poor design by me of method field > concat(nodeid,caseid)-- gives duplicate values for e.g nodeid 11, caseid 1 > and nodeid1, caseid 11. > > > so when i try to insert,i am not trying to insert inte the method (!), into > caseid and nodeid, > i dont get any errors, although the insert fails completely. no records are > inserted. > > everything seems to work out ok from err and errstring, but it isn?t. I see. BaseObject method get not unique value, and stop work of command. I see. Yes, in ideal we must get error Value not unique. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 3 11:52:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 03:52:46 2004 Subject: Updated application to 5.5 In-Reply-To: <26729C92-6BC1-11D8-BEBB-003065B2133A@lensart.com> Message-ID: on 3/1/04 10:43 PM, Kirk Clendinning at kirk@lensart.com wrote: > I've set up the application for 5.5 now and used today's client. The > application runs better. > > My first request would be to have an error return from the call: > ValentinaServer.OpenSession Kirk, I have look, your project works fine now! Please remind me: if I must do something for you? or you have workaround. Just I do not want add now into Vserver the ErrNumber property. In the 2.0 we will get errors based on Exceptions. Right now you can get error from Vserver using ANY Vdatabase object! You can make dummy db object for now dummy = new Vdatabase() And use its dummy.errNumber Let me know -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Wed Mar 3 10:58:18 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Mar 3 03:58:29 2004 Subject: [V4MD] Unicode in 2.0 Message-ID: <6.0.1.1.2.20040303105156.01d06648@pop.gmx.de> Hi Ruslan, Valentina will support Unicode in the upcoming version 2.0, as I have understood from past announcements. This is great, but I am wondering about how to actually get Unicode text stored in a string, varchar or text field into Director via V4MD and vice versa. The problem is that Director does not support Unicode, not even in MX 2004. So will the text be mapped to an ASCII map, i.e. ISO 8859-15, or will there be a function or parameter in the GetField()/SetField() functions or even a global property, like the date format to determine the ISO map to map the text to? Director does not know how to handle Unicode text, neither in text members nor in variables, so a database would not be compatible with Director if the text was stored in Unicode. Have you though about this? Any ideas, plans or suggestions? Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From sunshine at public.kherson.ua Wed Mar 3 12:11:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 04:11:51 2004 Subject: [V4MD] Unicode in 2.0 In-Reply-To: <6.0.1.1.2.20040303105156.01d06648@pop.gmx.de> Message-ID: on 3/3/04 11:58 AM, Martin Kloss at martin.kloss@gmx.de wrote: Hi Martin, > Valentina will support Unicode in the upcoming version 2.0, > as I have understood from past announcements. Yes. > This is great, but I am wondering about how to actually > get Unicode text stored in a string, varchar or text field > into Director via V4MD and vice versa. The problem is that > Director does not support Unicode, not even in MX 2004. In V4MD we will convert to system default code page. Director give us e.g. Latin1 we convert it to UTF16 inside of engine. > So will the text be mapped to an ASCII map, i.e. ISO 8859-15, > or will there be a function or parameter in the GetField()/SetField() > functions or even a global property, like the date format to > determine the ISO map to map the text to? Good questions for new BETA list :-) For now we use default. We have not yet polished this issues. Let's think all together later. > Director does not know how to handle Unicode text, neither > in text members nor in variables, so a database would not > be compatible with Director if the text was stored in Unicode. Martin, we do conversions. > Have you though about this? Any ideas, plans or suggestions? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Wed Mar 3 11:18:16 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Mar 3 04:18:28 2004 Subject: [V4MD] Unicode in 2.0 In-Reply-To: References: <6.0.1.1.2.20040303105156.01d06648@pop.gmx.de> Message-ID: <6.0.1.1.2.20040303111438.01c144f0@pop.gmx.de> At 11:11 03.03.2004, you wrote: > > This is great, but I am wondering about how to actually > > get Unicode text stored in a string, varchar or text field > > into Director via V4MD and vice versa. The problem is that > > Director does not support Unicode, not even in MX 2004. > >In V4MD we will convert to system default code page. >Director give us e.g. Latin1 we convert it to UTF16 inside of engine. Ok, so it should work like before, without the user actually noticing anything, nice :-) > > So will the text be mapped to an ASCII map, i.e. ISO 8859-15, > > or will there be a function or parameter in the GetField()/SetField() > > functions or even a global property, like the date format to > > determine the ISO map to map the text to? > >Good questions for new BETA list :-) > >For now we use default. >We have not yet polished this issues. >Let's think all together later. I was also thinking about being able to get the Unicode text without the conversion, because Flash can do Unicode and since you can use Flash members in Director, you could get the Unicode text from a field in the database and directly hand it to Flash, which will display the text without conversion. How about that? Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From sunshine at public.kherson.ua Wed Mar 3 12:30:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 04:30:23 2004 Subject: [V4MD] Unicode in 2.0 In-Reply-To: <6.0.1.1.2.20040303111438.01c144f0@pop.gmx.de> Message-ID: on 3/3/04 12:18 PM, Martin Kloss at martin.kloss@gmx.de wrote: >> Good questions for new BETA list :-) >> >> For now we use default. >> We have not yet polished this issues. >> Let's think all together later. > > I was also thinking about being able to get the Unicode text > without the conversion, because Flash can do Unicode and > since you can use Flash members in Director, you could > get the Unicode text from a field in the database and directly > hand it to Flash, which will display the text without conversion. > > How about that? So in some cases V4MD user may wish to get true unicode string? I am not against, Just we need invent way HOW TO. Aha, we have easy way! UTF8! Must works fine with old Director way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Wed Mar 3 11:41:43 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Mar 3 04:41:54 2004 Subject: [V4MD] Unicode in 2.0 In-Reply-To: References: <6.0.1.1.2.20040303111438.01c144f0@pop.gmx.de> Message-ID: <6.0.1.1.2.20040303113627.01d00f38@pop.gmx.de> At 11:30 03.03.2004, you wrote: > > I was also thinking about being able to get the Unicode text > > without the conversion, because Flash can do Unicode and > > since you can use Flash members in Director, you could > > get the Unicode text from a field in the database and directly > > hand it to Flash, which will display the text without conversion. > > > > How about that? > >So in some cases V4MD user may wish to get true unicode string? Yes, Director / Lingo does not understand Unicode strings, but Flash does, so if you could get the Unicode string into Flash that'd be great. For example if you have a Flash sprite: string(n).pTextVarInFlash = myCursor.GetField("address", "utf8") so V4MD would read the field "address" and return it in UTF8 format, which would then be stored in the flash variable. >I am not against, >Just we need invent way HOW TO. >Aha, we have easy way! UTF8! >Must works fine with old Director way. What do you mean by "old Director way"? How? Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From sunshine at public.kherson.ua Wed Mar 3 13:14:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 05:14:44 2004 Subject: [TODO] [V4MD] Unicode in 2.0 In-Reply-To: <6.0.1.1.2.20040303113627.01d00f38@pop.gmx.de> Message-ID: on 3/3/04 12:41 PM, Martin Kloss at martin.kloss@gmx.de wrote: >> So in some cases V4MD user may wish to get true unicode string? > > Yes, Director / Lingo does not understand Unicode strings, > but Flash does, so if you could get the Unicode string into > Flash that'd be great. For example if you have a Flash sprite: > > string(n).pTextVarInFlash = myCursor.GetField("address", "utf8") > > so V4MD would read the field "address" and return it in UTF8 > format, which would then be stored in the flash variable. Ok, let's try it later >> I am not against, >> Just we need invent way HOW TO. >> Aha, we have easy way! UTF8! >> Must works fine with old Director way. > > What do you mean by "old Director way"? How? I mean as it works now in V4MD and Director 6-MX His way must be able work with UTF8 with no problems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Wed Mar 3 12:52:50 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Mar 3 05:53:00 2004 Subject: [TODO] [V4MD] Unicode in 2.0 In-Reply-To: References: <6.0.1.1.2.20040303113627.01d00f38@pop.gmx.de> Message-ID: <6.0.1.1.2.20040303125216.01d16be0@pop.gmx.de> At 12:14 03.03.2004, you wrote: >Ok, let's try it later Ok, I'll wait for your call some time during the beta :-) Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From lists at mdg.com Wed Mar 3 08:49:11 2004 From: lists at mdg.com (Michael Ginsberg) Date: Wed Mar 3 08:49:16 2004 Subject: Index Text Fast In-Reply-To: <20040303073505.E79E5C2AAD@edison.macserve.net> References: <20040303073505.E79E5C2AAD@edison.macserve.net> Message-ID: We add 250 - 2000 records a day to the database, sometimes we delete some. Not sure, if you would call that stable. > Michael, also I wonder. > > Is db stable? Or it will add record actively? > > May be new feature of Valentina 2.0 -- RAM based db will be good > for such task. ===================================================================== Michael Ginsberg Email mike@mdg.com MDG Computer Services, Inc. Web: http://www.mdg.com Get Voice over IP and save, more info at: http://Consumer-VOIP.com ===================================================================== From sunshine at public.kherson.ua Wed Mar 3 16:56:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 08:56:58 2004 Subject: Index Text Fast In-Reply-To: Message-ID: on 3/3/04 4:49 PM, Michael Ginsberg at lists@mdg.com wrote: > We add 250 - 2000 records a day to the database, sometimes we delete > some. Not sure, if you would call that stable. Ok, I think it will be better to use simply disk-based db with LARGE Cache. >> Michael, also I wonder. >> >> Is db stable? Or it will add record actively? >> >> May be new feature of Valentina 2.0 -- RAM based db will be good >> for such task. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Wed Mar 3 10:11:16 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Wed Mar 3 09:11:27 2004 Subject: FIXED: [V4RB] a60 base object trouble In-Reply-To: References: Message-ID: <0498D050-6D25-11D8-9CCF-000393821D74@formworkdesign.com> Thanks. No trouble, now. On Mar 2, 2004, at 3:53 PM, Ruslan Zasukhin wrote: > on 3/2/04 9:36 PM, Robert Nichols at robert@formworkdesign.com wrote: > >> Ruslan, >> >> Have you had a chance to investigate this today? >> >> Has anyone else seen the behaviour described below? > > Hi Robert, > > Yes, FIXED. > > Please upload new CLIENT build from site. > bug was in client. > > > > IMPORTANT. > > * bug was if you use classes. > * bug was on create db > > * this bug did not affect V4MD > Or guys that use dynamic way instead of classes. > > * in fact I think that db have bo with no name. > you can check by VAPP > > * so you need rebuild your db using new client. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > __________________________ Robert Nichols robert@formworkdesign.com www.formworkdesign.com 434.296.2223 From sunshine at public.kherson.ua Wed Mar 3 19:09:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 11:09:21 2004 Subject: Problems with vServer In-Reply-To: <2A162F94-6D31-11D8-BFD5-000393D4BC2C@mac.com> Message-ID: on 3/3/04 6:38 PM, Michael Krugman at amacdr@mac.com wrote: Hi Michael, > OK..I went through everything you said and here's what I now have: > > I deleted everything out and started over. I downloaded the new > Server, the one posted March 1, ver a60. I downloaded V4RB_Client. I > deleted out the V4RB_client plugin I already had and replaced it with > this one. There are no other V4RB plugins in the folder. I installed > Valentina Server, left the DEMO license good to March 31st in place. > In my app, I ran the demo and after about 15 minutes it happened again. > I made the changes in my app and about 15 minutes later it happened > there too. The data disappears and I have to reopen either the demo > app or mine, then it works fine again, for about 10-15 minutes. Very very strange. 1) but please try to run NOT your app, but Example. make new db, this will establish new connection to server. do not touch it for 10-15 minutes, then do Menu -> AddRecords() 2) Aha, wait. Do you working during this 10-15 minutes? Or just seat and wait? May be you just see disconnect on timeout? Igor say that on default Server disconnect a client after 20 minutes timeout. Michael, please look into LOG file of Vserver. What it write there. Also before this, set in the ini file Verbose level = 3 -------- BTW, do you know how to run Valentina Server from terminal window? Please read Vserver.pdf about this. Very useful to see live output from server in the console. Also you can Set debug level = 2 in your V4RB app, And watch in console output from V4RB! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 3 20:25:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 12:25:29 2004 Subject: SOLVED: Problem with vServer In-Reply-To: <35486D1E-6D3A-11D8-A77D-000393D4BC2C@mac.com> Message-ID: on 3/3/04 7:42 PM, Michael Krugman at amacdr@mac.com wrote: > Hi Rusian: > > Thank you and Igor...the problem IS the timeout after 20 minutes. I > timed it for 10, 15, 20 and 60 minutes, after I changed the default > timeout from 20 minutes to 60 minutes. At 65 minutes, the data > disappeared, so the default timeout is what the problem was all along. > Thanks again for the help! Excellent! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From guillermo at parsec.info Wed Mar 3 20:28:00 2004 From: guillermo at parsec.info (Guillermo) Date: Wed Mar 3 13:28:18 2004 Subject: [V4RB] Join problem Message-ID: Hello I have problems to join three baseObjects, there are one main base objects with pointers to two baseObjects select * from main_table, table1, table2 where table1.recID =* main_table.ptr_table1 and tabl2.recID =* main_table.ptr_table2; I think that the cursor must return all records of the main_table but only returns the records where there are a pointer with table3 If I use only one join all works fine, for example: select * from main_table, table1 where table1.recID =* main_table.ptr_table1 or select * from main_table, table2 where table2.recID =* main_table.ptr_table2 I tried to use parenthesis without success. Best regard Guillermo From sunshine at public.kherson.ua Wed Mar 3 21:51:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 3 13:51:11 2004 Subject: [V4RB] Join problem In-Reply-To: Message-ID: on 3/3/04 9:28 PM, Guillermo at guillermo@parsec.info wrote: > Hello I have problems to join three baseObjects, there are one main > base objects with pointers to two baseObjects > > select * from main_table, table1, table2 > where table1.recID =* main_table.ptr_table1 and tabl2.recID =* > main_table.ptr_table2; > > I think that the cursor must return all records of the main_table but > only returns the records where there are a pointer with table3 > > If I use only one join all works fine, for example: > > select * from main_table, table1 where table1.recID =* > main_table.ptr_table1 > > or > > select * from main_table, table2 where table2.recID =* > main_table.ptr_table2 > > I tried to use parenthesis without success. Hi Guillermo, Yes, looks to be wrong result. Try please LEFT OUTER join select * from main_table, table1, table2 where main_table.ptr_table1 *= table1.recID and main_table.ptr_table2 *= tabl2.recID Also do not use ; at the end. 1.x can be confused. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Mar 4 09:54:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 4 01:54:37 2004 Subject: ERROR 32 In-Reply-To: <828104EB-6D81-11D8-9903-003065F97100@oceanbrowser.com> Message-ID: on 3/4/04 4:13 AM, Rodney Tamblyn at rodney@oceanbrowser.com wrote: > Hi Ruslan, > > Occasionally in my Revolution application I am getting an "ERROR 32" > returned when trying to open a database, which I believe means that it > was accidently left open or is in use by another application. This > doesn't happen often, and I will try to track down the bug in my code > causing it, but is there any way to clear this file lock, other than > restarting (or logging the current user out/in)? Hi Rodney, Does this happens when you work in IDE ? If yes, then I think this happens when you stop debugger Or may be testet app self crashes. Probably db file stay opened for SYSTEM. ---- This should be considered as bug of REV IDE. Director and REALbasic on such interruption close all related files. Or provide handler which is called ALWAYS -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From guillermo at parsec.info Thu Mar 4 13:05:58 2004 From: guillermo at parsec.info (Guillermo) Date: Thu Mar 4 06:06:14 2004 Subject: [V4RB] Join problem In-Reply-To: References: Message-ID: <4C3F17C5-6DD4-11D8-9ED4-000393D43560@parsec.info> El 03/03/2004, a las 20:51, Ruslan Zasukhin escribi?: > Hi Guillermo, > > Yes, looks to be wrong result. > > Try please LEFT OUTER join > > > select * from main_table, table1, table2 > where > main_table.ptr_table1 *= table1.recID > and > main_table.ptr_table2 *= tabl2.recID Don't work, I need one result for each row in table1 From guillermo at parsec.info Thu Mar 4 13:09:19 2004 From: guillermo at parsec.info (Guillermo) Date: Thu Mar 4 06:09:32 2004 Subject: [V4RB] Join problem In-Reply-To: <4C3F17C5-6DD4-11D8-9ED4-000393D43560@parsec.info> References: <4C3F17C5-6DD4-11D8-9ED4-000393D43560@parsec.info> Message-ID: El 04/03/2004, a las 13:05, Guillermo escribi?: > >> Hi Guillermo, >> >> Yes, looks to be wrong result. >> >> Try please LEFT OUTER join >> >> >> select * from main_table, table1, table2 >> where >> main_table.ptr_table1 *= table1.recID >> and >> main_table.ptr_table2 *= tabl2.recID > > Don't work, I need one result for each row in table1 Sorry, I want to say that I need one result for each row in main_table From sunshine at public.kherson.ua Thu Mar 4 14:28:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 4 06:28:27 2004 Subject: [V4RB] Join problem In-Reply-To: Message-ID: on 3/4/04 2:09 PM, Guillermo at guillermo@parsec.info wrote: >>> Hi Guillermo, >>> >>> Yes, looks to be wrong result. >>> >>> Try please LEFT OUTER join >>> >>> >>> select * from main_table, table1, table2 >>> where >>> main_table.ptr_table1 *= table1.recID >>> and >>> main_table.ptr_table2 *= tabl2.recID >> >> Don't work, I need one result for each row in table1 > > Sorry, I want to say that I need one result for each row in main_table What you get instead? Can you make small db with 3 tables to show me problem? TIP: may be if you make 2 aliases to main_table, This will help? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From mail at beatrixwillius.de Thu Mar 4 13:34:30 2004 From: mail at beatrixwillius.de (Beatrix Willius) Date: Thu Mar 4 06:31:58 2004 Subject: [V4RB] Error 348 (Ruslan Zasukhin) In-Reply-To: <20040302193200.790CFC1FE6@edison.macserve.net> References: <20040302193200.790CFC1FE6@edison.macserve.net> Message-ID: <48C5C4F6-6DD8-11D8-BE37-000A958D2BA4@beatrixwillius.de> Am 02.03.2004 um 20:32 schrieb Ruslan Zasukhin : >> Another fact: the error says something about a VarChar field. >> Howevery, >> there is only one VarBinary field, which is currently not used. >> However, the error did not happen again. > > VarBinary use VarChar algorithms. Aha. > > You mean that you have REMOVE that Varbinary and problem have gone? No, I meant that the VarBinary field is always empty. When I tried as you suggested (deleted the field and recreated it) the error was gone. Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Intelligent Internet Utilities http://www.beatrixwillius.de Fractal Images From sunshine at public.kherson.ua Thu Mar 4 14:40:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 4 06:40:40 2004 Subject: [V4RB] Sorry about that... In-Reply-To: <0HU000C039N11J@l-daemon> Message-ID: on 3/3/04 2:00 PM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > I have attached one zip files..the smallest that demonstates the problem > described below > > I have attached a REALBasic project...very small that simply tries to > create the database that I codified. It too produces objectptrs with no > target association. It happens regardless of how many files are being > used to store the database and its associated information. > > What am I doing wrong? Chuck, You really do wrong code. Your MyDb constructor do: mA = new boAct(self) mEx = new boExp(self) mSp = new boSpec(self) mWd = new boWd(self) Now go to constructor boAct: // set name of the Table name = "active" DateFld = new VString( "dateset", 20 ) DescriptFld = new VString( "descript", 70 ) TimeFld = new VString("aptime",7) IDFld = new VString( "id", 25,"Ascii",kV_Indexed) mAPtr = new VObjectPtr( "active", inDatabase.mA, kV_SetNull ) ^^^^^^^^^^^^^^^ this must be target BaseObject but you specify the same mA. Chuck, here 2 mistakes in the same time. 1) you specify in ObjectPtr as target table boAct itself. even if assume that you want do self recursion, look on your code, myDB calls boAct(), and only on return from boAct it will assign value to mA, but you try to use inDatabase.mA value, which is GARBAGE. Must be mAPtr = new VObjectPtr( "active", self, kV_SetNull ) But again, this is only if assume that you really want table with self-recursion. Mosy probably you want something else. QUESTION TO YOU: ObjectPtr "active" must point on OTHER table ? If yes, then you must use OTHER table pointer here. And note, you can use OTHER table pointer only when you construct it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Mar 4 09:45:25 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Mar 4 11:45:31 2004 Subject: boolean fields Message-ID: <20040304174525.39029.qmail@web20405.mail.yahoo.com> I'm just wondering why boolean fields are automatically indexed and there's no way to remove the index. Seems like a lot of wasted space if the field does not need to be indexed. Is there there some way to remove it that I'm not aware of using VApp. Anyone? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From sunshine at public.kherson.ua Thu Mar 4 20:42:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 4 12:42:53 2004 Subject: boolean fields In-Reply-To: <20040304174525.39029.qmail@web20405.mail.yahoo.com> Message-ID: on 3/4/04 7:45 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > I'm just wondering why boolean fields are > automatically indexed and there's no way to remove the > index. Seems like a lot of wasted space if the field > does not need to be indexed. Is there there some way > to remove it that I'm not aware of using VApp. Because in fact they DO NOT have index at all, But they act as if they are indexed. No waste of space at all. :-) Valentina is smart -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Mar 4 12:05:35 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Mar 4 14:05:42 2004 Subject: boolean fields In-Reply-To: Message-ID: <20040304200535.13337.qmail@web20418.mail.yahoo.com> I didn't realize that. Good to know. Thanks, Ruslan. --- Ruslan Zasukhin wrote: > on 3/4/04 7:45 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > I'm just wondering why boolean fields are > > automatically indexed and there's no way to remove > the > > index. Seems like a lot of wasted space if the > field > > does not need to be indexed. Is there there some > way > > to remove it that I'm not aware of using VApp. > > Because in fact they DO NOT have index at all, > But they act as if they are indexed. > > No waste of space at all. :-) > > Valentina is smart > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From kray at sonsothunder.com Thu Mar 4 21:42:53 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Mar 4 21:44:11 2004 Subject: Database_SetTimeOut Message-ID: <029b01c40263$f3996230$6601a8c0@LightningFlash> What is the purpose for Database_SetTimeOut? Does it: a) Leave a person's connection to the database open but closes any open cursors after the timeout; b) Allows the user X amount of time in the system and then automatically logs them out of Valentina and closes the connection; c) Allows X amount of *idle* time to go by before it automatically logs them out of Valentina and closes the connection; or something else? Thanks, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From deane.venske at eduss.com Fri Mar 5 14:05:17 2004 From: deane.venske at eduss.com (Deane Venske) Date: Thu Mar 4 22:05:25 2004 Subject: Dump/Load Dump in RB Message-ID: Hi Guys, Is there a bug with loadDump and Dump in RB? Well Dump is working, but not loadDump. Does anyone know if this should work? -- Deane Venske - Senior Programmer www.eduss.com.au deane.venske@eduss.com +61 7 55974600 +61 405148718 Suite 29, 207 Currumburra Rd Ashmore, Queensland, 4214 Australia From giv at tlc.kherson.ua Fri Mar 5 12:08:37 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Mar 5 04:10:30 2004 Subject: Database_SetTimeOut References: <029b01c40263$f3996230$6601a8c0@LightningFlash> Message-ID: <000e01c4029a$18178430$771026c3@giv> Hi Ken, > What is the purpose for Database_SetTimeOut? Does it: It sets query (command) timeout and it is measured in seconds. Default value is 60 seconds. You can set it to greater value before sending to the server a query that can potentially take a long time to complete. > a) Leave a person's connection to the database open but closes any open > cursors after the timeout; No. > b) Allows the user X amount of time in the system and then automatically > logs them out of Valentina and closes the connection; No. > c) Allows X amount of *idle* time to go by before it automatically logs > them out of Valentina and closes the connection; MAXCLIENTTIMEOUT variable in the server's .ini file is responsible for this. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Mar 5 14:02:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 5 06:04:02 2004 Subject: Dump/Load Dump in RB In-Reply-To: Message-ID: on 3/5/04 6:05 AM, Deane Venske at deane.venske@eduss.com wrote: > Hi Guys, > > Is there a bug with loadDump and Dump in RB? Well Dump is working, but not > loadDump. Does anyone know if this should work? Hi Deane, Of course It must work. Have you try on different dbs/tables? May be only one specific db/table have problems. Then I need to see it. Do you use any high-part of ASCII table in data? Try dump/load your db using VAPP. Works? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andy at foxwerk.de Fri Mar 5 15:18:30 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Fri Mar 5 08:18:37 2004 Subject: [V4MD][V4RB] Cursor->XML In-Reply-To: <6.0.1.1.2.20040303113627.01d00f38@pop.gmx.de> Message-ID: Is anybody out there who has code to save a cursor to XML and import this XML into an empty cursor - and is willing to share the code? Would me definitely save some time and the next beer is on me :-)) -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com ------------------------------------ Verkaufe: page last updated: 2. Mar. 2004 From sunshine at public.kherson.ua Fri Mar 5 16:43:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 5 08:43:46 2004 Subject: [V4MD][V4RB] Cursor->XML In-Reply-To: Message-ID: on 3/5/04 4:18 PM, Andy Fuchs at andy@foxwerk.de wrote: Hi Andy, > Is anybody out there who has code to save a cursor to XML and import this > XML into an empty cursor - and is willing to share the code? > > Would me definitely save some time and the next beer is on me :-)) Thomas have made something with XML for V4RB. Located in third party examples. In general task is not so easy. We know already ideal solution but it require many work, and usage of xsd. On TODO. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kray at sonsothunder.com Fri Mar 5 09:10:31 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri Mar 5 09:11:25 2004 Subject: Database_SetTimeOut In-Reply-To: <000e01c4029a$18178430$771026c3@giv> Message-ID: <003a01c402c4$04966ff0$6601a8c0@LightningFlash> > > What is the purpose for Database_SetTimeOut? Does it: > It sets query (command) timeout and it is measured in > seconds. Default value is 60 seconds. You can set it to > greater value before sending to the server a query that can > potentially take a long time to complete. Thanks for the explanation, Igor, but the docs REALLY need to be changed on this one. Not only does it not mention anything about queries (it uses the phrases "cursor" and "database connection" instead), but it also says the default value is infinity (not 60 seconds). So when the 60 seconds are over, does Val get an error coming back, or does it just stop the query in progress and move on? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Fri Mar 5 17:22:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 5 09:23:55 2004 Subject: Database_SetTimeOut In-Reply-To: <003a01c402c4$04966ff0$6601a8c0@LightningFlash> Message-ID: on 3/5/04 5:10 PM, Ken Ray at kray@sonsothunder.com wrote: >>> What is the purpose for Database_SetTimeOut? Does it: >> It sets query (command) timeout and it is measured in >> seconds. Default value is 60 seconds. You can set it to >> greater value before sending to the server a query that can >> potentially take a long time to complete. > > Thanks for the explanation, Igor, but the docs REALLY need to be changed > on this one. Not only does it not mention anything about queries (it > uses the phrases "cursor" and "database connection" instead), but it > also says the default value is infinity (not 60 seconds). Ken, you talk about VXCMD docs or about Vserver.pdf? > So when the 60 seconds are over, does Val get an error coming back, or > does it just stop the query in progress and move on? If you do LONG time query, you get error. You return from SqlExecute() and you can check that error. And continue as you need. If you have such long queries you need increase timeout. The same you can see in AppleScript. -------------- Interesting, Igor, server also stops execution of this LONG query? It must stop of course. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kray at sonsothunder.com Fri Mar 5 12:17:21 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri Mar 5 12:19:10 2004 Subject: Database_SetTimeOut In-Reply-To: Message-ID: <006501c402de$2c6a3650$6601a8c0@LightningFlash> > > Thanks for the explanation, Igor, but the docs REALLY need to be > > changed on this one. Not only does it not mention anything about > > queries (it uses the phrases "cursor" and "database connection" > > instead), but it also says the default value is infinity (not 60 > > seconds). > > Ken, you talk about VXCMD docs or about Vserver.pdf? VXCMD docs. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From srunkel at hypix.com Fri Mar 5 10:31:42 2004 From: srunkel at hypix.com (Scott Runkel) Date: Fri Mar 5 12:31:53 2004 Subject: Illegal table name References: Message-ID: <033801c402e0$1b970b30$0400a8c0@SCOTT3> Valentina allowed me to create a table with the apparently illegal name "pir-media", but then would not allow inserting records into it. I can create the illegal table in both Studio and V4MD. May be something to look at for 2.0 if you haven't already. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From noreply at macserve.net Fri Mar 5 19:22:01 2004 From: noreply at macserve.net (noreply@macserve.net) Date: Fri Mar 5 13:22:09 2004 Subject: Important notify about your e-mail account. Message-ID: Dear user of Macserve.net, We warn you about some attacks on your e-mail account. Your computer may contain viruses, in order to keep your computer and e-mail account safe, please, follow the instructions. Please, read the attach for further details. Kind regards, The Macserve.net team http://www.macserve.net From jkleins at shentel.net Fri Mar 5 15:48:19 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Fri Mar 5 14:48:28 2004 Subject: [V4RB] Trouble with dates Message-ID: <6F03D342-6EE6-11D8-AB3D-000393DB7EBA@shentel.net> I am having a little trouble with saving dates and would like your advise. I can save a date in SQL format and the data gets mixed up. It seems like the info is there but I am getting the month and day and year in the wrong places. This has to be a simple problem but I can't figure it out. Any help would be appreciated. I have a table with a field createdOn with this construction : createdOn=new VDateTime("createdOn") I can make a sample table like this for i = 1 to count SetBlank createdOn.SetDate(2004,1,i) AddRecord next This seems to work fine. I can show this is correct. (for recID 17 it would be 2004-01-17 Now when I try to update the table using SQL like: UPDATE users SET createdOn='2004-01-17 00:00:00' WHERE recID=17 I get no errors but when I turn around and get cursor like: SELECT createdOn from users WHERE recID=17 I get a cursor with the wrong info. I can look through the cursor like this: if r.Field(i).Type=kV_TypeDateTime then theDate=new date test=r.Field(i).GetString -----> this shows 04/01/2017 theDate.Year=r.DateTimeField(i).Year ---> this is 2017 theDate.Month=r.DateTimeField(i).Month-->04 theDate.Day=r.DateTimeField(i).Day-->01 theDate.Hour=r.DateTimeField(i).Hour theDate.Minute=r.DateTimeField(i).Minute theDate.Second=r.DateTimeField(i).Second Thanks, JIm From c.kelly at qfsaustralia.com.au Sat Mar 6 11:25:48 2004 From: c.kelly at qfsaustralia.com.au (Chris Kelly) Date: Fri Mar 5 19:26:01 2004 Subject: Difference between vFloat and vDouble in representing the number Message-ID: <33197E51-6F0D-11D8-8095-000A9568D7D8@qfsaustralia.com.au> Hey there, I have been working on a table and was using vDouble field. However after doing an import I had one number 70.6 which was imported into the vDouble Field. When I was doing a query using my app and also Valentina Carbon the number was coming back as 70.599999999999 Excuse my ignorance but what gives ? I converted the field to vFloat and the number comes back as it went in ie 70.6 Even though I have fixed the problem by going to vFloat , I am interested in finding out why the difference in representation . PS - even though the number comes back out as 70.5999999999999 , I could actually find it by doing a search in field when it was a vDouble by entering 70.6 Kind Regards Chris Kelly IT Manager TVH Australasia ph 61 7 3277 0877 fax 61 7 3277 0026 From deane.venske at eduss.com Sun Mar 7 15:41:42 2004 From: deane.venske at eduss.com (Deane Venske) Date: Fri Mar 5 23:42:01 2004 Subject: Dump/Load Dump in RB In-Reply-To: References: Message-ID: On Fri, 05 Mar 2004 14:02:59 +0200, Ruslan Zasukhin wrote: > on 3/5/04 6:05 AM, Deane Venske at deane.venske@eduss.com wrote: > >> Hi Guys, >> >> Is there a bug with loadDump and Dump in RB? Well Dump is working, but >> not >> loadDump. Does anyone know if this should work? > > Hi Deane, > > Of course It must work. > > Have you try on different dbs/tables? > > May be only one specific db/table have problems. > Then I need to see it. > > Do you use any high-part of ASCII table in data? > > Try dump/load your db using VAPP. > Works? > > Ok I will try it in VAPP at work. No Mac at home. I don't think I have any special stuff in the database. I will go through it though. I will let you know monday. Deane -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From robert at formworkdesign.com Sat Mar 6 11:50:55 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Mar 6 10:51:06 2004 Subject: [v4rb] Error 513 and 8544356 (or something like that) Message-ID: <6F778059-6F8E-11D8-8BB7-000A95D01D92@formworkdesign.com> Hi all, I'm working my way through a fairly large and complex app, trying to beat it into vServer submission. So far, not too bad. BUT, today I found a cursor whose constructor produces an error code of about 8 or nine digits. Something like 8544356. I didn't write it down, and it didn't show up in the terminal, as my more usual "can't get a lock" errors do. Also, I have a cursor whose creation causes error 513. I don't see that code in the docs or DB's I'm looking at. Does anyone have experience with either of these conditions? Thanks, Robert Nichols From sunshine at public.kherson.ua Sat Mar 6 19:03:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 6 11:03:56 2004 Subject: [v4rb] Error 513 and 8544356 (or something like that) In-Reply-To: <6F778059-6F8E-11D8-8BB7-000A95D01D92@formworkdesign.com> Message-ID: On 3/6/04 6:50 PM, "Robert Nichols" wrote: Hi Robert, > I'm working my way through a fairly large and complex app, trying to > beat it into vServer submission. So far, not too bad. > > BUT, > > today I found a cursor whose constructor produces an error code of > about 8 or nine digits. Something like 8544356. I didn't write it down, > and it didn't show up in the terminal, as my more usual "can't get a > lock" errors do. Client and SERVER on OS X? Strange code. > Also, I have a cursor whose creation causes error 513. I don't see that > code in the docs or DB's I'm looking at. > > Does anyone have experience with either of these conditions? 513 -- I also do not see it on our sources I see only for WinSock2 #define IPPORT_WHOSERVER 513 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Sat Mar 6 12:07:20 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Mar 6 11:07:25 2004 Subject: [v4rb] Error 513 and 8544356 (or something like that) In-Reply-To: References: Message-ID: Yes OSX. Let me confirm and get back to you. Robert On Mar 6, 2004, at 12:03 PM, Ruslan Zasukhin wrote: > On 3/6/04 6:50 PM, "Robert Nichols" wrote: > > Hi Robert, > >> I'm working my way through a fairly large and complex app, trying to >> beat it into vServer submission. So far, not too bad. >> >> BUT, >> >> today I found a cursor whose constructor produces an error code of >> about 8 or nine digits. Something like 8544356. I didn't write it >> down, >> and it didn't show up in the terminal, as my more usual "can't get a >> lock" errors do. > > Client and SERVER on OS X? > > Strange code. > >> Also, I have a cursor whose creation causes error 513. I don't see >> that >> code in the docs or DB's I'm looking at. >> >> Does anyone have experience with either of these conditions? > > 513 -- I also do not see it on our sources > > I see only for WinSock2 > > #define IPPORT_WHOSERVER 513 > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From robert at formworkdesign.com Sat Mar 6 12:14:55 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Mar 6 11:15:00 2004 Subject: [v4rb] Error 513 and 8544356 (or something like that) In-Reply-To: References: Message-ID: Wow. I tried again and produced the following error codes: 849797202 850313298 then I had tried one more time and got code... 1 Let me learn more about what my code is doing here then I will get back to you. Robert On Mar 6, 2004, at 12:03 PM, Ruslan Zasukhin wrote: > On 3/6/04 6:50 PM, "Robert Nichols" wrote: > > Hi Robert, > >> I'm working my way through a fairly large and complex app, trying to >> beat it into vServer submission. So far, not too bad. >> >> BUT, >> >> today I found a cursor whose constructor produces an error code of >> about 8 or nine digits. Something like 8544356. I didn't write it >> down, >> and it didn't show up in the terminal, as my more usual "can't get a >> lock" errors do. > > Client and SERVER on OS X? > > Strange code. > >> Also, I have a cursor whose creation causes error 513. I don't see >> that >> code in the docs or DB's I'm looking at. >> >> Does anyone have experience with either of these conditions? > > 513 -- I also do not see it on our sources > > I see only for WinSock2 > > #define IPPORT_WHOSERVER 513 > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From dave at Parizek.com Sat Mar 6 13:29:15 2004 From: dave at Parizek.com (Dave Parizek) Date: Sat Mar 6 14:29:25 2004 Subject: [v4rb] Error 616 question on delete stmt In-Reply-To: <6F778059-6F8E-11D8-8BB7-000A95D01D92@formworkdesign.com> References: <6F778059-6F8E-11D8-8BB7-000A95D01D92@formworkdesign.com> Message-ID: Hi: I want to delete from a table only those records where 2 conditions apply: DELETE FROM luConditionNote WHERE (ConditionNote = '1st edition. Good condition or better.' and Condition = '3') But when I try to do this I get a 616 Wrong expression error. Is this not possible in Valentina 1.98? Will it be possible in 2.0? Any new estimate on when we can expect 2.0? Sure would be nice to get 2.0 to go with the new RB5.5... then I'd be a super happy camper. --dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From sunshine at public.kherson.ua Sat Mar 6 22:34:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 6 14:34:25 2004 Subject: [v4rb] Error 616 question on delete stmt In-Reply-To: Message-ID: On 3/6/04 10:29 PM, "Dave Parizek" wrote: > Hi: > > I want to delete from a table only those records where 2 conditions apply: > > DELETE FROM luConditionNote WHERE (ConditionNote = '1st edition. > Good condition or better.' and Condition = '3') > > But when I try to do this I get a 616 Wrong expression error. Is > this not possible in Valentina 1.98? This must work, Dave. Try select from WHERE (ConditionNote = '1st edition. Good condition or better.' and Condition = '3') > Will it be possible in 2.0? > > Any new estimate on when we can expect 2.0? Sure would be nice to > get 2.0 to go with the new RB5.5... then I'd be a super happy camper. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jkleins at shentel.net Sun Mar 7 07:17:36 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Sun Mar 7 06:17:45 2004 Subject: [V4RB] Trouble with dates In-Reply-To: <6F03D342-6EE6-11D8-AB3D-000393DB7EBA@shentel.net> References: <6F03D342-6EE6-11D8-AB3D-000393DB7EBA@shentel.net> Message-ID: <6B5B7EC0-7031-11D8-AD4A-000393DB7EBA@shentel.net> Nevermind, I just realized Valentina doesn't use SQL date formats as defaults. Thanks, Jim On Mar 5, 2004, at 3:48 PM, James Kleinschmidt wrote: > I am having a little trouble with saving dates and would like your > advise. I can save a date in SQL format and the data gets mixed up. It > seems like the info is there but I am getting the month and day and > year in the wrong places. This has to be a simple problem but I can't > figure it out. Any help would be appreciated. > > > I have a table with a field createdOn with this construction : > createdOn=new VDateTime("createdOn") > > I can make a sample table like this > > for i = 1 to count > SetBlank > createdOn.SetDate(2004,1,i) > AddRecord > next > > This seems to work fine. I can show this is correct. (for recID 17 it > would be 2004-01-17 > Now when I try to update the table using SQL like: > UPDATE users SET createdOn='2004-01-17 00:00:00' WHERE recID=17 > > I get no errors but when I turn around and get cursor like: > SELECT createdOn from users WHERE recID=17 I get a cursor with the > wrong info. > > I can look through the cursor like this: > if r.Field(i).Type=kV_TypeDateTime then > theDate=new date > test=r.Field(i).GetString -----> this shows 04/01/2017 > theDate.Year=r.DateTimeField(i).Year ---> this is 2017 > theDate.Month=r.DateTimeField(i).Month-->04 > theDate.Day=r.DateTimeField(i).Day-->01 > theDate.Hour=r.DateTimeField(i).Hour > theDate.Minute=r.DateTimeField(i).Minute > theDate.Second=r.DateTimeField(i).Second > > Thanks, > > JIm > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From deane.venske at eduss.com Mon Mar 8 10:19:28 2004 From: deane.venske at eduss.com (Deane Venske) Date: Sun Mar 7 18:19:24 2004 Subject: XML Loaddump Message-ID: Hi everyone, I'm busy trying to load an XML dump file. I keep getting an error 19. The docs say thats a windows error but can't find any info on that. I can load this XML file fine using VStudio, so I'm thinking there is a problem in my code. But I can't figure it out. Can anyone see any problems here? Sub Action() Dim sqlFile As FolderItem Dim backupDb As VDataBase Dim f As FolderItem sqlFile = GetFolderItem("tempBackup.xml") backupDb = new VDataBase f = GetFolderItem(edtBackupPath.Text) backupDb.LoadDump(sqlFile, f, 2) msgbox cStr(backupDb.ErrNumber) backupDb.Close End Sub -- Deane Venske - Senior Programmer www.eduss.com.au deane.venske@eduss.com +61 7 55974600 +61 405148718 Suite 29, 207 Currumburra Rd Ashmore, Queensland, 4214 Australia From deane.venske at eduss.com Mon Mar 8 13:12:36 2004 From: deane.venske at eduss.com (Deane Venske) Date: Sun Mar 7 21:12:30 2004 Subject: XML Loaddump In-Reply-To: References: Message-ID: To follow this up I've tried this in a blank RB app that only dumps and loadDumps a very simple db (1 table, 1 field no data) and it creates the XML but does not create the DB from loadDump. > Hi everyone, > > I'm busy trying to load an XML dump file. I keep getting an error 19. > The docs say thats a windows error but can't find any info on that. > I can load this XML file fine using VStudio, so I'm thinking there is a > problem in my code. But I can't figure it out. Can anyone see any > problems here? > > > Sub Action() > Dim sqlFile As FolderItem > Dim backupDb As VDataBase > Dim f As FolderItem > > sqlFile = GetFolderItem("tempBackup.xml") > backupDb = new VDataBase > f = GetFolderItem(edtBackupPath.Text) > backupDb.LoadDump(sqlFile, f, 2) > msgbox cStr(backupDb.ErrNumber) > backupDb.Close > End Sub > > -- Deane Venske - Senior Programmer www.eduss.com.au deane.venske@eduss.com +61 7 55974600 +61 405148718 Suite 29, 207 Currumburra Rd Ashmore, Queensland, 4214 Australia From sunshine at public.kherson.ua Mon Mar 8 11:44:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 03:44:43 2004 Subject: XML Loaddump In-Reply-To: Message-ID: On 3/8/04 2:19 AM, "Deane Venske" wrote: Hi Deane, > I'm busy trying to load an XML dump file. I keep getting an error 19. The > docs say thats a windows error but can't find any info on that. So you use REALbasic and you work on Windows? Have you try on MAC? > I can load this XML file fine using VStudio, so I'm thinking there is a > problem in my code. But I can't figure it out. Can anyone see any problems > here? > > > Sub Action() > Dim sqlFile As FolderItem > Dim backupDb As VDataBase > Dim f As FolderItem > > sqlFile = GetFolderItem("tempBackup.xml") > backupDb = new VDataBase > f = GetFolderItem(edtBackupPath.Text) > backupDb.LoadDump(sqlFile, f, 2) > msgbox cStr(backupDb.ErrNumber) > backupDb.Close > End Sub LoadDump( inDumpFile as FolderItem, inNewDb as FolderItem, inDumpType as Integer ) Is your edtBackupPath.Text for new db is correct? I think you need send me your xml file and small project which do this. Also you can look inside of __TEST poject in V4RB archive. Find here test on XML dump. You can comment all other tests. Set break point in XML dump test and see that it works. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 8 12:25:50 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 8 05:25:57 2004 Subject: Embedded server zip file Message-ID: Ruslan, I am building an update and I wonder if the embedded server zip file is still up to date (a55 while "normal" server is a60) Thank you, Florian From sunshine at public.kherson.ua Mon Mar 8 18:54:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 10:54:51 2004 Subject: Embedded server zip file In-Reply-To: Message-ID: On 3/8/04 1:25 PM, "Florian Bogeschdorfer" wrote: > Ruslan, > > I am building an update and I wonder if the embedded server zip file is > still up to date (a55 while "normal" server is a60) Hi Florian, I will check now. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 8 20:09:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 12:09:13 2004 Subject: Embedded server zip file In-Reply-To: Message-ID: On 3/8/04 1:25 PM, "Florian Bogeschdorfer" wrote: > Ruslan, > > I am building an update and I wonder if the embedded server zip file is > still up to date (a55 while "normal" server is a60) Hi Florian, I see that .zip file should contain Vserver_NT, which write that it is a59, build of 26 Feb In fact this is a60 server. Check your .zip archive for build date please. Where you see a55 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From valentina at panamind.com Mon Mar 8 13:52:21 2004 From: valentina at panamind.com (Gary Edge) Date: Mon Mar 8 12:55:51 2004 Subject: Schema version property Message-ID: Is there a convenient way to assign a schema version number to a database? I ask this because in the future if I alter the schema of the database in new version of an app, I want to check a database opened by that app to see if it needs to be updated. -- Best Regards, Gary -- From Claudius at sailer-online.de Mon Mar 8 20:41:10 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Mar 8 13:41:39 2004 Subject: Schema version property In-Reply-To: References: Message-ID: <8D27DD0E-7138-11D8-B74F-00039365848C@sailer-online.de> Hi, V4RB? Am 08. Mrz 2004 um 19:52 Uhr schrieb Gary Edge: > Is there a convenient way to assign a schema version number to a > database? I ask this because in the future if I alter the schema of > the database in new version of an app, I want to check a database > opened by that app to see if it needs to be updated. Dim count as integer //Feld bei MWStSatz wieder l?schen. Es wird nicht mehr ben?tigt cmd="ALTER TABLE MWStSatz DROP Sortierung" count=tmpDB.SQLExecute(cmd) //Feld bei Konten hinzufuegen cmd="ALTER TABLE Konten ADD ButtonLeiste BOOLEAN NOT NULL" count=tmpDB.SQLExecute(cmd) //alle Konten mit einer Kontogruppen verknuepfen cmd="UPDATE Konten SET ButtonLeiste=1 WHERE Konto_Typ=1" count=tmpDB.SQLExecute(cmd) //Feld bei DepotKonten hinzufuegen cmd="ALTER TABLE DepotKonten ADD ButtonLeiste BOOLEAN NOT NULL" count=tmpDB.SQLExecute(cmd) //alle DepotKonten in die IconLeiste aufnehmen cmd="UPDATE DepotKonten SET ButtonLeiste=1" count=tmpDB.SQLExecute(cmd) //Schema der Datenbank heraufsetzen tmpDB.SchemaVersion=11 Claudius -- G4/733 QS / MacOS X 10.3.2de / RB 4.5.3de or 5.2.4/ Valentina 1.10.0 Homepage http://www.sailer-online.de/pub/RealBasic/ Download finale Versionen, Betaversionen auf der Homepage From sunshine at public.kherson.ua Mon Mar 8 21:44:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 13:44:19 2004 Subject: Schema version property In-Reply-To: Message-ID: On 3/8/04 8:52 PM, "Gary Edge" wrote: > Is there a convenient way to assign a schema version number to a > database? I ask this because in the future if I alter the schema of the > database in new version of an app, I want to check a database opened by > that app to see if it needs to be updated. Hi Gary, Yes, look into Vdatabase.SchemaVersion property. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 8 21:54:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 13:54:59 2004 Subject: Valentina Client 2.0 - C++ In-Reply-To: Message-ID: On 3/8/04 9:32 PM, "David Nock" wrote: Hi David, > I've got as far as getting a connection to the database but as soon as I try > ExecuteSQL it throws an exception. Is there a way to detect why the > exception was thrown? You work on Windows, with C++ and Vserver a60, yes? Also I recommend to use Valentina Studio. Also I recommend to run Valentina Server from console window to see output. Read docs about this. Also it is recommended to use VerboseLevel = 3 in the ini file During development. > I tried compiling a debug version of the client but there was not debug > precompiled header file. > > // in my constructor I have this, which succeeds i.e. Doesn't throw and > exception > > szHost = _T("127.0.0.1"); > szPort = _T("15432"); > szUsername = _T("sa"); > szPassword = _T("sa"); > szDatabase = _T("V8Test"); > > VDK_DataBase::InitStaticMembers(); > //MakeDataBaseCache( 3*1024*1024 );//can't call this-no implementation > ValentinaInit( 3*1024*1024 ); Use simply ValentinaInit(). No need for InitStaticMembers() > myDB = new VDK_DataBase(szHost.c_str(), szUsername.c_str(), > szPassword.c_str()); > try > { > myDB->OpenDataBase(szDatabase.c_str()); So you try to open EXISTED database under Valentina Server? Have you register that database by Valentina Studio? Or you have create this database? I.e. How you are sure that Vserver know about db "V8Test"? I see that later you try CREATE TABLE. So do you have database already under server? May be you need at first call db->CreateDatabase()? > } > catch(...) > { > wxMessageBox("Unable to open database."); > } > // then in a button event I have > > bool MyFrame::RunQuery(wxString szQuery) > { > VDK_Cursor* mCursor; > ulong err = 0; > mCursor = new VDK_Cursor( myDB ); > try > { > err = mCursor->ExecuteSQL( "CREATE TABLE _Preferences(fldBoolean > boolean)" ); > } > catch(...) > { > wxMessageBox("Error executing SQL."); > } > //listWebDiffs->Append(szQuery); > //listWebDiffs->Append(wxString::Format("%ld",err)); > ForgetObject( mCursor ); > return (err == 0); > } > > It always throws the error 'Error executing SQL' and err is 0; > > Do you have any ideas? Better use the next form: bool MyFrame::RunQuery(wxString szQuery) { VDK_Cursor* mCursor; ulong err = 0; try { char* query = "CREATE TABLE _Preferences(fldBoolean boolean)" mCursor = mDB->ExecuteSql( query ); } catch( FBL_Exception& e ) { err = e.GetErrorCode(); wxMessageBox("Error executing SQL."); } ForgetObject( mCursor ); return (err == 0); } -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Mon Mar 8 12:15:07 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Mon Mar 8 14:15:12 2004 Subject: [VSRV] ConnnectionCount on V4MD In-Reply-To: Message-ID: <20040308201507.39731.qmail@web21111.mail.yahoo.com> Does this work? __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From sunshine at public.kherson.ua Mon Mar 8 22:20:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 14:20:45 2004 Subject: [VSRV] ConnnectionCount on V4MD In-Reply-To: <20040308201507.39731.qmail@web21111.mail.yahoo.com> Message-ID: On 3/8/04 10:15 PM, "X Y" wrote: > Does this work? For each database? Yes. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Mon Mar 8 12:28:29 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Mon Mar 8 14:28:35 2004 Subject: [VSRV] ConnnectionCount on V4MD In-Reply-To: Message-ID: <20040308202829.17984.qmail@web21105.mail.yahoo.com> ahhh in the v4rbreference.pdf it noted that ConnectionCount was a property of VServer class...so this is not working? in addition, do you have any clue as to a win sock error 10093. I restarted the machine yet still cannot opensession. thnx --- Ruslan Zasukhin wrote: > On 3/8/04 10:15 PM, "X Y" > wrote: > > > Does this work? > > For each database? > > Yes. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From fb at memedia.de Mon Mar 8 21:32:40 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 8 14:32:45 2004 Subject: Embedded server zip file In-Reply-To: Message-ID: > > > In fact this is a60 server. > > Check your .zip archive for build date please. > > Where you see a55 ? > That's what it stated on the website I think From sunshine at public.kherson.ua Mon Mar 8 22:37:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 14:37:59 2004 Subject: [VSRV] ConnnectionCount on V4MD In-Reply-To: <20040308202829.17984.qmail@web21105.mail.yahoo.com> Message-ID: On 3/8/04 10:28 PM, "X Y" wrote: > ahhh in the v4rbreference.pdf > it noted that ConnectionCount was a property of > VServer class...so this is not working? This works. PLEASE. Tell me what you use. V4RB? V4MD? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Mon Mar 8 13:31:53 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Mon Mar 8 15:31:59 2004 Subject: [VSRV] Restart/Shutdown on V4MD In-Reply-To: Message-ID: <20040308213153.54948.qmail@web21112.mail.yahoo.com> Hi Ruslan, I am using V4MD; however, I got that to work. Thanks. V4MD has a GetConnectionCOunt....thnx __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From sunshine at public.kherson.ua Tue Mar 9 00:13:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 16:13:37 2004 Subject: [VSRV] Restart/Shutdown on V4MD In-Reply-To: <20040308213153.54948.qmail@web21112.mail.yahoo.com> Message-ID: On 3/8/04 11:31 PM, "X Y" wrote: > Hi Ruslan, > I am using V4MD; however, I got that to work. Thanks. > V4MD has a GetConnectionCOunt....thnx Ok, I think tomorrow we will upload updated V4MD docs that have info on Vserver Xtra. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From deane.venske at eduss.com Tue Mar 9 08:28:59 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Mar 8 16:28:55 2004 Subject: XML Loaddump In-Reply-To: References: Message-ID: Hi Ruslan, Here's a test project that's not working. I double checked my version of V4RB, and just in case downloaded the latest. I'm testing on Mac now. Just wanted to get you before you went to bed. Deane From sunshine at public.kherson.ua Tue Mar 9 00:32:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 8 16:32:13 2004 Subject: XML Loaddump In-Reply-To: Message-ID: On 3/9/04 12:28 AM, "Deane Venske" wrote: > Hi Ruslan, > > Here's a test project that's not working. I double checked my version of > V4RB, and just in case downloaded the latest. > I'm testing on Mac now. Just wanted to get you before you went to bed. Where project? You are sending letter to list, Deane. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From davidn at accessitsoftware.com Tue Mar 9 11:52:42 2004 From: davidn at accessitsoftware.com (David Nock) Date: Mon Mar 8 17:02:24 2004 Subject: Valentina Client 2.0 - C++ In-Reply-To: Message-ID: > Better use the next form: > > bool MyFrame::RunQuery(wxString szQuery) > { > VDK_Cursor* mCursor; > ulong err = 0; > > try > { > char* query = "CREATE TABLE _Preferences(fldBoolean boolean)" > mCursor = mDB->ExecuteSql( query ); > } > catch( FBL_Exception& e ) > { > err = e.GetErrorCode(); > wxMessageBox("Error executing SQL."); > } > > ForgetObject( mCursor ); > return (err == 0); > } > Hi Ruslan, I tried this but it doesn't compile as ExecuteSQL isn't a member of VDK_Database. Anyway I changed it to: bool MyFrame::RunQuery(wxString szQuery) { VDK_Cursor* mCursor; ulong err = 0; mCursor = new VDK_Cursor(myDB); try { const char* query = "CREATE TABLE _Preferences(fldBoolean boolean)" err = mCursor->ExecuteSQL( query ); } catch( xFBL_Exception& e ) { err = e.GetErrorCode(); wxMessageBox(wxString::Format("Error executing SQL - [%ld]", err)); } ForgetObject( mCursor ); return (err == 0); } This is into a pre-existing database. I also now have the server running from the dos prompt to see the debug info. The error returned is 600 - 'Expected key word SELECT'. Why when creating a table?? Also, in the debug info shown in the dos prompt, it shows as 2.0a59 but the properties of the server.dll show as a60. Cheers Dave ********************** David Nock Senior Developer Access-It Software Ltd ********************** From davidn at accessitsoftware.com Tue Mar 9 12:54:40 2004 From: davidn at accessitsoftware.com (David Nock) Date: Mon Mar 8 17:56:03 2004 Subject: Valentina Client 2.0 - C++ In-Reply-To: Message-ID: Hi Ruslan, I'll reply to my own email as I found the problem. VDK_Cursor has 'ExecuteSQL' and VDK_Database has 'SqlExecute'. I've changed things around to use this and all is well. Cheers Dave > > Hi Ruslan, > > I tried this but it doesn't compile as ExecuteSQL isn't a member of > VDK_Database. > > Anyway I changed it to: > > bool MyFrame::RunQuery(wxString szQuery) > { > VDK_Cursor* mCursor; > ulong err = 0; > mCursor = new VDK_Cursor(myDB); > try > { > const char* query = "CREATE TABLE _Preferences(fldBoolean boolean)" > err = mCursor->ExecuteSQL( query ); > } > catch( xFBL_Exception& e ) > { > err = e.GetErrorCode(); > wxMessageBox(wxString::Format("Error executing SQL - [%ld]", err)); > } > > ForgetObject( mCursor ); > return (err == 0); > } > > This is into a pre-existing database. I also now have the server running > from the dos prompt to see the debug info. > > The error returned is 600 - 'Expected key word SELECT'. Why when creating a > table?? > > Also, in the debug info shown in the dos prompt, it shows as 2.0a59 but the > properties of the server.dll show as a60. > > Cheers > Dave > > ********************** > David Nock > Senior Developer > Access-It Software Ltd > ********************** > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ********************** David Nock Senior Developer Access-It Software Ltd ********************** From sunshine at public.kherson.ua Tue Mar 9 10:08:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 9 02:08:26 2004 Subject: Valentina Client 2.0 - C++ In-Reply-To: Message-ID: On 3/9/04 1:54 AM, "David Nock" wrote: > > > Hi Ruslan, > > I'll reply to my own email as I found the problem. > > VDK_Cursor has 'ExecuteSQL' and VDK_Database has 'SqlExecute'. > I've changed things around to use this and all is well. Hi David, Okay, Does this resolve original problem ? You can do now queries to server? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 9 11:12:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 9 03:12:30 2004 Subject: V4RB, WIN XML dump project In-Reply-To: Message-ID: On 3/9/04 12:46 AM, "Deane Venske" wrote: > Here is the project. Sorry Hi Deane, * I have put your project on my win desktop * uncompres file to desktop * open project in rb * I do not see code to Load XML, so I have add it self. * run project, really no new db files. * check error. It is 2 -- system have not found specieid. * stop in debugger on loaddump and check params, I se that FolderItem for e.g. Xml file is C...../tmp folders/ff.xml ^^^^^^^^^^^ It looks like REALbasic on Windows for f = getFolderIten("ff.xml") Produce NOT current folder, as on MAC, but TMP folder. Please check this point. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Tue Mar 9 17:43:07 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Mar 9 10:39:51 2004 Subject: V4RB 1.10 Platform inconsistency In-Reply-To: References: Message-ID: hi Ruslan, I've just come across a problem where I wanted to update a database (add new fields) so I did the following after checking the schema version bo=mdatabase.BaseObject("customertable") vs=bo.CreateStringField("Referral",30,"ascii","") vb=bo.CreateBooleanField("Mailing","") vs.Indexed=true now this works fine on the Mac and adds the fields however my app gives a nilexception when populating panes on the PC. When I check with viSql it displays the newly added fields as method fields. all the best Fred From sunshine at public.kherson.ua Tue Mar 9 19:05:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 9 11:05:51 2004 Subject: V4RB 1.10 Platform inconsistency In-Reply-To: Message-ID: On 3/9/04 6:43 PM, "Fred.Stephenson" wrote: Hi Fred, > I've just come across a problem where I wanted to update a database > (add new fields) so I did the following after checking the schema > version > > bo=mdatabase.BaseObject("customertable") > > vs=bo.CreateStringField("Referral",30,"ascii","") > vb=bo.CreateBooleanField("Mailing","") > vs.Indexed=true > > now this works fine on the Mac and adds the fields however my app > gives a nilexception when populating panes on the PC. When I check > with viSql it displays the newly added fields as method fields. So you mean that if write vs=bo.CreateStringField("Referral",30,"ascii") It works. Yes? I see where problem can be. Although better not send empty string into method text. REALbasic for "" produce on C++ level NULL pointer. Other languages will consider such logic as METHOD. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Tue Mar 9 18:42:36 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Mar 9 11:39:08 2004 Subject: V4RB 1.10 Platform inconsistency In-Reply-To: References: Message-ID: >So you mean that if write > > vs=bo.CreateStringField("Referral",30,"ascii") No, that doesn't work. Using "createstringfield" you have to have the 4 parameters including the method param. I've now reverted to : vfld=bo.CreateField("Referral",kV_TypeString,30,"ascii") vs=vstring(vfld) vs.Indexed=true vfld=bo.CreateField("Mailing",kV_TypeBoolean) > >It works. Yes? >I see where problem can be. > >Although better not send empty string into method text. >REALbasic for "" produce on C++ level NULL pointer. >Other languages will consider such logic as METHOD. Well my point is that it should do the same on both platforms. Then I wouldn't have had an angry client on the phone ;?) all the best Fred > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From davidn at accessitsoftware.com Wed Mar 10 08:23:05 2004 From: davidn at accessitsoftware.com (David Nock) Date: Tue Mar 9 13:24:31 2004 Subject: Valentina Client 2.0 - C++ In-Reply-To: Message-ID: On 9/3/04 9:08 PM, "Ruslan Zasukhin" wrote: > On 3/9/04 1:54 AM, "David Nock" wrote: > >> >> >> Hi Ruslan, >> >> I'll reply to my own email as I found the problem. >> >> VDK_Cursor has 'ExecuteSQL' and VDK_Database has 'SqlExecute'. >> I've changed things around to use this and all is well. > > Hi David, > > Okay, > > Does this resolve original problem ? > You can do now queries to server? Hi Ruslan, Yes, this solves the original problem. All queries to the server are working. Cheers Dave ********************** David Nock Senior Developer Access-It Software Ltd ********************** From srunkel at hypix.com Tue Mar 9 16:30:30 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue Mar 9 18:30:31 2004 Subject: [V4MD] Problem with setPicture / getPicture References: Message-ID: <070d01c40636$e4fec900$0400a8c0@SCOTT3> For the life of me I can't quite get setPicture/getPicture to work. This is Director MX, Windows XP, authoring. I apologize if there's just some little thing I have overlooked, but after about 3 hours with this, I just can't keep working on it. I am trying to put a bitmap into my existing database. I have a "picture"-type field called "picture". I have boiled down what I'm trying to the following test handlers. The first one attempts to set the picture, the second attempts to get the picture. When I finally do "getPicture" at the end of the second handler, I get: * V4MD *: GetPicture...error -2147218498 But note that at the end of the first handler, "getpicture" is successful! I don't understand what's happening between that point and the next time I try to get the picture, when it fails. Is there some command I am missing? I threw in a "flush" command for good measure, didn't seem to help. on setpicturetest sql = "select * from media where type = 'figure'" gocursor = 0 goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 3, 2) put "count = " & getrecordcount(goCursor) -- this returns 1 goToRecord(goCursor, 1) put getfield(gocursor, "linktext") -- this returns the correct text from the record setpicture(goCursor, "picture", member "PIR-1992-01-05-01", 50) flush(goDB) -- * V4MD *: SetPicture...done getpicture (goCursor, "picture", member "pictest") -- the correct picture appears in the member end on getpicturetest sql = "select * from media where type = 'figure'" -- there is only one such record gocursor = 0 goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 3, 2) put "count = " & getrecordcount(goCursor) -- returns 1 goToRecord(goCursor, 1) getpicture (goCursor, "picture", member "pictest") end Thanks. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From yeomans at desuetude.com Tue Mar 9 20:24:18 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Mar 9 19:24:27 2004 Subject: vServe source code In-Reply-To: References: Message-ID: On Nov 2, 2003, at 2:12 PM, Marco Bambini wrote: > Anyone can send me the vServe source code? > It seems that Aaron Bratcher from ab DataTools has lost it. > I have to send a copy to him if someone can provide me a copy. > I have it; if you don't already have it, write me off-list and I'll send it to you. Charles Yeomans From andrew at learningware.com Tue Mar 9 19:49:23 2004 From: andrew at learningware.com (Andrew Sinning) Date: Tue Mar 9 19:45:57 2004 Subject: [V4MD] Problem with setPicture / getPicture In-Reply-To: <070d01c40636$e4fec900$0400a8c0@SCOTT3> Message-ID: I was having problems with SetMedia, which is similar to SetPicture. Turned out I wasn't calling UpdateRecord() after SetMedia. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Scott Runkel Sent: Tuesday, March 09, 2004 6:31 PM To: Valentina Developers Subject: [V4MD] Problem with setPicture / getPicture For the life of me I can't quite get setPicture/getPicture to work. This is Director MX, Windows XP, authoring. I apologize if there's just some little thing I have overlooked, but after about 3 hours with this, I just can't keep working on it. I am trying to put a bitmap into my existing database. I have a "picture"-type field called "picture". I have boiled down what I'm trying to the following test handlers. The first one attempts to set the picture, the second attempts to get the picture. When I finally do "getPicture" at the end of the second handler, I get: * V4MD *: GetPicture...error -2147218498 But note that at the end of the first handler, "getpicture" is successful! I don't understand what's happening between that point and the next time I try to get the picture, when it fails. Is there some command I am missing? I threw in a "flush" command for good measure, didn't seem to help. on setpicturetest sql = "select * from media where type = 'figure'" gocursor = 0 goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 3, 2) put "count = " & getrecordcount(goCursor) -- this returns 1 goToRecord(goCursor, 1) put getfield(gocursor, "linktext") -- this returns the correct text from the record setpicture(goCursor, "picture", member "PIR-1992-01-05-01", 50) flush(goDB) -- * V4MD *: SetPicture...done getpicture (goCursor, "picture", member "pictest") -- the correct picture appears in the member end on getpicturetest sql = "select * from media where type = 'figure'" -- there is only one such record gocursor = 0 goCursor = new(Xtra "VCursor", GetRef(goDB), sql, 2, 3, 2) put "count = " & getrecordcount(goCursor) -- returns 1 goToRecord(goCursor, 1) getpicture (goCursor, "picture", member "pictest") end Thanks. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From srunkel at hypix.com Tue Mar 9 18:11:41 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue Mar 9 20:11:41 2004 Subject: [V4MD] Problem with setPicture / getPicture References: Message-ID: <07ad01c40645$07a17b70$0400a8c0@SCOTT3> > I was having problems with SetMedia, which is similar to SetPicture. > Turned out I wasn't calling UpdateRecord() after SetMedia. Hmmm....so simple that I must have overlooked it. Seems to work. Thanks! -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From kristafer at comcast.net Wed Mar 10 07:57:54 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Wed Mar 10 06:58:00 2004 Subject: Valentina datadriven Director app now needs a network version as well! Anyone got advice? Message-ID: <000101c4069f$4dbd39f0$0800a8c0@winter> Hi all, Just had a bombshell dropped on me, hoping someone might have a Kevlar helmet! I've been developing this data driven director app using Valentina's xtra and it works great, but I just learned I have to provide a network version of this application for PC, Mac OS 8+ and Mac OS X. Has anyone else ever had to do this? Convert a Valentina Data app to an network accessible multi-user or online version before? Anyone got any hints or tips where to start? Thanks very much in advance. Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 From sunshine at public.kherson.ua Wed Mar 10 15:02:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 07:02:29 2004 Subject: Valentina datadriven Director app now needs a network version as well! Anyone got advice? In-Reply-To: <000101c4069f$4dbd39f0$0800a8c0@winter> Message-ID: On 3/10/04 2:57 PM, "Kristafer Vale" wrote: Ho Kristafer, > Just had a bombshell dropped on me, hoping someone might have a Kevlar > helmet! > I've been developing this data driven director app using Valentina's xtra > and it works great, but I just learned I have to provide a network version > of this application for PC, Mac OS 8+ and Mac OS X. Has anyone else ever had > to do this? Convert a Valentina Data app to an network accessible multi-user > or online version before? Anyone got any hints or tips where to start? The best choice -- to use Valentina server and V4MD Client. Download and check its archives and docs. Also I will need inform you about VDN license. Let me know off list if you want this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kristafer at comcast.net Wed Mar 10 08:18:19 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Wed Mar 10 07:18:25 2004 Subject: Valentina datadriven Director app now needs a network versionas well! Anyone got advice? In-Reply-To: Message-ID: <000001c406a2$282ccdb0$0800a8c0@winter> Is the Valentina server something that each network admin would have to install on their own lans? If so do they each need a license? Is it possible to have a "one-off" install that completely configures the server at install time? Will it work on PC, Mac OSX and Mac Classic servers? This deliverable is for school systems that may not have very technically adept network admins. The application needs to work by just running setup and providing users with links to where to access the application. I know it sounds like a lot, but it also has to be finished by April so no time to re-do much of anything. Thanks for your help. Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, March 10, 2004 8:02 AM To: valentina@lists.macserve.net Subject: Re: Valentina datadriven Director app now needs a network versionas well! Anyone got advice? On 3/10/04 2:57 PM, "Kristafer Vale" wrote: Ho Kristafer, > Just had a bombshell dropped on me, hoping someone might have a Kevlar > helmet! > I've been developing this data driven director app using Valentina's xtra > and it works great, but I just learned I have to provide a network version > of this application for PC, Mac OS 8+ and Mac OS X. Has anyone else ever had > to do this? Convert a Valentina Data app to an network accessible multi-user > or online version before? Anyone got any hints or tips where to start? The best choice -- to use Valentina server and V4MD Client. Download and check its archives and docs. Also I will need inform you about VDN license. Let me know off list if you want this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Wed Mar 10 14:21:20 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Mar 10 07:22:10 2004 Subject: Valentina datadriven Director app now needs a network version aswell! Anyone got advice? In-Reply-To: <000101c4069f$4dbd39f0$0800a8c0@winter> Message-ID: Switching to Valentina Server / Client is very easy. Most of your code can stay as it is. The existing database can be used. Switching from single user to server takes only a few hours. Traps are cursor locks with serverside/clientside cursors, so check this in the docs! Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Kristafer Vale > Sent: Wednesday, March 10, 2004 1:58 PM > To: Valentina Developers > Subject: Valentina datadriven Director app now needs a > network version aswell! Anyone got advice? > > > Hi all, > > Just had a bombshell dropped on me, hoping someone might have > a Kevlar helmet! > > I've been developing this data driven director app using > Valentina's xtra and it works great, but I just learned I > have to provide a network version of this application for PC, > Mac OS 8+ and Mac OS X. Has anyone else ever had to do this? > Convert a Valentina Data app to an network accessible > multi-user or online version before? Anyone got any hints or > tips where to start? > > Thanks very much in advance. > > Kristafer S. Vale > VK-iNTERACTiVE > 6011 Medici CT #301 > Sarasota, FL 34243 > 407-924-3025 > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Wed Mar 10 14:43:34 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Mar 10 07:44:08 2004 Subject: Valentina datadriven Director app now needs a network versionaswell! Anyone got advice? In-Reply-To: <000001c406a2$282ccdb0$0800a8c0@winter> Message-ID: > > Is the Valentina server something that each network admin > would have to install on their own lans? Yes. > If so do they each need a license? No. You can buy the VDN license. Then you may distribute as many servers as you want but with 5 client each only. If you need more clients per server you must by additional licenses. Ruslan has prices on this, but the whole thing is very reasonably priced > Is it possible to have a "one-off" install that completely > configures the server at install time? Yes. You can use the Valentina installer or if you want your own names and folders you can make your own installer. I am doing this with ISS tool, very easy to use. If you need help, let me know. > Will it work on PC, Mac OSX and Mac Classic servers? Not sure about classic. > > This deliverable is for school systems that may not have very > technically adept network admins. The application needs to > work by just running setup and providing users with links to > where to access the application. I know it sounds like a lot, > but it also has to be finished by April so no time to re-do > much of anything. No problem I think! > > Thanks for your help. > > Kristafer S. Vale > VK-iNTERACTiVE > 6011 Medici CT #301 > Sarasota, FL 34243 > 407-924-3025 > > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Wednesday, March 10, 2004 8:02 AM > To: valentina@lists.macserve.net > Subject: Re: Valentina datadriven Director app now needs a > network versionas well! Anyone got advice? > > On 3/10/04 2:57 PM, "Kristafer Vale" wrote: > > Ho Kristafer, > > > Just had a bombshell dropped on me, hoping someone might > have a Kevlar > > helmet! > > > I've been developing this data driven director app using > Valentina's > > xtra and it works great, but I just learned I have to provide a > > network version of this application for PC, Mac OS 8+ and Mac OS X. > > Has anyone else ever > had > > to do this? Convert a Valentina Data app to an network accessible > multi-user > > or online version before? Anyone got any hints or tips > where to start? > > The best choice -- to use Valentina server and V4MD Client. > > Download and check its archives and docs. > > Also I will need inform you about VDN license. > Let me know off list if you want this. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Mar 10 15:54:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 07:54:51 2004 Subject: Valentina datadriven Director app now needs a network versionas well! Anyone got advice? In-Reply-To: <000001c406a2$282ccdb0$0800a8c0@winter> Message-ID: On 3/10/04 3:18 PM, "Kristafer Vale" wrote: > Is the Valentina server something that each network admin would have to > install on their own lans? In general yes, but please read Vserver.pdf You can prepare your own custom installer. > If so do they each need a license? Florian already have answer a little. Kristafer, please contact me offlist, I will send you details. > Is it possible to have a "one-off" install that completely configures the > server at install time? yes > Will it work on PC, Mac OSX and Mac Classic servers? Server only OS X and Win Clients works on classic also > This deliverable is for school systems that may not have very technically > adept network admins. The application needs to work by just running setup > and providing users with links to where to access the application. I know it > sounds like a lot, but it also has to be finished by April so no time to > re-do much of anything. Users must be able setup at least TCP IP network. If they HAVE network, then most probably all is fine already. Otherwise how they could use network, right? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Wed Mar 10 08:15:49 2004 From: andrew at learningware.com (Andrew Sinning) Date: Wed Mar 10 08:12:18 2004 Subject: Valentina datadriven Director app now needs a networkversionaswell! Anyone got advice? In-Reply-To: Message-ID: >>you may distribute as many servers as you want but with 5 client each only. Does this mean 5 simultaneous clients, or 5 clients total? Are connection requests be "queued" by the server if there are currently 5 sessions, or are they rejected? From sunshine at public.kherson.ua Wed Mar 10 16:16:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 08:16:20 2004 Subject: Valentina datadriven Director app now needs a networkversionaswell! Anyone got advice? In-Reply-To: Message-ID: On 3/10/04 4:15 PM, "Andrew Sinning" wrote: Hi Andrew, >>> you may distribute as many servers as you want but with 5 client each > only. > > Does this mean 5 simultaneous clients, or 5 clients total? simultaneous > Are connection requests be "queued" by the server if there are currently > 5 sessions, or are they rejected? Rejected for now. Guys, please ask VServer details off-list. Or at least on Valentina-beta list. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 10 22:02:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 14:02:46 2004 Subject: V4RB, XML LoadDump on Windows Message-ID: Hi Guys, I check now Deane report, and I also cannot LoadDump xml file on Windows, Error 19. Strange. Anybody can confirm that he also have problems with this operation on WIN? RB 5, V4RB 1.10 Erne, it seems you have utility which do dump/load. Can you run it on windows? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Wed Mar 10 12:54:22 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Wed Mar 10 14:54:30 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: Message-ID: <20040310205422.86435.qmail@web21108.mail.yahoo.com> Hi All, I am trying to optimize my query and was wondering if this was the correct way to do insertions with object ptrs that refer to another table. Lets say I have an Employee, Department table where each Employee in the Employee table has a department. (deptObjPtr). During insert I need to insert the recId of the Department into deptObjPtr. The way I do this is to thru a query "SELECT recID FROM Department WHERE deptName = 'FOO'" and then I do the insertion. Is there another way I can do an insert with one query? instead of 2 (1 being getting the recId, and 2 being the actual insert) thnx __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From martin.kloss at gmx.de Wed Mar 10 22:00:01 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Wed Mar 10 15:00:15 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: <20040310205422.86435.qmail@web21108.mail.yahoo.com> References: <20040310205422.86435.qmail@web21108.mail.yahoo.com> Message-ID: <6.0.1.1.2.20040310215524.01d454f8@pop.gmx.de> At 21:54 10.03.2004, you wrote: >Is there another way I can do an insert with one >query? instead of 2 (1 being getting the recId, and 2 >being the actual insert) Hi XY (strange name), yes, you can use INSERT INTO and UPDATE statements in connection with binded values in V4MD. Check out SQLExecute() in the Valentina docs. Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From davidn at accessitsoftware.com Thu Mar 11 10:12:03 2004 From: davidn at accessitsoftware.com (David Nock) Date: Wed Mar 10 15:13:34 2004 Subject: Problems importing SQL data Message-ID: I'm trying to import a file of data that has been exported in SQL format. So far this is the result: Executing SQL statements 1 by 1 works for a while then slow to a crawl i.e. 1 record/sec This eventually aborts after 19000 lines with a ', was expected' error. I copied out the offending record plus a few either side into a separate file and this file imports fine. This is also frustrating because it takes a few hours to get here. Tried adding a flush every few records, but this causes an Error 351 after only a few records. Tried importing via LoadDump (SQL), which reports that all imported fine after a very short time, but nothing has actually been imported. Any have any thoughts on what to try next. This is on Windows, a60, C++. Cheers Dave ********************** David Nock Senior Developer Access-It Software Ltd ********************** From xyzabc1010 at yahoo.com Wed Mar 10 13:17:53 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Wed Mar 10 15:17:59 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: <6.0.1.1.2.20040310215524.01d454f8@pop.gmx.de> Message-ID: <20040310211753.89968.qmail@web21104.mail.yahoo.com> Yes but even if I bind I still need to retrieve recIds from another query to pass in to INSERT INTO/UPDATE. --- Martin Kloss wrote: > At 21:54 10.03.2004, you wrote: > >Is there another way I can do an insert with one > >query? instead of 2 (1 being getting the recId, and > 2 > >being the actual insert) > > Hi XY (strange name), > > yes, you can use INSERT INTO and UPDATE statements > in connection with binded values in V4MD. > Check out SQLExecute() in the Valentina docs. > > Martin. > > > Martin Kloss > > Like the author? Buy the book: > http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd > > Need music? http://www.selling-sound.com > > Get your daily dose of Lingo: > http://www.lingopark.de > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From sunshine at public.kherson.ua Wed Mar 10 23:22:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 15:23:08 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 3/10/04 11:12 PM, "David Nock" wrote: > I'm trying to import a file of data that has been exported in SQL format. > > So far this is the result: > > Executing SQL statements 1 by 1 works for a while then slow to a crawl > i.e. 1 record/sec > This eventually aborts after 19000 lines with a ', was expected' error. I > copied out the offending record plus a few either side into a separate file > and this file imports fine. This is also frustrating because it takes a few > hours to get here. > > Tried adding a flush every few records, but this causes an Error 351 after > only a few records. > > Tried importing via LoadDump (SQL), which reports that all imported fine > after a very short time, but nothing has actually been imported. > > Any have any thoughts on what to try next. > > This is on Windows, a60, C++. Hi David, 1) SQL LOAD DUMP not finished. you only can self parse each next command (up to ;) and send command by command. viSQL utility can do this. but Hmm, you say this not works for you. 2) if you have task import data from other DBMS, please look on Valentina_ODBC utility. You can import directly from DBMS via ODBC driver. Valentina Studio also can do this now. 3) I wonder you get 351 error on small db. what cache size of Valentina you use? use 8-10MB cache. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 10 23:26:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 15:27:02 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: <20040310205422.86435.qmail@web21108.mail.yahoo.com> Message-ID: On 3/10/04 10:54 PM, "X Y" wrote: > Hi All, > I am trying to optimize my query and was wondering if > this was the correct way to do insertions with object > ptrs that refer to another table. Lets say I have an > Employee, Department table where each Employee in the > Employee table has a department. (deptObjPtr). > During insert I need to insert the recId of the > Department into deptObjPtr. The way I do this is to > thru a query "SELECT recID FROM Department WHERE > deptName = 'FOO'" and then I do the insertion. > > Is there another way I can do an insert with one > query? instead of 2 (1 being getting the recId, and 2 > being the actual insert) You should use 2 query for now. In Valentina 2.0 it will be possible to use subquery INSERT INTO T (f1, ptr) VALUES ( 'aaa', (SELECT recID FROM Department WHERE deptName = 'FOO') ) Although I am not sure this syntax will works. Ivan? It seems this is not by standard. Although looks to be comfortable for above task... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From davidn at accessitsoftware.com Thu Mar 11 10:43:49 2004 From: davidn at accessitsoftware.com (David Nock) Date: Wed Mar 10 15:45:20 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 11/3/04 10:22 AM, "Ruslan Zasukhin" wrote: > On 3/10/04 11:12 PM, "David Nock" wrote: > >> I'm trying to import a file of data that has been exported in SQL format. >> >> So far this is the result: >> >> Executing SQL statements 1 by 1 works for a while then slow to a crawl >> i.e. 1 record/sec >> This eventually aborts after 19000 lines with a ', was expected' error. I >> copied out the offending record plus a few either side into a separate file >> and this file imports fine. This is also frustrating because it takes a few >> hours to get here. >> >> Tried adding a flush every few records, but this causes an Error 351 after >> only a few records. >> >> Tried importing via LoadDump (SQL), which reports that all imported fine >> after a very short time, but nothing has actually been imported. >> >> Any have any thoughts on what to try next. >> >> This is on Windows, a60, C++. > > Hi David, > > 1) SQL LOAD DUMP not finished. > you only can self parse each next command (up to ;) > and send command by command. > > viSQL utility can do this. > but Hmm, you say this not works for you. > > 2) if you have task import data from other DBMS, please look on > Valentina_ODBC utility. You can import directly from DBMS via ODBC driver. > Valentina Studio also can do this now. > > > 3) I wonder you get 351 error on small db. > what cache size of Valentina you use? > use 8-10MB cache. > Hi Ruslan, 1) Have grabbed a copy of viSQL but doesn't seem to support server, only local db. 2) No ODBC driver available. :-( Guess I could always dump the SQL file into MySql and then out through MyODBC. ;-) 3) Is this the value passed to ValentinaInit() or the value in the Server.ini file. They are 3Mb and 40Mb respectively. Cheers Dave ********************** David Nock Senior Developer Access-It Software Ltd ********************** This email and any attachments are confidential and intended exclusively for the person to whom the email is addressed. If you are not the intended recipient, do not read, copy, disclose or use the contents in any way. Please notify us immediately by return email and destroy the email and attachments. Access-It Software Ltd does not accept any liability for any changes made to this email or attachments after sending by Access-It Software Ltd. You must scan this email and attachments for viruses. The opinions expressed are not necessarily those of Access-It Software Ltd. Access-It Software Ltd accepts no liability for any loss, damage or consequence, whether caused by our own negligence or not, resulting directly or indirectly from the use of this email and attachments. From sunshine at public.kherson.ua Wed Mar 10 23:53:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 15:53:42 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 3/10/04 11:43 PM, "David Nock" wrote: >> Hi David, >> >> 1) SQL LOAD DUMP not finished. >> you only can self parse each next command (up to ;) >> and send command by command. >> >> viSQL utility can do this. >> but Hmm, you say this not works for you. >> >> 2) if you have task import data from other DBMS, please look on >> Valentina_ODBC utility. You can import directly from DBMS via ODBC driver. >> Valentina Studio also can do this now. >> >> >> 3) I wonder you get 351 error on small db. >> what cache size of Valentina you use? >> use 8-10MB cache. >> > > Hi Ruslan, > > 1) Have grabbed a copy of viSQL but doesn't seem to support server, only > local db. Okay, Valentina Studio can work with both Local and Server dbs Even in the same time. > 2) No ODBC driver available. :-( Guess I could always dump the SQL file into > MySql and then out through MyODBC. ;-) > > 3) Is this the value passed to ValentinaInit() or the value in the > Server.ini file. They are 3Mb and 40Mb respectively. ValentinaInit() -- affect only LOCAL SDK. .ini file affect Valentina Server itself. So you run server with 40MB cache. -------- David, I do not see clearly your task. What you need to do? By steps? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From davidn at accessitsoftware.com Thu Mar 11 11:14:11 2004 From: davidn at accessitsoftware.com (David Nock) Date: Wed Mar 10 16:15:56 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 11/3/04 10:53 AM, "Ruslan Zasukhin" wrote: > On 3/10/04 11:43 PM, "David Nock" wrote: > >>> Hi David, >>> >>> 1) SQL LOAD DUMP not finished. >>> you only can self parse each next command (up to ;) >>> and send command by command. >>> >>> viSQL utility can do this. >>> but Hmm, you say this not works for you. >>> >>> 2) if you have task import data from other DBMS, please look on >>> Valentina_ODBC utility. You can import directly from DBMS via ODBC driver. >>> Valentina Studio also can do this now. >>> >>> >>> 3) I wonder you get 351 error on small db. >>> what cache size of Valentina you use? >>> use 8-10MB cache. >>> >> >> Hi Ruslan, >> >> 1) Have grabbed a copy of viSQL but doesn't seem to support server, only >> local db. > > Okay, Valentina Studio can work with both Local and Server dbs > Even in the same time. > >> 2) No ODBC driver available. :-( Guess I could always dump the SQL file into >> MySql and then out through MyODBC. ;-) >> >> 3) Is this the value passed to ValentinaInit() or the value in the >> Server.ini file. They are 3Mb and 40Mb respectively. > > ValentinaInit() -- affect only LOCAL SDK. > .ini file affect Valentina Server itself. > > So you run server with 40MB cache. > > > -------- > David, I do not see clearly your task. > What you need to do? > By steps? > Hi Ruslan, Basically, we are looking at Valentina for an upcoming project and are hoping to run some tests to see how well Valentina handles some of our tasks. I was hoping to import some example data from an existing system and then run some SQL queries against that data. Cheers Dave ********************** David Nock Senior Developer Access-It Software Ltd ********************** From sunshine at public.kherson.ua Thu Mar 11 00:28:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 16:28:24 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 3/11/04 12:14 AM, "David Nock" wrote: > Basically, we are looking at Valentina for an upcoming project and are > hoping to run some tests to see how well Valentina handles some of our > tasks. I was hoping to import some example data from an existing system and > then run some SQL queries against that data. I have ask about your import task. Then again you can do this simply as: 1) you take some Valentina empty database with structure as you need. 2) you take Valentina ODBC utility 3) you take e.g. MySQL and its ODBC driver. 4) you import records from mySQL to Valentina db via ODBC. That is all. Valentina Studio can even create tables in totally empty Valentina db according to structure of ODBC source. At least Jochen promise this works. ------------------ Another way. From mySLQ you can easy EXPORT table into Text file, Then import it using VAPP or Valentina Studio. Very fast way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Mar 11 00:37:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 10 16:37:21 2004 Subject: Problems importing SQL data In-Reply-To: Message-ID: On 3/11/04 12:14 AM, "David Nock" wrote: Hi David, > Basically, we are looking at Valentina for an upcoming project and are > hoping to run some tests to see how well Valentina handles some of our > tasks. I was hoping to import some example data from an existing system and > then run some SQL queries against that data. BTW, it seems you not realize that you can open some database as LOCAL, without VServer and import records into it in some way. Then you put this database into folder Daatabses of Vserver, Register it by e.g. Valentina Studio And new Valentina Server will see it and use it -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From denis at gunt.com Wed Mar 10 22:05:16 2004 From: denis at gunt.com (=?ISO-8859-1?Q?Denis_B=E9lisle?=) Date: Wed Mar 10 21:06:59 2004 Subject: [slightly OT] xml vs db In-Reply-To: <20040310125807.74A1CCA377@edison.macserve.net> References: <20040310125807.74A1CCA377@edison.macserve.net> Message-ID: Hi, I have a potential client that has about 70,000 small xml documents for which he would like a multimedia front end application that can search and cross-reference them in a variety of ways. I was initially thinking of converting the xml and make a database out of it, but after researching the matter, it seems to be a little more complicated than it appeared at first. Anyone has some leads I could follow to help me build up a better understanding of the issues involved in xml vs databases? And does Valentina have any special affinity with xml (apart from the dump/load functions)? Thanks in advance, Denis From sunshine at public.kherson.ua Thu Mar 11 09:31:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 11 01:31:23 2004 Subject: [slightly OT] xml vs db In-Reply-To: Message-ID: On 3/11/04 5:05 AM, "Denis B?lisle" wrote: > Hi, > > I have a potential client that has about 70,000 small xml documents for > which he would like a multimedia front end application that can search > and cross-reference them in a variety of ways. I was initially > thinking of converting the xml and make a database out of it, but after > researching the matter, it seems to be a little more complicated than > it appeared at first. Anyone has some leads I could follow to help me > build up a better understanding of the issues involved in xml vs > databases? And does Valentina have any special affinity with xml (apart > from the dump/load functions)? Hi Denis, 1) right now only dump in Valentina ------------------ xml vs db * if xml files do not have structure, then it is problem to put them into database. * exists special XML-based databases. This is modern stream. But I do not like this idea. I can only agree if XML docs really are unstructured. * I do not like that because XML parsing itself is slow thing. ------------ * I have believe that ANY XML document still can be stored in special kind database which have 1 self recursion table. You break XML document to just pairs tag/value And now you store in that ONE table this pairs as tag / value / ParentLevelPointer But you should know that such many level recursion cannot be queried from SQL in effective way. You need do one query per level to combine back original XML document. It is possible to use second table which store TAGs values. Then the first table use pointer to TAG. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Thu Mar 11 10:01:14 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Thu Mar 11 02:54:43 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: <20040310211753.89968.qmail@web21104.mail.yahoo.com> References: <6.0.1.1.2.20040310215524.01d454f8@pop.gmx.de> <20040310211753.89968.qmail@web21104.mail.yahoo.com> Message-ID: <6.0.3.0.2.20040311095515.01bf3900@pop.gmx.de> At 22:17 10.03.2004, you wrote: >Yes but even if I bind I still need to retrieve recIds >from another query to pass in to INSERT INTO/UPDATE. right, so you're inserting data into the db that's already in the db? then you'd need sub selects, they be implemented in 2.0, I think. Martin. Martin Kloss Need music? http://www.selling-sound.com Like the author? Buy the book at: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd Get your daily dose of Lingo at the LingoPark: http://www.lingopark.de From sunshine at public.kherson.ua Thu Mar 11 12:23:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 11 04:23:26 2004 Subject: [V4MD] recId, Insert and Cursor question In-Reply-To: <133298055.20040311111813@ks.avalbank.com> Message-ID: On 3/11/04 11:18 AM, "Ivan Smahin" wrote: > RZ> You should use 2 query for now. > > RZ> In Valentina 2.0 it will be possible to use subquery > > RZ> INSERT INTO T (f1, ptr) > RZ> VALUES ( 'aaa', > RZ> (SELECT recID FROM Department WHERE deptName = 'FOO') ) > > RZ> Although I am not sure this syntax will works. > RZ> Ivan? > Yes, it seems to me this is not standard feature. MS-SQL does not > allow this trick but Oracle does. > We support standard approach like > INSERT INTO T (f1, ptr) > ( select 'aaa', recID FROM Department WHERE deptName = 'FOO') :-) little strange way actually, But at least a way. May be in future it is good idea make as Oracle also. > Test for this syntax is passed. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From james.milne at mac.com Thu Mar 11 13:51:54 2004 From: james.milne at mac.com (James Milne) Date: Thu Mar 11 07:51:09 2004 Subject: Record lock, err 363 Message-ID: <41A4F001-7363-11D8-BB70-000393DB941A@mac.com> Hi all, I'm using Valentina 1.10 with REALbasic 5.2.4 and I'm having a strange problem with record locking. In my application, I mainly use SQL select strings to perform queries, and I'm using 'empty cursors' to insert data. After having inserted a few items into my table I'm getting a problem with the table becoming locked such that I can no longer create a writeable cursor on it. I'm just using Valentina within my application- no server stuff going on here. Using DebugDumpObjects in REALbasic to show me what objects are alive shows that there are no VCursors alive when my call to SqlSelect fails. What other ways are there that a table might become locked? I am using SQL update statements in some places. Is there anything I need to do after an Update to ensure that the rows are unlocked? -- James Milne From robert at formworkdesign.com Thu Mar 11 10:32:03 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Mar 11 09:32:14 2004 Subject: [v4rb] vServer, error 54? Message-ID: <3EEB1EBC-7371-11D8-BD30-000393821D74@formworkdesign.com> Is there any significance to Error code 54? I'm producing that error, but I don't see it in the docs anywhere. Robert __________________________ Robert Nichols robert@formworkdesign.com www.formworkdesign.com 434.296.2223 From james.milne at mac.com Thu Mar 11 15:45:13 2004 From: james.milne at mac.com (James Milne) Date: Thu Mar 11 09:44:28 2004 Subject: Record lock, err 363 In-Reply-To: <41A4F001-7363-11D8-BB70-000393DB941A@mac.com> References: <41A4F001-7363-11D8-BB70-000393DB941A@mac.com> Message-ID: <15FB0358-7373-11D8-BB70-000393DB941A@mac.com> On 11 Mar 2004, at 13:51, James Milne wrote: > Hi all, > > I'm using Valentina 1.10 with REALbasic 5.2.4 and I'm having a strange > problem > with record locking. > > In my application, I mainly use SQL select strings to perform queries, > and I'm using > 'empty cursors' to insert data. > > After having inserted a few items into my table I'm getting a problem > with the > table becoming locked such that I can no longer create a writeable > cursor on it. > I'm just using Valentina within my application- no server stuff going > on here. > Using DebugDumpObjects in REALbasic to show me what objects are alive > shows that there are no VCursors alive when my call to SqlSelect fails. > > What other ways are there that a table might become locked? I am using > SQL > update statements in some places. Is there anything I need to do after > an > Update to ensure that the rows are unlocked? Actually, I've figured it out. Somehow, I'd omitted adding "where RecID = 0" onto the end of my select statement to get an empty cursor. Adding that has fixed the problem. Doh! -- James Milne From rjb at rz.uni-potsdam.de Thu Mar 11 16:55:56 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Mar 11 10:00:53 2004 Subject: FMP7 Message-ID: Has anyone looked in detail at Filemaker Pro 7 yet? From what I read, new features include better transaction verification and the engine is more transaction centric, supports larger databases (up to 8 TB) and sports massive increases in the record limits. Instant web publishing is supposedly drastically improved as well. And following Valentina's example (ha, ha!) the old 10 IP connections in 12 hours for the client app has been dumped in favor of 5 simultaneous connections. Robert From sunshine at public.kherson.ua Thu Mar 11 18:33:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 11 10:39:01 2004 Subject: [v4rb] vServer, error 54? In-Reply-To: <3EEB1EBC-7371-11D8-BD30-000393821D74@formworkdesign.com> Message-ID: On 3/11/04 5:32 PM, "Robert Nichols" wrote: > Is there any significance to Error code 54? > > I'm producing that error, but I don't see it in the docs anywhere. What OS ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From timdavis at amug.org Thu Mar 11 09:55:37 2004 From: timdavis at amug.org (Tim Davis) Date: Thu Mar 11 10:56:12 2004 Subject: FMP7 In-Reply-To: References: Message-ID: Hi Robert, > Has anyone looked in detail at Filemaker Pro 7 yet? Yes, I went to the conference last year and I've already played with=20 the demo this week. One of the biggest areas of change in FMP7 is table=20= relationships, such as multiple tables per db file, multiple windows=20 per table or file, various key matching conditions (=3D =AD < > etc), = you=20 can now pull data from a table multiple relationships deep, and a new=20 GUI for establishing table relationships. Loads of other new features which are important to Filemaker Pro=20 developers. Have they accomplished everything on my dream list yet, no.=20= Of course that would seem more like Valentina than Filemaker. : ) =20 But no doubt that this total rewrite of the application is the most=20 significant upgrade for the product ever. Check out the 30 day demo. Tim Davis= From giv at tlc.kherson.ua Thu Mar 11 18:56:28 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Mar 11 10:57:05 2004 Subject: [v4rb] vServer, error 54? References: Message-ID: <002201c40789$dd0bd270$781026c3@giv> Hi Robert, > On 3/11/04 5:32 PM, "Robert Nichols" wrote: > > > Is there any significance to Error code 54? > > > > I'm producing that error, but I don't see it in the docs anywhere. > > What OS ? Please, describe the error in more details. Also specify versions of client/server software you are using and also send us the server's log file. -- 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 fci at europa.com Thu Mar 11 12:15:48 2004 From: fci at europa.com (Lynn Fredricks) Date: Thu Mar 11 14:16:19 2004 Subject: FMP7 In-Reply-To: Message-ID: <000401c407a5$afe3d9c0$0100000a@LYNNP42G> > From what I read, new features include better transaction > verification and the engine is more transaction centric, supports > larger databases (up to 8 TB) and sports massive increases in the > record limits. Instant web publishing is supposedly drastically > improved as well. And following Valentina's example (ha, ha!) the old > 10 IP connections in 12 hours for the client app has been dumped in > favor of 5 simultaneous connections. Dang! Im going to have to clean off my desk better next time Apple/Filemaker executives visit ;-) Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From letomuaddib at yahoo.com Thu Mar 11 20:09:15 2004 From: letomuaddib at yahoo.com (Leto Muaddib) Date: Thu Mar 11 22:09:21 2004 Subject: Problem with AND and OR on a join with Valentina (Director?) Message-ID: <20040312040915.1539.qmail@web20913.mail.yahoo.com> Hi, list and Ruslan, I have a big and urgent problem with Valentina 1.10 on Macromedia Director on Windows. I am trying to do the following: Table t has two fields, t.tID and t.Name. It has one record: t.tID = 1 and t.Name = 't 4' Table k has two fields, k.kID and k.Kwd. It has two records: k.tID = 1 and k.Kwd = 2 k.tID = 1 and k.KWD = 3 Let's do a simple query: SELECT * FROM t, k WHERE t.tID = k.tID AND t.name = 't 4' Perfect, it returns a join of the two tables, with both records from k joined to the one on t. Now let's do another simple query: SELECT * FROM t, k WHERE t.tID = k.tID AND t.name = 't 4' OR k.Kwd = 2 Uhm, this is weird, it returns only one record from the join, the one with k.Kwd = 2. Another test query: SELECT * FROM t, k WHERE t.tID = k.tID AND t.name = 't 4' OR k.Kwd = 1 This doesn't return anything. Of course, this is very bad, since it really looks like the OR is interpreted as an AND. This theory is confirmed by: SELECT * FROM t, k WHERE t.tID = k.tID AND t.name = 't 4' OR (k.Kwd = 2 OR k.Kwd = 3) Here, it looks like the first OR is interpreted as an AND and the second one as a real OR. Needless to say, this is a huge problem in an urgent project. First of all, can anyone else confirm this? I did my best to make sure this is a Valentina problem, and I'm quite confident it is. But if someone else could confirm, it would be better. Second, having a quick answer to this would save my butt, and would be greatly appreciated. The only thing preventing me for screaming out loud "THIS IS A BUG" is the fact that the query is very basic. Anyway, thanks in advance for any reply. Goran __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From xyzabc1010 at yahoo.com Thu Mar 11 21:48:27 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Thu Mar 11 23:48:32 2004 Subject: Possible Bug??? In-Reply-To: <20040312040915.1539.qmail@web20913.mail.yahoo.com> Message-ID: <20040312054827.9679.qmail@web21103.mail.yahoo.com> Hi All, So I generated a query SELECT * FROM TABLE1, TABLE2 WHERE TABLE2.field1 in ('a', 'b', 'c') AND TABLE1.id = 1 AND TABLE1.id2 = 2 (note there is an obj ptr that reference table1 to table2) This query gives me everything that is in the table1 x table2. However, switching the constraints around yields the correct results. Has anyone notice this behavior before? Thnx __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From sunshine at public.kherson.ua Fri Mar 12 09:58:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 12 01:59:09 2004 Subject: Problem with AND and OR on a join with Valentina (Director?) In-Reply-To: <20040312040915.1539.qmail@web20913.mail.yahoo.com> Message-ID: On 3/12/04 6:09 AM, "Leto Muaddib" wrote: > Now let's do another simple query: > > SELECT * FROM t, k WHERE > t.tID = k.tID > AND t.name = 't 4' OR k.Kwd = 2 > > Uhm, this is weird, it returns only one record from > the join, the one with k.Kwd = 2. Hi Leto, OR between fields from different tables not works. You can get the same result using fld IN (subselect) SELECT * FROM t WHERE t.name = 4 and t.ID in (SELECT ID FROM k WHERE Kwd = 2) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 12 10:11:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 12 02:11:29 2004 Subject: Possible Bug??? In-Reply-To: <20040312054827.9679.qmail@web21103.mail.yahoo.com> Message-ID: On 3/12/04 7:48 AM, "X Y" wrote: > Hi All, > So I generated a query > > SELECT * FROM TABLE1, TABLE2 WHERE > TABLE2.field1 in ('a', 'b', 'c') AND TABLE1.id = 1 AND > TABLE1.id2 = 2 > (note there is an obj ptr that reference table1 to > table2) > > This query gives me everything that is in the table1 x > table2. However, switching the constraints around > yields the correct results. > > Has anyone notice this behavior before? Once I have such problem. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Mar 13 09:01:09 2004 From: jda at his.com (jda) Date: Sat Mar 13 08:01:15 2004 Subject: [OT] Need help compiling with gcc In-Reply-To: References: Message-ID: Hi all. I apologize for this (one-time) post, but I thought perhaps someone on this list might be kind enough to help me. I would like to compile two projects with gcc (for OS X), but this is proving to be quite a challenge for someone with no Unix experience at all. Would one of the C/C++ folks on this list who is more savvy than I be willing to do this for me? If so, please contact me off-list and I'll either send you the projects or send an ftp address, whichever is more convenient. Thanks in advance... Jon jda@his.com From sunshine at public.kherson.ua Sat Mar 13 17:49:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 09:49:54 2004 Subject: [OT] Need help compiling with gcc In-Reply-To: Message-ID: On 3/13/04 4:01 PM, "jda" wrote: > Hi all. I apologize for this (one-time) post, but I thought perhaps > someone on this list might be kind enough to help me. > > I would like to compile two projects with gcc (for OS X), but this is > proving to be quite a challenge for someone with no Unix experience > at all. Would one of the C/C++ folks on this list who is more savvy > than I be willing to do this for me? If so, please contact me > off-list and I'll either send you the projects or send an ftp > address, whichever is more convenient. > > Thanks in advance... I think you need specify also 1) C++ ? 2) if you have already makefile ? 3) how many cpp files? 4) exe or shared lib ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Sat Mar 13 11:03:21 2004 From: jda at his.com (jda) Date: Sat Mar 13 10:03:29 2004 Subject: [OT] Need help compiling with gcc In-Reply-To: References: Message-ID: >I think you need specify also > >1) C++ ? > >2) if you have already makefile ? > >3) how many cpp files? > >4) exe or shared lib ? > All good questions...not really sure I know the answers (hm, I said I didn't know anything about this stuff! :->). I'm used to CodeWarrior (and Pascal). But... I want to compile YAZ (http://www.indexdata.dk/yaz/). It is C/C++, and I do see files called makefile.in and makefile.am. I think the output will be a library I can link against (with CodeWarrior). There are 138 items in the src folder (most .c files, but the web site says it's C/C++ programmer's toolkit). Sorry for the lameness of my answer. Jon From sunshine at public.kherson.ua Sat Mar 13 18:18:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 10:18:52 2004 Subject: [OT] Need help compiling with gcc In-Reply-To: Message-ID: On 3/13/04 6:03 PM, "jda" wrote: >> I think you need specify also >> >> 1) C++ ? >> >> 2) if you have already makefile ? >> >> 3) how many cpp files? >> >> 4) exe or shared lib ? >> > > All good questions...not really sure I know the answers (hm, I said I > didn't know anything about this stuff! :->). I'm used to CodeWarrior > (and Pascal). But... > > I want to compile YAZ (http://www.indexdata.dk/yaz/). It is C/C++, > and I do see files called makefile.in and makefile.am. I think the > output will be a library I can link against (with CodeWarrior). There > are 138 items in the src folder (most .c files, but the web site says > it's C/C++ programmer's toolkit). Aha, so this is EXISTED project. Then must not be a problem for you. Read README file, it must by steps explains what todo. OS X or real Linux? Steps usually just 2 or 3 1) in terminal you go to that folder ...folder > 2) type optionally ./configure 3) type always ./make Again, check its instructions. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Sat Mar 13 19:09:28 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Sat Mar 13 12:09:37 2004 Subject: [OT] Need help compiling with gcc In-Reply-To: References: Message-ID: <6.0.1.1.2.20040313190124.01bb9e10@pop.gmx.de> At 17:03 13.03.2004, you wrote: >I want to compile YAZ (http://www.indexdata.dk/yaz/). It is C/C++, and I >do see files called makefile.in and makefile.am. I think the output will >be a library I can link against (with CodeWarrior). There are 138 items in >the src folder (most .c files, but the web site says it's C/C++ >programmer's toolkit). Hi Jon, what system are you on ? for OSX, Linux and most other UNIX systems, you'd only need to type ./configure Sometimes you will have to also specify some options here, such as the install path or where certain libs are, but that should all be mentioned in the README or INSTALL file. You will then see the project being configured for compilation, which you can start after a successful configuration by typing: make If that gives you an error, you will have to define the path to make in your shell, but usually that should be the case, provided you have gcc or some other compiler installed After "make" has finished, you can test the project by typing: make test and finally install the compiled stuff by typing: make install After that you're done and should be ready to use the program from the directory you installed it to. Martin. Martin Kloss Like the author? Buy the book: http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd Need music? http://www.selling-sound.com Get your daily dose of Lingo: http://www.lingopark.de From kristafer at comcast.net Sat Mar 13 13:57:16 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Sat Mar 13 12:57:26 2004 Subject: Why won't this update statement work? Message-ID: <000001c4092d$01420a20$0800a8c0@winter> Hi all, I'm attempting to test the UPDATE feature with this line of code in Director MX 2004 on a PC running XP Pro. myTEST = SqlExecute(gMyLessonDB, "UPDATE slides SET SlideOrder = '003' ") It always returns zero no matter what, even though there are 3 records in the slides table. Is there something wrong with the UPDATE feature? Have I misunderstood the documentation? This is really frustrating, so any help is much appreciated. Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 From sunshine at public.kherson.ua Sat Mar 13 21:09:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 13:10:03 2004 Subject: Why won't this update statement work? In-Reply-To: <000001c4092d$01420a20$0800a8c0@winter> Message-ID: On 3/13/04 8:57 PM, "Kristafer Vale" wrote: Hi Kristafer, > I'm attempting to test the UPDATE feature with this line of code in Director > MX 2004 on a PC running XP Pro. > > myTEST = SqlExecute(gMyLessonDB, "UPDATE slides SET SlideOrder = '003' ") > > It always returns zero no matter what, even though there are 3 records in > the slides table. > > Is there something wrong with the UPDATE feature? Have I misunderstood the > documentation? > > This is really frustrating, so any help is much appreciated. 1) please check Valentina error may be you have some typo? 2) try do this command in viSQL or Valentina Studio and see results 3) may be column SlideOrder is marked as unique? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kristafer at comcast.net Sat Mar 13 14:51:48 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Sat Mar 13 13:52:02 2004 Subject: Why won't this update statement work? In-Reply-To: Message-ID: <000001c40934$9f0c0150$0800a8c0@winter> I don't have either of those two things available, but I have been able to narrow it down to one interesting/annoying fact. If there is a call like this: set query = "select ID, slideShowID, title, filename, artist, SlideOrder from slides WHERE slideShowID like '\A"&gCurrentSlideShowID&"\Z' order by SlideOrder" set mySlidesCursor = new( xtra "VCursor", getRef(gMyLessonDB), query) in the same handler as this: SqlExecute( gMyLessonDB, "DELETE FROM slides") Then the SqlExecute command never fires. If I I move the sqlExecute it's own handler separate from the vCursor handler then it works as expected. Why would that be the case? Can we not mix a call to the database using vCursor in the same handler as a SqlExecute command? The reason I want to do this is that I need to query the database for the record information and then feed that info into my next command which will update the previous information with some new data. I can't think of a better way to do it then, use select in a cursor, then get info from the cursor set to a variable, then use said variable to make new sqlExecute command to update info. Am I missing something? Thanks Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Saturday, March 13, 2004 2:10 PM To: valentina@lists.macserve.net Subject: Re: Why won't this update statement work? On 3/13/04 8:57 PM, "Kristafer Vale" wrote: Hi Kristafer, > I'm attempting to test the UPDATE feature with this line of code in Director > MX 2004 on a PC running XP Pro. > > myTEST = SqlExecute(gMyLessonDB, "UPDATE slides SET SlideOrder = '003' ") > > It always returns zero no matter what, even though there are 3 records in > the slides table. > > Is there something wrong with the UPDATE feature? Have I misunderstood the > documentation? > > This is really frustrating, so any help is much appreciated. 1) please check Valentina error may be you have some typo? 2) try do this command in viSQL or Valentina Studio and see results 3) may be column SlideOrder is marked as unique? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sat Mar 13 21:55:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 13:55:15 2004 Subject: Why won't this update statement work? In-Reply-To: <000001c40934$9f0c0150$0800a8c0@winter> Message-ID: On 3/13/04 9:51 PM, "Kristafer Vale" wrote: > I don't have either of those two things available, but I have been able to > narrow it down to one interesting/annoying fact. If there is a call like > this: > > set query = "select ID, slideShowID, title, filename, artist, SlideOrder > from slides WHERE slideShowID like '\A"&gCurrentSlideShowID&"\Z' order by > SlideOrder" > > set mySlidesCursor = new( xtra "VCursor", getRef(gMyLessonDB), query) > > in the same handler as this: > > SqlExecute( gMyLessonDB, "DELETE FROM slides") > > Then the SqlExecute command never fires. If I I move the sqlExecute it's own > handler separate from the vCursor handler then it works as expected. Why > would that be the case? Can we not mix a call to the database using vCursor > in the same handler as a SqlExecute command? This is simple. You cursor LOCK records. So of course, the next DELETE command cannot delete them. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Mar 13 21:57:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 13:57:47 2004 Subject: Why won't this update statement work? In-Reply-To: <000001c40934$9f0c0150$0800a8c0@winter> Message-ID: On 3/13/04 9:51 PM, "Kristafer Vale" wrote: Hi Kristafer, > The reason I want to do this is that I need to query the database for the > record information and then feed that info into my next command which will > update the previous information with some new data. I can't think of a > better way to do it then, use select in a cursor, then get info from the > cursor set to a variable, then use said variable to make new sqlExecute > command to update info. Am I missing something? 1) if you already have cursor, then just use its functionality! curs.UpdateRecord() This will be faster than a) PREAPRE new SQL command STRING b) PARSE it for Valentina C) execute update More simple execute update skipping a) and b) steps. You see? 2) IF you very want to use SQL way, then your cursor should not lock records, use NoLock parameter -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kristafer at comcast.net Sat Mar 13 15:29:30 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Sat Mar 13 14:29:38 2004 Subject: Why won't this update statement work? In-Reply-To: Message-ID: <000001c40939$e3680f10$0800a8c0@winter> Hmm, I guess I'm just used to things like coldfusion and what not where you can query the database for a number of records and then loop through those records changing one value as you go and automatically updating the database as it goes. I confess to not completely understanding cursors and their uses. I assumed that they were just Valentina's way of selecting records now I see it actually copies the data in question and allows you to perform some operations on that copy of the data, but then how does it put the data back to the original table? I'm confused, and I've re-read the docs many times, could you explain cursors a bit more to me? Offline is fine, kristafer@comcast.net Thanks. Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Saturday, March 13, 2004 2:58 PM To: valentina@lists.macserve.net Subject: Re: Why won't this update statement work? On 3/13/04 9:51 PM, "Kristafer Vale" wrote: Hi Kristafer, > The reason I want to do this is that I need to query the database for the > record information and then feed that info into my next command which will > update the previous information with some new data. I can't think of a > better way to do it then, use select in a cursor, then get info from the > cursor set to a variable, then use said variable to make new sqlExecute > command to update info. Am I missing something? 1) if you already have cursor, then just use its functionality! curs.UpdateRecord() This will be faster than a) PREAPRE new SQL command STRING b) PARSE it for Valentina C) execute update More simple execute update skipping a) and b) steps. You see? 2) IF you very want to use SQL way, then your cursor should not lock records, use NoLock parameter -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sat Mar 13 22:48:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 13 14:48:54 2004 Subject: Why won't this update statement work? In-Reply-To: <000001c40939$e3680f10$0800a8c0@winter> Message-ID: On 3/13/04 10:29 PM, "Kristafer Vale" wrote: > Hmm, I guess I'm just used to things like coldfusion and what not where you > can query the database for a number of records and then loop through those > records changing one value as you go and automatically updating the database > as it goes. I confess to not completely understanding cursors and their > uses. > I assumed that they were just Valentina's way of selecting records now > I see it actually copies the data in question and allows you to perform some > operations on that copy of the data, but then how does it put the data back > to the original table? I'm confused, and I've re-read the docs many times, > could you explain cursors a bit more to me? Offline is fine, I am sure cursors are NOT just in Valentina. You can meet them in many DB related products/frameworks (MFC, ADO, OLE DB, ..) Think about cursor in the next way: 1) you can have MANY cursors on the same table(s) 2) Cursor is result of SELECT query. 3) Cursor create tmp table of result. although sometimes Valentina do optimization and do not create tmp table. 4) Cursor actually very similar to Table. 5) you can navigate record of cursor. Next/Prev, First/Last 6) Cursor have own RECORD BUFFER, so each cursor have own CURRENT RECORD. 7) IF cursor is not ReadOnly you can MODIFY its records. usually this is when you do SELECT on single table. 8) so let you have cursor which you can modify. You can -- fill fields of cursor and say AddRecord() this will add record to cursor AND to table that cursor was SELECTed for. how Valentina do this? Cursor know its table. cursor know how ITS records related to Table records. -- in the same way you can UPDATE DELETE records of cursor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kristafer at comcast.net Sat Mar 13 15:53:13 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Sat Mar 13 14:53:21 2004 Subject: Why won't this update statement work? In-Reply-To: Message-ID: <000001c4093d$33bd1020$0800a8c0@winter> Ahh, that clears it up just fine. Sorry for the newbieness to this, I guess the experience I've had with databases up to this point (MS ACCESS and Coldfusion/flash only) didn't prepare me for that concept. I understand it now, so thanks very much for your help! Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Saturday, March 13, 2004 3:49 PM To: valentina@lists.macserve.net Subject: Re: Why won't this update statement work? On 3/13/04 10:29 PM, "Kristafer Vale" wrote: > Hmm, I guess I'm just used to things like coldfusion and what not where you > can query the database for a number of records and then loop through those > records changing one value as you go and automatically updating the database > as it goes. I confess to not completely understanding cursors and their > uses. > I assumed that they were just Valentina's way of selecting records now > I see it actually copies the data in question and allows you to perform some > operations on that copy of the data, but then how does it put the data back > to the original table? I'm confused, and I've re-read the docs many times, > could you explain cursors a bit more to me? Offline is fine, I am sure cursors are NOT just in Valentina. You can meet them in many DB related products/frameworks (MFC, ADO, OLE DB, ..) Think about cursor in the next way: 1) you can have MANY cursors on the same table(s) 2) Cursor is result of SELECT query. 3) Cursor create tmp table of result. although sometimes Valentina do optimization and do not create tmp table. 4) Cursor actually very similar to Table. 5) you can navigate record of cursor. Next/Prev, First/Last 6) Cursor have own RECORD BUFFER, so each cursor have own CURRENT RECORD. 7) IF cursor is not ReadOnly you can MODIFY its records. usually this is when you do SELECT on single table. 8) so let you have cursor which you can modify. You can -- fill fields of cursor and say AddRecord() this will add record to cursor AND to table that cursor was SELECTed for. how Valentina do this? Cursor know its table. cursor know how ITS records related to Table records. -- in the same way you can UPDATE DELETE records of cursor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From chuckbo at hinkles.us Sat Mar 13 23:58:42 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Sat Mar 13 23:58:56 2004 Subject: encryption Message-ID: If I want to create an encrypted database, can I do the SetStructureEncryption command before the db.create command? || Chuck Hinkle [INTJ] || chuckbo@hinkles.us || || || "Perception is usually more persuasive than reality." From sunshine at public.kherson.ua Sun Mar 14 09:28:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 14 01:28:55 2004 Subject: encryption In-Reply-To: Message-ID: On 3/14/04 7:58 AM, "chuck hinkle" wrote: > If I want to create an encrypted database, can I do the > SetStructureEncryption command before the db.create command? Hi Chuck, It seems no. In docs described which commands before and which after create/open Please check docs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 15 00:42:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 14 16:42:38 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: On 3/12/04 6:07 PM, "Geraint Jones" wrote: Hi Geraint, New build UPLOADED. > Hi, > > Thanks for that but is that function available in Valentina.NET - I > can't see it at all... > Geraint Jones > > Primal Pictures Ltd > > -----Original Message----- > From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] > Sent: 12 March 2004 15:53 > To: Geraint Jones > Subject: Re: valentina sql > > On 3/12/04 5:32 PM, "Geraint Jones" wrote: > >> Hi Ruslan, >> >> I have a quick Valentina SQL question that I can't find the answer to > in >> any documentation - how do you escape single-quote characters in a >> string in an SQL statement? > > Hi Geraint, > > You can use ValentinaEscapeString() > > Each Valentina product have this function. > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sun Mar 14 21:44:25 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Mar 14 20:44:32 2004 Subject: VServer.OpenSession Message-ID: I don't see how one decides whether VServer.OpenSession succeeded. Perhaps this is one of those situations in which V4Rb might raise an exception. Now that Rb has try-catch blocks, this is a reasonable approach. -------------- Charles Yeomans From yeomans at desuetude.com Sun Mar 14 22:15:05 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Mar 14 21:15:13 2004 Subject: V4Rb Client crash Message-ID: V4Rb client is crashing when I call VServer.DatabaseInfo(1). I have successfully connected, and there are no registered databases. VDatabaseCount returns 1, which I assumes refers to Master.vdb; is this mistake? -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Mar 15 09:11:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 01:11:55 2004 Subject: VServer.OpenSession In-Reply-To: Message-ID: On 3/15/04 4:44 AM, "Charles Yeomans" wrote: > I don't see how one decides whether VServer.OpenSession succeeded. > Perhaps this is one of those situations in which V4Rb might raise an > exception. Now that Rb has try-catch blocks, this is a reasonable > approach. Yes Charles! And we laready have play with exceptions in RB SDK. Works. And in 2.0 we will change error handling to exceptions in V4RB. This raise question although, how to not break code. I think that may be it is possible to have global option in V4RB UseDepricatedErrorHandling = false on default. So if developer port existed app He can set this option TRUE, and still use err codes. New apps should be developed with exceptions. May be it is possible to use both mechanizm in the same time -------- For now OpenSession error you can check from ANY Vdatabase object. Even dummy -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Mar 15 09:12:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 01:12:39 2004 Subject: V4Rb Client crash In-Reply-To: Message-ID: On 3/15/04 5:15 AM, "Charles Yeomans" wrote: > V4Rb client is crashing when I call VServer.DatabaseInfo(1). I have > successfully connected, and there are no registered databases. > VDatabaseCount returns 1, which I assumes refers to Master.vdb; is this > mistake? May be index counts from ZERO? try VServer.DatabaseInfo(0) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuckbo at hinkles.us Mon Mar 15 07:46:03 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Mon Mar 15 07:46:53 2004 Subject: Encryption Message-ID: <17866.134.163.253.126.1079358363.squirrel@66.98.172.70> I seem to be overlooking an important step to set up encryption. I'm using RB 5.5. I have a database that I've been using, and it's defined in the variable myDB. My method that creates the database works for: myDB.schemaversion = 1 myDB.creator = "TEST" rc = myDB.create(f,1,4*1024) but if I then add this next statement, the compile gives me an error. myDB.ChangeEncryption("","test") The error I get is "This method or property does not exist in App.OpenNewSet, line 25" But when I'm typing in the command, after I type myDB.C, the pulldown list of choices include ChangeEncryption, so it's recognized as valid by the IDE. I get the same error when I do a myDB.SetEncryption("test") in front of the command rc = myDB.open(f) chuck Chuck Hinkle [INTJ] "Perception is usually more persuasive than reality" From sunshine at public.kherson.ua Mon Mar 15 15:55:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 07:55:46 2004 Subject: Encryption In-Reply-To: <17866.134.163.253.126.1079358363.squirrel@66.98.172.70> Message-ID: On 3/15/04 3:46 PM, "chuck hinkle" wrote: > > I seem to be overlooking an important step to set up encryption. > I'm using RB 5.5. > > I have a database that I've been using, and it's defined in the variable > myDB. My method that creates the database works for: > > myDB.schemaversion = 1 > myDB.creator = "TEST" > rc = myDB.create(f,1,4*1024) > > but if I then add this next statement, the compile gives me an error. > myDB.ChangeEncryption("","test") > > The error I get is "This method or property does not exist in > App.OpenNewSet, line 25" > But when I'm typing in the command, after I type myDB.C, the pulldown list > of choices include ChangeEncryption, so it's recognized as valid by the > IDE. > > > I get the same error when I do a > myDB.SetEncryption("test") > in front of the command > rc = myDB.open(f) Hi Chuck, V4RB have example on encryption and you can look into __TEST project in V4RB archive. A lots of encryption tests here. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 15 11:14:28 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 15 10:14:39 2004 Subject: V4Rb Client crash In-Reply-To: References: Message-ID: On Mar 15, 2004, at 2:12 AM, Ruslan Zasukhin wrote: > On 3/15/04 5:15 AM, "Charles Yeomans" wrote: > >> V4Rb client is crashing when I call VServer.DatabaseInfo(1). I have >> successfully connected, and there are no registered databases. >> VDatabaseCount returns 1, which I assumes refers to Master.vdb; is >> this >> mistake? > > May be index counts from ZERO? > > try VServer.DatabaseInfo(0) > That causes a crash as well. Charles Yeomans From yeomans at desuetude.com Mon Mar 15 11:37:13 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 15 10:37:25 2004 Subject: V4Rb Client crash In-Reply-To: References: Message-ID: <036899EE-769F-11D8-9D91-003065BB0634@desuetude.com> On Mar 15, 2004, at 11:14 AM, Charles Yeomans wrote: > > On Mar 15, 2004, at 2:12 AM, Ruslan Zasukhin wrote: > >> On 3/15/04 5:15 AM, "Charles Yeomans" wrote: >> >>> V4Rb client is crashing when I call VServer.DatabaseInfo(1). I have >>> successfully connected, and there are no registered databases. >>> VDatabaseCount returns 1, which I assumes refers to Master.vdb; is >>> this >>> mistake? >> >> May be index counts from ZERO? >> >> try VServer.DatabaseInfo(0) >> > > That causes a crash as well. > Okay, I made the standard dumb mistake of forgetting to call ValentinaInit. Since there are convenience methods for adding and removing databases and users, should there be functions UserCount and User(index as Integer) as VUser? It appears that I can work directly with master.vdb, but perhaps consistency would be good. Charles Yeomans From sunshine at public.kherson.ua Mon Mar 15 19:00:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 11:01:44 2004 Subject: V4Rb Client crash In-Reply-To: <036899EE-769F-11D8-9D91-003065BB0634@desuetude.com> Message-ID: On 3/15/04 6:37 PM, "Charles Yeomans" wrote: > Since there are convenience methods for adding and removing databases > and users, should there be functions UserCount and User(index as > Integer) as VUser? It appears that I can work directly with > master.vdb, but perhaps consistency would be good. Yes, Jochen already have meet this lack. I also think that Igor should add such 2 methods to browse existed users. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuckbo at hinkles.us Mon Mar 15 11:54:11 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Mon Mar 15 11:54:22 2004 Subject: Encryption In-Reply-To: References: <17866.134.163.253.126.1079358363.squirrel@66.98.172.70> Message-ID: <20523.134.163.253.126.1079373251.squirrel@66.98.172.70> > On 3/15/04 3:46 PM, "chuck hinkle" wrote: > >> >> I seem to be overlooking an important step to set up encryption. >> I'm using RB 5.5. >> >> I have a database that I've been using, and it's defined in the variable >> myDB. My method that creates the database works for: >> >> myDB.schemaversion = 1 >> myDB.creator = "TEST" >> rc = myDB.create(f,1,4*1024) >> >> but if I then add this next statement, the compile gives me an error. >> myDB.ChangeEncryption("","test") >> >> The error I get is "This method or property does not exist in >> App.OpenNewSet, line 25" >> But when I'm typing in the command, after I type myDB.C, the pulldown >> list >> of choices include ChangeEncryption, so it's recognized as valid by the >> IDE. >> >> >> I get the same error when I do a >> myDB.SetEncryption("test") >> in front of the command >> rc = myDB.open(f) > > Hi Chuck, > > V4RB have example on encryption and > > you can look into __TEST project in V4RB archive. A lots of encryption > tests > here. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > Rusian, I found the examples in the documentation on Friday night, and that's what I used to figure out the two lines to copy into my program. I found the _TEST project that you refer to. That one compiles for me, but I still don't see any reason why it won't compile in my program. Are there other entries that need to be made anywhere that I might be overlooking? As I say, the methods are recognized when I'm typing the code in to the IDE, but the compile says that it doesn't recognize the methods. I'll keep looking at these two lines. chuck From chuckbo at hinkles.us Mon Mar 15 12:03:45 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Mon Mar 15 12:03:49 2004 Subject: Encryption In-Reply-To: <20523.134.163.253.126.1079373251.squirrel@66.98.172.70> References: <17866.134.163.253.126.1079358363.squirrel@66.98.172.70> <20523.134.163.253.126.1079373251.squirrel@66.98.172.70> Message-ID: <56623.134.163.253.126.1079373825.squirrel@66.98.172.70> Another thing I meant to include in this note: my methods for creating and opening databases are in the App module. I wouldn't have expected that to matter, but it's different from what _TESTs does. chuck > > Rusian, > I found the examples in the documentation on Friday night, and that's what > I used to figure out the two lines to copy into my program. I found the > _TEST project that you refer to. That one compiles for me, but I still > don't see any reason why it won't compile in my program. > > Are there other entries that need to be made anywhere that I might be > overlooking? As I say, the methods are recognized when I'm typing the code > in to the IDE, but the compile says that it doesn't recognize the methods. > > I'll keep looking at these two lines. > chuck > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > Chuck Hinkle [INTJ] "Perception is usually more persuasive than reality" From sunshine at public.kherson.ua Mon Mar 15 20:03:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 12:04:09 2004 Subject: Encryption In-Reply-To: <20523.134.163.253.126.1079373251.squirrel@66.98.172.70> Message-ID: On 3/15/04 7:54 PM, "chuck hinkle" wrote: >>> I seem to be overlooking an important step to set up encryption. >>> I'm using RB 5.5. >>> >>> I have a database that I've been using, and it's defined in the variable >>> myDB. My method that creates the database works for: >>> >>> myDB.schemaversion = 1 >>> myDB.creator = "TEST" >>> rc = myDB.create(f,1,4*1024) >>> >>> but if I then add this next statement, the compile gives me an error. >>> myDB.ChangeEncryption("","test") >>> >>> The error I get is "This method or property does not exist in >>> App.OpenNewSet, line 25" >>> But when I'm typing in the command, after I type myDB.C, the pulldown >>> list >>> of choices include ChangeEncryption, so it's recognized as valid by the >>> IDE. >>> >>> >>> I get the same error when I do a >>> myDB.SetEncryption("test") >>> in front of the command >>> rc = myDB.open(f) >> >> Hi Chuck, >> >> V4RB have example on encryption and >> >> you can look into __TEST project in V4RB archive. A lots of encryption >> tests >> here. >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] >> > > > > Rusian, > I found the examples in the documentation on Friday night, and that's what > I used to figure out the two lines to copy into my program. I found the > _TEST project that you refer to. That one compiles for me, but I still > don't see any reason why it won't compile in my program. > > Are there other entries that need to be made anywhere that I might be > overlooking? As I say, the methods are recognized when I'm typing the code > in to the IDE, but the compile says that it doesn't recognize the methods. > > I'll keep looking at these two lines. May be you have 2 V4RB plguins? REALbasic start glitches if it have 2 plugins. Also. I do not see myDB = new Vdatabase call -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuckbo at hinkles.us Mon Mar 15 12:24:23 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Mon Mar 15 12:24:27 2004 Subject: Encryption In-Reply-To: References: <20523.134.163.253.126.1079373251.squirrel@66.98.172.70> Message-ID: <16379.134.163.253.126.1079375063.squirrel@66.98.172.70> > > May be you have 2 V4RB plguins? > REALbasic start glitches if it have 2 plugins. > > Also. > > I do not see myDB = new Vdatabase > call > Good suggestion, but no, there is only one V4RB plugin. The problem is not with the Encryption. I just tried adding a myDB.CreateBaseObject("temp") command, and it has the same error. But my line myDB.Creator = "temp" compiles fine. Here is the entire routine that I'm testing with to build the database. dim f as folderitem dim rc as boolean myDB = new TransDB f = getsavefolderitem("DB","TestDB") myDB.schemaversion = 1 myDB.Creator = "Temp" if f <> nil then rc = myDB.create(f,1,4*1024) myDB.ChangeEncryption("","test") ... and then I call routines to populate the tables. TransDB is defined as a Class of type VDataBase. chuck From sunshine at public.kherson.ua Mon Mar 15 20:29:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 15 12:29:35 2004 Subject: Encryption In-Reply-To: <16379.134.163.253.126.1079375063.squirrel@66.98.172.70> Message-ID: On 3/15/04 8:24 PM, "chuck hinkle" wrote: > Good suggestion, but no, there is only one V4RB plugin. > > The problem is not with the Encryption. I just tried adding a > myDB.CreateBaseObject("temp") > command, and it has the same error. But my line > myDB.Creator = "temp" > compiles fine. > > > Here is the entire routine that I'm testing with to build the database. > > dim f as folderitem > dim rc as boolean > > myDB = new TransDB > f = getsavefolderitem("DB","TestDB") > myDB.schemaversion = 1 > myDB.Creator = "Temp" > > if f <> nil then rc = myDB.create(f,1,4*1024) > myDB.ChangeEncryption("","test") > ... and then I call routines to populate the tables. > > TransDB is defined as a Class of type VDataBase. It very looks your project have some problems somewhere. Try create new empty project and add one function with few lines of code. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuckbo at hinkles.us Mon Mar 15 17:10:02 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Mon Mar 15 17:10:14 2004 Subject: Encryption In-Reply-To: Message-ID: > It very looks your project have some problems somewhere. > > Try create new empty project and add one function with few lines of code. I deleted everything out and still got the error -- kept beating myself in the head 'til I noticed that I had an extra character in the database variable name. And, of course, since I knew what it was supposed to say, that's what I saw in its place. || Chuck Hinkle [INTJ] || chuckbo@hinkles.us || || || "Perception is usually more persuasive than reality." From katy at ociwen.com Tue Mar 16 12:24:47 2004 From: katy at ociwen.com (kuzemsky katy) Date: Tue Mar 16 05:25:42 2004 Subject: language in database Message-ID: <88824A01-773C-11D8-8CC3-003065CBA2B2@ociwen.com> Hi all, Vapp I can't set certains language to varchar field. For example, If I choose Greek in the menu, when I click on "create", the language change to ascii. It the same thing with portuguese and some other languages. How can I have these languages? Best regards, Katy KUZEMSKY From sunshine at public.kherson.ua Tue Mar 16 16:22:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 08:22:18 2004 Subject: language in database In-Reply-To: <88824A01-773C-11D8-8CC3-003065CBA2B2@ociwen.com> Message-ID: On 3/16/04 1:24 PM, "kuzemsky katy" wrote: > Hi all, > > Vapp > > > I can't set certains language to varchar field. > > For example, If I choose Greek in the menu, when I click on "create", > the language change to ascii. It the same thing with portuguese and > some other languages. This means that on your computer there is no Greek script. > How can I have these languages? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 16 17:18:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 09:18:15 2004 Subject: Why doesn't this query work? In-Reply-To: Message-ID: On 3/16/04 4:18 PM, "Peter De Berdt" wrote: > Hi Ruslan, > > SELECT Modules.MODULE,ModuleEntries.DESCRIPTION,RecID FROM > ModuleEntries,Modules WHERE (Modules.MODULE LIKE 'multi-' no_case) OR > (Modules.TEXT LIKE 'multi-' no_case) OR (ModuleEntries.DESCRIPTION > LIKE 'multi-' no_case) OR (ModuleEntries.TEXT LIKE 'multi-' no_case) > > It should bring up 50 records, but an empty cursor is returned. > Searching for the word "Agenda" should bring up 40 records, but only returns > 6. > > Doesn't the OR or LIKE statement work across related tables? Hi Peter, OR not works on fields from related tables. Guys, please keep in mind such type of query is not such fast as join on AND. So may be consider changing of your db structure. Use OR on related fields very rare. Peter, you can get the same functionality using SELECT FRON T1 WHERE T1.id in (SELET t1_ptr FROM T2 WHERE ... ) AND ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Tue Mar 16 16:36:00 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Mar 16 09:44:53 2004 Subject: language in database In-Reply-To: References: Message-ID: > > I can't set certains language to varchar field. >> >> For example, If I choose Greek in the menu, when I click on "create", >> the language change to ascii. It the same thing with portuguese and >> some other languages. > >This means that on your computer there is no Greek script. > But this can't be right, Ruslan. IMHO, I must be able to set a language of a field even if I do not have apropriate script (my client does or I have it on another computer). The content should display in ascii if I decide to view it without the proper script, but the language setting should stick. If the language does not stick, what happens if I have greek script and create a greek field, then I pass the db to a client who opens it on a computer without greek script, realizes the mistake, then copies to another computer. Will it then show in greek or did opening it on a computer without greek removed the language setting and the database is so-do-speak damaged? Robert From francesco.cosoleto at libero.it Tue Mar 16 17:10:43 2004 From: francesco.cosoleto at libero.it (Francesco Cosoleto) Date: Tue Mar 16 10:11:51 2004 Subject: Format version problem Message-ID: <00a601c40b71$3ee93f60$b43b1a97@Francesco> Hi, I am a university student testing Valentina by C SDK for WindowxXP. It is good software but I don't succeed in using with my important Valentina databases, I think that not fully support older format. There are errors in reading tables, the names matching 10 times of 12 ("January", "February" change into "user_data-> main %p," "p`@"), but above all not read none varchar fields correctly. I have searched for solution everywhere. Experimented problems with the ODBC Import/Export Utility because of a bug in GUI. Please, does a older version of C SDK exist or a knowledge to read strings of variable lenght? Databases work correctly with V4MD.x32 Ver. 1.8.5.0. Tested with GNU C Compiler and Borland C++. A example VDB: http//cosoleto.free.fr/1992.vdb -- Francesco Cosoleto From sunshine at public.kherson.ua Tue Mar 16 18:24:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 10:24:20 2004 Subject: Format version problem In-Reply-To: <00a601c40b71$3ee93f60$b43b1a97@Francesco> Message-ID: On 3/16/04 6:10 PM, "Francesco Cosoleto" wrote: Hi Francesco, > I am a university student testing Valentina by C SDK for WindowxXP. It is > good software but I don't succeed in using with my important Valentina > databases, I think that not fully support older format. > > There are errors in reading tables, the names matching 10 times of 12 > ("January", "February" change into "user_data-> main %p," "p`@"), but above > all not read none varchar fields correctly. > > I have searched for solution everywhere. Experimented problems with the ODBC > Import/Export Utility because of a bug in GUI. > > Please, does a older version of C SDK exist or a knowledge to read strings > of variable lenght? > > Databases work correctly with V4MD.x32 Ver. 1.8.5.0. > Tested with GNU C Compiler and Borland C++. > A example VDB: http//cosoleto.free.fr/1992.vdb Well, lets step by step 1) so do you use V4MD (Macromedia Director) or you use C SDK? or both? 2) or you have work in the past with V4MD 1.8.5 and now you have try to use C SDK of 1.10 ? ----- Do you mean that you get from C SDK some string of VarChar. And LATER it change value? This is "feature" of C SDK. And I think this is mentioned in the docs. You must COPY returned string into YOUR OWN buffer. Because Valentina C SDK usese internal ONE buffer for strings which it returns. On the next call that return a string, this buffer will be reused. You see? You must not just store pointers to string. COPY returned string into own buffer. Yes, this is non standard way for C libraries. I have made experiment :-) Still not sure if it is good. May be in Valentina 2.0 we will redo this in some other way. C language do not have good ways to handle strings... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 16 18:25:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 10:25:47 2004 Subject: language in database In-Reply-To: Message-ID: On 3/16/04 5:36 PM, "Robert Brenstein" wrote: >>> I can't set certains language to varchar field. >>> >>> For example, If I choose Greek in the menu, when I click on "create", >>> the language change to ascii. It the same thing with portuguese and >>> some other languages. >> >> This means that on your computer there is no Greek script. >> > > But this can't be right, Ruslan. IMHO, I must be able to set a > language of a field even if I do not have apropriate script (my > client does or I have it on another computer). The content should > display in ascii if I decide to view it without the proper script, > but the language setting should stick. > > If the language does not stick, what happens if I have greek script > and create a greek field, then I pass the db to a client who opens it > on a computer without greek script, realizes the mistake, then copies > to another computer. Will it then show in greek or did opening it on > a computer without greek removed the language setting and the > database is so-do-speak damaged? Will be bad case, Robert, Valentina 1.x will loose info about Greek. In any case in 2.0 this will changes, because Valentina will not use system resources and will use ICU instead. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fionacosgrove at yahoo.co.uk Tue Mar 16 16:58:26 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Tue Mar 16 10:58:33 2004 Subject: table aliases Message-ID: <20040316165826.46456.qmail@web25103.mail.ukl.yahoo.com> Does valentina support table aliases? Would the following sql work within valentina: "select wstr_id, wstr_number, wstr_title from wstr, wwri as ai, wwrd as a where( wstr_id = ai.wwri_wstr_id ) and (ai.wwri_wwrd_id = a.wwrd_id ) and (a.wwrd_word = 'biology' ) order by wstr_number" 'Wwri as ai' being one of the aliases. I need to do a text search and without tables aliases its going to be impossible. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From yeomans at desuetude.com Tue Mar 16 12:07:41 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Mar 16 11:07:47 2004 Subject: [V4Rb Client] VField.SetMethod crash Message-ID: <6F0C24EC-776C-11D8-8EBB-003065BB0634@desuetude.com> My V4Rb Client code is crashing when I call VField.SetMethod. Here's the offending code: me.pKey = new VULong("accounts_key", kV_Unique) me.pKey.SetMethod("recID") and below is (some of) the crash log. -------------- Charles Yeomans Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 Plugin 0x004a81e4 0x47c000 + 0x2c1e4 1 Plugin 0x004aa6f0 0x47c000 + 0x2e6f0 2 Plugin 0x0048b5d4 Field_SetMethod__FP16REALobjectStructP16REALstringStruct + 0x74 3 main 0x010ec0cc boAccounts.Constructor%%o + 0x3e0 4 main 0x01018d90 cDatabase.Constructor%%osss + 0x244 5 main 0x0105cfe8 DatabaseClass.Constructor%%osss + 0x14c 6 main 0x0100d77c App.DBConnect%%o + 0xa54 7 main 0x01018124 App.FileConnectToDB_Action%b%o + 0x6c 8 HXRuntime 0x013d566c 0x132b130 + 0xaa53c 9 HXRuntime 0x013c24a4 0x132b130 + 0x97374 10 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + 0x150 11 com.apple.HIToolbox 0x927d25f8 SendEventToEventTargetInternal + 0x174 12 com.apple.HIToolbox 0x927e4a88 SendEventToEventTarget + 0x28 13 com.apple.HIToolbox 0x927f9b3c SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 0x170 14 com.apple.HIToolbox 0x92891d60 SendMenuItemSelectedEvent + 0x88 15 com.apple.HIToolbox 0x9289394c FinishMenuSelection(MenuData*, MenuResult*, MenuResult*, unsigned long, unsigned long, unsigned long) + 0x80 16 com.apple.HIToolbox 0x9285dc88 MenuSelectCore(Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 0x164 17 com.apple.HIToolbox 0x928840b8 MenuSelect + 0x60 18 HXRuntime 0x013c2fb8 0x132b130 + 0x97e88 19 HXRuntime 0x013c2ce8 0x132b130 + 0x97bb8 20 HXRuntime 0x013c1128 0x132b130 + 0x95ff8 21 HXRuntime 0x013c1384 0x132b130 + 0x96254 22 HXRuntime 0x013be030 0x132b130 + 0x92f00 23 main 0x012da194 Main + 0xa4 24 main 0x01008098 % main + 0x18 25 ...ple.CoreServices.CarbonCore 0x902d9eb8 CCFM_LaunchApplication + 0x1e8 26 Quantum Meruit.debug 0x00008840 main + 0x168 27 Quantum Meruit.debug 0x00008408 _start + 0x188 28 Quantum Meruit.debug 0x0000827c start + 0x30 Thread 1: 0 libSystem.B.dylib 0x9001a5ac syscall + 0xc 1 ...ple.CoreServices.OSServices 0x9061f3fc BSD_waitevent + 0x2c 2 ...ple.CoreServices.OSServices 0x9061bdf0 CarbonSelectThreadFunc + 0xb0 3 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28 Thread 2: 0 libSystem.B.dylib 0x90017048 semaphore_wait_signal_trap + 0x8 1 libSystem.B.dylib 0x9000e890 _pthread_cond_wait + 0x270 2 ...ple.CoreServices.OSServices 0x90626630 CarbonOperationThreadFunc + 0x50 3 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28 From sunshine at public.kherson.ua Tue Mar 16 19:08:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 11:09:04 2004 Subject: table aliases In-Reply-To: <20040316165826.46456.qmail@web25103.mail.ukl.yahoo.com> Message-ID: On 3/16/04 6:58 PM, "fiona cosgrove" wrote: > Does valentina support table aliases? yes > Would the following sql work within valentina: > > > "select wstr_id, wstr_number, wstr_title from wstr, > wwri as ai, wwrd as a where( wstr_id = ai.wwri_wstr_id > ) and (ai.wwri_wwrd_id = a.wwrd_id ) and (a.wwrd_word > = 'biology' ) order by wstr_number" > > 'Wwri as ai' being one of the aliases. Must work > I need to do a text search and without tables aliases > its going to be impossible. Hmm, actually aliases are MUST TO HAVE feature only when you do self-recursion table. In your above example, as far as I see it is possible work without aliases. Right? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fionacosgrove at yahoo.co.uk Tue Mar 16 17:32:41 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Tue Mar 16 11:32:47 2004 Subject: table aliases In-Reply-To: Message-ID: <20040316173241.11321.qmail@web25110.mail.ukl.yahoo.com> how does valentina use aliases? The previous example I dont necessarily need them but im sure my other sql string requires it: select wstr_id, wstr_number, wstr_title, (ai.wwri_count)/ length(wstf_fulltext)*1000 as wstr_score from wstr, wwri as ai, wwrd as a, wstf where (wstr_id = ai.wwri_wstr_id) and (ai.wwri_wwrd_id = a.wwrd_id) and wstf_wstr_id = wstr_id and (a.wwrd_word = 'biology' ) order by wstr_score desc" do you now how would I write this for valentina? Thank you for your help Fiona --- Ruslan Zasukhin wrote: > On 3/16/04 6:58 PM, "fiona cosgrove" > wrote: > > > Does valentina support table aliases? > > yes > > > Would the following sql work within valentina: > > > > > > "select wstr_id, wstr_number, wstr_title from > wstr, > > wwri as ai, wwrd as a where( wstr_id = > ai.wwri_wstr_id > > ) and (ai.wwri_wwrd_id = a.wwrd_id ) and > (a.wwrd_word > > = 'biology' ) order by wstr_number" > > > > 'Wwri as ai' being one of the aliases. > > Must work > > > I need to do a text search and without tables > aliases > > its going to be impossible. > > Hmm, actually aliases are MUST TO HAVE feature only > when you do > self-recursion table. > > In your above example, as far as I see it is > possible work without aliases. > Right? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From frank-list2 at mindstarprods.com Tue Mar 16 12:52:16 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Tue Mar 16 11:52:33 2004 Subject: table aliases In-Reply-To: References: Message-ID: Hi all, On Mar 16, 2004, at 12:08 PM, Ruslan Zasukhin wrote: > On 3/16/04 6:58 PM, "fiona cosgrove" wrote: > >> Does valentina support table aliases? > > yes > >> Would the following sql work within valentina: >> >> >> "select wstr_id, wstr_number, wstr_title from wstr, >> wwri as ai, wwrd as a where( wstr_id = ai.wwri_wstr_id >> ) and (ai.wwri_wwrd_id = a.wwrd_id ) and (a.wwrd_word >> = 'biology' ) order by wstr_number" >> >> 'Wwri as ai' being one of the aliases. > > Must work You have to remove the word "as". Just use a space between the table and the alias. Best regards, Frank From sunshine at public.kherson.ua Tue Mar 16 20:35:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 12:35:30 2004 Subject: [V4Rb Client] VField.SetMethod crash In-Reply-To: <6F0C24EC-776C-11D8-8EBB-003065BB0634@desuetude.com> Message-ID: On 3/16/04 7:07 PM, "Charles Yeomans" wrote: Igor, Please check such syntax in the Client. Igor, Db was not opened yet! We just create db objects yet. > My V4Rb Client code is crashing when I call VField.SetMethod. Here's > the offending code: > > me.pKey = new VULong("accounts_key", kV_Unique) > me.pKey.SetMethod("recID") > > and below is (some of) the crash log. > > -------------- > Charles Yeomans > > Exception: EXC_BAD_ACCESS (0x0001) > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 > > Thread 0 Crashed: > 0 Plugin 0x004a81e4 0x47c000 + 0x2c1e4 > 1 Plugin 0x004aa6f0 0x47c000 + 0x2e6f0 > 2 Plugin 0x0048b5d4 > Field_SetMethod__FP16REALobjectStructP16REALstringStruct + 0x74 > 3 main 0x010ec0cc > boAccounts.Constructor%%o + 0x3e0 > 4 main 0x01018d90 > cDatabase.Constructor%%osss + 0x244 > 5 main 0x0105cfe8 > DatabaseClass.Constructor%%osss + 0x14c > 6 main 0x0100d77c App.DBConnect%%o + > 0xa54 > 7 main 0x01018124 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 16 20:40:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 16 12:40:53 2004 Subject: table aliases In-Reply-To: <20040316173241.11321.qmail@web25110.mail.ukl.yahoo.com> Message-ID: On 3/16/04 7:32 PM, "fiona cosgrove" wrote: Hi Fiona, > how does valentina use aliases? The previous example I > dont necessarily need them but im sure my other sql > string requires it: > > select wstr_id, wstr_number, wstr_title, > (ai.wwri_count)/ length(wstf_fulltext)*1000 as > wstr_score from wstr, wwri as ai, wwrd as a, wstf > where (wstr_id = ai.wwri_wstr_id) and (ai.wwri_wwrd_id > = a.wwrd_id) and wstf_wstr_id = wstr_id and > (a.wwrd_word = 'biology' ) order by wstr_score desc" > > do you now how would I write this for valentina? Valentina 1.x support Table aliases. But not field aliases. Valentina 2.0 will field aliases also. Your above example must be made in this way 1) you need make virtual field "wstr_score" (BaseObject method) with formula wwri_count / length( wstf_fulltext ) * 1000 NOTE: fields must be from the same table 2) now you can do query select wstr_id, wstr_number, wstr_title, wstr_score FROM .. WHERE ... ORDER BY wstr_score -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Mar 17 11:39:41 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 17 03:40:25 2004 Subject: [V4Rb Client] VField.SetMethod crash References: Message-ID: <002801c40c03$d710bc90$781026c3@giv> Hi Ruslan, Hi Charles, > Igor, > > Please check such syntax in the Client. > > Igor, Db was not opened yet! > We just create db objects yet. Bug fixed. -- 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 fionacosgrove at yahoo.co.uk Wed Mar 17 14:28:29 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Wed Mar 17 08:28:34 2004 Subject: table aliases In-Reply-To: Message-ID: <20040317142829.71114.qmail@web25105.mail.ukl.yahoo.com> Hi Ruslan Thank you for your advice. My boss tested my sql string on his V4Md but we kept getting a syntax error (604) when we used the "order by" keyword. is it case specific?? Why would the order by statement case an error? Here is my string at the moment: 'select wstr_number, wstr_title from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' order by ai_count' any suggestions you have i would appriciate. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From sunshine at public.kherson.ua Wed Mar 17 16:40:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 08:40:53 2004 Subject: table aliases In-Reply-To: <20040317142829.71114.qmail@web25105.mail.ukl.yahoo.com> Message-ID: On 3/17/04 4:28 PM, "fiona cosgrove" wrote: > Hi Ruslan > > Thank you for your advice. > > My boss tested my sql string on his V4Md but we kept > getting a syntax error (604) when we used the "order > by" keyword. is it case specific?? No of course. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 17 16:42:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 08:42:06 2004 Subject: table aliases In-Reply-To: <20040317142829.71114.qmail@web25105.mail.ukl.yahoo.com> Message-ID: On 3/17/04 4:28 PM, "fiona cosgrove" wrote: Hi Fiona. > Thank you for your advice. > > My boss tested my sql string on his V4Md but we kept > getting a syntax error (604) when we used the "order > by" keyword. is it case specific?? > > Why would the order by statement case an error? > Here is my string at the moment: > > 'select wstr_number, wstr_title from wstr, ai, aw > where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and > aw_word = 'biology' order by ai_count' select wstr_number, wstr_title from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' order by ai_count' But you have not SELECT field by which you do ORDER BY. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fci at europa.com Wed Mar 17 07:25:43 2004 From: fci at europa.com (Lynn Fredricks) Date: Wed Mar 17 09:26:06 2004 Subject: Anyone Using VXCMD with SuperCard 4 on OS X? In-Reply-To: Message-ID: <009c01c40c34$233735b0$0100000a@LYNNP42G> Howdy all, We've never gotten any feedback from S.E. on compatibility testing, so I'd like to ask any users if they have been successfully using VXCMD with the latest version of SuperCard. Success? Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From fionacosgrove at yahoo.co.uk Wed Mar 17 15:32:14 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Wed Mar 17 09:32:21 2004 Subject: table aliases In-Reply-To: Message-ID: <20040317153214.45228.qmail@web25101.mail.ukl.yahoo.com> Hi Ruslan that was silly of me, I made a typo in my email. The field which I am ordering by is now in the SELECT statement. Unfortunalty I am still getting a 604 syntax error. This is the sql: 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' order by ai_count' However if I take out the ORDER BY the string works: 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology'' I dont understand why this is happening. I am using the sql within director with the v4md xtra. However, Both SQL strings work perfectly if I test it in ViSql carbon instead of director. Could the error possibly be to do with the V4MD xtra? We are using the demo version to see if it works with our system before we decide to buy it. Is it maybe the demo version? Thanks again. > select wstr_number, wstr_title > from wstr, ai, aw > where > ai_wstr_id = wstr_id and ai_wwrd_id = aw_id > and aw_word = 'biology' > order by ai_count' > > > But you have not SELECT field by which you do ORDER > BY. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From sunshine at public.kherson.ua Wed Mar 17 17:43:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 09:44:06 2004 Subject: table aliases In-Reply-To: <20040317153214.45228.qmail@web25101.mail.ukl.yahoo.com> Message-ID: On 3/17/04 5:32 PM, "fiona cosgrove" wrote: > Hi Ruslan > > that was silly of me, I made a typo in my email. The > field which I am ordering by is now in the SELECT > statement. Unfortunalty I am still getting a 604 > syntax error. This is the sql: > > 'select wstr_id, wstr_title, ai_count > from wstr, ai, aw > where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and > aw_word = 'biology' order by ai_count' > > > > However if I take out the ORDER BY the string works: > > 'select wstr_id, wstr_title, ai_count > from wstr, ai, aw > where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and > aw_word = 'biology'' > > I dont understand why this is happening. I am using > the sql within director with the v4md xtra. > > However, Both SQL strings work perfectly if I test it > in ViSql carbon instead of director. > > Could the error possibly be to do with the V4MD xtra? > > We are using the demo version to see if it works with > our system before we decide to buy it. Is it maybe the > demo version? No, this is NOT demo version. And NO, this is NOT V4MD problem. Hmm, May be you write something wrong in code? Show me how you do query please. Do you have small Director project and db which you can send to me for test? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fionacosgrove at yahoo.co.uk Wed Mar 17 15:57:03 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Wed Mar 17 09:57:09 2004 Subject: table aliases In-Reply-To: Message-ID: <20040317155703.66892.qmail@web25102.mail.ukl.yahoo.com> Thanks Ruslan, here is my code that calls the cursor. I have included two versions, the first has the ORDER By within it and the second does not. The second one works. ------------- 1) code with ORDER By in the sql string ------------ set gDatabase = new(xtra "vdatabase") DatabasePath = string(the moviepath & fulltext.vdb") openDatabase(gDatabase, dbpath) kReadWrite = 3 kserver = 2 sqlstringS = string(" 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' order by ai_count' ") set gCursorRelevance = new(xtra "vCursor", getRef(gSrchDb), sqlstring, Kserver, kreadWrite) ---------------- 2) code Without the ORDER BY in the sql string, this works ---------------- set gDatabase = new(xtra "vdatabase") DatabasePath = string(the moviepath & fulltext.vdb") openDatabase(gDatabase, dbpath) kReadWrite = 3 kserver = 2 sqlstringS = string(" 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' '") set gCursorRelevance = new(xtra "vCursor", getRef(gSrchDb), sqlstring, Kserver, kreadWrite) ------------ The error always happens when Ive included the ORDER BY at the end of the string. -- Fiona --- Ruslan Zasukhin wrote: > On 3/17/04 5:32 PM, > No, this is NOT demo version. > And NO, this is NOT V4MD problem. > > Hmm, > > May be you write something wrong in code? > Show me how you do query please. > > Do you have small Director project and db which you > can send to me for test? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From fionacosgrove at yahoo.co.uk Wed Mar 17 16:01:30 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Wed Mar 17 10:01:36 2004 Subject: table aliases In-Reply-To: <20040317155703.66892.qmail@web25102.mail.ukl.yahoo.com> Message-ID: <20040317160130.99011.qmail@web25104.mail.ukl.yahoo.com> oops sorry , did aother typo in my email this is what i shpuld have wrote!! This is my code : (and the error is still happeneing) ------------- 1) code with ORDER By in the sql string ------------ set gDatabase = new(xtra "vdatabase") DatabasePath = string(the moviepath & fulltext.vdb") openDatabase(gDatabase, DatabasePath) kReadWrite = 3 kserver = 2 sqlstringS = string(" 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' order by ai_count' ") set gCursorRelevance = new(xtra "vCursor", getRef(gSrchDb), sqlstring, Kserver, kreadWrite) ---------------- 2) code Without the ORDER BY in the sql string, this works ---------------- set gDatabase = new(xtra "vdatabase") DatabasePath = string(the moviepath & fulltext.vdb") openDatabase(gDatabase, DatabasePath) kReadWrite = 3 kserver = 2 sqlstringS = string(" 'select wstr_id, wstr_title, ai_count from wstr, ai, aw where ai_wstr_id = wstr_id and ai_wwrd_id = aw_id and aw_word = 'biology' '") set gCursorRelevance = new(xtra "vCursor", getRef(gSrchDb), sqlstring, Kserver, kreadWrite) ------------ The error always happens when Ive included the ORDER BY at the end of the string. -- Fiona ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From sunshine at public.kherson.ua Wed Mar 17 18:14:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 10:14:48 2004 Subject: table aliases In-Reply-To: <20040317160130.99011.qmail@web25104.mail.ukl.yahoo.com> Message-ID: On 3/17/04 6:01 PM, "fiona cosgrove" wrote: > oops sorry , did aother typo in my email this is what > i shpuld have wrote!! This is my code : (and the error > is still happeneing) > > > ------------- > 1) code with ORDER By in the sql string > ------------ > set gDatabase = new(xtra "vdatabase") > > DatabasePath = string(the moviepath & > fulltext.vdb") > > > openDatabase(gDatabase, DatabasePath) > > kReadWrite = 3 > kserver = 2 > > > sqlstringS = string(" 'select wstr_id, wstr_title, > ai_count from wstr, ai, aw where ai_wstr_id = > wstr_id > and ai_wwrd_id = aw_id and aw_word = 'biology' order > by ai_count' ") > > > set gCursorRelevance = new(xtra "vCursor", > getRef(gSrchDb), sqlstring, Kserver, kreadWrite) > > ---------------- > 2) code Without the ORDER BY in the sql string, this > works > ---------------- > set gDatabase = new(xtra "vdatabase") > > DatabasePath = string(the moviepath & > fulltext.vdb") > > > openDatabase(gDatabase, DatabasePath) > > kReadWrite = 3 > kserver = 2 > > sqlstringS = string(" 'select wstr_id, wstr_title, > ai_count from wstr, ai, aw where ai_wstr_id = > wstr_id > and ai_wwrd_id = aw_id and aw_word = 'biology' '") > > > set gCursorRelevance = new(xtra "vCursor", > getRef(gSrchDb), sqlstring, Kserver, kreadWrite) > > ------------ > The error always happens when Ive included the ORDER > BY at the end of the string. I do not see mistakes. Please send something to me for testing. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Wed Mar 17 11:32:54 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Wed Mar 17 10:33:03 2004 Subject: table aliases In-Reply-To: <20040317160130.99011.qmail@web25104.mail.ukl.yahoo.com> References: <20040317160130.99011.qmail@web25104.mail.ukl.yahoo.com> Message-ID: On Mar 17, 2004, at 11:01 AM, fiona cosgrove wrote: > ------------- > 1) code with ORDER By in the sql string > ------------ > sqlstringS = string(" 'select wstr_id, wstr_title, > ai_count from wstr, ai, aw where ai_wstr_id = > wstr_id > and ai_wwrd_id = aw_id and aw_word = 'biology' order > by ai_count' ") > ---------------- > 2) code Without the ORDER BY in the sql string, this > works > ---------------- > sqlstringS = string(" 'select wstr_id, wstr_title, > ai_count from wstr, ai, aw where ai_wstr_id = > wstr_id > and ai_wwrd_id = aw_id and aw_word = 'biology' '") I think you many have too many quotes. You seem to enclose your SQL String with single quotes inside the string. Remove the single quotes surrounding the SQL statement and try it. -Frank From fionacosgrove at yahoo.co.uk Wed Mar 17 16:49:00 2004 From: fionacosgrove at yahoo.co.uk (=?iso-8859-1?q?fiona=20cosgrove?=) Date: Wed Mar 17 10:49:09 2004 Subject: table aliases In-Reply-To: Message-ID: <20040317164900.74268.qmail@web25101.mail.ukl.yahoo.com> Brilliant, thanks Frank. The single quotes were causing all the problems so I took them out and all the strings work. I do feel rather the fool ! :) Thank you Frank, & Ruslan Fiona --- Frank Schima wrote: > > On Mar 17, 2004, at 11:01 AM, fiona cosgrove wrote: > > > ------------- > > 1) code with ORDER By in the sql string > > ------------ > > > sqlstringS = string(" 'select wstr_id, > wstr_title, > > ai_count from wstr, ai, aw where ai_wstr_id = > > wstr_id > > and ai_wwrd_id = aw_id and aw_word = 'biology' > order > > by ai_count' ") > > > ---------------- > > 2) code Without the ORDER BY in the sql string, > this > > works > > ---------------- > > > sqlstringS = string(" 'select wstr_id, > wstr_title, > > ai_count from wstr, ai, aw where ai_wstr_id = > > wstr_id > > and ai_wwrd_id = aw_id and aw_word = 'biology' > '") > > I think you many have too many quotes. You seem to > enclose your SQL > String with single quotes inside the string. Remove > the single quotes > surrounding the SQL statement and try it. > > > -Frank > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html From sunshine at public.kherson.ua Wed Mar 17 22:45:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 14:45:54 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: On 3/17/04 10:37 PM, "juergen.schreck@innernine.com" wrote: > Name: Juergen Schreck > > Question regarding: v4rb Hi Jurgen, > Why is it necessary to explicitly request the recid when SELECTing records > from a table? In order to fetch related records in the future, one might need > to know the recid. But it can't be extracted from a cursor. > > e.g. I can do this: > > SELECT recid, name FROM categories > > This will give me the recid for future use, but > > SELECT * FROM categories > > does not return the recid and, like I said the cursor won't provide access to > it (probably as a result of it not being in the set) > > Doesn't the * syntax suggest that I want ALL columns? But you self have not create RecID field, right? :-) So why you expect to see NOT YOUR field by SELECT * ? This will be not logical. This is why we 1) follow to standard. SELECT * returns only YOUR fields. 2) but we still able to have own hidden fields in table and SELECT them by name. 3) if you lazy to write RecID each time, you can use another Valentina extention: SELECT ** FROM T This select YOUR normal fields, and BaseObject methods (calculated fields). Hmm, I not sure now if this also selects RecID. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 17 23:17:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 15:17:11 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: On 3/17/04 11:10 PM, "Juergen Schreck" wrote: >> 3) if you lazy to write RecID each time, you can use >> another Valentina extention: >> >> SELECT ** FROM T >> >> This select YOUR normal fields, and BaseObject methods (calculated fields). >> Hmm, I not sure now if this also selects RecID. > > For your enlightment, (and mine as well) - it does :-) > > What really got me confused and almost made me go back to the RDB model was > inconsistency in Valentina documentation. In the tutorial on page 20 it > says: > > SELECT * > FROM Person, Task > WHERE person.id = task.person_ptr AND byte_fld < 10 AND status = 1 > ORDER BY string_fld DESC > > But person doesn't have and ID field. This should be RecID. Took me a while > to figure out. Why you think that Person do not have ID field??? Valentina give you 2 ways: 1) RDB way then you MUST manually make ID field, and then person_ptr will be NOT ObjectPTr 2) ObjectPtr way then you use RecID and person_ptr you make as ObjectPtr field It looks that on page 20, example show query for RDB way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Wed Mar 17 14:20:30 2004 From: delong at redcort.com (Keith DeLong) Date: Wed Mar 17 16:36:35 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: > On 3/17/04 10:37 PM, "juergen.schreck@innernine.com" > wrote: > >> Name: Juergen Schreck >> >> Question regarding: v4rb > > Hi Jurgen, > >> Why is it necessary to explicitly request the recid when SELECTing records >> from a table? In order to fetch related records in the future, one might need >> to know the recid. But it can't be extracted from a cursor. >> >> e.g. I can do this: >> >> SELECT recid, name FROM categories >> >> This will give me the recid for future use, but >> >> SELECT * FROM categories >> >> does not return the recid and, like I said the cursor won't provide access to >> it (probably as a result of it not being in the set) >> >> Doesn't the * syntax suggest that I want ALL columns? > > But you self have not create RecID field, right? :-) > > So why you expect to see NOT YOUR field by SELECT * ? > This will be not logical. > > This is why we > > 1) follow to standard. SELECT * returns only YOUR fields. > > 2) but we still able to have own hidden fields in table > and SELECT them by name. > > 3) if you lazy to write RecID each time, you can use > another Valentina extention: > > SELECT ** FROM T > > This select YOUR normal fields, and BaseObject methods (calculated fields). > Hmm, I not sure now if this also selects RecID. It doesn't (though it should ;-) From sunshine at public.kherson.ua Thu Mar 18 00:42:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 16:42:54 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: On 3/18/04 12:20 AM, "Keith DeLong" wrote: >> SELECT ** FROM T >> >> This select YOUR normal fields, and BaseObject methods (calculated fields). >> Hmm, I not sure now if this also selects RecID. > > > It doesn't (though it should ;-) Hmm, Jurgen says it returns it: >> This select YOUR normal fields, and BaseObject methods (calculated fields). >> Hmm, I not sure now if this also selects RecID. > > For your enlightment, (and mine as well) - it does :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Wed Mar 17 14:53:38 2004 From: delong at redcort.com (Keith DeLong) Date: Wed Mar 17 17:17:15 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: > On 3/18/04 12:20 AM, "Keith DeLong" wrote: > >>> SELECT ** FROM T >>> >>> This select YOUR normal fields, and BaseObject methods (calculated fields). >>> Hmm, I not sure now if this also selects RecID. >> >> >> It doesn't (though it should ;-) > > Hmm, > > Jurgen says it returns it: > >>> This select YOUR normal fields, and BaseObject methods (calculated fields). >>> Hmm, I not sure now if this also selects RecID. >> >> For your enlightment, (and mine as well) - it does :-) I'd love to be wrong here. Maybe I'm just confused... I just fired up viSQL and queried a half dozen tables. Select * = all normal fields Select ** = all normal fields & baseobject methods (no RecID) Select RecID,* = all normal fields and RecID Select RecID,** = all normal fields & baseobject methods & RecID Jurgen? Ruslan?? From sunshine at public.kherson.ua Thu Mar 18 01:22:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 17 17:22:22 2004 Subject: [FAQ] Problems applying the Valentina Data Model In-Reply-To: Message-ID: On 3/18/04 12:53 AM, "Keith DeLong" wrote: >>>> SELECT ** FROM T >>>> >>>> This select YOUR normal fields, and BaseObject methods (calculated fields). >>>> Hmm, I not sure now if this also selects RecID. >>> >>> >>> It doesn't (though it should ;-) >> >> Hmm, >> >> Jurgen says it returns it: >> >>>> This select YOUR normal fields, and BaseObject methods (calculated fields). >>>> Hmm, I not sure now if this also selects RecID. >>> >>> For your enlightment, (and mine as well) - it does :-) > > I'd love to be wrong here. Maybe I'm just confused... > > I just fired up viSQL and queried a half dozen tables. > > Select * = all normal fields > Select ** = all normal fields & baseobject methods (no RecID) > Select RecID,* = all normal fields and RecID > Select RecID,** = all normal fields & baseobject methods & RecID > > Jurgen? Ruslan?? Then probably Jurgen mean something else. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Thu Mar 18 14:27:49 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Mar 17 19:27:24 2004 Subject: V4RB varchar-351 error Message-ID: Hi Ruslan, I'm back to this major hassle I am having on PC computers where I am reasonably regularly seeing varchar -351 errors. I virtually never get these on the Macintosh, just on the PC. And it seems to work mainly from the workstation to the server. I am sending the data as a packet of information and the program adds, edits or deletes a record where applicable. It seems that the PC works very fast and when a few records are being added extremely quickly, the error appears. Then after a few times of this, the data actually does become corrupted. I am unable to produce a small version of this as it would take me quite a few hours to cut my program back so I can send it in a manageable state. Could you please check and see why the PC version is causing these problems. I have a number of schools using the PC version and now they are complaining that it is unreliable. I really need some help with this as soon as possible. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From kray at sonsothunder.com Wed Mar 17 23:30:51 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Mar 17 23:32:42 2004 Subject: Anyone Using VXCMD with SuperCard 4 on OS X? In-Reply-To: <009c01c40c34$233735b0$0100000a@LYNNP42G> Message-ID: <023c01c40caa$30ca3b70$6601a8c0@precision340> Lynn, I'd suggest posting this question to the SuperCard list as well... Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Lynn Fredricks Sent: Wednesday, March 17, 2004 9:26 AM To: valentina@lists.macserve.net Subject: Anyone Using VXCMD with SuperCard 4 on OS X? Howdy all, We've never gotten any feedback from S.E. on compatibility testing, so I'd like to ask any users if they have been successfully using VXCMD with the latest version of SuperCard. Success? Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Mar 18 10:06:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 18 02:06:25 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: On 3/18/04 3:27 AM, "Cindy Brown" wrote: Hi Cindy, > I'm back to this major hassle I am having on PC computers where I am > reasonably regularly seeing varchar -351 errors. I virtually never get these > on the Macintosh, just on the PC. And it seems to work mainly from the > workstation to the server. I am sending the data as a packet of information > and the program adds, edits or deletes a record where applicable. It seems > that the PC works very fast and when a few records are being added extremely > quickly, the error appears. Then after a few times of this, the data > actually does become corrupted. Please remind me. * you developer V4RB project * you have implement own SERVER and own network protocol, yes? * and you have own client that talk to your server? Or this is not correct? If yes, then I can think only about the next mistake: you have forget in SERVER app do semaphoring of Valentina engine calls. We do this in Valentina server alpha, and it works very stable. > I am unable to produce a small version of this as it would take me quite a > few hours to cut my program back so I can send it in a manageable state. You mean you can send me full project? > Could you please check and see why the PC version is causing these problems. Problem is that REALbasic (how I hate this) DO NOT allow DEBUG its plugins. Really have no way with RB. > I have a number of schools using the PC version and now they are complaining > that it is unreliable. > > I really need some help with this as soon as possible. Please answer my above questions in the first turn. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fvanlerberghe at freegates.be Thu Mar 18 09:07:13 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Mar 18 02:07:07 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: le 18/03/04 2:27, Cindy Brown a ?crit?: > I'm back to this major hassle I am having on PC computers where I am > reasonably regularly seeing varchar -351 errors. I virtually never get these > on the Macintosh, just on the PC. And it seems to work mainly from the > workstation to the server. I am sending the data as a packet of information > and the program adds, edits or deletes a record where applicable. It seems > that the PC works very fast and when a few records are being added extremely > quickly, the error appears. Then after a few times of this, the data > actually does become corrupted. I'm just seeing this error yesterday too. Don't know why this appeared. The config with witch the error occured is : - Fujitsu Siemens intel? pentium? 4, CPU 2.80ghz, 520 Mo Ram, 80 Go HD - XP Professionnel version 2002 service pack 1, French OS The project was compiled with RB 3.5.2 and V4RB 1.10 (no client/server version) The error was seen while trying to append a record, but I think this was a previous action that does corrupt the DB, perhaps an attempting to delete one. Sorry to be so inaccurated, but the user doesn't remind this very well and I'm not been able to reproduce. Every Add, Update is followed by a Flush command. The Delete command was not followed by a Flush and is used with a cursor with 1 or more records (the command is myCursor.DeleteAll). The DeleteAll command seems to be successful (return True). Best regards. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Thu Mar 18 10:10:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 18 02:10:33 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: On 3/18/04 10:07 AM, "Francois Van Lerberghe" wrote: Hi Francois, >> I'm back to this major hassle I am having on PC computers where I am >> reasonably regularly seeing varchar -351 errors. I virtually never get these >> on the Macintosh, just on the PC. And it seems to work mainly from the >> workstation to the server. I am sending the data as a packet of information >> and the program adds, edits or deletes a record where applicable. It seems >> that the PC works very fast and when a few records are being added extremely >> quickly, the error appears. Then after a few times of this, the data >> actually does become corrupted. > > I'm just seeing this error yesterday too. Don't know why this appeared. > The config with witch the error occured is : > - Fujitsu Siemens intel? pentium? 4, CPU 2.80ghz, 520 Mo Ram, 80 Go HD > - XP Professionnel version 2002 service pack 1, French OS > > The project was compiled with RB 3.5.2 and V4RB 1.10 (no client/server > version) > > The error was seen while trying to append a record, but I think this was a > previous action that does corrupt the DB, perhaps an attempting to delete > one. Sorry to be so inaccurated, but the user doesn't remind this very well > and I'm not been able to reproduce. > > Every Add, Update is followed by a Flush command. > The Delete command was not followed by a Flush and is used with a cursor > with 1 or more records (the command is myCursor.DeleteAll). The DeleteAll > command seems to be successful (return True). Why Delete do not follow by a Flush() ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fvanlerberghe at freegates.be Thu Mar 18 09:19:28 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Mar 18 02:19:23 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: le 18/03/04 9:10, Ruslan Zasukhin a ?crit?: > Why Delete do not follow by a Flush() ? My mistake. I have forgot it. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From cindy at kowhaiprogramming.com Thu Mar 18 22:17:50 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu Mar 18 03:15:18 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: Hi Ruslan > On 3/18/04 3:27 AM, "Cindy Brown" wrote: > > Hi Cindy, > >> I'm back to this major hassle I am having on PC computers where I am >> reasonably regularly seeing varchar -351 errors. I virtually never get these >> on the Macintosh, just on the PC. And it seems to work mainly from the >> workstation to the server. I am sending the data as a packet of information >> and the program adds, edits or deletes a record where applicable. It seems >> that the PC works very fast and when a few records are being added extremely >> quickly, the error appears. Then after a few times of this, the data >> actually does become corrupted. > > Please remind me. > > * you developer V4RB project Yes > * you have implement own SERVER and own network protocol, yes? Yes > * and you have own client that talk to your server? Yes > > If yes, then I can think only about the next mistake: > you have forget in SERVER app do semaphoring of Valentina engine calls. How do you do this? I am a programmer who taught myself who to program so I'm not always sure what these things mean. > > We do this in Valentina server alpha, and it works very stable. > > >> I am unable to produce a small version of this as it would take me quite a >> few hours to cut my program back so I can send it in a manageable state. > > You mean you can send me full project? The full project including databases and both server and workstation would be in excess of 100MB uncompressed so would be too large to send. And taking bits out of it would take a lot of time. I could make it to some degree smaller but even then it would be very large. > >> Could you please check and see why the PC version is causing these problems. > > Problem is that REALbasic (how I hate this) DO NOT allow DEBUG its plugins. > Really have no way with RB. This problem is happening in all sorts of different windows environments. Sometimes I have the server on Mac and the workstation on windows. The error will then occur on the workstation, virtually never on the Macintosh. If I have the server on windows and the workstation on windows, I will get the error on both machines - not all the time, but often enough to cause a headache with the schools concerned. I must repeat that this problem virtually never occurs on Macintosh. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From sunshine at public.kherson.ua Thu Mar 18 11:23:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 18 03:23:57 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: On 3/18/04 11:17 AM, "Cindy Brown" wrote: Hi Cindy, >> If yes, then I can think only about the next mistake: >> you have forget in SERVER app do semaphoring of Valentina engine calls. > > How do you do this? I am a programmer who taught myself who to program so > I'm not always sure what these things mean. Okay, so you have own SERVER application. Then first of all: I assume that you create new thread for each connected client, yes? So if you have 10 connections you have 10 threads. Yes? And here IMPORTANT to understand, that V4RB plugin is NOT thread save. This means that you must create in your app ONE global mutex, gValentinaMutex And from YOUR threads, BEFORE call any Valentina function you must do gValentinaMutex.lock Valentina function call gValentinaMutex.unlock This is not exact syntax of REALbasic, I don't know it. ---------------- P.S. Cindy and I will very recommend consider switching to Valentina Server and V4RB client. I think that we was able make our Server little more better then you could do your in REALbasic. We use special C++ framework for development of servers, it provide us very effective threading model and so on. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kiaorabeth at graffiti.net Thu Mar 18 20:12:10 2004 From: kiaorabeth at graffiti.net (Elizabeth Harrison) Date: Thu Mar 18 06:11:38 2004 Subject: math functions Message-ID: <20040318121210.6CA1623979@ws5-3.us4.outblaze.com> Hi im new to valentina and trying to work out how to do math functions on fields. I want to be able to take the value of one field and add it to the value of another field in a different table, how would I do this? I tried the sql string: Select tableA_name, (tableA_columnNumber + tableB_columnNumber) from tableA, tableB How does valentina function with maths? Thanks lib -- _______________________________________________ Graffiti.net free e-mail @ www.graffiti.net Check out our value-added Premium features, such as an extra 20MB for just US$9.95 per year! Powered by Outblaze From sunshine at public.kherson.ua Thu Mar 18 14:43:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 18 06:44:02 2004 Subject: math functions In-Reply-To: <20040318121210.6CA1623979@ws5-3.us4.outblaze.com> Message-ID: On 3/18/04 2:12 PM, "Elizabeth Harrison" wrote: > Hi im new to valentina and trying to work out how to do math functions on > fields. I want to be able to take the value of > one field and add it to the value of another field in a different table, how > would I do this? > > I tried the sql string: > > Select tableA_name, (tableA_columnNumber + tableB_columnNumber) > from tableA, tableB > > How does valentina function with maths? Hi Elizabeth, You need create BaseObject method -- virtual field. Please read docs on this and check example -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kiaorabeth at graffiti.net Thu Mar 18 22:02:56 2004 From: kiaorabeth at graffiti.net (Elizabeth Harrison) Date: Fri Mar 19 15:20:44 2004 Subject: math functions Message-ID: <20040318140256.7888521B32F@ws5-6.us4.outblaze.com> Thank you Ruslan I read the information on BaseObject methods in the valentina pdf's but Im affraid i cant quite understand it. Could you provide an example string of how a baseObject method is implemented and used in this way? lib ----- Original Message ----- From: Ruslan Zasukhin Date: Thu, 18 Mar 2004 14:43:53 +0200 To: Subject: Re: math functions > On 3/18/04 2:12 PM, "Elizabeth Harrison" wrote: > > > Hi im new to valentina and trying to work out how to do math functions on > > fields. I want to be able to take the value of > > one field and add it to the value of another field in a different table, how > > would I do this? > > > > I tried the sql string: > > > > Select tableA_name, (tableA_columnNumber + tableB_columnNumber) > > from tableA, tableB > > > > How does valentina function with maths? > > Hi Elizabeth, > > You need create BaseObject method -- virtual field. > > Please read docs on this and check example > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- _______________________________________________ Graffiti.net free e-mail @ www.graffiti.net Check out our value-added Premium features, such as an extra 20MB for just US$9.95 per year! Powered by Outblaze From francesco.cosoleto at libero.it Thu Mar 18 15:35:17 2004 From: francesco.cosoleto at libero.it (Francesco Cosoleto) Date: Fri Mar 19 15:20:53 2004 Subject: Format version problem References: <20040316170754.DC64BD1196@edison.macserve.net> Message-ID: <004f01c40cf7$161a6320$1523d5d5@Francesco> On Tuesday, March 16, 2004 6:07 PM, valentina-request@lists.macserve.net wrote: Hi Ruslan Zasukhin, > Do you mean that you get from C SDK some string of VarChar. > And LATER it change value? > > This is "feature" of C SDK. > And I think this is mentioned in the docs. > > You must COPY returned string into YOUR OWN buffer. > > Because Valentina C SDK usese internal ONE buffer for strings which it > returns. On the next call that return a string, this buffer will be > reused. You see? > > You must not just store pointers to string. > COPY returned string into own buffer. > > Yes, this is non standard way for C libraries. > I have made experiment :-) > Still not sure if it is good. > > May be in Valentina 2.0 we will redo this in some other way. > C language do not have good ways to handle strings... I see, I see. A buffer that depends on point where data is recorded in random access mode. Results with DataBase_Dump() give me the same behaviour, and I think therefore so. Further, DataBase_Dump() in SQL mode, instead of output a lot of data, exit immediately after 3 record (1 VarChar of 3) Why are you unsure about your code? Do I need to learn Macromedia Director language in order to control anything? I hope not. Thank you very much for your help. Francesco Cosoleto From kiaorabeth at graffiti.net Thu Mar 18 23:00:13 2004 From: kiaorabeth at graffiti.net (Elizabeth Harrison) Date: Fri Mar 19 15:21:06 2004 Subject: math functions Message-ID: <20040318150013.ADB393AA467@ws5-8.us4.outblaze.com> I read through the info on baseObjects but I dobt really understand it. What are the methods that create a virtual field that will enableme to do the maths? Could someone proivde a small exmaple? Thank you, lib ----- Original Message ----- From: Ruslan Zasukhin Date: Thu, 18 Mar 2004 14:43:53 +0200 To: Subject: Re: math functions > On 3/18/04 2:12 PM, "Elizabeth Harrison" wrote: > > > Hi im new to valentina and trying to work out how to do math functions on > > fields. I want to be able to take the value of > > one field and add it to the value of another field in a different table, how > > would I do this? > > > > I tried the sql string: > > > > Select tableA_name, (tableA_columnNumber + tableB_columnNumber) > > from tableA, tableB > > > > How does valentina function with maths? > > Hi Elizabeth, > > You need create BaseObject method -- virtual field. > > Please read docs on this and check example > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- _______________________________________________ Graffiti.net free e-mail @ www.graffiti.net Check out our value-added Premium features, such as an extra 20MB for just US$9.95 per year! Powered by Outblaze From robert at formworkdesign.com Thu Mar 18 10:20:46 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Fri Mar 19 15:21:17 2004 Subject: [v4rb] Mac OSX - Still can't getstring from text field Message-ID: I still can't extract text from a text field using getstring. (That makes me think to try and get it with casting and .value - have not tried that yet). I'm using valentina server a60, which i thought fixed this issue. Robertt __________________________ Robert Nichols robert@formworkdesign.com www.formworkdesign.com 434.296.2223 From yeomans at desuetude.com Thu Mar 18 11:06:32 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Mar 19 15:21:30 2004 Subject: V4RB varchar-351 error In-Reply-To: References: Message-ID: <396EE29C-78F6-11D8-BCAB-003065BB0634@desuetude.com> On Mar 18, 2004, at 4:23 AM, Ruslan Zasukhin wrote: > On 3/18/04 11:17 AM, "Cindy Brown" wrote: > > Hi Cindy, > >>> If yes, then I can think only about the next mistake: >>> you have forget in SERVER app do semaphoring of Valentina engine >>> calls. >> >> How do you do this? I am a programmer who taught myself who to >> program so >> I'm not always sure what these things mean. > > Okay, so you have own SERVER application. > Then first of all: > > I assume that you create new thread for each connected client, yes? > So if you have 10 connections you have 10 threads. Yes? > > And here IMPORTANT to understand, that V4RB plugin is NOT thread save. > > This means that you must create in your app ONE global mutex, > gValentinaMutex > > And from YOUR threads, BEFORE call any Valentina function you must do > > gValentinaMutex.lock > > Valentina function call > > gValentinaMutex.unlock > > > This is not exact syntax of REALbasic, I don't know it. > gVSemaphore as Semaphore gVSemaphore.Signal Valentina function call gVSemaphore.Release Charles Yeomans From cindy at kowhaiprogramming.com Fri Mar 19 06:08:58 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Mar 19 15:21:35 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: > This means that you must create in your app ONE global mutex, > gValentinaMutex > > And from YOUR threads, BEFORE call any Valentina function you must do > > gValentinaMutex.lock > > Valentina function call > > gValentinaMutex.unlock > > > This is not exact syntax of REALbasic, I don't know it. > Hi Ruslan, I'll give this a try this week and see if this helps me at all in sorting out the problem. Though I still don't understand why this only occurs on Windows and not on Macintosh - maybe because of the speed of updating? > > ---------------- > P.S. Cindy and I will very recommend consider switching to Valentina Server > and V4RB client. I think that we was able make our Server little more better > then you could do your in REALbasic. We use special C++ framework for > development of servers, it provide us very effective threading model and so > on. I am certainly looking at your server and client application where I will be running school clusters (which I will be doing in the near future). But my own server works best for me for single schools as it allows people to work on their laptops away from a network and then bring their machine back to the network to update their changes to and from the server. As I understand it, you're server (as with most) does not allow this. Thanks for your help and I'll give your suggestion a try. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From cindy at kowhaiprogramming.com Fri Mar 19 06:30:06 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Mar 19 15:21:42 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: Hi Ruslan > > I assume that you create new thread for each connected client, yes? > So if you have 10 connections you have 10 threads. Yes? > > And here IMPORTANT to understand, that V4RB plugin is NOT thread save. > > This means that you must create in your app ONE global mutex, > gValentinaMutex > > And from YOUR threads, BEFORE call any Valentina function you must do > > gValentinaMutex.lock > > Valentina function call > > gValentinaMutex.unlock > > > This is not exact syntax of REALbasic, I don't know it. > I've just thought about this some more. This might explain what is happening on the server but does not explain that the varchar-351 error occurs on the workstation where I am not using threads. I still think that there is an error on the windows side where it is falsely saying there are -351 errors and this is eventually causing problems. All the best. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From jkleins at shentel.net Thu Mar 18 18:29:32 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Fri Mar 19 15:21:46 2004 Subject: SQL way of getting last recID Message-ID: <1C6B457C-7934-11D8-95DE-000393DB7EBA@shentel.net> Is there a way to get the recID of the last added record for a table if it was added with the insert sql command? Thanks, Jim From timdavis at amug.org Thu Mar 18 22:46:31 2004 From: timdavis at amug.org (Tim Davis) Date: Fri Mar 19 15:21:52 2004 Subject: math functions In-Reply-To: References: Message-ID: On Mar 18, 2004, at 5:43 AM, Ruslan Zasukhin wrote: >> Hi im new to valentina and trying to work out how to do math >> functions on >> fields. I want to be able to take the value of >> one field and add it to the value of another field in a different >> table, how >> would I do this? >> >> I tried the sql string: >> >> Select tableA_name, (tableA_columnNumber + tableB_columnNumber) >> from tableA, tableB >> >> How does valentina function with maths? > > Hi Elizabeth, > > You need create BaseObject method -- virtual field. > > Please read docs on this and check example Ruslan, I presume math functions in sql will be coming in version 2.0? Tim Davis From timdavis at amug.org Thu Mar 18 22:47:32 2004 From: timdavis at amug.org (Tim Davis) Date: Fri Mar 19 15:21:56 2004 Subject: REAL World? Message-ID: Anyone going to REAL World next week? It would be great to meet up there. Tim Davis From cindy at kowhaiprogramming.com Fri Mar 19 22:22:20 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Mar 19 15:22:01 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: Hi All, > This means that you must create in your app ONE global mutex, > gValentinaMutex > > And from YOUR threads, BEFORE call any Valentina function you must do > > gValentinaMutex.lock > > Valentina function call > > gValentinaMutex.unlock > > > This is not exact syntax of REALbasic, I don't know it. If anybody could explain to me exactly how to program this in RB I would really appreciate it. I can't find anything anywhere on mutex or lock and unlock so an exact syntax would be great. Thanking you in anticipation. Cindy Brown From andrew at learningware.com Fri Mar 19 10:57:54 2004 From: andrew at learningware.com (Andrew Sinning) Date: Fri Mar 19 15:22:05 2004 Subject: V4MD: CloseConn() not always enough? In-Reply-To: Message-ID: In Authoring Director projects, I am constantly starting and restarting Valentina, opening a connection to a db, stopping the movie, making a change, and then starting up again. It seems like closing the connection to the db is not enough. Often, when I stop the movie and execute CloseConn(), when I run the program again, I can't connect. I have to do a ValentinaShutDown(), and then I can connect. Is this consistent with anyone else's experience? What might I be overlooking? Thanks. From sunshine at public.kherson.ua Fri Mar 19 23:30:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 15:30:32 2004 Subject: math functions In-Reply-To: Message-ID: On 3/19/04 7:46 AM, "Tim Davis" wrote: >> Please read docs on this and check example > > Ruslan, I presume math functions in sql will be coming in version 2.0? Yes Tim, Not only math, all. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 19 23:31:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 15:31:25 2004 Subject: SQL way of getting last recID In-Reply-To: <1C6B457C-7934-11D8-95DE-000393DB7EBA@shentel.net> Message-ID: On 3/19/04 1:29 AM, "James Kleinschmidt" wrote: > Is there a way to get the recID of the last added record for a table if > it was added with the insert sql command? Hi James, It seems know. We need invent something. You have ideas What syntax we can use for this? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 19 23:36:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 15:36:45 2004 Subject: Format version problem In-Reply-To: <004f01c40cf7$161a6320$1523d5d5@Francesco> Message-ID: On 3/18/04 4:35 PM, "Francesco Cosoleto" wrote: Hi Francesco, >> Do you mean that you get from C SDK some string of VarChar. >> And LATER it change value? >> >> This is "feature" of C SDK. >> And I think this is mentioned in the docs. >> >> You must COPY returned string into YOUR OWN buffer. >> >> Because Valentina C SDK usese internal ONE buffer for strings which it >> returns. On the next call that return a string, this buffer will be >> reused. You see? >> >> You must not just store pointers to string. >> COPY returned string into own buffer. >> >> Yes, this is non standard way for C libraries. >> I have made experiment :-) >> Still not sure if it is good. >> >> May be in Valentina 2.0 we will redo this in some other way. >> C language do not have good ways to handle strings... > > I see, I see. A buffer that depends on point where data is recorded in > random access mode. Results with DataBase_Dump() give me the same behaviour, > and I think therefore so. Further, DataBase_Dump() in SQL mode, instead of > output a lot of data, exit immediately after 3 record (1 VarChar of 3) Hmm, SQL dump should works fine. In the same time note, that SQL LOAD DUMP not implemented. Only XML load dump works. > Why are you unsure about your code? Because I speak about DESIGN issues. Exists several ways of design, and one can prefer one design, somebody else other design. > Do I need to learn Macromedia Director > language in order to control anything? I hope not. So you use Macromedia Director or C language ????? You have NOT answer on this my question. It seems you use Director, Then forget all above in green color, because that was info for C SDK. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 19 23:38:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 15:38:09 2004 Subject: [v4rb] Mac OSX - Still can't getstring from text field In-Reply-To: Message-ID: On 3/18/04 5:20 PM, "Robert Nichols" wrote: Hi Robert, > I still can't extract text from a text field using getstring. (That > makes me think to try and get it with casting and .value - have not > tried that yet). I'm using valentina server a60, which i thought fixed > this issue. Have you upgrade V4RB client also? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Mar 19 23:41:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 15:41:12 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: On 3/18/04 7:08 PM, "Cindy Brown" wrote: >> This means that you must create in your app ONE global mutex, >> gValentinaMutex >> >> And from YOUR threads, BEFORE call any Valentina function you must do >> >> gValentinaMutex.lock >> >> Valentina function call >> >> gValentinaMutex.unlock >> >> >> This is not exact syntax of REALbasic, I don't know it. >> > Hi Ruslan, > > I'll give this a try this week and see if this helps me at all in sorting > out the problem. Though I still don't understand why this only occurs on > Windows and not on Macintosh - maybe because of the speed of updating? Hi Cindy, Most probably because Windows has preemptive threading. OS X also, but REALbasic is made in CARBON style, so it has cooperative threading I think. This means that on MAC you have no conflicts. >> ---------------- >> P.S. Cindy and I will very recommend consider switching to Valentina Server >> and V4RB client. I think that we was able make our Server little more better >> then you could do your in REALbasic. We use special C++ framework for >> development of servers, it provide us very effective threading model and so >> on. > > I am certainly looking at your server and client application where I will be > running school clusters (which I will be doing in the near future). But my > own server works best for me for single schools as it allows people to work > on their laptops away from a network and then bring their machine back to > the network to update their changes to and from the server. As I understand > it, you're server (as with most) does not allow this. You have own synchronization mechanism, yes? So what problems? You can implement the same mechanism over our server. I think so. > Thanks for your help and I'll give your suggestion a try. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From timdavis at amug.org Fri Mar 19 14:51:02 2004 From: timdavis at amug.org (Tim Davis) Date: Fri Mar 19 15:51:10 2004 Subject: BaseObject method date comparison Message-ID: <83BAF084-79EF-11D8-9099-000A95D87648@amug.org> Hi, I'd like to create a baseobject method which compares today's date to a date column and determines whether the record's date is from a previous month from today's month, with boolean (1 or 0) result. Example: for today March & April would be 0 and Jan, Feb and prior would return a 1. Is this possible? Thanks, Tim Davis From listmail at gearyweb.com Fri Mar 19 15:15:12 2004 From: listmail at gearyweb.com (michael geary) Date: Fri Mar 19 16:14:15 2004 Subject: REAL World? In-Reply-To: References: Message-ID: I dunno, will Peter Gabriel be there...? ;c] michael geary On Mar 18, 2004, at 10:47 PM, Tim Davis wrote: > Anyone going to REAL World next week? It would be great to meet up > there. > > Tim Davis > From sunshine at public.kherson.ua Sat Mar 20 00:23:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Mar 19 16:23:57 2004 Subject: BaseObject method date comparison In-Reply-To: <83BAF084-79EF-11D8-9099-000A95D87648@amug.org> Message-ID: On 3/19/04 11:51 PM, "Tim Davis" wrote: > Hi, > > I'd like to create a baseobject method which compares today's date > to a date column and determines whether the record's date is from a > previous month from today's month, with boolean (1 or 0) result. > Example: for today March & April would be 0 and Jan, Feb and prior > would return a 1. Is this possible? Hi Tim, I think yes. You need study data functions. As Today date you will need have additional BaseObject method, To which you need assign today date. In Valentina 2.0 we have add function "now()" for this. And for above task you will need use function "month()" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Sat Mar 20 13:47:12 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Fri Mar 19 18:44:38 2004 Subject: V4RB varchar-351 error In-Reply-To: <396EE29C-78F6-11D8-BCAB-003065BB0634@desuetude.com> Message-ID: Hi Charles >> This is not exact syntax of REALbasic, I don't know it. >> > > gVSemaphore as Semaphore > > > gVSemaphore.Signal > > Valentina function call > > gVSemaphore.Release > > Charles Yeomans Thanks very much for that. I should be able to give it a try now. Cindy Brown From yeomans at desuetude.com Fri Mar 19 20:24:00 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Mar 19 19:24:07 2004 Subject: SQL way of getting last recID In-Reply-To: References: Message-ID: <442B4306-7A0D-11D8-93CB-003065BB0634@desuetude.com> On Mar 19, 2004, at 4:31 PM, Ruslan Zasukhin wrote: > On 3/19/04 1:29 AM, "James Kleinschmidt" wrote: > >> Is there a way to get the recID of the last added record for a table >> if >> it was added with the insert sql command? > > Hi James, > > It seems know. > > We need invent something. > > You have ideas What syntax we can use for this? > How about db.SQLExecute("GET NEWEST recID For TableName") as Integer? Charles Yeomans From yeomans at desuetude.com Fri Mar 19 20:24:40 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Mar 19 19:24:44 2004 Subject: REAL World? In-Reply-To: References: Message-ID: <5C23EFBC-7A0D-11D8-93CB-003065BB0634@desuetude.com> On Mar 19, 2004, at 12:47 AM, Tim Davis wrote: > Anyone going to REAL World next week? It would be great to meet up > there. I'll be there; I'm doing some sessions. -------------- Charles Yeomans From bartjan at mac.com Sat Mar 20 08:46:29 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Sat Mar 20 01:46:45 2004 Subject: SQL way of getting last recID In-Reply-To: <442B4306-7A0D-11D8-93CB-003065BB0634@desuetude.com> References: <442B4306-7A0D-11D8-93CB-003065BB0634@desuetude.com> Message-ID: Or db.SQLExecute("GetLatestInsertID FOR tablename") Bart On 20 Mar 2004, at 02:24, Charles Yeomans wrote: > > On Mar 19, 2004, at 4:31 PM, Ruslan Zasukhin wrote: > >> On 3/19/04 1:29 AM, "James Kleinschmidt" wrote: >> >>> Is there a way to get the recID of the last added record for a table >>> if >>> it was added with the insert sql command? >> >> Hi James, >> >> It seems know. >> >> We need invent something. >> >> You have ideas What syntax we can use for this? >> > > How about > db.SQLExecute("GET NEWEST recID For TableName") as Integer? > > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sat Mar 20 10:36:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 20 02:36:36 2004 Subject: SQL way of getting last recID In-Reply-To: Message-ID: On 3/20/04 9:46 AM, "bartjan@mac.com" wrote: > On 20 Mar 2004, at 02:24, Charles Yeomans wrote: >>> You have ideas What syntax we can use for this? >>> >> >> How about >> db.SQLExecute("GET NEWEST recID For TableName") as Integer? Charles, SqlExecute() right now returns integer -> number of affected records. > Or > > db.SQLExecute("GetLatestInsertID FOR tablename") > > Bart > Yes, some dbs have function as last_id(); We have talk here abou this and was some reason not to make it. It seems Ivan have told that only mySQL actually have it. Big DBMS do not have such feature. Hmm, do not remember reason. We will talk again. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Mar 20 10:37:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 20 02:37:50 2004 Subject: V4RB varchar-351 error In-Reply-To: Message-ID: On 3/20/04 2:47 AM, "Cindy Brown" wrote: > Hi Charles > >>> This is not exact syntax of REALbasic, I don't know it. >>> >> >> gVSemaphore as Semaphore >> >> >> gVSemaphore.Signal >> >> Valentina function call >> >> gVSemaphore.Release >> >> Charles Yeomans > > > Thanks very much for that. I should be able to give it a try now. Cindy, And I think there is sence do this on WIN only. Although REALbasic do not have good ways for easy doing of this. Yes? They do not have #define as in c++ And they do not have inline functions... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Mar 20 16:45:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 20 08:45:29 2004 Subject: [V4MD] classic and carbon extras for director In-Reply-To: Message-ID: On 3/20/04 4:41 PM, "roman_dolan@yahoo.com" wrote: > Name: Roman Dolan > > Question regarding: v4md > > Had a similar problem to Nathan,i.e. classic extra would not load into > projector but use a much simpler workaround than using extra folder hierarchy > on CD or bundles > > put the v4md_carbon in the extras folder as normal > put the V4MD extra file in the Classic MacOS>Extras folder as normal > but rename to V4MD_Carbon and this worked for me > > Hope this helps Thank you Roman, for info -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jkleins at shentel.net Sat Mar 20 10:58:30 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Sat Mar 20 09:58:40 2004 Subject: SQL way of getting last recID In-Reply-To: References: Message-ID: <6EEE462E-7A87-11D8-9D25-000393DB7EBA@shentel.net> If that is the case what is a good strategy for saving a new record in SQL form to the database and maintaining some way of calling that same record back. Is there a base object method I can use or can I use that only if I save the record with the base object method? Do I need to just navigate to the last record and get the recID? Will this always be the one just added with the SQL command? On Mar 19, 2004, at 4:31 PM, Ruslan Zasukhin wrote: > It seems know. > > We need invent something. > > You have ideas What syntax we can use for this? v=SQLSelect(LastRecID(tableName)) Thanks, Jim From sunshine at public.kherson.ua Sat Mar 20 21:16:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 20 13:16:08 2004 Subject: SQL way of getting last recID In-Reply-To: <6EEE462E-7A87-11D8-9D25-000393DB7EBA@shentel.net> Message-ID: On 3/20/04 5:58 PM, "James Kleinschmidt" wrote: > On Mar 19, 2004, at 4:31 PM, Ruslan Zasukhin wrote: > >> It seems know. >> >> We need invent something. >> >> You have ideas What syntax we can use for this? > > v=SQLSelect(LastRecID(tableName)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Wrong. SqlSelect() should get string -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Mar 20 21:21:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Mar 20 13:21:09 2004 Subject: SQL way of getting last recID In-Reply-To: <6EEE462E-7A87-11D8-9D25-000393DB7EBA@shentel.net> Message-ID: On 3/20/04 5:58 PM, "James Kleinschmidt" wrote: > If that is the case what is a good strategy for saving a new record in > SQL form to the database and maintaining some way of calling that same > record back. Is there a base object method I can use or can I use that > only if I save the record with the base object method? Do I need to > just navigate to the last record and get the recID? Will this always be > the one just added with the SQL command? No, add record can insert records into deleted records. So last record not always have just added record. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jkleins at shentel.net Sun Mar 21 08:16:36 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Sun Mar 21 07:17:21 2004 Subject: SQL way of getting last recID In-Reply-To: References: Message-ID: On Mar 20, 2004, at 2:16 PM, Ruslan Zasukhin wrote: > On 3/20/04 5:58 PM, "James Kleinschmidt" wrote: > >> On Mar 19, 2004, at 4:31 PM, Ruslan Zasukhin wrote: >> >>> It seems know. >>> >>> We need invent something. >>> >>> You have ideas What syntax we can use for this? >> >> v=SQLSelect(LastRecID(tableName)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Wrong. > > SqlSelect() should get string How about v=SQLSelect("Select LastRecID From tableName") Also I think I am just not getting my mind around this problem correctly. It seems like it is so commonly encountered situation that there must be an answer I am missing. My problem is easy. I have a list with all the users in a group. When I click to edit one I get the individual record and fill in the edit fields. When I want to add a new one I populated the fields and on "Save" I insert the record into the database. The thing I want to do is just keep contact with that record so if I want to edit it anymore I can. I can't seem to find a way to get the recID of the last added record without searching by some other factors. It seems like such a common problem surely someone has a solution that I am just missing, or a different way of approaching this? Thanks, JIm From sunshine at public.kherson.ua Sun Mar 21 15:39:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 21 07:39:53 2004 Subject: SQL way of getting last recID In-Reply-To: Message-ID: On 3/21/04 3:16 PM, "James Kleinschmidt" wrote: Hi James, > Also I think I am just not getting my mind around this problem > correctly. It seems like it is so commonly encountered situation that > there must be an answer I am missing. My problem is easy. I have a list > with all the users in a group. When I click to edit one I get the > individual record and fill in the edit fields. When I want to add a new > one I populated the fields and on "Save" I insert the record into the > database. The thing I want to do is just keep contact with that record > so if I want to edit it anymore I can. I can't seem to find a way to > get the recID of the last added record without searching by some other > factors. It seems like such a common problem surely someone has a > solution that I am just missing, or a different way of approaching > this? You have some cursor from which you display list of users? I think you have it. Then you can do instead of INSERT command Just cursor.AddRecord(). AddRecord() will add new record at the end of records in cursor. To be able see its recID you need SELECT RecID ........ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 22 13:05:53 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 22 06:06:01 2004 Subject: Valentina and Pocket PC Message-ID: Hi! Has somebody made an application for pocket PC to connect to Valentina (Server) from a PDA? Any ideas and comments? Best regards, Florian From sunshine at public.kherson.ua Mon Mar 22 14:16:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 22 06:16:30 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/22/04 1:35 PM, "Florian Bogeschdorfer" wrote: > Hi! > > Has somebody made an application for pocket PC to connent to Valentina from > a PDA? > > Any ideas and comments? > > Best regards, Florian Hi Florian, We have think about this of course. And we hope implement sooner or later Valentina client for PDAs -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 22 15:27:51 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 22 08:27:58 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > > > Has somebody made an application for pocket PC to connent > to Valentina > > from a PDA? > > > > Any ideas and comments? > > > > Best regards, Florian > > Hi Florian, > > We have think about this of course. > > And we hope implement sooner or later Valentina client for PDAs > What about php/webserver? I could call php scripts from the PDA. Does Valentina have a webserver or do I need the php client and a common webserver? Florian From sunshine at public.kherson.ua Mon Mar 22 16:45:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 22 08:45:13 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/22/04 4:27 PM, "Florian Bogeschdorfer" wrote: >>> Has somebody made an application for pocket PC to connent >> to Valentina >>> from a PDA? >>> >>> Any ideas and comments? >>> >>> Best regards, Florian >> >> Hi Florian, >> >> We have think about this of course. >> >> And we hope implement sooner or later Valentina client for PDAs >> > What about php/webserver? We have Valentina PHP client right now > I could call php scripts from the PDA. Does Valentina have a webserver or do > I need the php client and a common webserver? We have PHP client PDA work with Windows? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 22 15:51:01 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 22 08:51:08 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > We have PHP client > > PDA work with Windows? > With Windows Pocket PC OS From sunshine at public.kherson.ua Mon Mar 22 17:04:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 22 09:04:22 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/22/04 4:51 PM, "Florian Bogeschdorfer" wrote: >> We have PHP client >> >> PDA work with Windows? >> > With Windows Pocket PC OS Then I think you must be able to use VPHP for Windows. It depend only on socket OS feature. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Mar 22 16:12:10 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 22 09:12:18 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > Then I think you must be able to use VPHP for Windows. > > It depend only on socket OS feature. > How does it work technically? Must I have a webserver then on the server PC? Florian From sunshine at public.kherson.ua Mon Mar 22 20:00:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 22 12:01:03 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/22/04 5:12 PM, "Florian Bogeschdorfer" wrote: >> Then I think you must be able to use VPHP for Windows. >> >> It depend only on socket OS feature. >> > > How does it work technically? Must I have a webserver then on the server PC? Yes, you should have on server PC the WEB server, Install VPHP module. Although, Florian, I do not understand how PHP help you connect to PDA ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bartjan at mac.com Mon Mar 22 19:35:24 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Mon Mar 22 12:35:40 2004 Subject: Valentina and Pocket PC In-Reply-To: References: Message-ID: > > > Although, Florian, I do not understand how PHP help you connect to PDA > ? > You can run a browser in a PDA, so you can build a html client for Valentina. It was for the same kind of app that I asked for JDBC connectivity. Bart Pietercil From fb at memedia.de Mon Mar 22 21:02:43 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Mar 22 14:03:49 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > You can run a browser in a PDA, so you can build a html > client for Valentina. > But this would need a web server on my Valentina Server which I do not want to use (impossible to require that from my customers). Or am I wrong? Can I play a shockwave movie on Pocket PC? I guess no... Florian From kray at sonsothunder.com Mon Mar 22 14:07:49 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon Mar 22 14:09:27 2004 Subject: SQL way of getting last recID In-Reply-To: Message-ID: <00ef01c41049$5db952e0$6601a8c0@precision340> > It seems like such a common problem surely someone has a > solution that I am just missing, or a different way of approaching > this? The way to do it (or the way that works for me) is to use cursors. It's not a one-liner like INSERT, but it *does* let you get the RecID back. Here's an example (I'm using MetaCard so you'll have to translate to your dev environment, and watch the line wraps): -- Assumes a simple table called People that has FirstName, -- MiddleName and LastName fields. myDBRef holds the reference -- to the database put "" & tab & "Ken" & tab & "E" & tab & "Ray" into tRecData put Valentina("SQLSelect",myDBRef,"SELECT RecID,* FROM People WHERE RecID=0") into tCurs get Valentina("Cursor_AddRecord",tCurs,tRecData) put Valentina("Cursor_GetField",tCurs,"RecID") into tNewRecID get Valentina("Cursor_Remove",tCurs) Basically, the SELECT statement includes all the fields in the People table, INCLUDING the RecID field at the beginning. So the cursor has 4 fields in it: RecID, FirstName, MiddleName, LastName. So the record that needs to be added has to have 4 fields as well, so the first field is sent into the Cursor_AddRecord as empty. Valentina will automatically assign it the proper record ID number, so the next step is to ask for it with Cursor_GetField. Finally, remove the cursor. Hope this helps, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Mon Mar 22 23:40:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 22 15:40:33 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/22/04 10:02 PM, "Florian Bogeschdorfer" wrote: >> You can run a browser in a PDA, so you can build a html >> client for Valentina. >> > > But this would need a web server on my Valentina Server which I do not want > to use (impossible to require that from my customers). Or am I wrong? > > Can I play a shockwave movie on Pocket PC? I guess no... I think Bart mean that using PHP you can produce self HTML pages and watch them on PDA. And you can use this to send info from PDA via CGI I think -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 22 16:53:51 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 22 15:53:58 2004 Subject: Next V4Rb client release Message-ID: <67D6CA65-7C4B-11D8-85D9-003065BB0634@desuetude.com> Any thoughts on when a new V4Rb client beta might appear? -------------- Charles Yeomans From jkleins at shentel.net Mon Mar 22 17:42:29 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Mon Mar 22 16:42:38 2004 Subject: SQL way of getting last recID In-Reply-To: <00ef01c41049$5db952e0$6601a8c0@precision340> References: <00ef01c41049$5db952e0$6601a8c0@precision340> Message-ID: <330C11C7-7C52-11D8-AF1C-000393DB7EBA@shentel.net> Thanks a lot. This will work just fine. Jim On Mar 22, 2004, at 3:07 PM, Ken Ray wrote: >> It seems like such a common problem surely someone has a >> solution that I am just missing, or a different way of approaching >> this? > > The way to do it (or the way that works for me) is to use cursors. > It's not > a one-liner like INSERT, but it *does* let you get the RecID back. > Here's an > example (I'm using MetaCard so you'll have to translate to your dev > environment, and watch the line wraps): > > -- Assumes a simple table called People that has FirstName, > -- MiddleName and LastName fields. myDBRef holds the reference > -- to the database > > put "" & tab & "Ken" & tab & "E" & tab & "Ray" into tRecData > put Valentina("SQLSelect",myDBRef,"SELECT RecID,* FROM People WHERE > RecID=0") into tCurs > get Valentina("Cursor_AddRecord",tCurs,tRecData) > put Valentina("Cursor_GetField",tCurs,"RecID") into tNewRecID > get Valentina("Cursor_Remove",tCurs) > > > Basically, the SELECT statement includes all the fields in the People > table, > INCLUDING the RecID field at the beginning. So the cursor has 4 fields > in > it: RecID, FirstName, MiddleName, LastName. So the record that needs > to be > added has to have 4 fields as well, so the first field is sent into the > Cursor_AddRecord as empty. Valentina will automatically assign it the > proper > record ID number, so the next step is to ask for it with > Cursor_GetField. > Finally, remove the cursor. > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Tue Mar 23 08:56:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 00:57:02 2004 Subject: [FAQ] Help Please In-Reply-To: Message-ID: On 3/23/04 7:07 AM, "Michael de Haan" wrote: Hi Michael, > Ruslan, > > Is there any obvious reason to you why this syntax is not working? > > RecCount=myDB.sqlExecute(MySQL) > > where MySQL is: > > "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3) binded > with { "12123","bu","23"}" Yes. Must be: mySQL = "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3)" And later, I assume you use V4RB: dim Binds(-1) as String Binds.append '12123' Binds.append 'bu' Binds.append '23' db.SqlExecute( mySQL, Binds ) I.e. Binds is true array of strings. > and where > > iCpts is a table name > > cCode, cDesc, cVal are the field description > > > as in ......... > > CodeC=new vString("cCode", 8) > DescC=new vVarChar("cDesc", 504) > cVal=new vString("cVal", 2) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bartjan at mac.com Tue Mar 23 08:02:49 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Tue Mar 23 01:03:01 2004 Subject: Valentina and Pocket PC In-Reply-To: References: Message-ID: <187E5232-7C98-11D8-9FB9-0003933E3D2C@mac.com> You could run the webserver from any ISP (with PHP this would be very cheap) and just prepare subdirectories per client. So, through PHP, depending on their login, you can connect a webserver to any Valentina Server, as long as the VS has a fixed IP. Conclusion, the only thing your clients would need is a fixed IP (of course you could work through DYNDNS, but I think that would be over the top) Since VS has ODBC you could try out ASP or COLDFUSION. With coldfusion comes the possibility to use FLASH which most certainly runs on PDA I myself will be using SERVOY (www.servoy.com)., when Ruslan upgrades his JDBC driver AND Servoy upgrades (or downgrades) their J2SE software to J2ME later this year. HTH Bart Pietercil On 22 Mar 2004, at 22:40, Ruslan Zasukhin wrote: > On 3/22/04 10:02 PM, "Florian Bogeschdorfer" wrote: > >>> You can run a browser in a PDA, so you can build a html >>> client for Valentina. >>> >> >> But this would need a web server on my Valentina Server which I do >> not want >> to use (impossible to require that from my customers). Or am I wrong? >> >> Can I play a shockwave movie on Pocket PC? I guess no... > > I think Bart mean that using PHP you can produce self HTML pages and > watch > them on PDA. And you can use this to send info from PDA via CGI I think > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Mar 23 09:04:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 01:04:51 2004 Subject: Next V4Rb client release In-Reply-To: <67D6CA65-7C4B-11D8-85D9-003065BB0634@desuetude.com> Message-ID: On 3/22/04 11:53 PM, "Charles Yeomans" wrote: Hi Charles, > Any thoughts on when a new V4Rb client beta might appear? I think today we can make it. With 2 new functions added -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Mar 23 11:14:49 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Mar 23 04:14:54 2004 Subject: Valentina and Pocket PC In-Reply-To: <187E5232-7C98-11D8-9FB9-0003933E3D2C@mac.com> Message-ID: > > You could run the webserver from any ISP (with PHP this would be very > cheap) and just prepare subdirectories per client. > > So, through PHP, depending on their login, you can connect a > webserver to any Valentina Server, as long as the VS has a fixed IP. > Conclusion, the only thing your clients would need is a fixed > IP (of course you could work through DYNDNS, but I think that > would be over the top) > > Since VS has ODBC you could try out ASP or COLDFUSION. > > With coldfusion comes the possibility to use FLASH which most > certainly runs on PDA > > I myself will be using SERVOY (www.servoy.com)., when Ruslan > upgrades his JDBC driver AND Servoy upgrades (or downgrades) > their J2SE software to J2ME later this year. > > I need something WITHOUT using a webserver or internet access, it is a small Intranet with nothing but standard XP and Valentina. Thank you, Florian From sunshine at public.kherson.ua Tue Mar 23 12:20:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 04:21:15 2004 Subject: [ANN] a61 of Vserver and clients for C++, V4RB, V4MD, VXCMD Message-ID: Hi All, a61 version adds to Vserver class functions to manage clients. Admin can get the count of EXISTED clients. and iterate each client by index to see his name and IsAdmin property Implemented only in c++ and V4RB for now. -------------- In V4RB added in Vserver class "UserCount as Integer" "UserName(inUserIndex as Integer) as String" "UserIsAdmin(inUserIndex as Integer) as Boolean" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 23 12:22:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 04:23:11 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/23/04 12:14 PM, "Florian Bogeschdorfer" wrote: > I need something WITHOUT using a webserver or internet access, it is a small > Intranet with nothing but standard XP and Valentina. Okay, Then lets check what API can be used on Pocket PC. I assume that C++ MUST BE there. So must be possible to develop something using our C++ SDK. C++ client is open source, and must be easy compiled there. May be ActiveX works on PocketPC? Or C# ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 23 12:26:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 04:27:14 2004 Subject: General info about local database with expansion capabilities. In-Reply-To: <200403230914.i2N9EarG081272@mxsf06.cluster1.charter.net> Message-ID: On 3/23/04 11:14 AM, "Rick" wrote: Hi Rick, > Since I am new to the .Net environment I have a few questions... > Is Valentina an Object - Relational database (support both definitions)? Yes, although you should note, that NOT exists standard on term Object-Relational, as for example exists ODMG standard for OO DBMS. So we have OWN features, which WE think are OR. > Personal opinion on which is best? Actually ?Valentina allows use any or mix them. Usually mixing give best results > Is Valentina tightly integrated into Visual Studio .Net (work entirely inside > of VS to work with Valentina)? VNET -- this is just function calls. > Why would I need this (IMB ICU Unicode library 4-8 MB)? Because Valentina 2.0 engine internally work with UTF16, And since Valentina is cross-platform, we do not want depend on OS API of Microsoft or Apple or Linux. So we have own built-in support of Unicode thanks to ICU. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Mar 23 12:23:19 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Mar 23 05:23:25 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > Then lets check what API can be used on Pocket PC. > > I assume that C++ MUST BE there. > So must be possible to develop something using our C++ SDK. > C++ client is open source, and must be easy compiled there. > > May be ActiveX works on PocketPC? > > Or C# ? I don't know at all. Maybe you can find out checking the microsoft site. However this won't be ready and working until next week, will it? At the moment I am working on an interim solution, having someone developing me a little data browser that will connect to my MD application via Active X. My MD application will handle the Valentina stuff then. But yes, I guess a Pocket PC client (V4PP) would be very nice... Best regards, Florian From sunshine at public.kherson.ua Tue Mar 23 14:50:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 06:51:13 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: On 3/23/04 1:23 PM, "Florian Bogeschdorfer" wrote: >> Then lets check what API can be used on Pocket PC. >> >> I assume that C++ MUST BE there. >> So must be possible to develop something using our C++ SDK. >> C++ client is open source, and must be easy compiled there. >> >> May be ActiveX works on PocketPC? >> >> Or C# ? > > I don't know at all. Maybe you can find out checking the microsoft site. You can read here. http://www.microsoft.com/windowsmobile/information/devprograms/default.mspx > However this won't be ready and working until next week, will it? I think C++ client SDK must work right now! C#...we do not have yet client for C# > At the moment I am working on an interim solution, having someone developing > me a little data browser that will connect to my MD application via Active > X. My MD application will handle the Valentina stuff then. > > But yes, I guess a Pocket PC client (V4PP) would be very nice... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Mar 23 15:11:06 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Mar 23 08:11:21 2004 Subject: Valentina and Pocket PC In-Reply-To: Message-ID: > > I think C++ client SDK must work right now! > > C#...we do not have yet client for C# > I wish I knew C++ ... Florian From fci at europa.com Tue Mar 23 07:19:21 2004 From: fci at europa.com (Lynn Fredricks) Date: Tue Mar 23 09:19:42 2004 Subject: Valentina Data Reports Bundle For REALbasic Available In-Reply-To: Message-ID: <00c501c410ea$3d95ddc0$0100000a@LYNNP42G> Valentina Data Reports Bundle For REALbasic Available LIMITED SPECIAL OFFER FOR REALBASIC DEVELOPERS COMBINES FASTEST DATABASE AND REPORTING TOOLS March 23, 2004. Beaverton, Oregon. Paradigma Software, makers of the Valentina line of database products and On-Target Reports, Inc, makers of dbReports Professional, announce a limited time, special offer for developers of REALbasic, in honor of REAL Software's RealWorld 2004 conference. REALbasic developers can purchase Valentina for REALbasic (MacOS or Windows), regularly $199, and dbReports Professional (MacOS or Windows), regularly $199, together, for $299. The special offer begins today and ends April 2, 2004. "REALbasic 5.5 takes you to the next level when you've exhausted the application possibilities of a database product like FileMaker Pro," said Aaron Bratcher, president of On-Target Reports, Inc. "With Valentina underneath, you can manage hundreds of thousands of records with remarkable speed and robustness." Aaron Bratcher is also a featured speaker at the REALWorld 2004 conference in Austin, Texas. dbReports Professional is an easy to use report generator and designer that supports many popular database formats on MacOS and Windows. The Professional version includes special runtime classes for REALbasic developers so that they can integrate the templates they make in their REALbasic applications. "Real businesses need tools that are familiar, easy to use and can readily draw on and display business data in a meaningful and reliable way. REALbasic 5.5 now has a great presentation layer in On-Target Report's dbReports Professional," said Ruslan Zasukhin, Founder of Paradigma Software. Valentina for REALbasic is the fastest, most robust solution for developing database applications using REAL Software's flagship product, REALbasic. With an advanced object-relational approach to database development and familiar SQL syntax, Valentina products employ the same interface for working with all major development platforms for MacOS and Windows, from REALbasic to .net. The Valentina Data Reports Bundle is available from the On-Target Reports website at http://www.ontargetreports.com. About Paradigma Software Founded in 1998, Paradigma Software develops the ultra-fast Valentina database kernel, the core of its line of database products for designers and developers. Paradigma 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. About On-Target Reports, Inc On-Target Reports, Inc makes dbReports and dbReports Professional, the easiest way to extract and display database information from the most popular databases on Windows and Macintosh. On-Target Reports envisions making complex data accessible and meaningful, for business users and developers. For additional information, visit the On-Target Reports website at http://www.ontargetreports.com. From francesco.cosoleto at libero.it Tue Mar 23 18:05:11 2004 From: francesco.cosoleto at libero.it (Francesco Cosoleto) Date: Tue Mar 23 11:57:09 2004 Subject: Format version problem References: <20040320004444.7FB8BD83C4@edison.macserve.net> Message-ID: <000801c41100$29531740$b313d5d5@Francesco> On Saturday, March 20, 2004 1:44 AM, valentina-request@lists.macserve.net wrote: Hi Ruslan Zasukhin, >>> Do you mean that you get from C SDK some string of VarChar. >>> And LATER it change value? [...] >> random access mode. Results with DataBase_Dump() give me the same >> behaviour, and I think therefore so. Further, DataBase_Dump() in SQL >> mode, instead of output a lot of data, exit immediately after 3 record >> (1 VarChar of 3) > Hmm, SQL dump should works fine. > > In the same time note, that SQL LOAD DUMP not implemented. > Only XML load dump works. > > >> Why are you unsure about your code? > > Because I speak about DESIGN issues. > Exists several ways of design, and one can prefer one design, somebody > else other design. [...] > So you use Macromedia Director or C language ????? > You have NOT answer on this my question. > > It seems you use Director, > > Then forget all above in green color, > because that was info for C SDK. Macromedia Director is previous software used to browse Valentina database data, my working enviroment is C. Really DataBase_Dump() with SQL option don't write. I get "VarChar field corrupted" error. This is the problem. I have seen that error occur with Field_GetString() also. But with Valentina for Macintosh (MC680x0 executable) databases seem work fine in every occurence. Francesco Cosoleto From sunshine at public.kherson.ua Tue Mar 23 20:06:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 12:06:54 2004 Subject: Format version problem In-Reply-To: <000801c41100$29531740$b313d5d5@Francesco> Message-ID: On 3/23/04 7:05 PM, "Francesco Cosoleto" wrote: Hi Francesco, > Macromedia Director is previous software used to browse Valentina database > data, my working enviroment is C. Aha, Question: in C you create new database or you try work with existed db made by V4MD? If you work with existed db you should understand that V4MD have Director specific SetMedia() function which save data that only DIRECTOR can read. > Really DataBase_Dump() with SQL option don't write. I get "VarChar field > corrupted" error. This is the problem. I have seen that error occur with > Field_GetString() also. But with Valentina for Macintosh (MC680x0 > executable) databases seem work fine in every occurence. Well, please try open this db by VAPP or Valentina Studio and do dump from there. Also make DIAGNOSE of your db. May be your db is corrupted. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 23 20:09:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 12:09:33 2004 Subject: Format version problem In-Reply-To: <000801c41100$29531740$b313d5d5@Francesco> Message-ID: On 3/23/04 7:05 PM, "Francesco Cosoleto" wrote: > Macromedia Director is previous software used to browse Valentina database > data, my working enviroment is C. > > Really DataBase_Dump() with SQL option don't write. I get "VarChar field > corrupted" error. This is the problem. I have seen that error occur with > Field_GetString() also. But with Valentina for Macintosh (MC680x0 > executable) databases seem work fine in every occurence. Also, Do you work on MAC? With CodeWarrior? Your app create new empty db and fill records? Then do something with records? Can you send something that reproduce? Have you run C SDK examples? Does they work for you? If yes then compare your code to example code. How good you know C? And please be more fast in answers, because when it takes few days I can forget previous discussion. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From james.milne at mac.com Tue Mar 23 20:52:23 2004 From: james.milne at mac.com (James Milne) Date: Tue Mar 23 14:51:50 2004 Subject: Bug with Select count(distinct) Message-ID: Hi all, I've had a problem with Valentina crashing when I perform the following operation: select distinct( count shotIndex ) from take where sceneIndex = '1' If I insert some records but don't populate all of the text fields and varchar fields, the above query will crash in the method with the following call stack: Thread 0 Crashed: 0 Plugin 0x01133010 CalculateDistinctCountOnTable__19OBL_CursorTable_TmpFP13FBL_BaseFieldR24 OBL_CursorTable_Indirect + 0x20 1 Plugin 0x01132128 BuildSingleRecord__19OBL_CursorTable_TmpFP10OBL_ParserR24OBL_CursorTable _Indirect + 0x128 2 Plugin 0x01131688 BuildRecords__19OBL_CursorTable_TmpFP10OBL_ParserR24OBL_CursorTable_Indi rect + 0x98 3 Plugin 0x011309e0 BuildMultiplicationTable__19OBL_CursorTable_TmpFP10OBL_Parser + 0x70 4 Plugin 0x01130540 BuildTable__19OBL_CursorTable_TmpFP10OBL_Parser + 0x30 5 Plugin 0x010b4c80 BuildCursorTable__10OBL_CursorFv + 0x30 6 Plugin 0x010b4224 Execute__10OBL_CursorFv + 0x64 7 Plugin 0x010b5758 ExecuteSql_WithNoUnion__10VDK_CursorFPCc + 0x48 8 Plugin 0x010b56c4 ExecuteSQL__10VDK_CursorFPCc + 0x24 9 Plugin 0x010a4fd8 SqlSelect__12VDK_DataBaseFPCc15ECursorLocation9ELockType16ECursorDirecti on + 0x68 10 Plugin 0x0100d7c8 DataBase_SqlSelect_aux__FP16REALobjectStructP16REALstringStructiii + 0xa8 11 Plugin 0x0100d53c DataBase_SqlSelect__FP16REALobjectStructP16REALstringStruct + 0x1c 12 main 0x024ce160 0x2008000 + 0x4c6160 13 main 0x0224e73c 0x2008000 + 0x24673c 14 main 0x02252438 0x2008000 + 0x24a438 15 main 0x026752d8 0x2008000 + 0x66d2d8 16 main 0x025588a8 0x2008000 + 0x5508a8 17 main 0x0255add0 0x2008000 + 0x552dd0 18 main 0x024c00e4 0x2008000 + 0x4b80e4 19 main 0x02251500 0x2008000 + 0x249500 20 main 0x02262dfc 0x2008000 + 0x25adfc 21 main 0x022478cc 0x2008000 + 0x23f8cc 22 main 0x025488c4 0x2008000 + 0x5408c4 23 HXRuntime 0x0288d288 0x27a3840 + 0xe9a48 24 HXRuntime 0x027d5f18 0x27a3840 + 0x326d8 25 HXRuntime 0x028977c8 0x27a3840 + 0xf3f88 26 HXRuntime 0x02832ff8 0x27a3840 + 0x8f7b8 27 HXRuntime 0x02832958 0x27a3840 + 0x8f118 28 HXRuntime 0x02830d40 0x27a3840 + 0x8d500 29 HXRuntime 0x02830f94 0x27a3840 + 0x8d754 30 HXRuntime 0x0282d760 0x27a3840 + 0x89f20 31 main 0x026cf598 0x2008000 + 0x6c7598 32 main 0x02008580 0x2008000 + 0x580 33 ...ple.CoreServices.CarbonCore 0x902d9d74 CCFM_LaunchApplication + 0x1e8 34 MyApp 0x00008840 main + 0x168 35 MyApp 0x00008408 _start + 0x188 36 MyApp 0x0000827c start + 0x30 My schema looks like this: statement = "create table take ( " statement = statement + "takeIndex varchar(16) indexed, " ' take number relative to shot statement = statement + "shotIndex varchar(16) indexed, " ' shot number statement = statement + "sceneIndex varchar(16) indexed, " ' index of the scene we are in statement = statement + "takeSortIndex varchar(16) method( lpad(takeIndex, 6, '0') ), " statement = statement + "shotSortIndex varchar(16) method( lpad(shotIndex, 6, '0') ), " statement = statement + "sceneSortIndex varchar(16) method( lpad(sceneIndex, 6, '0') ), " statement = statement + "dayIndex varchar(16) indexed, " ' index of the day on which the take was made statement = statement + "daySortIndex varchar(16) method( lpad(dayIndex, 6, '0') ), " statement = statement + "cameraID varchar(16), " statement = statement + "rollNumber varchar(16), " statement = statement + "frameRate long, " statement = statement + "dropFrame boolean, " statement = statement + "recordRate long, " statement = statement + "playbackRate long, " statement = statement + "stamp datetime, " statement = statement + "inPoint double, " statement = statement + "outPoint double, " statement = statement + "duration double, " statement = statement + "identPoint double, " statement = statement + "refPoint double, " statement = statement + "loop boolean, " statement = statement + "inTimecode double, " statement = statement + "outTimecode double, " statement = statement + "comment text(255) indexed, " statement = statement + "commentUpr text(255) method( upper(comment) ), " statement = statement + "goodTake boolean, " statement = statement + "motionOmitSound boolean, " statement = statement + "path text(255), " statement = statement + "pathState long, " statement = statement + "backupImage text(255), " statement = statement + "hasTimecodeTrack boolean, " statement = statement + "hasTachoTrack boolean, " statement = statement + "hasSoundTrack boolean, " statement = statement + "useRecordedTach boolean, " statement = statement + "useManualTach boolean, " statement = statement + "inPointPicture picture(1024) " ' image from in-point of movie statement = statement + ")" Yes it is rather a large schema :-) At some point I will refactor it into a number of smaller tables which link back to one main take table. Is there anything missing from my column definitions which might be causing the above SQL query to crash? For instance, am I missing some sort of NULL behaviour criteria from the column constraints? It seems there are a few areas where Valentina is a bit shoddy about validation when it comes to checking what your doing is correct. For instance, V4RB will crash if you try to call VCursor.TextField() on a varchar data type. Admittedly, this is not the correct thing to do, but it certainly shouldn't crash hard, wouldn't you agree? I can provide a small project which 100% repeatably demonstrates the crash. I'm using V4RB 1.10 (dated Dec 23, 2003) and REALbasic 5.2.4. Also, when using Valentina Studio, the following query Select distinct shotIndex from take where sceneIndex = '1' returns the same results as this: Select shotIndex from take where sceneIndex = '1' This strikes me a completely wrong, no? Am I misunderstanding some subtleties of the Distinct qualifier? -- James Milne From Karen at curlypaws.com Tue Mar 23 21:16:41 2004 From: Karen at curlypaws.com (Karen) Date: Tue Mar 23 15:16:48 2004 Subject: V4RB Beta problems Message-ID: Hi, I've just recently bought Valentina V4RB and I'm very pleased with it so far. However, I tried downloading the beta version of the plugin and every time I try to run my program with it I get an "unexpected quit" of the application. Is there something I'm doing wrong? Is the beta only for use with Valentina Server? Thanks, Karen From sunshine at public.kherson.ua Tue Mar 23 23:47:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 15:47:53 2004 Subject: Bug with Select count(distinct) In-Reply-To: Message-ID: On 3/23/04 10:52 PM, "James Milne" wrote: Hi James, > Hi all, > > I've had a problem with Valentina crashing when I perform the following > operation: > > select distinct( count shotIndex ) from take where sceneIndex = '1' If I am not mistake must be select count( DISTINCT fld) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 23 23:49:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 15:49:43 2004 Subject: V4RB Beta problems In-Reply-To: Message-ID: On 3/23/04 11:16 PM, "Karen" wrote: > Hi, > > I've just recently bought Valentina V4RB and I'm very pleased with it so > far. However, I tried downloading the beta version of the plugin and every > time I try to run my program with it I get an "unexpected quit" of the > application. Is there something I'm doing wrong? Is the beta only for use > with Valentina Server? Yes Karen, Please note, that BETA page, contains files only under the header "CLIENT". Section "beta version" is empty. Latest build was 1.10 release. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From james.milne at mac.com Tue Mar 23 22:04:09 2004 From: james.milne at mac.com (James Milne) Date: Tue Mar 23 16:03:34 2004 Subject: Bug with Select count(distinct) In-Reply-To: References: Message-ID: <02D7F43D-7D16-11D8-B1E7-000393DB941A@mac.com> On 23 Mar, 2004, at 21:47, Ruslan Zasukhin wrote: > On 3/23/04 10:52 PM, "James Milne" wrote: > > Hi James, > >> Hi all, >> >> I've had a problem with Valentina crashing when I perform the >> following >> operation: >> >> select distinct( count shotIndex ) from take where sceneIndex = '1' > > If I am not mistake must be > > select count( DISTINCT fld) Actually- I should have proof-read my email. The query is actually select count( distinct shotIndex ) from take where sceneIndex = '1' -- James Milne From sunshine at public.kherson.ua Wed Mar 24 00:36:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 23 16:36:47 2004 Subject: Bug with Select count(distinct) In-Reply-To: Message-ID: On 3/23/04 10:52 PM, "James Milne" wrote: > Is there anything missing from my column definitions which might be causing > the above SQL query to crash? For instance, am I missing some sort of NULL > behaviour criteria from the column constraints? I do not think so. Only IndexByWords make field NOT SORTABLE. > It seems there are a few areas where Valentina is a bit shoddy about > validation when it comes to checking what your doing is correct. For instance, > V4RB will crash if you try to call VCursor.TextField() on a varchar data type. Right. Because you have SAY that you work with TextField(). Valentina believe you. :-) > Admittedly, this is not the correct thing to do, but it certainly shouldn't > crash hard, wouldn't you agree? Well, as for me, such mistakes are DEVELOPER mistakes, And they can be very easy found and fixed. So why we must slow down self with a lots of runtime checks ?! You will NOT be able ship application which can do such mistake at runtime. Right? So what sense to have protection which will NEVER work in your RELEASE code? > I can provide a small project which 100% repeatably demonstrates the crash. > I'm using V4RB 1.10 (dated Dec 23, 2003) and REALbasic 5.2.4. > > Also, when using Valentina Studio, the following query > > Select distinct shotIndex from take where sceneIndex = '1' > > returns the same results as this: > > Select shotIndex from take where sceneIndex = '1' > > This strikes me a completely wrong, no? Am I misunderstanding some > subtleties of the Distinct qualifier? Hmm, Can you send me your db with your table? Valentina Studio also crashes with your count(distinct) ? Also try just in case rebuild all indexes. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From james.milne at mac.com Tue Mar 23 23:04:30 2004 From: james.milne at mac.com (James Milne) Date: Tue Mar 23 17:03:50 2004 Subject: Bug with Select count(distinct) In-Reply-To: References: Message-ID: <70DC58CC-7D1E-11D8-B1E7-000393DB941A@mac.com> >> Admittedly, this is not the correct thing to do, but it certainly >> shouldn't >> crash hard, wouldn't you agree? > > Well, as for me, such mistakes are DEVELOPER mistakes, > And they can be very easy found and fixed. > > So why we must slow down self with a lots of runtime checks ?! > You will NOT be able ship application which can do such mistake at > runtime. > Right? > > So what sense to have protection which will NEVER work in your RELEASE > code? I do agree completely, but it's kinda nasty to crash hard :-) However, it's not a big issue, it's more of a fault on my side than it is on yours, so I'm not making a big fuss about it :-) > Can you send me your db with your table? Yes. I'll do that this evening. > Valentina Studio also crashes with your count(distinct) ? Yes, every time. Also Valentina Studio is giving me strange results when I perform a SELECT DISTINCT on my table. > Also try just in case rebuild all indexes. This happens with a brand new table just after I've added some rows, so the indexes aren't directly at fault here, unless I need to rebuild the indexes after I've performed the inserts, but I'd have to do that all the time which surely be rather slow.... I'll send you an example project which illustrates the crash. -- James Milne From marcus at synchromedia.co.uk Tue Mar 23 23:44:54 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Tue Mar 23 17:45:02 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: on 14/3/04 22:42, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: >> Hi Geraint, >> >> You can use ValentinaEscapeString() I'm on the other end of this project, accepting databases created with this .NET tool in V4MD. The problem we're having is that the "normal" ValentinaEscapeString doesn't quite do enough, and the "regex" escape does a bit too much. The problem is that we have strings containing both double and single quotes. As far as I can see, Valentina does automatically unescape both quote types on retrieval, but not other chars such as ( and ). Before I write a lingo unescape function, is there something I've missed that could do it for me? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From james.milne at mac.com Wed Mar 24 00:31:01 2004 From: james.milne at mac.com (James Milne) Date: Tue Mar 23 18:30:26 2004 Subject: Bug with Select count(distinct) In-Reply-To: References: Message-ID: <86C10EF1-7D2A-11D8-B1E7-000393DB941A@mac.com> On 23 Mar, 2004, at 22:36, Ruslan Zasukhin wrote: > On 3/23/04 10:52 PM, "James Milne" wrote: > >> Is there anything missing from my column definitions which might be >> causing >> the above SQL query to crash? For instance, am I missing some sort of >> NULL >> behaviour criteria from the column constraints? > > I do not think so. > > Only IndexByWords make field NOT SORTABLE. That's OK, the only field I would want to index by words is the comment field, and I don't sort on it. Anyhow, is IndexByWords supported in V4RB 1.10? -- James Milne From marcus at synchromedia.co.uk Wed Mar 24 01:47:45 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Tue Mar 23 19:47:50 2004 Subject: Bug with Select count(distinct) In-Reply-To: Message-ID: on 23/3/04 22:36, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Well, as for me, such mistakes are DEVELOPER mistakes, > And they can be very easy found and fixed. > > So why we must slow down self with a lots of runtime checks ?! > You will NOT be able ship application which can do such mistake at runtime. > Right? > > So what sense to have protection which will NEVER work in your RELEASE code? Um, well, I'd prefer it if it didn't crash anyway. I keep having intermittent crashes in V4MD when I make a simple error like referring to a field that doesn't exist. Perhaps these checks could be enabled via the debug level in force at the time? Having director crash and lose changes just because of something like this is hard on the developer... Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From mdeh at earthlink.net Tue Mar 23 21:56:27 2004 From: mdeh at earthlink.net (Michael de Haan) Date: Tue Mar 23 21:56:35 2004 Subject: Help Again Please Message-ID: <3A2CAA52-7D47-11D8-B6C3-000A9566BB4A@earthlink.net> Ruslan, Still having a hard time with the issue of inserting a new record into a table (VRB4): 2 Questions immediately come to mind. 1) The indexes in the array are numbered 0,1,2 etc ie zero based. So, using :1,:2,:3 in the "Values" statement is Correct? as in ---> ((VALUES (:1, :2, :3) & dim Binds(-1) as String Binds.append '12123' Binds.append 'bu' Binds.append '23' )) 2) Please help with the line; db.SqlExecute( mySQL, Binds ) In the ref (VALENTINA for REALbasic Reference), this is shown as: SQLExecute( Query as String, [Binds() as String] ) as Integer. When I try and write the line "db.SqlExecute( mySQL, Binds )" it will not execute unless it is written as a function that returns an integer, (that is the error message generated if no integer variable is supplied) as in RecCount=db.SqlExecute( mySQL, Binds ). So, what does compile, but still does not work is the following: RecCount=myDB.sqlExecute(mySqL, theArray) where mySqL is "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3)" and theArray is 0 '12123' 1 'bu' etc etc I have tried : -- changing the values of VALUES to :0 etc :1 etc -- removing the double quotations on either end of the mySqL string Not sure what to try next? Thanks Michael. >>>>>>>>>>>>>>>>>>>>>>>>>> > Ruslan, > > Is there any obvious reason to you why this syntax is not working? > > RecCount=myDB.sqlExecute(MySQL) > > where MySQL is: > > "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3) binded > with { "12123","bu","23"}" Yes. Must be: mySQL = "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3)" And later, I assume you use V4RB: dim Binds(-1) as String Binds.append '12123' Binds.append 'bu' Binds.append '23' db.SqlExecute( mySQL, Binds ) I.e. Binds is true array of strings. > and where > > iCpts is a table name > > cCode, cDesc, cVal are the field description > > > as in ......... > > CodeC=new vString("cCode", 8) > DescC=new vVarChar("cDesc", 504) > cVal=new vString("cVal", 2) From sunshine at public.kherson.ua Wed Mar 24 08:18:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 24 00:18:41 2004 Subject: Bug with Select count(distinct) In-Reply-To: <86C10EF1-7D2A-11D8-B1E7-000393DB941A@mac.com> Message-ID: On 3/24/04 2:31 AM, "James Milne" wrote: >>> Is there anything missing from my column definitions which might be >>> causing >>> the above SQL query to crash? For instance, am I missing some sort of >>> NULL >>> behaviour criteria from the column constraints? >> >> I do not think so. >> >> Only IndexByWords make field NOT SORTABLE. > > That's OK, the only field I would want to index by words is the comment > field, and I don't sort on it. > > Anyhow, is IndexByWords supported in V4RB 1.10? Yes, James. It Is supported. I mean that if you index by words some string fields, you cannot sort on it. To be able sort, you should create second index on this field, using helper BaseObject method without flag IndexbyWords -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 24 08:21:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 24 00:21:37 2004 Subject: Bug with Select count(distinct) In-Reply-To: Message-ID: On 3/24/04 3:47 AM, "Marcus Bointon" wrote: >> Well, as for me, such mistakes are DEVELOPER mistakes, >> And they can be very easy found and fixed. >> >> So why we must slow down self with a lots of runtime checks ?! >> You will NOT be able ship application which can do such mistake at runtime. >> Right? >> >> So what sense to have protection which will NEVER work in your RELEASE code? > > Um, well, I'd prefer it if it didn't crash anyway. I keep having > intermittent crashes in V4MD when I make a simple error like referring to a > field that doesn't exist. Perhaps these checks could be enabled via the > debug level in force at the time? Having director crash and lose changes > just because of something like this is hard on the developer... In ideal, we could have 2 version of V4RB, V4MD, ... Oh, guys! This is an idea. In 2.0 we will keep kernel of Valentina in separate DLL, So plugin itself will be very small. And therefore it will be easy put into archive 2 versions of plugins! Really good idea!!! DEBUG version of plugin can have A LOTS of protection. RELEASE will have minimal or zero -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 24 08:29:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 24 00:29:27 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: On 3/24/04 1:44 AM, "Marcus Bointon" wrote: Hi Marcus, >>> Hi Geraint, >>> >>> You can use ValentinaEscapeString() > > I'm on the other end of this project, accepting databases created with this > .NET tool in V4MD. The problem we're having is that the "normal" You mean you work with Geraint? > ValentinaEscapeString doesn't quite do enough, and the "regex" escape does a > bit too much. The problem is that we have strings containing both double and > single quotes. As far as I can see, Valentina does automatically unescape > both quote types on retrieval, but not other chars such as ( and ). Before I > write a lingo unescape function, is there something I've missed that could > do it for me? Actually I have recommend to use binded params! This is much easier and effective than do escaping 2) I still do not understand what you do not like in Escaping. Valentina do not care about double quotes. about double quotes can care only C# itself, if you enter string constants at your code, but I do not think you do this. At runtime, C# remove escapes from double quotes so if you want let's discuss this on examples. I have this I get this I want get this -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 24 08:32:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 24 00:32:46 2004 Subject: Help Again Please In-Reply-To: <3A2CAA52-7D47-11D8-B6C3-000A9566BB4A@earthlink.net> Message-ID: On 3/24/04 5:56 AM, "Michael de Haan" wrote: Hi Michael, > Still having a hard time with the issue of inserting a new record into > a table (VRB4): Then please check EXAMPLES. In the worse case, I think __TEST project must have such syntax for testing. > 2 Questions immediately come to mind. > > > 1) > > The indexes in the array are numbered 0,1,2 etc ie zero based. > > So, using :1,:2,:3 in the "Values" statement is Correct? Yes. Indexing in SQL And Indexing in REALbasic arrays are quite different things! Note, that indexing in SQL is the same for all Valentina products, But arrays present only in REALbasic. For example, MM Director use for this LISTS. > as in ---> > ((VALUES (:1, :2, :3) & > > dim Binds(-1) as String > Binds.append '12123' > Binds.append 'bu' > Binds.append '23' )) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 24 08:36:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 24 00:37:06 2004 Subject: Help Again Please In-Reply-To: <3A2CAA52-7D47-11D8-B6C3-000A9566BB4A@earthlink.net> Message-ID: On 3/24/04 5:56 AM, "Michael de Haan" wrote: Hi Michael, > 2) > > > Please help with the line; > > db.SqlExecute( mySQL, Binds ) > > In the ref (VALENTINA for REALbasic Reference), this is shown as: > > SQLExecute( Query as String, [Binds() as String] ) as Integer. > > When I try and write the line "db.SqlExecute( mySQL, Binds )" it will > not execute unless it is written as a function that returns an integer, Right, because REALBasic always require assign result of function to some variable. > (that is the error message generated if no integer variable is > supplied) > as in RecCount=db.SqlExecute( mySQL, Binds ). > > > > So, what does compile, but still does not work is the following: > > RecCount=myDB.sqlExecute(mySqL, theArray) > > where mySqL is > > "INSERT INTO iCpts ( cCode, cDesc, cVal ) VALUES (:1, :2, :3)" > > and theArray is > > 0 '12123' > 1 'bu' > > etc etc > > > I have tried : > > -- changing the values of VALUES to :0 etc :1 etc > -- removing the double quotations on either end of the mySqL string > > Not sure what to try next? well, please try to find example in our EXAMPLE or TEST projects. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From francesco.cosoleto at libero.it Thu Mar 25 03:54:12 2004 From: francesco.cosoleto at libero.it (Francesco Cosoleto) Date: Wed Mar 24 21:01:44 2004 Subject: Format version problem References: <20040323223653.DD090DC6BC@edison.macserve.net> Message-ID: <001501c41215$6d859260$be20d5d5@Francesco> Il Tuesday, March 23, 2004 11:36 PM, valentina-request@lists.macserve.net ha scritto: Hi Ruslan Zasukhin, > Question: in C you create new database > or you try work with existed db made by V4MD? > > If you work with existed db you should understand that V4MD have Director > specific SetMedia() function which save data that only DIRECTOR can read. > >> Really DataBase_Dump() with SQL option don't write. I get "VarChar field >> corrupted" error. This is the problem. I have seen that error occur with >> Field_GetString() also. But with Valentina for Macintosh (MC680x0 No Field_GetString(), Cursor_NextRecord(). >> executable) databases seem work fine in every occurence. > > Well, please try open this db by VAPP or Valentina Studio and do dump from > there. > > Also make DIAGNOSE of your db. May be your db is corrupted. I don't know if SetMedia() is used, but I am sure to exclude database corruption problem and my C code work correctly on new db (VarChar included). I use Christian Bauer's MAC emulator in order to dump data by VAPP. Unfortunately I get crash after 10Mb of ASCII output (400Mb left). It's possible a emulator failure. :-( However, I import this file into clone/remake db, then everything is going smoothly, excellent. About Valentina Studio for Windows tests, it reads database structure only, crash on attempt to browse data, unlike VAPP. Dump just as before, 3 record, 20Kb. Diagnose explain... - - - - - - - BaseObject: "January" Problems found. -----> Field: "DATE' of type Date All right. -----> Field: "PAGE' of type UShort All right. -----> Field: "CAPTION' of type VarChar Problems found! ...........Page 1 Next offset must be >=, but it is less. For RecID = 4 <--- Next offset must be >=, but it is less. For RecID = 6 Next offset must be >=, but it is less. For RecID = 8 [...] - - - - - - - I apologize for being slow to reply. I give up a lot of time to Valentina applications. Francesco Cosoleto From huancaya at wanadoo.fr Thu Mar 25 08:46:22 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Wed Mar 24 22:46:35 2004 Subject: Request SQL In-Reply-To: References: Message-ID: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> Hello, In broad outline, I have a table with two fields FieldA FieldB a A b A c B d A e C f B Which request SQL (SELECT ...), if it is possible, it is necessary to use to obtain a cursor containing only the records where the occurrences of FielsB are multiple: a A b A c B d A f B Thank you beforehand -- Thierry Nauze Saint-Denis de la R?union From maheshm at uniqueworld.net Thu Mar 25 16:30:05 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Wed Mar 24 23:32:47 2004 Subject: Request SQL Message-ID: try SELECT tblName.FieldA FROM tblName WHERE count( tblName.FieldB ) > 1 GROUP BY tblName.FieldB If this doesn't work include FieldB in the select statement Good Luck Mahesh -----Original Message----- From: Thierry Nauze [mailto:huancaya@wanadoo.fr] Sent: Thursday, 25 March 2004 3:46 To: Valentina Developers Subject: Request SQL Hello, In broad outline, I have a table with two fields FieldA FieldB a A b A c B d A e C f B Which request SQL (SELECT ...), if it is possible, it is necessary to use to obtain a cursor containing only the records where the occurrences of FielsB are multiple: a A b A c B d A f B Thank you beforehand -- Thierry Nauze Saint-Denis de la R?union _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From huancaya at wanadoo.fr Thu Mar 25 09:58:13 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Wed Mar 24 23:58:24 2004 Subject: Request SQL In-Reply-To: References: Message-ID: <66BC20C2-7E21-11D8-8388-000A95BA5A32@wanadoo.fr> Le 25 mars 04, ? 09:30, Mahesh Markus a ?crit : > try > SELECT tblName.FieldA > FROM tblName > WHERE count( tblName.FieldB ) > 1 > GROUP BY tblName.FieldB > > If this doesn't work include FieldB in the select statement > > Good Luck > > Mahesh Thank you but that does not work. COUNT does not seem to work with WHERE but only with SELECT; o ( -- Thierry Nauze Saint-Denis de la R?union From sunshine at public.kherson.ua Thu Mar 25 08:27:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 25 00:27:56 2004 Subject: Request SQL In-Reply-To: <5D933FC6-7E17-11D8-8388-000A95BA5A32@wanadoo.fr> Message-ID: On 3/25/04 6:46 AM, "Thierry Nauze" wrote: > Hello, > > In broad outline, I have a table with two fields > > FieldA FieldB > a A > b A > c B > d A > e C > f B > > Which request SQL (SELECT ...), if it is possible, it is necessary to > use to obtain a cursor containing only the records where the > occurrences of FielsB are multiple: > a A > b A > c B > d A > f B SELECT fa, fb, count(fb) as c FROM T WHERE c > 1 GROUP BY fb, fa Although this is not very effective (GROUP BY on 2 fields, and not needed group by on fa) But this even not works in Valentina 1.x You can do instead something as SELECT fa, fb, count(fb) FROM T GROUP BY fb, fa ORDER BY 3 DESC Now records that have count(fb) will be last in the cursor. You can ignore them by your code, Or you can make loop to DropRecord() them from cursor. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Mar 25 08:31:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 25 00:31:13 2004 Subject: Format version problem In-Reply-To: <001501c41215$6d859260$be20d5d5@Francesco> Message-ID: On 3/25/04 4:54 AM, "Francesco Cosoleto" wrote: Hi Francesco, > I don't know if SetMedia() is used, but I am sure to exclude database > corruption problem and my C code work correctly on new db (VarChar > included). > > I use Christian Bauer's MAC emulator in order to dump data by VAPP. > Unfortunately I get crash after 10Mb of ASCII output (400Mb left). It's > possible a emulator failure. :-( However, I import this file into > clone/remake db, then everything is going smoothly, excellent. > > About Valentina Studio for Windows tests, it reads database structure only, > crash on attempt to browse data, unlike VAPP. Dump just as before, 3 record, > 20Kb. Diagnose explain... > > - - - - - - - > > BaseObject: "January" > > Problems found. Ok, it looks your db was corrupted, and as I see you have rebuild database and problems gone away. Good. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From huancaya at wanadoo.fr Thu Mar 25 10:38:02 2004 From: huancaya at wanadoo.fr (Thierry Nauze) Date: Thu Mar 25 00:38:14 2004 Subject: Request SQL In-Reply-To: References: Message-ID: Le 25 mars 04, ? 10:27, Ruslan Zasukhin a ?crit : > On 3/25/04 6:46 AM, "Thierry Nauze" wrote: > >> Hello, >> .. > > > SELECT fa, fb, count(fb) as c > FROM T > WHERE c > 1 > GROUP BY fb, fa > > Although this is not very effective > (GROUP BY on 2 fields, and not needed group by on fa) > > But this even not works in Valentina 1.x > > > You can do instead something as > > SELECT fa, fb, count(fb) > FROM T > GROUP BY fb, fa > ORDER BY 3 DESC > > Now records that have count(fb) will be last in the cursor. > You can ignore them by your code, Thank you I am going to try > Or you can make loop to DropRecord() them from cursor. At the moment, I am testing this method Best regards -- Thierry Nauze Saint-Denis de la R?union From marcus at synchromedia.co.uk Thu Mar 25 14:58:30 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Thu Mar 25 08:58:36 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: on 24/3/04 6:29, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > You mean you work with Geraint? Yes. > 2) I still do not understand what you do not like in Escaping. > Valentina do not care about double quotes. > > about double quotes can care only C# itself, > if you enter string constants at your code, but I do not think > you do this. At runtime, C# remove escapes from double quotes > > so if you want let's discuss this on examples. > I have this > I get this > I want get this I don't quite get what you mean about it not caring about double quotes. If I have a string like this: "Hello "abc" and 'def' (1)" I would expect it to be escaped thus: "Hello \"abc\" and \'def\' (1)" But ValentinaEscapeString escapes it like this: "Hello "abc" and \'def\' (1)" Though if I do it in regex mode: "Hello \"abc\" and \'def\' \(1\)" This itself isn't such a big problem, but on retrieval, valentina automatically removes the escaping, but only for quotes, leaving me with: "Hello "abc" and 'def' \(1\)" I'm not quite sure how all this works in C# as Geraint is dealing with that, but this is the problem I'm seeing in Director. I'm suggesting to Geraint that he uses a different escaping function that behaves like the PHP addslashes function (which only escapes quotes and the \ char). Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From sunshine at public.kherson.ua Thu Mar 25 17:09:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Mar 25 09:09:50 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: On 3/25/04 4:58 PM, "Marcus Bointon" wrote: Hi Marcus, > I don't quite get what you mean about it not caring about double quotes. If > I have a string like this: > > "Hello "abc" and 'def' (1)" > > I would expect it to be escaped thus: > "Hello \"abc\" and \'def\' (1)" Why you expect this ??? > But ValentinaEscapeString escapes it like this: > > "Hello "abc" and \'def\' (1)" and this is correct Marcus. 1) You must use ValentinaEscapeString() only when you build query string 2) you escape only string constants ^^^^^^^^^^^^^^ For example: SELECT FROM WHERE fld = 'string constant' In your case this looks as SQL command SELECT FROM WHERE fld = 'Hello "abc" and 'def' (1)' ^^^^^ problem Note, that ONLY and ONLY single quotes cause problem inside of string constant!!! So we need escape only single quotes SELECT FROM WHERE fld = 'Hello "abc" and \'def\' (1)' So Valentina now can correctly determine where string constant ends. You see? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From marcus at synchromedia.co.uk Fri Mar 26 14:20:53 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Fri Mar 26 08:20:59 2004 Subject: [VNET] valentina sql In-Reply-To: Message-ID: on 25/3/04 15:09, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Why you expect this ??? Actually now I don't - I was misled that this was the problem. Regular escaping works fine. Don't worry about it. Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From sunshine at public.kherson.ua Sun Mar 28 09:05:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 28 00:05:21 2004 Subject: Understanding Locks/Cursors In-Reply-To: Message-ID: On 3/28/04 7:47 AM, "mdeh@earthlink.net" wrote: > Name: > > Question regarding: v4rb > > Ruslan, > I know this has been asked many times, but I am still somewhat unclear on > Locks, depsite having read all the info in the documentation and the > discussion. > Is this correct? > Provided the Cursor location is "Server" and the > lock-type is "Read-Write", a single cursor physically locks a record > on a Table (if it is one table). Yes, more correctly -- it lock all found records. > And you say this is the reason you CAN do > updates, deletes etc. Not very correct. We need locks to prevent conflicts between SEVERAL users/cursors. > But what if the cursor has selected a Record from more > than one table? In this case, cursor always is READ ONLY. And it will set ReadOnly locks on records in each table. This is needed to prevent other users from modifications of records which read this cursor now. > Does the Cursor lock ALL the tables, unitl it releases them? Yes, but not the whole tables. Just found records. > So can I then say this as a general statement? The best way to update, delete > etc is to have the Cursor represent ONE table, Exactly! > then just do the updates and deletes. yes > So having multiple Cursors(independent) open at one time would NOT > allow any changes from ANY cursors as we are breaking the "single Cursor > to single Table " at one time rule? > TIA Not very correct. Each cursor should try lock as few records as possible! Then you can have 10 cursors which all select and lock different records from the same table. Then each cursor will be able modify its records. --------- Exists another way --- we can name it "More SQL way". It is used widely in mySQL for example. You get result of query as cursor with No locks. And you send SQL commands UPDATE, INSEERT, DELETE if you need change something. But to see changes you must rebuild cursor each time. As for me not very nice -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From alindsay at mac.com Sat Mar 27 22:32:30 2004 From: alindsay at mac.com (Alex Lindsay) Date: Sun Mar 28 00:32:38 2004 Subject: Mac OS X choices In-Reply-To: References: Message-ID: I have been using RealBasic and Valentina for some personal projects and I am considering doing some work in Cocoa (Objective C). What Valentina product would be best? Should I look at the C libraries or the C++ classes? I know that the X Tools compiler has Objective C++ (Objective C with some C++) support but I am unsure of the real world issues involved in mixing the two. I am very familiar with both straight C as well as C++. Is there any Object-C wrappers for Valentina? I would be interested in any and all experiences with Valentina in a Mac OS X. From sunshine at public.kherson.ua Sun Mar 28 10:41:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 28 01:41:31 2004 Subject: Mac OS X choices In-Reply-To: Message-ID: On 3/28/04 8:32 AM, "Alex Lindsay" wrote: Hi Alex, > I have been using RealBasic and Valentina for some personal projects > and I am considering doing some work in Cocoa (Objective C). What > Valentina product would be best? Should I look at the C libraries or > the C++ classes? I'd recommend C++. It is more powerful, but can be little more hard, if you have no good experience in C++ > I know that the X Tools compiler has Objective C++ > (Objective C with some C++) support but I am unsure of the real world > issues involved in mixing the two. I am very familiar with both > straight C as well as C++. Is there any Object-C wrappers for > Valentina? Aha, so you know C++. Then try C++ SDK. It includes example of usage of Valentina C++ SDK in Cocoa! There is no yet true wrapper for Objective-C > I would be interested in any and all experiences with Valentina in a > Mac OS X. You mean MacOS X or C++ ? MacOS X is used by a lots of developers in RB, Director. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From alindsay at mac.com Sun Mar 28 00:35:41 2004 From: alindsay at mac.com (Alex Lindsay) Date: Sun Mar 28 02:35:46 2004 Subject: Mac OS X choices In-Reply-To: References: Message-ID: Thanks, I'll look at the C++ samples. On Mar 28, 2004, at 12:41 AM, Ruslan Zasukhin wrote: > On 3/28/04 8:32 AM, "Alex Lindsay" wrote: > > Hi Alex, > >> I have been using RealBasic and Valentina for some personal projects >> and I am considering doing some work in Cocoa (Objective C). What >> Valentina product would be best? Should I look at the C libraries or >> the C++ classes? > > I'd recommend C++. It is more powerful, but can be little more hard, > if you > have no good experience in C++ > >> I know that the X Tools compiler has Objective C++ >> (Objective C with some C++) support but I am unsure of the real world >> issues involved in mixing the two. I am very familiar with both >> straight C as well as C++. Is there any Object-C wrappers for >> Valentina? > > Aha, so you know C++. Then try C++ SDK. > It includes example of usage of Valentina C++ SDK in Cocoa! > > There is no yet true wrapper for Objective-C > >> I would be interested in any and all experiences with Valentina in a >> Mac OS X. > > You mean MacOS X or C++ ? > > MacOS X is used by a lots of developers in RB, Director. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From softil at onlinehome.de Sun Mar 28 11:25:43 2004 From: softil at onlinehome.de (SoftIl) Date: Sun Mar 28 03:25:56 2004 Subject: The results of your email commands References: Message-ID: <001f01c414a6$a857f5c0$fe78a8c0@IPSBASIS> Hi Ruslan, I think there is a little bug in the VDatabase-object. The property IsReadOnly gets always TRUE return also isn't the file readonly. Please can you check this? Best regards Carsten From sunshine at public.kherson.ua Sun Mar 28 15:54:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 28 06:55:00 2004 Subject: The results of your email commands In-Reply-To: <001f01c414a6$a857f5c0$fe78a8c0@IPSBASIS> Message-ID: On 3/28/04 12:25 PM, "SoftIl" wrote: > Hi Ruslan, > I think there is a little bug in the VDatabase-object. > The property IsReadOnly gets always TRUE return also isn't the file > readonly. > > Please can you check this? Do you speak about VNET ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Sun Mar 28 18:32:28 2004 From: softil at onlinehome.de (SoftIl) Date: Sun Mar 28 10:32:38 2004 Subject: [VNET] a little mistake with the IsReadOnly-Property of the VDataBase object References: Message-ID: <000f01c414e2$45976290$fe78a8c0@IPSBASIS> Hi Ruslan, yes I speak about VNET. Sorry for the wrong Titel. I had a little trouble with the list server. ;-) Best regards, Carsten ----- Original Message ----- > > Hi Ruslan, > > I think there is a little bug in the VDatabase-object. > > The property IsReadOnly gets always TRUE return also isn't the file > > readonly. > > > > Please can you check this? From robert at formworkdesign.com Sun Mar 28 13:40:51 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Sun Mar 28 12:40:57 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working Message-ID: <70162556-80E7-11D8-AF0C-000A95D01D92@formworkdesign.com> I'm running OSX 10.3.3, RB 5.5. I don't know exactly when it broke, but valentina no longer is exporting text from cursors. After the command, the text fiel simply is not created. ??? Robert Nichols robert@formworkdesign.com From sunshine at public.kherson.ua Sun Mar 28 23:17:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 28 14:18:02 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working In-Reply-To: <70162556-80E7-11D8-AF0C-000A95D01D92@formworkdesign.com> Message-ID: On 3/28/04 9:40 PM, "Robert Nichols" wrote: > I'm running OSX 10.3.3, RB 5.5. > > I don't know exactly when it broke, but valentina no longer is > exporting text from cursors. After the command, the text fiel simply is > not created. > > ??? Hi Robert, Have you check viSQL (it have button Export) May be problem with record locks.... Although I do not see which problems can be here. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Sun Mar 28 18:29:40 2004 From: dave at Parizek.com (Dave Parizek) Date: Sun Mar 28 19:29:47 2004 Subject: parenthesis trick on sql selects question In-Reply-To: References: Message-ID: I want to (A and B are joined by objectptr): select * from A, B where A.f1 = something and A.f2 = something and B.f3 = something The above returns a 616 wrong expression error. My understanding is there is some workaround to the effect that if you put parenthesis's around the requests for each table it would solve the problem: select * from A, B where (A.f1 = something and A.f2 = something) and (B.f3 = something) but I am still getting a 616 error. Can someone let me know how the parenthesis workaround/trick is supposed to work to get V4RB 1.98 to perform this query? --Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From robert at formworkdesign.com Sun Mar 28 21:35:19 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Sun Mar 28 20:36:13 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working In-Reply-To: References: Message-ID: Well, ViSQL works, but I think my app breaking happened when I started testing Valentina Server (I guess I should have mentioned that in my initial message). ViSQL is just testing a database as a stand-alone entity, right??? I tried changing from a client side, read-only cursor to one on the server side and also NO LOCK, but...no luck (joke!! - I hope it works for you in Russia). You have not heard of trouble with cursor.exporttext using V Server??? Robert On Mar 28, 2004, at 3:17 PM, Ruslan Zasukhin wrote: > On 3/28/04 9:40 PM, "Robert Nichols" wrote: > >> I'm running OSX 10.3.3, RB 5.5. >> >> I don't know exactly when it broke, but valentina no longer is >> exporting text from cursors. After the command, the text fiel simply >> is >> not created. >> >> ??? > > Hi Robert, > > Have you check viSQL (it have button Export) > > May be problem with record locks.... > Although I do not see which problems can be here. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Mar 29 07:29:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Mar 28 22:30:03 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working In-Reply-To: Message-ID: On 3/29/04 5:35 AM, "Robert Nichols" wrote: Hi Robert, > Well, ViSQL works, but I think my app breaking happened when I started > testing Valentina Server (I guess I should have mentioned that in my > initial message). > > ViSQL is just testing a database as a stand-alone entity, right??? > > I tried changing from a client side, read-only cursor to one on the > server side and also NO LOCK, but...no luck (joke!! - I hope it works > for you in Russia). > > You have not heard of trouble with cursor.exporttext using V Server??? Aha, Please note, that Vserver can export file only on HDD of Server itself. You cannot get exported file on client computer directly. At least now, in Vserver alpha. So in Export() call, you need provide path for SERVER computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Sun Mar 28 21:49:25 2004 From: dave at Parizek.com (Dave Parizek) Date: Sun Mar 28 22:49:34 2004 Subject: NEVERMIND: Re: parenthesis trick on sql selects question In-Reply-To: References: Message-ID: Cancel my previous question, I figured it out. Sorry. --Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From robert at formworkdesign.com Mon Mar 29 08:44:50 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Mon Mar 29 07:45:31 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working In-Reply-To: References: Message-ID: <400EFBB1-8187-11D8-B329-000A95B5C3F8@formworkdesign.com> Hmmm. I am trying to export to the same machine that VServer is on. I'm developing with the client and server talking on the same machine. As far as providing a path to export call...do you mean the path of the provided folderitem needs to be on the same machine as VServer. Export only takes a folder item as argument, right? Hoping, Robert On Mar 28, 2004, at 11:29 PM, Ruslan Zasukhin wrote: > On 3/29/04 5:35 AM, "Robert Nichols" wrote: > >> >> >> You have not heard of trouble with cursor.exporttext using V Server??? > > Aha, > > Please note, that Vserver can export file only on HDD of Server itself. > You cannot get exported file on client computer directly. > At least now, in Vserver alpha. > > So in Export() call, you need provide path for SERVER computer. > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon Mar 29 17:48:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 29 08:48:27 2004 Subject: [v4rb] Mac OSX cursor.ExportText not working In-Reply-To: <400EFBB1-8187-11D8-B329-000A95B5C3F8@formworkdesign.com> Message-ID: On 3/29/04 4:44 PM, "Robert Nichols" wrote: Hi Robert, > Hmmm. I am trying to export to the same machine that VServer is on. I'm > developing with the client and server talking on the same machine. > > As far as providing a path to export call...do you mean the path of the > provided folderitem needs to be on the same machine as VServer. Export > only takes a folder item as argument, right? No, this must be path to a file, e.g. /export.txt Try this simplest way: path from root. You must be able to find exported file by that path. I have talk to Igor, Ops. Import/Export not implemented in Vserver. Dump works. Igor will make export ASAP and we make new build >>> You have not heard of trouble with cursor.exporttext using V Server??? >> >> Aha, >> >> Please note, that Vserver can export file only on HDD of Server itself. >> You cannot get exported file on client computer directly. >> At least now, in Vserver alpha. >> >> So in Export() call, you need provide path for SERVER computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 29 13:37:12 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 29 12:37:22 2004 Subject: V4Rb Client 2.0a61 problem Message-ID: <17DBC8B0-81B0-11D8-951D-003065BB0634@desuetude.com> It appears that VField.BaseObject is returning Nil again. In particular, I'm getting a VField reference using VBaseObject.Field("RecID"), and its BaseObject property is Nil. -------------- Charles Yeomans From xyzabc1010 at yahoo.com Mon Mar 29 10:57:40 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Mon Mar 29 12:57:45 2004 Subject: VServer Question on Connection In-Reply-To: <17DBC8B0-81B0-11D8-951D-003065BB0634@desuetude.com> Message-ID: <20040329185740.46642.qmail@web21104.mail.yahoo.com> Hi All, I hooked up my Director App to valentina and everything works fine. I am now trying to add a handler that checks whether or not the database connection was lost. The steps are as follows 1. OpenDatabase Perform several queries For each query check whether or not we still have a connection to the db. (the way I do this is through VServer Available API) 2. CloseDatabase I did this with the VServer xtra. However, opening a session via VServer, I now have 2 connections to the db for my one app. Is there a way to check this with only 1 connection. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Mon Mar 29 21:44:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 29 13:54:08 2004 Subject: V4Rb Client 2.0a61 problem In-Reply-To: <17DBC8B0-81B0-11D8-951D-003065BB0634@desuetude.com> Message-ID: On 3/29/04 9:37 PM, "Charles Yeomans" wrote: Hi Charles, > It appears that VField.BaseObject is returning Nil again. In > particular, I'm getting a VField reference using > VBaseObject.Field("RecID"), and its BaseObject property is Nil. Other fields also? Or only RecID? I think tomorrow we will make a62 build. Igor have implement Import/Export on Server side. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 29 15:15:20 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 29 14:15:27 2004 Subject: V4Rb Client 2.0a61 problem In-Reply-To: References: Message-ID: On Mar 29, 2004, at 1:44 PM, Ruslan Zasukhin wrote: > On 3/29/04 9:37 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> It appears that VField.BaseObject is returning Nil again. In >> particular, I'm getting a VField reference using >> VBaseObject.Field("RecID"), and its BaseObject property is Nil. > > Other fields also? Or only RecID? > > I think tomorrow we will make a62 build. > Igor have implement Import/Export on Server side. Only for Field("RecID"), it appears. For other fields, including other virtual fields, VField.BaseObject is <> nil. -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Mar 29 22:08:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 29 14:46:29 2004 Subject: VServer Question on Connection In-Reply-To: <20040329185740.46642.qmail@web21104.mail.yahoo.com> Message-ID: On 3/29/04 9:57 PM, "X Y" wrote: > Hi All, > I hooked up my Director App to valentina and > everything works fine. I am now trying to add a > handler that checks whether or not the database > connection was lost. > The steps are as follows > 1. OpenDatabase > Perform several queries > For each query check whether or not we still > have a connection to the db. > (the way I do this is through VServer Available > API) > 2. CloseDatabase > > I did this with the VServer xtra. However, opening a > session via VServer, I now have 2 connections to the > db for my one app. Is there a way to check this with > only 1 connection. Yes, When you have Vserver xtra connection you can send its Ref To Vdatabase xtra. I think this must be in docs. And this was 100% on list archive. BUT, I do not think this is good idea. Not effective. Just do your work as always! In case connection will be lost, Query will fail, And error code will be "connection lost" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Mon Mar 29 13:00:25 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Mon Mar 29 15:00:35 2004 Subject: VServer Question on Connection In-Reply-To: Message-ID: <20040329210025.80671.qmail@web21103.mail.yahoo.com> Oh ... I didnt know that, When connection was lost a fatal error occured in director. That is why I prompt to do this --- Ruslan Zasukhin wrote: > On 3/29/04 9:57 PM, "X Y" > wrote: > > > Hi All, > > I hooked up my Director App to valentina and > > everything works fine. I am now trying to add a > > handler that checks whether or not the database > > connection was lost. > > The steps are as follows > > 1. OpenDatabase > > Perform several queries > > For each query check whether or not we still > > have a connection to the db. > > (the way I do this is through VServer Available > > API) > > 2. CloseDatabase > > > > I did this with the VServer xtra. However, opening > a > > session via VServer, I now have 2 connections to > the > > db for my one app. Is there a way to check this > with > > only 1 connection. > > Yes, > > When you have Vserver xtra connection you can send > its Ref > To Vdatabase xtra. > > I think this must be in docs. > And this was 100% on list archive. > > > BUT, I do not think this is good idea. > Not effective. > > Just do your work as always! > In case connection will be lost, Query will fail, > And error code will be "connection lost" > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Tue Mar 30 00:11:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 29 15:35:59 2004 Subject: type-casting In-Reply-To: Message-ID: On 3/29/04 11:40 PM, "mdeh@earthlink.net" wrote: > Name: > > Question regarding: v4rb > > Ruslan, > I am curious. Why is Valentina set up so that you have to use type-casting to > obtain a ref to subclasses of Vfield? (in both BO and Cursor Fields) > Does it have something to do with keeping the progam small? no > Or is there something else that I am missing. This is OO-programming. We have Vfield, and we have its subclasses, e.g. Vlong. On default cursor can return ONLY and ONLY Vfield. curs.Field("") as VField ^^^^^^^^^ parent of all But if you want get something specific from child class? How you can do that? Only you need type cast. You could see that cursor have special set of functions That do casting self. This is just for comfort although. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Mar 30 00:45:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Mar 29 15:57:08 2004 Subject: Closing Valentina Server In-Reply-To: <4DE87F43-81C9-11D8-8D26-000393D4BC2C@mac.com> Message-ID: On 3/30/04 12:37 AM, "Michael Krugman" wrote: Hi Michael, > Hi Rusian: > > Is there a way to close ValentinaServer without using the terminal? You mean when it runs on computer? > I'm trying to build an uninstaller, using Vise X. They don't have a > way to close daemons, so i have to come up with some kind of script to > do it before the uninstall begins. Any help is appreciated. Can you use in your script kill command ? It seems there is no easy way. We need to think about this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Mon Mar 29 18:06:27 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Mar 29 17:06:34 2004 Subject: Closing Valentina Server In-Reply-To: References: Message-ID: On Mar 29, 2004, at 4:45 PM, Ruslan Zasukhin wrote: > On 3/30/04 12:37 AM, "Michael Krugman" wrote: > > Hi Michael, > >> Hi Rusian: >> >> Is there a way to close ValentinaServer without using the terminal? > > You mean when it runs on computer? > >> I'm trying to build an uninstaller, using Vise X. They don't have a >> way to close daemons, so i have to come up with some kind of script to >> do it before the uninstall begins. Any help is appreciated. > > Can you use in your script kill command ? > > It seems there is no easy way. > We need to think about this. You can execute a shell command using AppleScript (see for details), but it looks like some some work to get the process ID of VServer. Charles Yeomans From marcus at synchromedia.co.uk Tue Mar 30 19:04:00 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Tue Mar 30 12:04:09 2004 Subject: Closing Valentina Server In-Reply-To: Message-ID: on 29/3/04 23:06, Charles Yeomans at yeomans@desuetude.com wrote: > but it looks like some some work to get the process ID of VServer. It's normal practice to write a .pid file into /var/run for many server apps. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From yeomans at desuetude.com Tue Mar 30 17:17:53 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Mar 30 16:18:00 2004 Subject: [V4Rb Client] VServer.OpenSession problem Message-ID: <1683DB30-8298-11D8-91DB-003065BB0634@desuetude.com> I'm trying VServer + V4Rb Client a61, and my app hangs when I call VServer.OpenSession. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Mar 31 01:24:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 30 16:25:06 2004 Subject: [V4Rb Client] VServer.OpenSession problem In-Reply-To: <1683DB30-8298-11D8-91DB-003065BB0634@desuetude.com> Message-ID: On 3/31/04 1:17 AM, "Charles Yeomans" wrote: > I'm trying VServer + V4Rb Client a61, and my app hangs when I call > VServer.OpenSession. Charles, a61 was broken. We already have upload Vserver a62 I will upload right now V4RB Client a62 One moment please. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 01:30:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 30 16:30:14 2004 Subject: [ANN] Vserver a62 mac+win, V4RB_Client a62 Message-ID: Hi All, You can download a62 build of Vserver and V4RB and C++ client Today was a47 build of Valentina Studio, which already is compatible to a62 server. ----------- a61 added functions Vserver.UserCount, GetUser( i ) ---------- a62 implemented Vcursor.Import / Export of text file on server side. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Tue Mar 30 18:41:39 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Mar 30 17:41:46 2004 Subject: [ANN] Vserver a62 mac+win, V4RB_Client a62 In-Reply-To: References: Message-ID: Okay, now I'm back to where I was with a60 -- stopped. I see that a62 did not fix the bug I reported, namely that VBaseObject.Field("recID").BaseObject returns nil. -------------- Charles Yeomans From yeomans at desuetude.com Tue Mar 30 19:01:03 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Mar 30 18:01:07 2004 Subject: [V4Rb Client] error 1104 Message-ID: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com> I'm getting error 1104 when calling VServer.GetVariable, except for the keys "Port" and "SystemCatalog". What does it mean? -------------- Charles Yeomans From chuckbo at hinkles.us Tue Mar 30 18:21:31 2004 From: chuckbo at hinkles.us (chuck hinkle) Date: Tue Mar 30 18:23:17 2004 Subject: How to put icons on other files Message-ID: I've specified my program's icons (and I'm just amazed at having it appear in the toolbar and the menu), but here's a question I have. I'm also creating a data file (a Valentina database), and it a file type that's unique to my program. How can I assign an icon to that file when I create it. Also, I want to set it up so that double-clicking on that file will launch my program. Thank you. chuck || Chuck Hinkle [INTJ] || chuckbo@hinkles.us || || || "Perception is usually more persuasive than reality." From robert at formworkdesign.com Tue Mar 30 20:54:09 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Mar 30 19:54:16 2004 Subject: [V4RB] a62 - still no cursor.textexport In-Reply-To: References: Message-ID: <4CF582B0-82B6-11D8-9B03-000A95D01D92@formworkdesign.com> Hi Ruslan I'm still not getting vcursor.exporttext to work, even with a62. You suggested in a previous message that .exporttext takes a path as an argument (a string, I assume). In V4RB, however, vcursor.exporttext still appears to require a folderitem as an argument (won't compile with a string as argument). And, no new text file appears to be created when I do compile using folderitem as argument. What's wrong? Robert On Mar 30, 2004, at 5:30 PM, Ruslan Zasukhin wrote: > Hi All, > > You can download a62 build of Vserver and > V4RB and C++ client > > Today was a47 build of Valentina Studio, which already is compatible > to a62 > server. > > > ----------- > a61 > > added functions Vserver.UserCount, GetUser( i ) > > > ---------- > a62 > > implemented Vcursor.Import / Export of text file > on server side. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From robert at formworkdesign.com Tue Mar 30 21:30:04 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Mar 30 20:30:16 2004 Subject: [V4RB] a62 vTextField still can't produce value Message-ID: <51516BD2-82BB-11D8-B2BC-000A95D01D92@formworkdesign.com> I can't get any values from a textfield. Neither of the following work: cursor.field("mytextfield").getstring cursor.textfield("mytextfield").value I thought this had been fixed in a60...or a61. Thanks, Robert From sunshine at public.kherson.ua Wed Mar 31 08:40:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Mar 30 23:40:29 2004 Subject: [V4RB] a62 - still no cursor.textexport In-Reply-To: <4CF582B0-82B6-11D8-9B03-000A95D01D92@formworkdesign.com> Message-ID: On 3/31/04 4:54 AM, "Robert Nichols" wrote: > Hi Ruslan > > I'm still not getting vcursor.exporttext to work, even with a62. You > suggested in a previous message that .exporttext takes a path as an > argument (a string, I assume). > > In V4RB, however, vcursor.exporttext still appears to require a > folderitem as an argument (won't compile with a string as argument). > And, no new text file appears to be created when I do compile using > folderitem as argument. > > What's wrong? I will check. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 09:02:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 00:02:25 2004 Subject: [V4RB] a62 - still no cursor.textexport In-Reply-To: <4CF582B0-82B6-11D8-9B03-000A95D01D92@formworkdesign.com> Message-ID: On 3/31/04 4:54 AM, "Robert Nichols" wrote: > Hi Ruslan > > I'm still not getting vcursor.exporttext to work, even with a62. You > suggested in a previous message that .exporttext takes a path as an > argument (a string, I assume). > > In V4RB, however, vcursor.exporttext still appears to require a > folderitem as an argument (won't compile with a string as argument). > And, no new text file appears to be created when I do compile using > folderitem as argument. > > What's wrong? Robert, Example that come with V4RB Client, in Query window Have buttons Export import. Please check its code. You still should create folder item. dim f as folderitem f=getsaveFolderItem("ASCII", "Exported records" ) if f <> nil then mCursor.ExportText( f ) end if -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Wed Mar 31 18:57:20 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Mar 31 00:54:40 2004 Subject: V4RB Sockets, Threads and Windows Crashes Message-ID: Hi Ruslan I'm still struggling with the windows version of my server/workstation. I am running a simple test where I create 244 records on my workstation and send them across to the server. Every time it gets to record 211, the server just quits. If I then run it again, the records continue updating but are now corrupted so if I try to bring them across to another workstation the records corrupt the workstations databases. Only happens on Windows. I have created a thread and got the semaphores to work as they should. Everything seems to be working fine. There are no doubles, the server is only collecting one record at a time. In fact, in my test environment there is only one workstation running and therefore the records are only being updated to the server one at a time. Yet it crashes every time at record 211. Note, each time I do a test, I run a different set of records so record 211 is different each time so it is not related to the record. When I run a diagnose database file I get: ************************************************************************ * BaseObject: "sysItem" ************************************************************************ Problems found. -----> Field: "ItemDescrPtr' of type ObjectPtr All right. -----> Field: "Value' of type VarChar All right. -----> Field: "TextValue' of type Text Problems found! (!) Minor problem: exists 1 orphan segments.(indicate mistake in algorithm.) -----> Field: "ParentPtr' of type ObjectPtr All right. Have you got any more suggestions (other than going to Valentina Server which I have already explained I don't want to do just yet). When the program quits it quits at the line: WorkingCursor = app.mdatabase.SQLSelect(s,2,1,2). It works for the first 210 records and then quits on the 211th record. I am starting to despair that I will never be able to sort this problem out!!! Cindy Brown From sunshine at public.kherson.ua Wed Mar 31 10:16:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 01:28:23 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 9:57 AM, "Cindy Brown" wrote: Hi Cindy, > I'm still struggling with the windows version of my server/workstation. I am > running a simple test where I create 244 records on my workstation and send > them across to the server. Every time it gets to record 211, the server just > quits. So crashes YOUR server, but not client, yes? > If I then run it again, the records continue updating but are now > corrupted so if I try to bring them across to another workstation the > records corrupt the workstations databases. Only happens on Windows. I have > created a thread and got the semaphores to work as they should. Everything > seems to be working fine. There are no doubles, the server is only > collecting one record at a time. In fact, in my test environment there is > only one workstation running and therefore the records are only being I wonder. You always do tests from remote computer? Have you try WIN client to your WIN Server located on the same WIN computer? > updated to the server one at a time. Yet it crashes every time at record > 211. Note, each time I do a test, I run a different set of records so record > 211 is different each time so it is not related to the record. > > When I run a diagnose database file I get: > > ************************************************************************ > * BaseObject: "sysItem" > ************************************************************************ > Problems found. > > -----> Field: "ItemDescrPtr' of type ObjectPtr > All right. > > -----> Field: "Value' of type VarChar > All right. > > -----> Field: "TextValue' of type Text > Problems found! > > (!) Minor problem: exists 1 orphan segments.(indicate mistake in algorithm.) Such problem can be result of crash. And it show that you have made Text.value = something // this have put data into BLOB file But there was no cursor.Update() call, so they was not fixed. > -----> Field: "ParentPtr' of type ObjectPtr > All right. > > Have you got any more suggestions (other than going to Valentina Server > which I have already explained I don't want to do just yet). > When the program quits it quits at the line: > > WorkingCursor = app.mdatabase.SQLSelect(s,2,1,2). > > It works for the first 210 records and then quits on the 211th record. > > I am starting to despair that I will never be able to sort this problem > out!!! Yes, not easy tasks develop own server. Well I can give you next advices: 1) do you have LOG of each command that come to server? 2) have you set debug level for Valentina in your server app, to see after WHICH exactly command crashes Your server? 3) have you locate if crash happens inside of Valentina or inside of REALbasic code? 4) do you have way to simulate the same 214 records adding using just server without any clients at all? The main task for you know ISOLATE where and why and on which conditions happens crash. May be make small LOCAL only project which add the same 214 records. Your Server must not differ write. 5) BTW, only now I have realize that I don't know: do you mean Windows for client or for your server? have you try all combinations mac-mac win-mac, win-win? Mac-win ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Mar 31 10:45:30 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 31 01:46:18 2004 Subject: [V4Rb Client] error 1104 References: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com> Message-ID: <003001c416f4$38d4fbd0$731026c3@giv> Hi Charles, > I'm getting error 1104 when calling VServer.GetVariable, except for the > keys "Port" and "SystemCatalog". What does it mean? Error 1104 means that requested variable name is invalid. What else variable names do you use? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From cindy at kowhaiprogramming.com Wed Mar 31 19:58:35 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Mar 31 01:55:57 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: > On 3/31/04 9:57 AM, "Cindy Brown" wrote: > > Hi Cindy, > >> I'm still struggling with the windows version of my server/workstation. I am >> running a simple test where I create 244 records on my workstation and send >> them across to the server. Every time it gets to record 211, the server just >> quits. > > So crashes YOUR server, but not client, yes? Firstly it crashes the server. I can then run the server again and it will keep working for a while before it crashes again. When I then run it to the second workstation, it crashes the client completely. > >> If I then run it again, the records continue updating but are now >> corrupted so if I try to bring them across to another workstation the >> records corrupt the workstations databases. Only happens on Windows. I have >> created a thread and got the semaphores to work as they should. Everything >> seems to be working fine. There are no doubles, the server is only >> collecting one record at a time. In fact, in my test environment there is >> only one workstation running and therefore the records are only being > > I wonder. You always do tests from remote computer? > Have you try WIN client to your WIN Server located on the same WIN computer? I am using a single PC with a server and two clients on it. At the moment I am only running one client at a time to eliminate any potential problems of threading, etc. The problem occurs with only one client running every time. Note, when I initially create the 244 records on the client program, it creates them with no problems. It is only when I send them across the server and to another client that the problem occurs. > >> updated to the server one at a time. Yet it crashes every time at record >> 211. Note, each time I do a test, I run a different set of records so record >> 211 is different each time so it is not related to the record. >> >> When I run a diagnose database file I get: >> >> ************************************************************************ >> * BaseObject: "sysItem" >> ************************************************************************ >> Problems found. >> >> -----> Field: "ItemDescrPtr' of type ObjectPtr >> All right. >> >> -----> Field: "Value' of type VarChar >> All right. >> >> -----> Field: "TextValue' of type Text >> Problems found! >> >> (!) Minor problem: exists 1 orphan segments.(indicate mistake in algorithm.) > > Such problem can be result of crash. > > And it show that you have made > Text.value = something // this have put data into BLOB file > > But there was no cursor.Update() call, so they was not fixed. Unless a varchar field is a blob file, I don't have any BLOB files in any of my databases, especially not in the one that I am working with which is my assessments database. So why this error is occurring I have no idea. > > > >> -----> Field: "ParentPtr' of type ObjectPtr >> All right. >> >> Have you got any more suggestions (other than going to Valentina Server >> which I have already explained I don't want to do just yet). > >> When the program quits it quits at the line: >> >> WorkingCursor = app.mdatabase.SQLSelect(s,2,1,2). >> >> It works for the first 210 records and then quits on the 211th record. >> >> I am starting to despair that I will never be able to sort this problem >> out!!! > > Yes, not easy tasks develop own server. > > Well I can give you next advices: > > 1) do you have LOG of each command that come to server? > > 2) have you set debug level for Valentina in your server app, to see after > WHICH exactly command crashes Your server? > > 3) have you locate if crash happens inside of Valentina or inside of > REALbasic code? I have set the debug level but I have also stepped through the code and the line WorkingCursor = app.mdatabase.SQLSelect(s,2,1,2) is where the server eventually just quits but, as mentioned above, it worked for 210 records and then quits on the 211th record. > > 4) do you have way to simulate the same 214 records adding using just server > without any clients at all? Not sure how I would do this as it is only when I am sending across a socket to the server or from the server to a workstation that the error is occurring. Creating the 244 records on the client machine is not a problem. > > The main task for you know ISOLATE where and why and on which conditions > happens crash. > > May be make small LOCAL only project which add the same 214 records. > Your Server must not differ write. All the server does is check is the record is to be added, edited or deleted, create a simple sql query "Select * FROM Assessments WHERE cid = 'fjdskfjsd'". If it finds a record and it is supposed to be added, the record doesn't get added as it is already there. If it doesn't find the record it adds it into the database. With the sample I have been working with, I have only been adding records. > > 5) BTW, only now I have realize that I don't know: > do you mean Windows for client or for your server? > have you try all combinations mac-mac win-mac, win-win? Mac-win ? Mac to mac is fine. Win to Mac also seems to be fine. It is when the server is on a windows machine that the problems occur. This problem is occurring consistently now but only on the windows machine. The Mac machine using the same program and the same database is working fine. There is no problem here with doubling up as it is only adding in one record at a time. The semaphores are stopping the windows machine from sending more than one item. I have checked through each step to make sure it is working fine and for 210 records it is perfect and then for number 211 it quits. There is no apparent difference between record 210 and record 211. Here are the steps: I have created the records in client 1 and sent them to the server. Client 2 is not running. It cuts out at record 211. I then run the server again. It finishes collecting the files with no apparent problems. I quit client 1 and run client 2. It begins collecting the files from the server and adds them all in with apparently no problems. Go to check the database and see my new files, program crashes. When I diagnose the second client database I get this: ************************************************************************ * BaseObject: "Assessments" ************************************************************************ Problems found. -----> Field: "cassessid' of type String Problems found! (!) Table has 765 physical records but field has 766 -----> Field: "cstuid' of type String Problems found! (!) Table has 765 physical records but field has 766 -----> Field: "csubid' of type String Problems found! I would appreciate being able to get to the bottom of this as it is driving me insane. All the best. Cindy > > > From sunshine at public.kherson.ua Wed Mar 31 10:19:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 01:56:17 2004 Subject: FIXED, Client // Text field // RecID field.BaseObject Message-ID: Hi Robert, Hi Charles, We have found and fix these 2 bugs. Few hours later will be update of CLIENT. Bugs was only on client side. Server is ok. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Vdevelopers mailing list Vdevelopers@paradigma.ukrcom.kherson.ua http://192.168.2.1/mailman/listinfo/vdevelopers From giv at tlc.kherson.ua Wed Mar 31 10:56:55 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 31 02:01:10 2004 Subject: [V4Rb Client] error 1104 References: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com> Message-ID: <002001c416f6$4e50caa0$731026c3@giv> > I'm getting error 1104 when calling VServer.GetVariable, except for the > keys "Port" and "SystemCatalog". What does it mean? The legal variable names are: SystemCatalog CacheSize LogToConsole LogToFile VerboseLevel Port Threads MaxClientTimeout -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Mar 31 10:37:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 02:23:48 2004 Subject: FIXED, Client // Text field // RecID field.BaseObject Message-ID: Hi Robert, Hi Charles, We have found and fix these 2 bugs. Few hours later will be update of CLIENT. Bugs was only on client side. Server is ok. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Wed Mar 31 20:58:55 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Mar 31 02:56:09 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: Hi Ruslan, Further to my last email, I have diagnosed the server database again and found the following errors in assessment: -----> Field: "Assessment_Style' of type VarBinary Problems found! ...........Page 2 (!) ItemCount =3329 is bigger of max possible value =510 (!) Length of deleted 1020 record is NOT zero Next offset must be >=, but it is less. For RecID = 1021 (!) Length of deleted 1532 record is NOT zero Next offset must be >=, but it is less. For RecID = 1533 (!) Length of deleted 1534 record is NOT zero Next offset must be >=, but it is less. For RecID = 1535 (!) Length of deleted 1536 record is NOT zero Next offset must be >=, but it is less. For RecID = 1537 (!) Length of deleted 1542 record is NOT zero Next offset must be >=, but it is less. For RecID = 1543 (!) Length of deleted 1544 record is NOT zero Next offset must be >=, but it is less. For RecID = 1545 (!) Length of deleted 1546 record is NOT zero (!) Length of deleted 1547 record is NOT zero Next offset must be >=, but it is less. For RecID = 1548 (!) Length of deleted 1550 record is NOT zero Next offset must be >=, but it is less. For RecID = 1551 Next offset must be >=, but it is less. For RecID = 1552 (!) Length of deleted 1553 record is NOT zero Next offset must be >=, but it is less. For RecID = 1554 (!) Length of deleted 1555 record is NOT zero (!) Length of deleted 1556 record is NOT zero Next offset must be >=, but it is less. For RecID = 1557 Next offset must be >=, but it is less. For RecID = 1558 (!) Length of deleted 1559 record is NOT zero (!) Length of deleted 1560 record is NOT zero Next offset must be >=, but it is less. For RecID = 1561 (!) Length of deleted 1562 record is NOT zero Next offset must be >=, but it is less. For RecID = 1563 (!) Length of deleted 1564 record is NOT zero Next offset must be >=, but it is less. For RecID = 1565 (!) Length of deleted 1584 record is NOT zero (!) Length of deleted 1585 record is NOT zero (!) Length of deleted 1586 record is NOT zero Next offset must be >=, but it is less. For RecID = 1587 Next offset must be >=, but it is less. For RecID = 1588 Next offset must be >=, but it is less. For RecID = 1589 (!) Length of deleted 1590 record is NOT zero (!) Length of deleted 1591 record is NOT zero This just keeps going down. Hopefully this will give you a bit more of an idea of what might be going wrong? Cindy Brown From sunshine at public.kherson.ua Wed Mar 31 11:52:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 03:21:54 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 10:58 AM, "Cindy Brown" wrote: >>> I'm still struggling with the windows version of my server/workstation. I am >>> running a simple test where I create 244 records on my workstation and send >>> them across to the server. Every time it gets to record 211, the server just >>> quits. >> >> So crashes YOUR server, but not client, yes? > > Firstly it crashes the server. I can then run the server again and it will > keep working for a while before it crashes again. When I then run it to the > second workstation, it crashes the client completely. What means "When I then run it to the second workstation" ? You mean when second client CONNECT to server? And in this case crashes client ??? Weird. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Wed Mar 31 22:06:24 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Mar 31 04:03:41 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: Hi Ruslan, It appears that I might have victory at last. In my assessments database, as per the last email, I have a varbinary field. I had put this in for future use but I don't require it at present. So I deleted the varbinary field altogether. I have now run the clients and the server, both together, entering over 600 entries on both clients at exactly the same time and it has run without a hitch. Looks like the varbinary field is what was causing my last lot of problems and with the removal of this, the database is working perfectly. I would suggest that there must be either a problem with the varbinary field or there is a problem with reading data from a string into a varbinary field (in fact I had no data in that field at all). I will test this further after removing all varbinary fields from my databases and see if this fixes the problem completely but at this stage, fingers crossed, it all seems to be going fine. All the best. Cindy Brown > On 3/31/04 10:58 AM, "Cindy Brown" wrote: > >>>> I'm still struggling with the windows version of my server/workstation. I >>>> am >>>> running a simple test where I create 244 records on my workstation and send >>>> them across to the server. Every time it gets to record 211, the server >>>> just >>>> quits. >>> >>> So crashes YOUR server, but not client, yes? >> >> Firstly it crashes the server. I can then run the server again and it will >> keep working for a while before it crashes again. When I then run it to the >> second workstation, it crashes the client completely. > > What means > "When I then run it to the second workstation" > ? > > > You mean when second client CONNECT to server? > And in this case crashes client ??? > > Weird. > > From sunshine at public.kherson.ua Wed Mar 31 11:54:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 04:10:29 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 10:58 AM, "Cindy Brown" wrote: >>> If I then run it again, the records continue updating but are now >>> corrupted so if I try to bring them across to another workstation the >>> records corrupt the workstations databases. Only happens on Windows. I have >>> created a thread and got the semaphores to work as they should. Everything >>> seems to be working fine. There are no doubles, the server is only >>> collecting one record at a time. In fact, in my test environment there is >>> only one workstation running and therefore the records are only being >> >> I wonder. You always do tests from remote computer? >> Have you try WIN client to your WIN Server located on the same WIN computer? > > I am using a single PC with a server and two clients on it. At the moment I > am only running one client at a time to eliminate any potential problems of > threading, etc. The problem occurs with only one client running every time. > Note, when I initially create the 244 records on the client program, it > creates them with no problems. It is only when I send them across the server > and to another client that the problem occurs. Again not clear. You mean that first client Adds 244 records. All fine. Then second client try to READ this 244 records and problem? Please do not use literature terms "send them across the server". :-) I do not understand such English. Please use pure technical terms. client READ WRITE to/from server. and so on. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 11:57:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 05:03:00 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 10:58 AM, "Cindy Brown" wrote: >>> Problems found. >>> >>> -----> Field: "ItemDescrPtr' of type ObjectPtr >>> All right. >>> >>> -----> Field: "Value' of type VarChar >>> All right. >>> >>> -----> Field: "TextValue' of type Text >>> Problems found! >>> >>> (!) Minor problem: exists 1 orphan segments.(indicate mistake in algorithm.) >> >> Such problem can be result of crash. >> >> And it show that you have made >> Text.value = something // this have put data into BLOB file >> >> But there was no cursor.Update() call, so they was not fixed. > > Unless a varchar field is a blob file, I don't have any BLOB files in any of > my databases, Aha, right. Above is problem in the system table. Hmm. Do you create some fields during your work? Why system table is affected... May be you do some queries that build TMP tables... Although TMP tables do not touch system tables. > especially not in the one that I am working with which is my > assessments database. So why this error is occurring I have no idea. Note, that orphan segment IS NOT fatal problem. Db still is usable. Just you have leaks of disk space. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 12:04:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 06:03:03 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 10:58 AM, "Cindy Brown" wrote: > ************************************************************************ > * BaseObject: "Assessments" > ************************************************************************ > Problems found. > > -----> Field: "cassessid' of type String > Problems found! > > (!) Table has 765 physical records but field has 766 > > > -----> Field: "cstuid' of type String > Problems found! > > (!) Table has 765 physical records but field has 766 > > > -----> Field: "csubid' of type String > Problems found! > > I would appreciate being able to get to the bottom of this as it is driving > me insane. This show that you have not flush() data from cache to disk. And such problem can happens only thanks to crash. Exactly what you have. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 12:07:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 07:19:17 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 11:58 AM, "Cindy Brown" wrote: > Hi Ruslan, > > Further to my last email, I have diagnosed the server database again and > found the following errors in assessment: > > -----> Field: "Assessment_Style' of type VarBinary > Problems found! > > ...........Page 2 > (!) ItemCount =3329 is bigger of max possible value =510 > (!) Length of deleted 1020 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1021 > (!) Length of deleted 1532 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1533 > (!) Length of deleted 1534 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1535 > (!) Length of deleted 1536 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1537 > (!) Length of deleted 1542 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1543 > (!) Length of deleted 1544 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1545 > (!) Length of deleted 1546 record is NOT zero > (!) Length of deleted 1547 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1548 > (!) Length of deleted 1550 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1551 > Next offset must be >=, but it is less. For RecID = 1552 > (!) Length of deleted 1553 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1554 > (!) Length of deleted 1555 record is NOT zero > (!) Length of deleted 1556 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1557 > Next offset must be >=, but it is less. For RecID = 1558 > (!) Length of deleted 1559 record is NOT zero > (!) Length of deleted 1560 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1561 > (!) Length of deleted 1562 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1563 > (!) Length of deleted 1564 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1565 > (!) Length of deleted 1584 record is NOT zero > (!) Length of deleted 1585 record is NOT zero > (!) Length of deleted 1586 record is NOT zero > Next offset must be >=, but it is less. For RecID = 1587 > Next offset must be >=, but it is less. For RecID = 1588 > Next offset must be >=, but it is less. For RecID = 1589 > (!) Length of deleted 1590 record is NOT zero > (!) Length of deleted 1591 record is NOT zero > > > This just keeps going down. Hopefully this will give you a bit more of an > idea of what might be going wrong? No Cindy, All this corruptions are just results of your crashes. Although they show that you DO NOT do flush() after commands that modify records!!! If you have execute INSERT, UPDATE, DELETE and flush(), Then any crash after that cannot corrupt database. You say that you crashes on Select() i.e. You try to READ later. But you get corruptions. This sounds for me, like you have not flush() data BEFORE -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Wed Mar 31 08:38:53 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Wed Mar 31 07:39:02 2004 Subject: [V4RB] a62 - still no cursor.textexport In-Reply-To: References: Message-ID: I'll take a loot at example app. I'm using code that worked fine for me with v4rb solo (the same code you show below), so I am baffled. The problem started precisely when I switched to vServer. I didn't change code at all. Robert On Mar 31, 2004, at 1:02 AM, Ruslan Zasukhin wrote: > On 3/31/04 4:54 AM, "Robert Nichols" wrote: > >> Hi Ruslan >> >> I'm still not getting vcursor.exporttext to work, even with a62. You >> suggested in a previous message that .exporttext takes a path as an >> argument (a string, I assume). >> >> In V4RB, however, vcursor.exporttext still appears to require a >> folderitem as an argument (won't compile with a string as argument). >> And, no new text file appears to be created when I do compile using >> folderitem as argument. >> >> What's wrong? > > Robert, > > Example that come with V4RB Client, in Query window > Have buttons Export import. > > Please check its code. > > You still should create folder item. > > dim f as folderitem > > f=getsaveFolderItem("ASCII", "Exported records" ) > > if f <> nil then > mCursor.ExportText( f ) > end if > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Mar 31 12:18:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 07:53:09 2004 Subject: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 10:58 AM, "Cindy Brown" wrote: > Mac to mac is fine. Win to Mac also seems to be fine. It is when the server > is on a windows machine that the problems occur. This problem is occurring > consistently now but only on the windows machine. The Mac machine using the > same program and the same database is working fine. There is no problem here > with doubling up as it is only adding in one record at a time. The > semaphores are stopping the windows machine from sending more than one item. > I have checked through each step to make sure it is working fine and for 210 > records it is perfect and then for number 211 it quits. There is no apparent > difference between record 210 and record 211. Oh,... What can I tell you more... May be try to add THE SAME 220 records ? Again, try to make LOCAL only without sockets V4RB example, That have the same table and add the same records. May be you have discover some Valentina problem and then LOCAL project also must fail. Try to change size of Valentina cache. It is not clear why eaxctly 211 record fails. Than more that you say that data come different. You have VarChar fields? What length of VarChars ? > Here are the steps: I have created the records in client 1 and sent them to > the server. As batch? > Client 2 is not running. It cuts out at record 211. You mean server crashes? > I then run the server again. What sense if you already have bad db? > It finishes collecting the files with no apparent problems. How ? You store data from client in the tmp file?! Then you must be able reproduce all just without clients at all, Just having file. > I quit client 1 and run client 2. It begins collecting the files > from the server and adds them all in with apparently no problems. What files from the server? > Go to check the database What database? On server? > and see my new files, program crashes. When I diagnose > the second client database I get this: Hmm, so you have dbs on server AND on each clients? You make synchronization? Sorry if you already have answer this. Just I cannot keep all in head. Aha, yes, and this is why you not want use our Vserver. But again, you can develop your algorithm of synchronization in Vserver also. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 13:38:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 08:19:34 2004 Subject: SOLVED: V4RB Sockets, Threads and Windows Crashes In-Reply-To: Message-ID: On 3/31/04 1:06 PM, "Cindy Brown" wrote: > Hi Ruslan, > > It appears that I might have victory at last. In my assessments database, as > per the last email, I have a varbinary field. I had put this in for future > use but I don't require it at present. So I deleted the varbinary field > altogether. I have now run the clients and the server, both together, > entering over 600 entries on both clients at exactly the same time and it > has run without a hitch. Looks like the varbinary field is what was causing > my last lot of problems and with the removal of this, the database is > working perfectly. Congratulations, Cindy! :-) I am very glad for you > I would suggest that there must be either a problem with the varbinary field > or there is a problem with reading data from a string into a varbinary field > (in fact I had no data in that field at all). > > I will test this further after removing all varbinary fields from my > databases and see if this fixes the problem completely but at this stage, > fingers crossed, it all seems to be going fine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Wed Mar 31 10:34:00 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Mar 31 09:34:07 2004 Subject: [V4Rb Client] error 1104 In-Reply-To: <002001c416f6$4e50caa0$731026c3@giv> References: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com> <002001c416f6$4e50caa0$731026c3@giv> Message-ID: On Mar 31, 2004, at 2:56 AM, Igor Gomon wrote: >> I'm getting error 1104 when calling VServer.GetVariable, except for >> the >> keys "Port" and "SystemCatalog". What does it mean? > > The legal variable names are: > SystemCatalog > CacheSize > LogToConsole > LogToFile > VerboseLevel > Port > Threads > MaxClientTimeout > Okay; the bad names I was passing were "MaxRAM" and "DisableDNS". Since they were listed as .ini parameters, I assumed that they were legal. I also note that it appears that the error variable is not cleared when I make the next (legal) call. Charles Yeomans From sunshine at public.kherson.ua Wed Mar 31 16:56:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 09:44:06 2004 Subject: [ANN] V4RB_Client a62 new build uploaded Message-ID: Charles, fixed problem with RecID. Robert, now works Text field. Added cursor.Import( Path as string, ... ) cursor.Export( Path as string, ... ) Because I have not found way to use FolderItem in RB to specify path of other computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Wed Mar 31 17:47:21 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Mar 31 09:47:47 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: Message-ID: > Added > cursor.Import( Path as string, ... ) > cursor.Export( Path as string, ... ) > > Because I have not found way to use FolderItem in RB to > specify path of other computer. There it is! Hooray! Now take it to V4MD too please! Best regards, Florian From kevo at gatorgraphics.com Wed Mar 31 09:48:11 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Wed Mar 31 09:48:17 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: References: Message-ID: How would you import from another computer? Does cursor.import support using network protocols? Kevin On Mar 31, 2004, at 7:56 AM, Ruslan Zasukhin wrote: > > Added > cursor.Import( Path as string, ... ) > cursor.Export( Path as string, ... ) > > Because I have not found way to use FolderItem in RB to specify path of > other computer. > From yeomans at desuetude.com Wed Mar 31 10:52:09 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Mar 31 09:52:14 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: References: Message-ID: <5E64DE40-832B-11D8-BDEA-003065BB0634@desuetude.com> On Mar 31, 2004, at 8:56 AM, Ruslan Zasukhin wrote: > > Charles, fixed problem with RecID. > It doesn't appear that it has been fixed; I'm still getting Nil back from Field("RecID".BaseObject. I just downloaded what I believe is the newest version; the 4.5 format plugin is 1689044 bytes. Perhaps I should send you a sample project? Charles Yeomans From gregkowalski at earthlink.net Wed Mar 31 11:19:41 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Mar 31 10:18:07 2004 Subject: RTF question Message-ID: <36E52CF4-832F-11D8-9BEF-000393DAB46A@earthlink.net> Hello, I would like to know if it is possible to use Rich Text Format in a Valentina database. If so, how is it done? Many thanks Greg From vandg at speakeasy.org Wed Mar 31 11:23:48 2004 From: vandg at speakeasy.org (gary hayenga) Date: Wed Mar 31 10:23:55 2004 Subject: Does Valentina 2.0a62 support subqueries? In-Reply-To: <20040331154416.1C54CE50D4@edison.macserve.net> References: <20040331154416.1C54CE50D4@edison.macserve.net> Message-ID: Does Valentina 2.0a62 support subqueries yet? Something like - SELECT ACCTPK FROM (SELECT ACCTPK,ACCTNBR,ACCTTYPE FROM ACCT WHERE ACCTTYPE=2) just for example. gary hayenga From sunshine at public.kherson.ua Wed Mar 31 18:42:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 10:29:11 2004 Subject: [ANN] V4RB_Client a62 new build uploaded Message-ID: Charles, fixed problem with RecID. Robert, now works Text field. Added cursor.Import( Path as string, ... ) cursor.Export( Path as string, ... ) Because I have not found way to use FolderItem in RB to specify path of other computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 18:43:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 10:59:14 2004 Subject: [V4RB] a62 - still no cursor.textexport In-Reply-To: Message-ID: On 3/31/04 4:38 PM, "Robert Nichols" wrote: > I'll take a loot at example app. I'm using code that worked fine for me > with v4rb solo (the same code you show below), so I am baffled. The > problem started precisely when I switched to vServer. I didn't change > code at all. Robert, Please do not forget that Server still is in alpha. Some things can not work. As I have told, I also have to see problems with Import on Server. I have add to V4RB_Client 2 new functions that get full path as string -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Wed Mar 31 08:59:32 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed Mar 31 10:59:41 2004 Subject: RTF question References: <36E52CF4-832F-11D8-9BEF-000393DAB46A@earthlink.net> Message-ID: <022b01c41741$8a38ae20$0400a8c0@SCOTT3> > I would like to know if it is possible to use Rich Text Format in a > Valentina database. > > If so, how is it done? Since RTF is just text, I believe it could be stored in a varchar or text field of Valentina. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Wed Mar 31 19:45:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 11:25:24 2004 Subject: Does Valentina 2.0a62 support subqueries? In-Reply-To: Message-ID: On 3/31/04 7:23 PM, "gary hayenga" wrote: > Does Valentina 2.0a62 support subqueries yet? > > Something like - > > SELECT ACCTPK FROM (SELECT ACCTPK,ACCTNBR,ACCTTYPE FROM ACCT WHERE > ACCTTYPE=2) > > just for example. Valentina 1.x support only sub query as select where fld in ( select ....) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 19:46:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 11:44:54 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: Message-ID: On 3/31/04 6:47 PM, "Florian Bogeschdorfer" wrote: >> Added >> cursor.Import( Path as string, ... ) >> cursor.Export( Path as string, ... ) >> >> Because I have not found way to use FolderItem in RB to >> specify path of other computer. > > There it is! Hooray! Now take it to V4MD too please! Ok, But in V4MD we do not need new fucs, V4MD always works with paths I need just build V4MD clients -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 19:47:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 12:08:33 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: <5E64DE40-832B-11D8-BDEA-003065BB0634@desuetude.com> Message-ID: On 3/31/04 6:52 PM, "Charles Yeomans" wrote: > > On Mar 31, 2004, at 8:56 AM, Ruslan Zasukhin wrote: > >> >> Charles, fixed problem with RecID. >> > > It doesn't appear that it has been fixed; I'm still getting Nil back > from Field("RecID".BaseObject. I just downloaded what I believe is the > newest version; the 4.5 format plugin is 1689044 bytes. Perhaps I > should send you a sample project? If you can. Igor have add such test in C++ and have found bug. I did guess that is enough. Okay send me project please. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 19:49:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 12:23:16 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: Message-ID: On 3/31/04 6:48 PM, "Kevin Windham" wrote: > How would you import from another computer? Does cursor.import support > using network protocols? Hi Kevin, Import happens on SERVER computer. This is why I say that client must send to server path valid for SERVER computer. Please note all, that this is till subject for changes, Because I afraid such feature can be used for hacking -- bad guy can start a lots of exports and eat all HDD space of SERVER computer. We will need think more deep about this. > Kevin > > On Mar 31, 2004, at 7:56 AM, Ruslan Zasukhin wrote: >> >> Added >> cursor.Import( Path as string, ... ) >> cursor.Export( Path as string, ... ) >> >> Because I have not found way to use FolderItem in RB to specify path of >> other computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 19:49:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 12:37:36 2004 Subject: RTF question In-Reply-To: <36E52CF4-832F-11D8-9BEF-000393DAB46A@earthlink.net> Message-ID: On 3/31/04 7:19 PM, "Gregory Kowalski" wrote: Hi Gregory, > Hello, > > I would like to know if it is possible to use Rich Text Format in a > Valentina database. > > If so, how is it done? What you mean to use? Import it ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kevo at gatorgraphics.com Wed Mar 31 12:38:30 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Wed Mar 31 12:38:39 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: References: Message-ID: <9B93F928-8342-11D8-A10B-000393B29272@gatorgraphics.com> Ahh, I see. I was thinking client. Now I wonder why you would "need" to be able to tell the server to import locally from a remote client. I could see uses for being able to import directly on the server for maintenance or setup, but it seems it might be safer to not allow a client to tell the server to import. Is there a particular scenario that this would be used for that couldn't be handled by scripting the server on the server computer, or by importing in from a client? Kevin On Mar 31, 2004, at 10:49 AM, Ruslan Zasukhin wrote: > On 3/31/04 6:48 PM, "Kevin Windham" wrote: > >> How would you import from another computer? Does cursor.import support >> using network protocols? > > Hi Kevin, > > Import happens on SERVER computer. > > This is why I say that client must send to server path valid for SERVER > computer. > > Please note all, that this is till subject for changes, > Because I afraid such feature can be used for hacking -- bad guy can > start a > lots of exports and eat all HDD space of SERVER computer. > > We will need think more deep about this. > >> Kevin >> >> On Mar 31, 2004, at 7:56 AM, Ruslan Zasukhin wrote: >>> >>> Added >>> cursor.Import( Path as string, ... ) >>> cursor.Export( Path as string, ... ) >>> >>> Because I have not found way to use FolderItem in RB to specify path >>> of >>> other computer. From sunshine at public.kherson.ua Wed Mar 31 20:29:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 12:55:09 2004 Subject: [ANN] V4MD_Client a62 Carbon and Classic Message-ID: Hi All, Hi Florian, Florian, you can try play with import/export. 1) you must get server a62 2) if you run server on OS X you must specify full path according OS X In POSIX format. Frankly saying I did not have found in 5 seconds the correct syntax. And it seems I have see that way "/file.txt" not works. Don't know yet why. 3) so may be start with WIN Server and MAC client. This must be easy combination. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 21:41:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 13:06:21 2004 Subject: a62 V4RB client, one more build. Message-ID: Charles, I am sorry. We have had some glitches with CVS. I have made build without Igor changes. So please download once again V4RB_Client a62. I hope now RecID field will work for you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Mar 31 14:12:53 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Mar 31 13:11:22 2004 Subject: (no subject) Message-ID: <68DFBF4E-8347-11D8-A95A-000393DAB46A@earthlink.net> > Message: 13 > Date: Wed, 31 Mar 2004 19:49:31 +0300 > From: Ruslan Zasukhin > Subject: Re: RTF question > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 3/31/04 7:19 PM, "Gregory Kowalski" > wrote: > > Hi Gregory, > >> Hello, >> >> I would like to know if it is possible to use Rich Text Format in a >> Valentina database. >> >> If so, how is it done? > > What you mean to use? > > Import it ? Yes. The data to import is scientific stuff with symbols (alpha, beta etc.) as well as superscript and subscript. Can this be imported to Valentina? I tried with FileMaker pro, but it won't export either the symbols or the super/subscripts properly. The client asked me if my database engine (Valentina, that is) can handle Rich Text Format. I don't know what sort of database file they would give me to import to valentina, though. Just wondering if anyone had any experience with this. Greg From sunshine at public.kherson.ua Wed Mar 31 21:47:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 13:19:53 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: <9B93F928-8342-11D8-A10B-000393B29272@gatorgraphics.com> Message-ID: On 3/31/04 9:38 PM, "Kevin Windham" wrote: > Ahh, I see. I was thinking client. Now I wonder why you would "need" to > be able to tell the server to import locally from a remote client. I > could see uses for being able to import directly on the server for > maintenance or setup, but it seems it might be safer to not allow a > client to tell the server to import. > > Is there a particular scenario that this would be used for that > couldn't be handled by scripting the server on the server computer, or > by importing in from a client? I have no yet exact answer. For now we have made it as such. At least something works now. Later we will improve this task. I also think it is better LOAD file from client to Server by network and server will import it. In our 2.0 code we already have "FileOnSocket" class, so I think we will be able do that. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Mar 31 22:15:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 13:38:08 2004 Subject: (no subject) In-Reply-To: <68DFBF4E-8347-11D8-A95A-000393DAB46A@earthlink.net> Message-ID: On 3/31/04 10:12 PM, "Gregory Kowalski" wrote: >> Hi Gregory, >> >>> Hello, >>> >>> I would like to know if it is possible to use Rich Text Format in a >>> Valentina database. >>> >>> If so, how is it done? >> >> What you mean to use? >> >> Import it ? > > > Yes. The data to import is scientific stuff with symbols (alpha, beta > etc.) as well as superscript and subscript. > > Can this be imported to Valentina? I tried with FileMaker pro, but it > won't export either the symbols or the super/subscripts properly. > > The client asked me if my database engine (Valentina, that is) can > handle Rich Text Format. I don't know what sort of database file they > would give me to import to valentina, though. Just wondering if anyone > had any experience with this. I think this cannot be imported directly in such way as you want. It is possible to store style of text into parallel binary field. This works. I think superscript and subscript -- are features of STYLE of text. So most probably you must write own PARSER of that RTF file, Store into VarChar found text, and into Varbinary the STYLE part of that text. If you want save RTF file AS IS, into BLOB the no problems. But in such case you cannot search its words. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From jda at his.com Wed Mar 31 14:42:08 2004 From: jda at his.com (jda) Date: Wed Mar 31 13:42:24 2004 Subject: (no subject) In-Reply-To: <68DFBF4E-8347-11D8-A95A-000393DAB46A@earthlink.net> References: <68DFBF4E-8347-11D8-A95A-000393DAB46A@earthlink.net> Message-ID: > > >Yes. The data to import is scientific stuff with symbols (alpha, >beta etc.) as well as superscript and subscript. > >Can this be imported to Valentina? I tried with FileMaker pro, but >it won't export either the symbols or the super/subscripts properly. > >The client asked me if my database engine (Valentina, that is) can >handle Rich Text Format. I don't know what sort of database file >they would give me to import to valentina, though. Just wondering >if anyone had any experience with this. > RTF is just text (ASCII at that). You can store it in any field that handles text (it can get long, depending on how many styles and fonts you have, so you probably want something like a text field). *Interpreting* the RTF and rendering it into human-readable styled text is up to the developer... Jon From giv at tlc.kherson.ua Wed Mar 31 22:49:21 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Mar 31 13:53:52 2004 Subject: [V4Rb Client] error 1104 References: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com><002001c416f6$4e50caa0$731026c3@giv> Message-ID: <004601c41759$df16fb50$c71026c3@giv> > On Mar 31, 2004, at 2:56 AM, Igor Gomon wrote: > > >> I'm getting error 1104 when calling VServer.GetVariable, except for > >> the > >> keys "Port" and "SystemCatalog". What does it mean? > > > > The legal variable names are: > > SystemCatalog > > CacheSize > > LogToConsole > > LogToFile > > VerboseLevel > > Port > > Threads > > MaxClientTimeout > > > > Okay; the bad names I was passing were "MaxRAM" and "DisableDNS". > Since they were listed as .ini parameters, I assumed that they were > legal. In fact MaxRAM parameter is not yet supported. And there was a bug in VServer with DisableDNS option (my mistake - I forgot to include it in the list - this is legal parameter name). I've already fixed it. Thank you for info, Charles. So fix will be available with the next VServer version. Do you need this ASAP? > I also note that it appears that the error variable is not > cleared when I make the next (legal) call. We need to check V4RB code. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Mar 31 22:43:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Mar 31 13:56:52 2004 Subject: [ANN] V4MD Reference.pdf updated Message-ID: Hi All, V4MD docs updated, Now it includes Vserver Xtra description and examples. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Wed Mar 31 15:04:21 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Mar 31 14:04:30 2004 Subject: [V4Rb Client] error 1104 In-Reply-To: <004601c41759$df16fb50$c71026c3@giv> References: <801592C8-82A6-11D8-B6E1-003065BB0634@desuetude.com><002001c416f6$4e50caa0$731026c3@giv> <004601c41759$df16fb50$c71026c3@giv> Message-ID: <995B5252-834E-11D8-8EF1-003065BB0634@desuetude.com> On Mar 31, 2004, at 2:49 PM, Igor Gomon wrote: >> On Mar 31, 2004, at 2:56 AM, Igor Gomon wrote: >> >>>> I'm getting error 1104 when calling VServer.GetVariable, except for >>>> the >>>> keys "Port" and "SystemCatalog". What does it mean? >>> >>> The legal variable names are: >>> SystemCatalog >>> CacheSize >>> LogToConsole >>> LogToFile >>> VerboseLevel >>> Port >>> Threads >>> MaxClientTimeout >>> >> >> Okay; the bad names I was passing were "MaxRAM" and "DisableDNS". >> Since they were listed as .ini parameters, I assumed that they were >> legal. > In fact MaxRAM parameter is not yet supported. > And there was a bug in VServer with DisableDNS option (my mistake - > I forgot to include it in the list - this is legal parameter name). > I've already > fixed it. Thank you for info, Charles. > So fix will be available with the next VServer version. > Do you need this ASAP? No. I wrote a little server admin app as a warmup (and because I needed one); that's how I generated '1104' errors. Charles Yeomans From gregkowalski at earthlink.net Wed Mar 31 20:39:12 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Mar 31 19:37:39 2004 Subject: RTF problem solved Message-ID: <60A1E82D-837D-11D8-A715-000393DAB46A@earthlink.net> Hi, Just wanted to say that I solved the RTF problem I was having. The database will contain only the RTF code, then Director can easily convert the code to readable text. It's quite extraordinary... Greg From srunkel at hypix.com Wed Mar 31 17:42:29 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed Mar 31 19:42:37 2004 Subject: RTF problem solved References: <60A1E82D-837D-11D8-A715-000393DAB46A@earthlink.net> Message-ID: <069601c4178a$9838c700$0400a8c0@SCOTT3> > Just wanted to say that I solved the RTF problem I was having. The > database will contain only the RTF code, then Director can easily > convert the code to readable text. Glad you got it working! Another option here is to use setMedia and getMedia in a BLOB field of Valentina to actually put the entire Director #text member in there. I've done this with many #text members. I'm not sure if there are advantages to one over the other, except that I don't think the RTF alone will preserve the member's properties, such as its width and height, boxType, etc., which you might want to preserve. By storing the entire member().media, you can keep all the #text member's properties intact when it is retrieved. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From jda at his.com Wed Mar 31 21:52:35 2004 From: jda at his.com (jda) Date: Wed Mar 31 20:52:44 2004 Subject: RTF Import In-Reply-To: References: <20040331222936.14A31E563C@edison.macserve.net> Message-ID: >> >The client asked me if my database engine (Valentina, that is) can >>>handle Rich Text Format. I don't know what sort of database file >>>they would give me to import to valentina, though. Just wondering >>>if anyone had any experience with this. >>> >> >>RTF is just text (ASCII at that). You can store it in any field that >>handles text (it can get long, depending on how many styles and fonts >>you have, so you probably want something like a text field). >>*Interpreting* the RTF and rendering it into human-readable styled >>text is up to the developer... > > >Actually, I believe that RTF may *not* be ASCII - as the textual >content may include double-byte or Unicode text. > >I think what you mean is that the style and font info is stored as >text, rather than in a binary format. > >However, even then, the font name may also not be ASCII (e.g. >Chinese font names) > >John I think not. RTF is ASCII. You can *encode* Unicode in RTF by supplying the actual codepoint value (UTF-16 only), but the RTF *representation* is ASCII. RTF data itself is ASCII, NOT Unicode or any other encoding. Please refer to the MS RTF definition documentation for details. If you don't have it, I can send it to you. Jon